22 references to KS
System.Xaml (22)
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
463
if (
KS
.Eq(ns1, ns2))
System\Xaml\Parser\MeScanner.cs (1)
299
KS
.Eq(xamlType.UnderlyingType.Name, typeName.Name + KnownStrings.Extension)))
System\Xaml\Parser\XamlAttribute.cs (2)
122
if (
KS
.Eq(Name.Prefix, KnownStrings.XmlNsPrefix))
131
if (String.IsNullOrEmpty(Name.Prefix) &&
KS
.Eq(Name.Name, KnownStrings.XmlNsPrefix))
System\Xaml\Parser\XamlScanner.cs (4)
596
if (
KS
.Eq(attr.Name.Name, XamlLanguage.TypeArguments.Name))
720
if (
KS
.Eq(_attributes[i].Name.ScopedName, XamlLanguage.Uid.Name))
754
if (
KS
.Eq(attr.Value, KnownStrings.Preserve))
856
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)
882
if (!
KS
.StartsWith(mi.Name, KnownStrings.Get))
904
if (!
KS
.StartsWith(mi.Name, KnownStrings.Set))
926
if (!
KS
.StartsWith(mi.Name, KnownStrings.Add) || !
KS
.EndsWith(mi.Name, KnownStrings.Handler))
System\Xaml\Schema\XamlNamespace.cs (1)
218
if (!
KS
.Eq(t.Namespace, clrPrefix))
System\Xaml\XamlSchemaContext.cs (3)
185
if (
KS
.Eq(result, XamlLanguage.PreferredPrefix))
190
else if (
KS
.Eq(result, KnownStrings.XmlPrefix))
234
if (!
KS
.Eq(preferredPrefix, existingPrefix))
System\Xaml\XamlType.cs (1)
1526
&& (
KS
.Eq(UnderlyingType.Name, KnownStrings.NullableOfT)