<?xml version="1.0" encoding="utf-8" ?>
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  <Library>
    <Assembly Name="System.ComponentModel.TypeConverter">
      <Namespace Name="System.ComponentModel">
        <Type Name="TypeConverter">
          <Subtypes Activate="Required Public" />
        </Type>
        <Type Name="TypeDescriptor">
          <Method Name="GetConverter">
            <TypeParameter Name="type" Activate="Required Public" />
          </Method>
        </Type>
        <Type Name="TypeConverterAttribute">
          <AttributeImplies Activate="Required Public" />
        </Type>
      </Namespace>
    </Assembly>
  </Library> 
</Directives>

<?xml version="1.0" encoding="utf-8" ?>
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
  <Library>
    <Assembly Name="System.ComponentModel.TypeConverter">
      <Namespace Name="System.ComponentModel">
        <Type Name="TypeConverter">
          <Subtypes Activate="Required Public" />
        </Type>
        <Type Name="TypeDescriptor">
          <Method Name="GetConverter">
            <TypeParameter Name="type" Activate="Required Public" />
          </Method>
        </Type>
        <Type Name="TypeConverterAttribute">
          <AttributeImplies Activate="Required Public" />
        </Type>
      </Namespace>
    </Assembly>
    <Assembly Name="System.ComponentModel.Primitives">
      <Namespace Name="System.ComponentModel">
        <Type Name="ReadOnlyAttribute">
          <!-- ReadOnlyAttribute: need to be able to read the field named "Default" as System.ComponentModel.TypeConverter
               relies on AttributeCollection returning ReadOnlyAttribute.Default if none was placed in the collection.
               That lookup is done by Reflection.
            -->
          <Field Name="Default" Dynamic="Required Public">
          </Field>
        </Type>
      </Namespace>
    </Assembly>
  </Library> 
</Directives>


Fix 79 System.Data.Common.Test failures on ILC
Fix 79 System.Data.Common.Test failures on ILC

These tests were null-referencing inside a IsReadOnly
property that looked up ReadOnlyAttributes in a collection
and invoked it without null-checking the lookup result.

The reason it's allowed to do that that is this
collection has some magic in it that lazily auto-populates
itself with the "default" value of the attribute
if the attribute itself isn't found on a lookup.
So as long a default exists, a lookup of this attribute
type never returns null.

Unfortunately, the "default" is discovered by reflecting
for a static field named "Default" on the attribute
type.


