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