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