11 references to ToString
System.Xaml (3)
System\Xaml\Parser\XamlPullParser.cs (1)
1038
string typeNameString = typeName.
ToString
(prefixResolver); // SideEffects!!! prefixResolver will populate newNamespaces
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
63
return typeName.
ToString
(prefixLookup);
System\Xaml\XamlTypeName.cs (1)
71
return
ToString
(null);
System.Xaml.Tests (8)
System\Xaml\Schema\XamlTypeNameTests.cs (8)
144
Assert.Equal(expected, name.
ToString
(prefixLookup));
152
Assert.Throws<InvalidOperationException>(() => typeName.
ToString
(null));
153
Assert.Throws<InvalidOperationException>(() => typeName.
ToString
(new CustomNamespacePrefixLookup()));
164
Assert.Throws<InvalidOperationException>(() => typeName.
ToString
(null));
165
Assert.Throws<InvalidOperationException>(() => typeName.
ToString
(new CustomNamespacePrefixLookup()));
178
Assert.Throws<NullReferenceException>(() => typeName.
ToString
(null));
179
Assert.Throws<NullReferenceException>(() => typeName.
ToString
(prefixLookup));
191
Assert.Throws<InvalidOperationException>(() => typeName.
ToString
(prefixLookup));