2 writes to ParserContext
PresentationFramework (2)
System\Windows\Markup\BamlRecordReader.cs (2)
95
ParserContext
= parserContext;
120
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)
100
ParserContext
.RootElement = _rootElement;
126
ParserContext
.XamlTypeMapper = XamlTypeMapper;
148
ParserContext
.Initialize();
269
if (BamlRecordHelper.HasDebugExtensionRecord(
ParserContext
.IsDebugBamlStream, bamlRecord))
540
ParserContext
.RootElement = null;
779
XamlParseException.ThrowException(
ParserContext
,
925
FrameworkPropertyMetadata metadata =
ParserContext
!= null &&
ParserContext
.SkipJournaledProperties ?
957
ProvideValueServiceProvider serviceProvider =
ParserContext
.ProvideValueProvider;
1141
if (
ParserContext
.RootElement == null)
1143
ParserContext
.RootElement = _rootElement;
1145
if (
ParserContext
.StyleConnector == null)
1147
ParserContext
.StyleConnector = _rootElement as IStyleConnector;
1151
serializer.ConvertBamlToObject(this, bamlElementRecord,
ParserContext
);
1323
contentProperty = XamlTypeMapper.GetInternalPropertyValue(
ParserContext
,
1324
ParserContext
.RootElement,
1334
(
ParserContext
.RootElement is IComponentConnector) &&
1335
(
ParserContext
.RootElement == parent);
1459
Type ownerType =
ParserContext
.TargetType;
1462
dp = XamlTypeMapper.ParsePropertyName(
ParserContext
,
1698
if (!
ParserContext
.OwnsBamlStream)
1783
dictionaryKeyRecord.KeyObject = XamlTypeMapper.GetDictionaryKey(stringKeyRecord.Value,
ParserContext
);
1816
if (!
ParserContext
.InDeferredSection)
1879
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
1958
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
2016
ParserContext
);
2235
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2236
ParserContext
.RootElement,
2553
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2554
ParserContext
.RootElement,
2701
ParserContext
.XmlSpace = attribValue;
2728
ParserContext
.XmlLang = attribValue;
2732
ParserContext
.XmlSpace = attribValue;
2823
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2825
ParserContext
.RootElement,
2857
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2859
ParserContext
.RootElement,
2868
bool added = XamlTypeMapper.AddInternalEventHandler(
ParserContext
,
2869
ParserContext
.RootElement,
2930
if (
ParserContext
!= null &&
ParserContext
.NameScopeStack != null)
2932
if (0 !=
ParserContext
.NameScopeStack.Count)
2934
INameScope nameScopeTop =
ParserContext
.NameScopeStack.Pop() as INameScope;
2935
if ((NameScope.NameScopeFromObject(element) != null) && 0 !=
ParserContext
.NameScopeStack.Count)
2950
INameScope nameScopePeek =
ParserContext
.NameScopeStack.Peek() as INameScope;
2957
ParserContext
.NameScopeStack.Push(nameScopeTop);
3275
object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value,
ParserContext
);
3957
TypeConvertContext,
ParserContext
,
4022
o =
ParserContext
.XamlTypeMapper.ParseProperty(null, type,string.Empty, null,
4023
TypeConvertContext,
ParserContext
,s, converterTypeId);
4212
object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName,
ParserContext
);
4309
ParserContext
.PushScope();
4318
ParserContext
.NameScopeStack.Push(nameScope);
4332
ParserContext
.NameScopeStack.Pop();
4335
ParserContext
.PopScope();
4349
Uri baseuri =
ParserContext
.BaseUri;
4434
if (
ParserContext
.RootElement == null)
4436
ParserContext
.RootElement = element;
4448
&&
ParserContext
.NameScopeStack.Count == 0
4966
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
4967
ParserContext
.RootElement,
5099
attribInfo.EventInfo =
ParserContext
.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name);
5195
XamlParseException.ThrowException(
ParserContext
, LineNumber, LinePosition, message, innerException);
5262
instance = XamlTypeMapper.CreateInternalInstance(
ParserContext
, type);
5411
get { return
ParserContext
.XamlTypeMapper; }
5436
_typeConvertContext = new TypeConvertContext(
ParserContext
);
5461
get { return
ParserContext
.MapTable; }
5467
get { return
ParserContext
.XmlnsDictionary; }
5562
get { return
ParserContext
.LineNumber; }
5563
set {
ParserContext
.LineNumber = value; }
5568
get { return
ParserContext
.LinePosition; }
5569
set {
ParserContext
.LinePosition = value; }
5574
get { return
ParserContext
.IsDebugBamlStream; }
5575
set {
ParserContext
.IsDebugBamlStream = value; }