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,
2926
if (
ParserContext
!= null &&
ParserContext
.NameScopeStack != null)
2928
if (0 !=
ParserContext
.NameScopeStack.Count)
2930
INameScope nameScopeTop =
ParserContext
.NameScopeStack.Pop() as INameScope;
2931
if ((NameScope.NameScopeFromObject(element) != null) && 0 !=
ParserContext
.NameScopeStack.Count)
2946
INameScope nameScopePeek =
ParserContext
.NameScopeStack.Peek() as INameScope;
2953
ParserContext
.NameScopeStack.Push(nameScopeTop);
3271
object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value,
ParserContext
);
3950
TypeConvertContext,
ParserContext
,
4015
o =
ParserContext
.XamlTypeMapper.ParseProperty(null, type,string.Empty, null,
4016
TypeConvertContext,
ParserContext
,s, converterTypeId);
4205
object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName,
ParserContext
);
4302
ParserContext
.PushScope();
4311
ParserContext
.NameScopeStack.Push(nameScope);
4325
ParserContext
.NameScopeStack.Pop();
4328
ParserContext
.PopScope();
4342
Uri baseuri =
ParserContext
.BaseUri;
4427
if (
ParserContext
.RootElement == null)
4429
ParserContext
.RootElement = element;
4441
&&
ParserContext
.NameScopeStack.Count == 0
4959
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
4960
ParserContext
.RootElement,
5092
attribInfo.EventInfo =
ParserContext
.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name);
5188
XamlParseException.ThrowException(
ParserContext
, LineNumber, LinePosition, message, innerException);
5255
instance = XamlTypeMapper.CreateInternalInstance(
ParserContext
, type);
5404
get { return
ParserContext
.XamlTypeMapper; }
5429
_typeConvertContext = new TypeConvertContext(
ParserContext
);
5454
get { return
ParserContext
.MapTable; }
5460
get { return
ParserContext
.XmlnsDictionary; }
5555
get { return
ParserContext
.LineNumber; }
5556
set {
ParserContext
.LineNumber = value; }
5561
get { return
ParserContext
.LinePosition; }
5562
set {
ParserContext
.LinePosition = value; }
5567
get { return
ParserContext
.IsDebugBamlStream; }
5568
set {
ParserContext
.IsDebugBamlStream = value; }