70 references to XamlReaderHelper
PresentationFramework (70)
src\Framework\MS\Internal\Globalization\BamlResourceDeserializer.cs (1)
249if (_reader.Name == XamlReaderHelper.DefinitionUid)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (3)
115XamlReaderHelper.DefinitionUid, 524tagUid = child.GetAttribute(XamlReaderHelper.DefinitionUid); 558XamlReaderHelper.DefinitionUid,
src\Framework\MS\Internal\Globalization\LocalizableResourceBuilder.cs (1)
251XamlReaderHelper.DefinitionUid,
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
71_predefinedNamespaces.Add(new Uri(XamlReaderHelper.DefaultNamespaceURI), null);
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
467XamlReaderHelper.DefinitionMetroNamespaceURI
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
122XamlReaderHelper.DefinitionMetroNamespaceURI
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
13using XamlReaderHelper = System.Windows.Markup.XamlReaderHelper; 739_xamlNodesWriter.WriteStartMember(System.Windows.Markup.XamlReaderHelper.Freeze); 2156if (xamlNs.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
src\Framework\System\Windows\Markup\BamlReader.cs (27)
1120info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1121info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1147info.Prefix = (string)_prefixDictionary[XamlReaderHelper.PresentationOptionsNamespaceURI]; 1148info.XmlNamespace = XamlReaderHelper.PresentationOptionsNamespaceURI; 1174info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1175info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1177info.Name = XamlReaderHelper.DefinitionName; 1290info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1291info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1293info.Name = XamlReaderHelper.DefinitionName; 1308string typeExtensionPrefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1340info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1342info.Name = XamlReaderHelper.DefinitionName; 1409info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1410info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1412info.Name = XamlReaderHelper.DefinitionShared; 1698info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 1699info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 1701info.Name = XamlReaderHelper.DefinitionName; 2305info.Prefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 2306info.XmlNamespace = XamlReaderHelper.DefinitionNamespaceURI; 2417object prefixObject = _prefixDictionary[XamlReaderHelper.DefaultNamespaceURI]; 2451string extensionPrefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 2492object prefixObject = _prefixDictionary[XamlReaderHelper.DefaultNamespaceURI]; 2523string extensionPrefix = (string)_prefixDictionary[XamlReaderHelper.DefaultNamespaceURI]; 2600string typeExtensionPrefix = (string)_prefixDictionary[XamlReaderHelper.DefinitionNamespaceURI]; 2669xmlns = XamlReaderHelper.DefinitionNamespaceURI;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (8)
1301SetKeyOnContext(key, XamlReaderHelper.DefinitionName, ParentContext, GrandParentContext); 3325if (bamlDefAttributeRecord.Name == XamlReaderHelper.DefinitionName) 3337else if(bamlDefAttributeRecord.Name == XamlReaderHelper.DefinitionUid || 3362else if (bamlDefAttributeRecord.Name == XamlReaderHelper.DefinitionShared) 3369else if (bamlDefAttributeRecord.Name == XamlReaderHelper.DefinitionRuntimeName) // x:Name 3403ThrowException(SRID.ParserNoResource, XamlReaderHelper.DefinitionName); 3406SetKeyOnContext(keyType, XamlReaderHelper.DefinitionName, CurrentContext, ParentContext); 3654if (bamlPresentationOptionsAttributeRecord.Name == XamlReaderHelper.PresentationOptionsFreeze)
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (2)
574xamlDefNode.Name == XamlReaderHelper.DefinitionName) 611xamlDefNode.Name == XamlReaderHelper.DefinitionShared)
src\Framework\System\Windows\Markup\BamlWriter.cs (2)
533else if (name == XamlReaderHelper.DefinitionName) 543if (name != XamlReaderHelper.DefinitionName)
src\Framework\System\Windows\Markup\FilteredXmlReader.cs (1)
368const string uidNamespace = XamlReaderHelper.DefinitionNamespaceURI;
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1095_writer.WriteStartElement(scope.GetPrefixOf(NamespaceCache.XamlNamespace), XamlReaderHelper.DefinitionXDataTag, NamespaceCache.XamlNamespace);
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (3)
239if (!(xamlReader.Member.IsDirective && xamlReader.Member == XamlReaderHelper.Freeze) && 313if (!(currentProperty.IsDirective && currentProperty == XamlReaderHelper.Freeze) && 354if (stack.CurrentFrame.Property.IsDirective && stack.CurrentFrame.Property == XamlReaderHelper.Freeze)
src\Framework\System\Windows\Markup\XamlReaderConstants.cs (2)
100_freezeDirective = new System.Xaml.XamlDirective(XamlReaderHelper.PresentationOptionsNamespaceURI, XamlReaderHelper.PresentationOptionsFreeze);
src\Framework\System\Windows\Markup\XamlSerializer.cs (2)
65XamlReaderHelper tokenReader, 81XamlReaderHelper tokenReader,
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
2292List<ClrNamespaceAssemblyPair> namespaceAssemblyPair = GetClrNamespacePairFromCache(XamlReaderHelper.DefaultNamespaceURI); 3102if (string.CompareOrdinal(xmlns, XamlReaderHelper.DefaultNamespaceURI) == 0) 3401if (xmlNamespace.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (7)
247return XamlReaderHelper.MappingProtocol + clrNamespace + 248XamlReaderHelper.MappingAssembly + assembly; 255int clrNsIndex = xmlNamespace.IndexOf(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal); 260clrNsIndex += XamlReaderHelper.MappingProtocol.Length; 265int assemblyIndex = xmlNamespace.IndexOf(XamlReaderHelper.MappingAssembly, StringComparison.Ordinal); 272assemblyIndex += XamlReaderHelper.MappingAssembly.Length; 363if (xamlNamespace.StartsWith(XamlReaderHelper.MappingProtocol, StringComparison.Ordinal))
src\Framework\System\Windows\Markup\XmlAttributeProperties.cs (1)
73new FrameworkPropertyMetadata(XamlReaderHelper.DefinitionNamespaceURI,