71 references to XamlReaderHelper
PresentationFramework (71)
MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
249if (_reader.Name == XamlReaderHelper.DefinitionUid)
MS\Internal\Globalization\BamlTreeUpdater.cs (3)
117XamlReaderHelper.DefinitionUid, 525tagUid = child.GetAttribute(XamlReaderHelper.DefinitionUid); 559XamlReaderHelper.DefinitionUid,
MS\Internal\Globalization\LocalizableResourceBuilder.cs (1)
252$"<{formattingTag} {XamlReaderHelper.DefinitionUid}=\"{BamlResourceContentUtil.EscapeString(node.Uid)}\">"
System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
62_predefinedNamespaces.Add(new Uri(XamlReaderHelper.DefaultNamespaceURI), null);
System\Windows\Documents\FixedFindEngine.cs (1)
453XamlReaderHelper.DefinitionMetroNamespaceURI
System\Windows\Documents\FixedSchema.cs (1)
128XamlReaderHelper.DefinitionMetroNamespaceURI
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
18using XamlReaderHelper = System.Windows.Markup.XamlReaderHelper; 721_xamlNodesWriter.WriteStartMember(System.Windows.Markup.XamlReaderHelper.Freeze); 2134if (xamlNs.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
System\Windows\Markup\Baml2006\Baml2006ReaderInternal.cs (1)
17using XamlReaderHelper = System.Windows.Markup.XamlReaderHelper;
System\Windows\Markup\BamlReader.cs (27)
1108info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1109info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1135info.Prefix = (string)_prefixDictionary[XamlReaderHelper.PresentationOptionsNamespaceURI]; 1136info.XmlNamespace = XamlReaderHelper.PresentationOptionsNamespaceURI; 1162info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1163info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1165info.Name = XamlReaderHelper.DefinitionName; 1278info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1279info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1281info.Name = XamlReaderHelper.DefinitionName; 1296string typeExtensionPrefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1328info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1330info.Name = XamlReaderHelper.DefinitionName; 1397info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1398info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1400info.Name = XamlReaderHelper.DefinitionShared; 1686info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1687info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1689info.Name = XamlReaderHelper.DefinitionName; 2282info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 2283info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 2393object prefixObject = _prefixDictionary[XamlReaderHelper.DefaultNamespaceURI]; 2427string extensionPrefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 2468object prefixObject = _prefixDictionary[XamlReaderHelper.DefaultNamespaceURI]; 2499string extensionPrefix = (string)_prefixDictionary[XamlReaderHelper.DefaultNamespaceURI]; 2576string typeExtensionPrefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 2645xmlns = XamlReaderHelper.DefinitionNamespaceURI;
System\Windows\Markup\BamlRecordReader.cs (8)
1277SetKeyOnContext(key, XamlReaderHelper.DefinitionName, ParentContext, GrandParentContext); 3290if (bamlDefAttributeRecord.Name == XamlReaderHelper.DefinitionName) 3302else if(bamlDefAttributeRecord.Name == XamlReaderHelper.DefinitionUid || 3327else if (bamlDefAttributeRecord.Name == XamlReaderHelper.DefinitionShared) 3334else if (bamlDefAttributeRecord.Name == XamlReaderHelper.DefinitionRuntimeName) // x:Name 3367ThrowException(nameof(SR.ParserNoResource), XamlReaderHelper.DefinitionName); 3370SetKeyOnContext(keyType, XamlReaderHelper.DefinitionName, CurrentContext, ParentContext); 3618if (bamlPresentationOptionsAttributeRecord.Name == XamlReaderHelper.PresentationOptionsFreeze)
System\Windows\Markup\BamlRecordWriter.cs (2)
565xamlDefNode.Name == XamlReaderHelper.DefinitionName) 602xamlDefNode.Name == XamlReaderHelper.DefinitionShared)
System\Windows\Markup\BamlWriter.cs (2)
521else if (name == XamlReaderHelper.DefinitionName) 531if (name != XamlReaderHelper.DefinitionName)
System\Windows\Markup\FilteredXmlReader.cs (1)
363const string uidNamespace = XamlReaderHelper.DefinitionNamespaceURI;
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1081_writer.WriteStartElement(scope.GetPrefixOf(NamespaceCache.XamlNamespace), XamlReaderHelper.DefinitionXDataTag, NamespaceCache.XamlNamespace);
System\Windows\Markup\WpfXamlLoader.cs (3)
260if (!(xamlReader.Member.IsDirective && xamlReader.Member == XamlReaderHelper.Freeze) && 334if (!(currentProperty.IsDirective && currentProperty == XamlReaderHelper.Freeze) && 375if (stack.CurrentFrame.Property.IsDirective && stack.CurrentFrame.Property == XamlReaderHelper.Freeze)
System\Windows\Markup\XamlReaderConstants.cs (2)
92_freezeDirective = new System.Xaml.XamlDirective(XamlReaderHelper.PresentationOptionsNamespaceURI, XamlReaderHelper.PresentationOptionsFreeze);
System\Windows\Markup\XamlSerializer.cs (2)
61XamlReaderHelper tokenReader, 76XamlReaderHelper tokenReader,
System\Windows\Markup\XamlTypeMapper.cs (3)
2201List<ClrNamespaceAssemblyPair> namespaceAssemblyPair = GetClrNamespacePairFromCache(XamlReaderHelper.DefaultNamespaceURI); 2882if (string.Equals(xmlns, XamlReaderHelper.DefaultNamespaceURI, StringComparison.Ordinal)) 3181if (xmlNamespace.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (7)
251return XamlReaderHelper.MappingProtocol + clrNamespace + 252XamlReaderHelper.MappingAssembly + assembly; 259int clrNsIndex = xmlNamespace.IndexOf(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal); 264clrNsIndex += XamlReaderHelper.MappingProtocol.Length; 269int assemblyIndex = xmlNamespace.IndexOf(XamlReaderHelper.MappingAssembly, StringComparison.Ordinal); 276assemblyIndex += XamlReaderHelper.MappingAssembly.Length; 367if (xamlNamespace.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
System\Windows\Markup\XmlAttributeProperties.cs (1)
66new FrameworkPropertyMetadata(XamlReaderHelper.DefinitionNamespaceURI,