2 writes to ParserContext
PresentationFramework (2)
System\Windows\Markup\BamlRecordReader.cs (2)
94
ParserContext
= parserContext;
119
ParserContext
= parserContext;
78 references to ParserContext
PresentationFramework (78)
System\Windows\Markup\BamlCollectionHolder.cs (2)
178
_defaultCollection = XamlTypeMapper.GetInternalPropertyValue(_reader.
ParserContext
,
179
_reader.
ParserContext
.RootElement,
System\Windows\Markup\BamlRecordReader.cs (76)
99
ParserContext
.RootElement = _rootElement;
125
ParserContext
.XamlTypeMapper = XamlTypeMapper;
147
ParserContext
.Initialize();
268
if (BamlRecordHelper.HasDebugExtensionRecord(
ParserContext
.IsDebugBamlStream, bamlRecord))
539
ParserContext
.RootElement = null;
778
XamlParseException.ThrowException(
ParserContext
,
924
FrameworkPropertyMetadata metadata =
ParserContext
!= null &&
ParserContext
.SkipJournaledProperties ?
956
ProvideValueServiceProvider serviceProvider =
ParserContext
.ProvideValueProvider;
1140
if (
ParserContext
.RootElement == null)
1142
ParserContext
.RootElement = _rootElement;
1144
if (
ParserContext
.StyleConnector == null)
1146
ParserContext
.StyleConnector = _rootElement as IStyleConnector;
1150
serializer.ConvertBamlToObject(this, bamlElementRecord,
ParserContext
);
1322
contentProperty = XamlTypeMapper.GetInternalPropertyValue(
ParserContext
,
1323
ParserContext
.RootElement,
1333
(
ParserContext
.RootElement is IComponentConnector) &&
1334
(
ParserContext
.RootElement == parent);
1458
Type ownerType =
ParserContext
.TargetType;
1461
dp = XamlTypeMapper.ParsePropertyName(
ParserContext
,
1697
if (!
ParserContext
.OwnsBamlStream)
1782
dictionaryKeyRecord.KeyObject = XamlTypeMapper.GetDictionaryKey(stringKeyRecord.Value,
ParserContext
);
1815
if (!
ParserContext
.InDeferredSection)
1878
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
1957
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
2015
ParserContext
);
2234
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2235
ParserContext
.RootElement,
2552
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2553
ParserContext
.RootElement,
2700
ParserContext
.XmlSpace = attribValue;
2727
ParserContext
.XmlLang = attribValue;
2731
ParserContext
.XmlSpace = attribValue;
2822
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2824
ParserContext
.RootElement,
2856
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2858
ParserContext
.RootElement,
2867
bool added = XamlTypeMapper.AddInternalEventHandler(
ParserContext
,
2868
ParserContext
.RootElement,
2929
if (
ParserContext
!= null &&
ParserContext
.NameScopeStack != null)
2931
if (0 !=
ParserContext
.NameScopeStack.Count)
2933
INameScope nameScopeTop =
ParserContext
.NameScopeStack.Pop() as INameScope;
2934
if ((NameScope.NameScopeFromObject(element) != null) && 0 !=
ParserContext
.NameScopeStack.Count)
2949
INameScope nameScopePeek =
ParserContext
.NameScopeStack.Peek() as INameScope;
2956
ParserContext
.NameScopeStack.Push(nameScopeTop);
3274
object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value,
ParserContext
);
3956
TypeConvertContext,
ParserContext
,
4021
o =
ParserContext
.XamlTypeMapper.ParseProperty(null, type,string.Empty, null,
4022
TypeConvertContext,
ParserContext
,s, converterTypeId);
4211
object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName,
ParserContext
);
4308
ParserContext
.PushScope();
4317
ParserContext
.NameScopeStack.Push(nameScope);
4331
ParserContext
.NameScopeStack.Pop();
4334
ParserContext
.PopScope();
4348
Uri baseuri =
ParserContext
.BaseUri;
4433
if (
ParserContext
.RootElement == null)
4435
ParserContext
.RootElement = element;
4447
&&
ParserContext
.NameScopeStack.Count == 0
4965
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
4966
ParserContext
.RootElement,
5098
attribInfo.EventInfo =
ParserContext
.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name);
5194
XamlParseException.ThrowException(
ParserContext
, LineNumber, LinePosition, message, innerException);
5261
instance = XamlTypeMapper.CreateInternalInstance(
ParserContext
, type);
5410
get { return
ParserContext
.XamlTypeMapper; }
5435
_typeConvertContext = new TypeConvertContext(
ParserContext
);
5460
get { return
ParserContext
.MapTable; }
5466
get { return
ParserContext
.XmlnsDictionary; }
5561
get { return
ParserContext
.LineNumber; }
5562
set {
ParserContext
.LineNumber = value; }
5567
get { return
ParserContext
.LinePosition; }
5568
set {
ParserContext
.LinePosition = value; }
5573
get { return
ParserContext
.IsDebugBamlStream; }
5574
set {
ParserContext
.IsDebugBamlStream = value; }