22 references to KS
System.Xaml (22)
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
465
if (
KS
.Eq(ns1, ns2))
System\Xaml\Parser\MeScanner.cs (1)
302
KS
.Eq(xamlType.UnderlyingType.Name, typeName.Name + KnownStrings.Extension)))
System\Xaml\Parser\XamlAttribute.cs (2)
124
if (
KS
.Eq(Name.Prefix, KnownStrings.XmlNsPrefix))
133
if (String.IsNullOrEmpty(Name.Prefix) &&
KS
.Eq(Name.Name, KnownStrings.XmlNsPrefix))
System\Xaml\Parser\XamlScanner.cs (4)
599
if (
KS
.Eq(attr.Name.Name, XamlLanguage.TypeArguments.Name))
723
if (
KS
.Eq(_attributes[i].Name.ScopedName, XamlLanguage.Uid.Name))
757
if (
KS
.Eq(attr.Value, KnownStrings.Preserve))
859
KS
.Eq(XamlLanguage.XData.Name, name);
System\Xaml\Schema\ClrNamespaceUriParser.cs (5)
27
int colonIdx =
KS
.IndexOf(uriInput, ':');
34
if (!
KS
.Eq(keyword, KnownStrings.UriClrNamespace))
40
int semicolonIdx =
KS
.IndexOf(uriInput, ';');
54
int equalIdx =
KS
.IndexOf(uriInput, '=');
61
if (!
KS
.Eq(keyword, KnownStrings.UriAssembly))
System\Xaml\Schema\TypeReflector.cs (4)
884
if (!
KS
.StartsWith(mi.Name, KnownStrings.Get))
906
if (!
KS
.StartsWith(mi.Name, KnownStrings.Set))
928
if (!
KS
.StartsWith(mi.Name, KnownStrings.Add) || !
KS
.EndsWith(mi.Name, KnownStrings.Handler))
System\Xaml\Schema\XamlNamespace.cs (1)
220
if (!
KS
.Eq(t.Namespace, clrPrefix))
System\Xaml\XamlSchemaContext.cs (3)
187
if (
KS
.Eq(result, XamlLanguage.PreferredPrefix))
192
else if (
KS
.Eq(result, KnownStrings.XmlPrefix))
236
if (!
KS
.Eq(preferredPrefix, existingPrefix))
System\Xaml\XamlType.cs (1)
1529
&& (
KS
.Eq(UnderlyingType.Name, KnownStrings.NullableOfT)