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