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