70 references to XamlReaderHelper
PresentationFramework (70)
MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
242
if (_reader.Name ==
XamlReaderHelper
.DefinitionUid)
MS\Internal\Globalization\BamlTreeUpdater.cs (3)
109
XamlReaderHelper
.DefinitionUid,
517
tagUid = child.GetAttribute(
XamlReaderHelper
.DefinitionUid);
551
XamlReaderHelper
.DefinitionUid,
MS\Internal\Globalization\LocalizableResourceBuilder.cs (1)
248
$"<{formattingTag} {
XamlReaderHelper
.DefinitionUid}=\"{BamlResourceContentUtil.EscapeString(node.Uid)}\">"
System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
51
_predefinedNamespaces.Add(new Uri(
XamlReaderHelper
.DefaultNamespaceURI), null);
System\Windows\Documents\FixedFindEngine.cs (1)
451
XamlReaderHelper
.DefinitionMetroNamespaceURI
System\Windows\Documents\FixedSchema.cs (1)
119
XamlReaderHelper
.DefinitionMetroNamespaceURI
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
13
using XamlReaderHelper = System.Windows.Markup.
XamlReaderHelper
;
716
_xamlNodesWriter.WriteStartMember(System.Windows.Markup.
XamlReaderHelper
.Freeze);
2129
if (xamlNs.StartsWith(
XamlReaderHelper
.MappingProtocol, StringComparison.Ordinal))
System\Windows\Markup\BamlReader.cs (27)
1098
info.Prefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
1099
info.XmlNamespace =
XamlReaderHelper
.DefinitionNamespaceURI;
1125
info.Prefix = (string)_prefixDictionary[
XamlReaderHelper
.PresentationOptionsNamespaceURI];
1126
info.XmlNamespace =
XamlReaderHelper
.PresentationOptionsNamespaceURI;
1152
info.Prefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
1153
info.XmlNamespace =
XamlReaderHelper
.DefinitionNamespaceURI;
1155
info.Name =
XamlReaderHelper
.DefinitionName;
1268
info.Prefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
1269
info.XmlNamespace =
XamlReaderHelper
.DefinitionNamespaceURI;
1271
info.Name =
XamlReaderHelper
.DefinitionName;
1286
string typeExtensionPrefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
1318
info.XmlNamespace =
XamlReaderHelper
.DefinitionNamespaceURI;
1320
info.Name =
XamlReaderHelper
.DefinitionName;
1387
info.Prefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
1388
info.XmlNamespace =
XamlReaderHelper
.DefinitionNamespaceURI;
1390
info.Name =
XamlReaderHelper
.DefinitionShared;
1676
info.Prefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
1677
info.XmlNamespace =
XamlReaderHelper
.DefinitionNamespaceURI;
1679
info.Name =
XamlReaderHelper
.DefinitionName;
2272
info.Prefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
2273
info.XmlNamespace =
XamlReaderHelper
.DefinitionNamespaceURI;
2383
object prefixObject = _prefixDictionary[
XamlReaderHelper
.DefaultNamespaceURI];
2417
string extensionPrefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
2458
object prefixObject = _prefixDictionary[
XamlReaderHelper
.DefaultNamespaceURI];
2489
string extensionPrefix = (string)_prefixDictionary[
XamlReaderHelper
.DefaultNamespaceURI];
2566
string typeExtensionPrefix = (string)_prefixDictionary[
XamlReaderHelper
.DefinitionNamespaceURI];
2635
xmlns =
XamlReaderHelper
.DefinitionNamespaceURI;
System\Windows\Markup\BamlRecordReader.cs (8)
1268
SetKeyOnContext(key,
XamlReaderHelper
.DefinitionName, ParentContext, GrandParentContext);
3281
if (bamlDefAttributeRecord.Name ==
XamlReaderHelper
.DefinitionName)
3293
else if(bamlDefAttributeRecord.Name ==
XamlReaderHelper
.DefinitionUid ||
3318
else if (bamlDefAttributeRecord.Name ==
XamlReaderHelper
.DefinitionShared)
3325
else if (bamlDefAttributeRecord.Name ==
XamlReaderHelper
.DefinitionRuntimeName) // x:Name
3358
ThrowException(nameof(SR.ParserNoResource),
XamlReaderHelper
.DefinitionName);
3361
SetKeyOnContext(keyType,
XamlReaderHelper
.DefinitionName, CurrentContext, ParentContext);
3609
if (bamlPresentationOptionsAttributeRecord.Name ==
XamlReaderHelper
.PresentationOptionsFreeze)
System\Windows\Markup\BamlRecordWriter.cs (2)
562
xamlDefNode.Name ==
XamlReaderHelper
.DefinitionName)
599
xamlDefNode.Name ==
XamlReaderHelper
.DefinitionShared)
System\Windows\Markup\BamlWriter.cs (2)
507
else if (name ==
XamlReaderHelper
.DefinitionName)
517
if (name !=
XamlReaderHelper
.DefinitionName)
System\Windows\Markup\FilteredXmlReader.cs (1)
359
const string uidNamespace =
XamlReaderHelper
.DefinitionNamespaceURI;
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1074
_writer.WriteStartElement(scope.GetPrefixOf(NamespaceCache.XamlNamespace),
XamlReaderHelper
.DefinitionXDataTag, NamespaceCache.XamlNamespace);
System\Windows\Markup\WpfXamlLoader.cs (3)
259
if (!(xamlReader.Member.IsDirective && xamlReader.Member ==
XamlReaderHelper
.Freeze) &&
333
if (!(currentProperty.IsDirective && currentProperty ==
XamlReaderHelper
.Freeze) &&
374
if (stack.CurrentFrame.Property.IsDirective && stack.CurrentFrame.Property ==
XamlReaderHelper
.Freeze)
System\Windows\Markup\XamlReaderConstants.cs (2)
95
_freezeDirective = new System.Xaml.XamlDirective(
XamlReaderHelper
.PresentationOptionsNamespaceURI,
XamlReaderHelper
.PresentationOptionsFreeze);
System\Windows\Markup\XamlSerializer.cs (2)
54
XamlReaderHelper
tokenReader,
69
XamlReaderHelper
tokenReader,
System\Windows\Markup\XamlTypeMapper.cs (3)
2199
List<ClrNamespaceAssemblyPair> namespaceAssemblyPair = GetClrNamespacePairFromCache(
XamlReaderHelper
.DefaultNamespaceURI);
2880
if (string.Equals(xmlns,
XamlReaderHelper
.DefaultNamespaceURI, StringComparison.Ordinal))
3179
if (xmlNamespace.StartsWith(
XamlReaderHelper
.MappingProtocol, StringComparison.Ordinal))
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (7)
248
return
XamlReaderHelper
.MappingProtocol + clrNamespace +
249
XamlReaderHelper
.MappingAssembly + assembly;
256
int clrNsIndex = xmlNamespace.IndexOf(
XamlReaderHelper
.MappingProtocol, StringComparison.Ordinal);
261
clrNsIndex +=
XamlReaderHelper
.MappingProtocol.Length;
266
int assemblyIndex = xmlNamespace.IndexOf(
XamlReaderHelper
.MappingAssembly, StringComparison.Ordinal);
273
assemblyIndex +=
XamlReaderHelper
.MappingAssembly.Length;
364
if (xamlNamespace.StartsWith(
XamlReaderHelper
.MappingProtocol, StringComparison.Ordinal))
System\Windows\Markup\XmlAttributeProperties.cs (1)
58
new FrameworkPropertyMetadata(
XamlReaderHelper
.DefinitionNamespaceURI,