2 writes to ParserContext
PresentationFramework (2)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
119
ParserContext
= parserContext;
144
ParserContext
= parserContext;
78 references to ParserContext
PresentationFramework (78)
src\Framework\System\Windows\Markup\BamlCollectionHolder.cs (2)
184
_defaultCollection = XamlTypeMapper.GetInternalPropertyValue(_reader.
ParserContext
,
185
_reader.
ParserContext
.RootElement,
src\Framework\System\Windows\Markup\BamlRecordReader.cs (76)
124
ParserContext
.RootElement = _rootElement;
150
ParserContext
.XamlTypeMapper = XamlTypeMapper;
172
ParserContext
.Initialize();
298
if (BamlRecordHelper.HasDebugExtensionRecord(
ParserContext
.IsDebugBamlStream, bamlRecord))
572
ParserContext
.RootElement = null;
815
XamlParseException.ThrowException(
ParserContext
,
963
FrameworkPropertyMetadata metadata =
ParserContext
!= null &&
ParserContext
.SkipJournaledProperties ?
996
ProvideValueServiceProvider serviceProvider =
ParserContext
.ProvideValueProvider;
1183
if (
ParserContext
.RootElement == null)
1185
ParserContext
.RootElement = _rootElement;
1187
if (
ParserContext
.StyleConnector == null)
1189
ParserContext
.StyleConnector = _rootElement as IStyleConnector;
1193
serializer.ConvertBamlToObject(this, bamlElementRecord,
ParserContext
);
1365
contentProperty = XamlTypeMapper.GetInternalPropertyValue(
ParserContext
,
1366
ParserContext
.RootElement,
1377
(
ParserContext
.RootElement is IComponentConnector) &&
1378
(
ParserContext
.RootElement == parent);
1502
Type ownerType =
ParserContext
.TargetType;
1505
dp = XamlTypeMapper.ParsePropertyName(
ParserContext
,
1745
if (!
ParserContext
.OwnsBamlStream)
1832
dictionaryKeyRecord.KeyObject = XamlTypeMapper.GetDictionaryKey(stringKeyRecord.Value,
ParserContext
);
1865
if (!
ParserContext
.InDeferredSection)
1928
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
2007
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
2065
ParserContext
);
2284
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2285
ParserContext
.RootElement,
2601
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2602
ParserContext
.RootElement,
2750
ParserContext
.XmlSpace = attribValue;
2777
ParserContext
.XmlLang = attribValue;
2781
ParserContext
.XmlSpace = attribValue;
2872
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2874
ParserContext
.RootElement,
2906
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2908
ParserContext
.RootElement,
2917
bool added = XamlTypeMapper.AddInternalEventHandler(
ParserContext
,
2918
ParserContext
.RootElement,
2981
if (
ParserContext
!= null &&
ParserContext
.NameScopeStack != null)
2983
if (0 !=
ParserContext
.NameScopeStack.Count)
2985
INameScope nameScopeTop =
ParserContext
.NameScopeStack.Pop() as INameScope;
2986
if ((NameScope.NameScopeFromObject(element) != null) && 0 !=
ParserContext
.NameScopeStack.Count)
3001
INameScope nameScopePeek =
ParserContext
.NameScopeStack.Peek() as INameScope;
3011
ParserContext
.NameScopeStack.Push(nameScopeTop);
3327
object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value,
ParserContext
);
4014
TypeConvertContext,
ParserContext
,
4081
o =
ParserContext
.XamlTypeMapper.ParseProperty(null, type,string.Empty, null,
4082
TypeConvertContext,
ParserContext
,s, converterTypeId);
4272
object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName,
ParserContext
);
4370
ParserContext
.PushScope();
4379
ParserContext
.NameScopeStack.Push(nameScope);
4394
ParserContext
.NameScopeStack.Pop();
4397
ParserContext
.PopScope();
4412
Uri baseuri =
ParserContext
.BaseUri;
4501
if (
ParserContext
.RootElement == null)
4503
ParserContext
.RootElement = element;
4515
&&
ParserContext
.NameScopeStack.Count == 0
5037
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
5038
ParserContext
.RootElement,
5179
attribInfo.EventInfo =
ParserContext
.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name);
5275
XamlParseException.ThrowException(
ParserContext
, LineNumber, LinePosition, message, innerException);
5343
instance = XamlTypeMapper.CreateInternalInstance(
ParserContext
, type);
5497
get { return
ParserContext
.XamlTypeMapper; }
5523
_typeConvertContext = new TypeConvertContext(
ParserContext
);
5548
get { return
ParserContext
.MapTable; }
5554
get { return
ParserContext
.XmlnsDictionary; }
5649
get { return
ParserContext
.LineNumber; }
5650
set {
ParserContext
.LineNumber = value; }
5655
get { return
ParserContext
.LinePosition; }
5656
set {
ParserContext
.LinePosition = value; }
5661
get { return
ParserContext
.IsDebugBamlStream; }
5662
set {
ParserContext
.IsDebugBamlStream = value; }