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