64 references to ConverterInstance
PresentationFramework (4)
MS\Internal\Data\DefaultValueConverter.cs (1)
182typeConverter = knownType.TypeConverter.ConverterInstance;
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
170converter = (TypeConverter)typeConverter.ConverterInstance;
System\Windows\TemplateContent.cs (2)
866converter = xamlProperty.TypeConverter.ConverterInstance; 870converter = xamlProperty.Type.TypeConverter.ConverterInstance;
System.Xaml (3)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
578return converter.ConverterInstance;
System\Xaml\XamlObjectReader.cs (2)
342XamlDeferringLoader converter = deferringLoader.ConverterInstance; 3226return (converter is null) ? null : converter.ConverterInstance;
System.Xaml.Tests (57)
System\Xaml\Replacements\DateTimeConverter2Tests.cs (8)
23TypeConverter converter = type.TypeConverter.ConverterInstance; 42TypeConverter converter = type.TypeConverter.ConverterInstance; 52TypeConverter converter = type.TypeConverter.ConverterInstance; 64TypeConverter converter = type.TypeConverter.ConverterInstance; 83TypeConverter converter = type.TypeConverter.ConverterInstance; 93TypeConverter converter = type.TypeConverter.ConverterInstance; 103TypeConverter converter = type.TypeConverter.ConverterInstance; 111TypeConverter converter = type.TypeConverter.ConverterInstance;
System\Xaml\Replacements\DateTimeOffsetConverter2Tests.cs (9)
25TypeConverter converter = type.TypeConverter.ConverterInstance; 42TypeConverter converter = type.TypeConverter.ConverterInstance; 52TypeConverter converter = type.TypeConverter.ConverterInstance; 64TypeConverter converter = type.TypeConverter.ConverterInstance; 79TypeConverter converter = type.TypeConverter.ConverterInstance; 88TypeConverter converter = type.TypeConverter.ConverterInstance; 102TypeConverter converter = type.TypeConverter.ConverterInstance; 111TypeConverter converter = type.TypeConverter.ConverterInstance; 119TypeConverter converter = type.TypeConverter.ConverterInstance;
System\Xaml\Replacements\EventConverterTests.cs (10)
22TypeConverter converter = type.TypeConverter.ConverterInstance; 30TypeConverter converter = type.TypeConverter.ConverterInstance; 69TypeConverter converter = type.TypeConverter.ConverterInstance; 104TypeConverter converter = type.TypeConverter.ConverterInstance; 131TypeConverter converter = type.TypeConverter.ConverterInstance; 141TypeConverter converter = type.TypeConverter.ConverterInstance; 154TypeConverter converter = type.TypeConverter.ConverterInstance; 164TypeConverter converter = type.TypeConverter.ConverterInstance; 174TypeConverter converter = type.TypeConverter.ConverterInstance; 183TypeConverter converter = type.TypeConverter.ConverterInstance;
System\Xaml\Replacements\TypeListConverterTests.cs (7)
21TypeConverter converter = type.TypeConverter.ConverterInstance; 29TypeConverter converter = type.TypeConverter.ConverterInstance; 40TypeConverter converter = type.TypeConverter.ConverterInstance; 53TypeConverter converter = type.TypeConverter.ConverterInstance; 63TypeConverter converter = type.TypeConverter.ConverterInstance; 72TypeConverter converter = type.TypeConverter.ConverterInstance; 80TypeConverter converter = type.TypeConverter.ConverterInstance;
System\Xaml\Replacements\TypeTypeConverterTests.cs (14)
23TypeConverter converter = type.TypeConverter.ConverterInstance; 31TypeConverter converter = type.TypeConverter.ConverterInstance; 56TypeConverter converter = type.TypeConverter.ConverterInstance; 72TypeConverter converter = type.TypeConverter.ConverterInstance; 82TypeConverter converter = type.TypeConverter.ConverterInstance; 95TypeConverter converter = type.TypeConverter.ConverterInstance; 103TypeConverter converter = type.TypeConverter.ConverterInstance; 139TypeConverter converter = type.TypeConverter.ConverterInstance; 178TypeConverter converter = type.TypeConverter.ConverterInstance; 208TypeConverter converter = type.TypeConverter.ConverterInstance; 226TypeConverter converter = type.TypeConverter.ConverterInstance; 259TypeConverter converter = type.TypeConverter.ConverterInstance; 269TypeConverter converter = type.TypeConverter.ConverterInstance; 278TypeConverter converter = type.TypeConverter.ConverterInstance;
System\Xaml\Replacements\TypeUriConverterTests.cs (2)
33Assert.IsType<UriTypeConverter>(normalType.TypeConverter.ConverterInstance); 40Assert.IsNotType<UriTypeConverter>(type.TypeConverter.ConverterInstance);
System\Xaml\Schema\XamlValueConverterTests.cs (7)
61CustomConverter instance = Assert.IsType<CustomConverter>(converter.ConverterInstance); 62Assert.Same(instance, converter.ConverterInstance); 70EnumConverter instance = Assert.IsType<EnumConverter>(converter.ConverterInstance); 71Assert.Same(instance, converter.ConverterInstance); 79Assert.Null(converter.ConverterInstance); 87Assert.Throws<XamlSchemaException>(() => converter.ConverterInstance); 95Assert.Throws<InvalidCastException>(() => converter.ConverterInstance);