22 references to KS
System.Xaml (22)
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
485
if (
KS
.Eq(ns1, ns2))
System\Xaml\Parser\MeScanner.cs (1)
304
KS
.Eq(xamlType.UnderlyingType.Name, typeName.Name + KnownStrings.Extension)))
System\Xaml\Parser\XamlAttribute.cs (2)
120
if (
KS
.Eq(Name.Prefix, KnownStrings.XmlNsPrefix))
130
if (string.IsNullOrEmpty(Name.Prefix) &&
KS
.Eq(Name.Name, KnownStrings.XmlNsPrefix))
System\Xaml\Parser\XamlScanner.cs (4)
607
if (
KS
.Eq(attr.Name.Name, XamlLanguage.TypeArguments.Name))
735
if (
KS
.Eq(_attributes[i].Name.ScopedName, XamlLanguage.Uid.Name))
770
if (
KS
.Eq(attr.Value, KnownStrings.Preserve))
878
KS
.Eq(XamlLanguage.XData.Name, name);
System\Xaml\Schema\ClrNamespaceUriParser.cs (5)
26
int colonIdx =
KS
.IndexOf(uriInput, ':');
33
if (!
KS
.Eq(keyword, KnownStrings.UriClrNamespace))
39
int semicolonIdx =
KS
.IndexOf(uriInput, ';');
53
int equalIdx =
KS
.IndexOf(uriInput, '=');
60
if (!
KS
.Eq(keyword, KnownStrings.UriAssembly))
System\Xaml\Schema\TypeReflector.cs (4)
912
if (!
KS
.StartsWith(mi.Name, KnownStrings.Get))
936
if (!
KS
.StartsWith(mi.Name, KnownStrings.Set))
960
if (!
KS
.StartsWith(mi.Name, KnownStrings.Add) || !
KS
.EndsWith(mi.Name, KnownStrings.Handler))
System\Xaml\Schema\XamlNamespace.cs (1)
224
if (!
KS
.Eq(t.Namespace, clrPrefix))
System\Xaml\XamlSchemaContext.cs (3)
194
if (
KS
.Eq(result, XamlLanguage.PreferredPrefix))
199
else if (
KS
.Eq(result, KnownStrings.XmlPrefix))
245
if (!
KS
.Eq(preferredPrefix, existingPrefix))
System\Xaml\XamlType.cs (1)
1641
&& (
KS
.Eq(UnderlyingType.Name, KnownStrings.NullableOfT)