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