8 references to KeyType
System.Xaml (5)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (2)
1373
converter = grandParentXamlType.
KeyType
.TypeConverter;
1901
Debug.WriteLine(SR.Format(SR.DictionaryFirstChanceException, ctx.ParentType, key, ctx.ParentType.
KeyType
));
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
392
Type keyType = dictionaryType.
KeyType
.UnderlyingType;
System\Xaml\XamlObjectReader.cs (1)
412
XamlType keyType = propertyType.
KeyType
;
System\Xaml\XamlType.cs (1)
990
return BaseType.
KeyType
;
System.Xaml.Tests (3)
System\Xaml\XamlTypeTests.cs (3)
3078
Assert.Equal(type.IsDictionary ? expected ?? XamlLanguage.Object : null, type.
KeyType
);
3090
Assert.Throws<XamlSchemaException>(() => type.
KeyType
);
3094
Assert.Null(type.
KeyType
);