15 references to String
System.Xaml (12)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
790if (valueXamlType == XamlLanguage.String || !valueXamlType.CanAssignTo(property.Type))
System\Xaml\Parser\XamlPullParser.cs (3)
1030? XamlLanguage.String 1192if (prop.Type == XamlLanguage.String) 1237if (allowedType == XamlLanguage.String || allowedType == XamlLanguage.Object)
System\Xaml\XamlLanguage.cs (5)
125String, BuiltInValueConverter.Int32, AllowedMemberLocations.Attribute), true); 341return String; 414XamlType[] result = new XamlType[] { Array, Member, Null, Property, Reference, Static, Type, String, Double, Int16, Int32, Int64, Boolean, XData, Object, Char, Single, Byte, Decimal, Uri, TimeSpan }; 444return GetXamlDirective(name, String, BuiltInValueConverter.String, AllowedMemberLocations.Attribute); 462XamlDirective result = new XamlDirective(s_xmlNamespaces, name, AllowedMemberLocations.Attribute, new MemberReflector(String, BuiltInValueConverter.String));
System\Xaml\XamlObjectReader.cs (1)
1604return XamlLanguage.String.CanAssignTo(property.Type);
System\Xaml\XamlXmlWriter.cs (2)
1719if (XamlLanguage.String.CanAssignTo(property.Type)) 1767if (XamlLanguage.String.CanAssignTo(property.Type) && !string.IsNullOrEmpty(value))
System.Xaml.Tests (3)
System\Xaml\XamlLanguageTests.cs (3)
108XamlType type = XamlLanguage.String; 109Assert.Same(type, XamlLanguage.String); 264Assert.Equal(new XamlType[] { XamlLanguage.Array, XamlLanguage.Member, XamlLanguage.Null, XamlLanguage.Property, XamlLanguage.Reference, XamlLanguage.Static, XamlLanguage.Type, XamlLanguage.String, XamlLanguage.Double, XamlLanguage.Int16, XamlLanguage.Int32, XamlLanguage.Int64, XamlLanguage.Boolean, XamlLanguage.XData, XamlLanguage.Object, XamlLanguage.Char, XamlLanguage.Single, XamlLanguage.Byte, XamlLanguage.Decimal, XamlLanguage.Uri, XamlLanguage.TimeSpan }, types);