2 writes to ParserContext
PresentationFramework (2)
System\Windows\Markup\BamlRecordReader.cs (2)
101
ParserContext
= parserContext;
126
ParserContext
= parserContext;
78 references to ParserContext
PresentationFramework (78)
System\Windows\Markup\BamlCollectionHolder.cs (2)
179
_defaultCollection = XamlTypeMapper.GetInternalPropertyValue(_reader.
ParserContext
,
180
_reader.
ParserContext
.RootElement,
System\Windows\Markup\BamlRecordReader.cs (76)
106
ParserContext
.RootElement = _rootElement;
132
ParserContext
.XamlTypeMapper = XamlTypeMapper;
154
ParserContext
.Initialize();
275
if (BamlRecordHelper.HasDebugExtensionRecord(
ParserContext
.IsDebugBamlStream, bamlRecord))
549
ParserContext
.RootElement = null;
788
XamlParseException.ThrowException(
ParserContext
,
934
FrameworkPropertyMetadata metadata =
ParserContext
!= null &&
ParserContext
.SkipJournaledProperties ?
966
ProvideValueServiceProvider serviceProvider =
ParserContext
.ProvideValueProvider;
1150
if (
ParserContext
.RootElement == null)
1152
ParserContext
.RootElement = _rootElement;
1154
if (
ParserContext
.StyleConnector == null)
1156
ParserContext
.StyleConnector = _rootElement as IStyleConnector;
1160
serializer.ConvertBamlToObject(this, bamlElementRecord,
ParserContext
);
1332
contentProperty = XamlTypeMapper.GetInternalPropertyValue(
ParserContext
,
1333
ParserContext
.RootElement,
1343
(
ParserContext
.RootElement is IComponentConnector) &&
1344
(
ParserContext
.RootElement == parent);
1468
Type ownerType =
ParserContext
.TargetType;
1471
dp = XamlTypeMapper.ParsePropertyName(
ParserContext
,
1707
if (!
ParserContext
.OwnsBamlStream)
1792
dictionaryKeyRecord.KeyObject = XamlTypeMapper.GetDictionaryKey(stringKeyRecord.Value,
ParserContext
);
1825
if (!
ParserContext
.InDeferredSection)
1888
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
1967
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
2025
ParserContext
);
2244
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2245
ParserContext
.RootElement,
2560
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2561
ParserContext
.RootElement,
2708
ParserContext
.XmlSpace = attribValue;
2735
ParserContext
.XmlLang = attribValue;
2739
ParserContext
.XmlSpace = attribValue;
2830
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2832
ParserContext
.RootElement,
2864
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2866
ParserContext
.RootElement,
2875
bool added = XamlTypeMapper.AddInternalEventHandler(
ParserContext
,
2876
ParserContext
.RootElement,
2937
if (
ParserContext
!= null &&
ParserContext
.NameScopeStack != null)
2939
if (0 !=
ParserContext
.NameScopeStack.Count)
2941
INameScope nameScopeTop =
ParserContext
.NameScopeStack.Pop() as INameScope;
2942
if ((NameScope.NameScopeFromObject(element) != null) && 0 !=
ParserContext
.NameScopeStack.Count)
2957
INameScope nameScopePeek =
ParserContext
.NameScopeStack.Peek() as INameScope;
2967
ParserContext
.NameScopeStack.Push(nameScopeTop);
3283
object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value,
ParserContext
);
3966
TypeConvertContext,
ParserContext
,
4031
o =
ParserContext
.XamlTypeMapper.ParseProperty(null, type,string.Empty, null,
4032
TypeConvertContext,
ParserContext
,s, converterTypeId);
4221
object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName,
ParserContext
);
4318
ParserContext
.PushScope();
4327
ParserContext
.NameScopeStack.Push(nameScope);
4341
ParserContext
.NameScopeStack.Pop();
4344
ParserContext
.PopScope();
4358
Uri baseuri =
ParserContext
.BaseUri;
4446
if (
ParserContext
.RootElement == null)
4448
ParserContext
.RootElement = element;
4460
&&
ParserContext
.NameScopeStack.Count == 0
4978
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
4979
ParserContext
.RootElement,
5111
attribInfo.EventInfo =
ParserContext
.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name);
5207
XamlParseException.ThrowException(
ParserContext
, LineNumber, LinePosition, message, innerException);
5274
instance = XamlTypeMapper.CreateInternalInstance(
ParserContext
, type);
5426
get { return
ParserContext
.XamlTypeMapper; }
5451
_typeConvertContext = new TypeConvertContext(
ParserContext
);
5476
get { return
ParserContext
.MapTable; }
5482
get { return
ParserContext
.XmlnsDictionary; }
5577
get { return
ParserContext
.LineNumber; }
5578
set {
ParserContext
.LineNumber = value; }
5583
get { return
ParserContext
.LinePosition; }
5584
set {
ParserContext
.LinePosition = value; }
5589
get { return
ParserContext
.IsDebugBamlStream; }
5590
set {
ParserContext
.IsDebugBamlStream = value; }