2 writes to ParserContext
PresentationFramework (2)
System\Windows\Markup\BamlRecordReader.cs (2)
110
ParserContext
= parserContext;
135
ParserContext
= parserContext;
78 references to ParserContext
PresentationFramework (78)
System\Windows\Markup\BamlCollectionHolder.cs (2)
180
_defaultCollection = XamlTypeMapper.GetInternalPropertyValue(_reader.
ParserContext
,
181
_reader.
ParserContext
.RootElement,
System\Windows\Markup\BamlRecordReader.cs (76)
115
ParserContext
.RootElement = _rootElement;
141
ParserContext
.XamlTypeMapper = XamlTypeMapper;
163
ParserContext
.Initialize();
284
if (BamlRecordHelper.HasDebugExtensionRecord(
ParserContext
.IsDebugBamlStream, bamlRecord))
558
ParserContext
.RootElement = null;
797
XamlParseException.ThrowException(
ParserContext
,
943
FrameworkPropertyMetadata metadata =
ParserContext
!= null &&
ParserContext
.SkipJournaledProperties ?
975
ProvideValueServiceProvider serviceProvider =
ParserContext
.ProvideValueProvider;
1159
if (
ParserContext
.RootElement == null)
1161
ParserContext
.RootElement = _rootElement;
1163
if (
ParserContext
.StyleConnector == null)
1165
ParserContext
.StyleConnector = _rootElement as IStyleConnector;
1169
serializer.ConvertBamlToObject(this, bamlElementRecord,
ParserContext
);
1341
contentProperty = XamlTypeMapper.GetInternalPropertyValue(
ParserContext
,
1342
ParserContext
.RootElement,
1352
(
ParserContext
.RootElement is IComponentConnector) &&
1353
(
ParserContext
.RootElement == parent);
1477
Type ownerType =
ParserContext
.TargetType;
1480
dp = XamlTypeMapper.ParsePropertyName(
ParserContext
,
1716
if (!
ParserContext
.OwnsBamlStream)
1801
dictionaryKeyRecord.KeyObject = XamlTypeMapper.GetDictionaryKey(stringKeyRecord.Value,
ParserContext
);
1834
if (!
ParserContext
.InDeferredSection)
1897
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
1976
object[] staticResourceValues =
ParserContext
.StaticResourcesStack[
ParserContext
.StaticResourcesStack.Count-1];
2034
ParserContext
);
2253
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2254
ParserContext
.RootElement,
2569
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
2570
ParserContext
.RootElement,
2717
ParserContext
.XmlSpace = attribValue;
2744
ParserContext
.XmlLang = attribValue;
2748
ParserContext
.XmlSpace = attribValue;
2839
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2841
ParserContext
.RootElement,
2873
d = XamlTypeMapper.CreateDelegate(
ParserContext
,
2875
ParserContext
.RootElement,
2884
bool added = XamlTypeMapper.AddInternalEventHandler(
ParserContext
,
2885
ParserContext
.RootElement,
2946
if (
ParserContext
!= null &&
ParserContext
.NameScopeStack != null)
2948
if (0 !=
ParserContext
.NameScopeStack.Count)
2950
INameScope nameScopeTop =
ParserContext
.NameScopeStack.Pop() as INameScope;
2951
if ((NameScope.NameScopeFromObject(element) != null) && 0 !=
ParserContext
.NameScopeStack.Count)
2966
INameScope nameScopePeek =
ParserContext
.NameScopeStack.Peek() as INameScope;
2976
ParserContext
.NameScopeStack.Push(nameScopeTop);
3292
object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value,
ParserContext
);
3975
TypeConvertContext,
ParserContext
,
4040
o =
ParserContext
.XamlTypeMapper.ParseProperty(null, type,string.Empty, null,
4041
TypeConvertContext,
ParserContext
,s, converterTypeId);
4230
object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName,
ParserContext
);
4327
ParserContext
.PushScope();
4336
ParserContext
.NameScopeStack.Push(nameScope);
4350
ParserContext
.NameScopeStack.Pop();
4353
ParserContext
.PopScope();
4367
Uri baseuri =
ParserContext
.BaseUri;
4455
if (
ParserContext
.RootElement == null)
4457
ParserContext
.RootElement = element;
4469
&&
ParserContext
.NameScopeStack.Count == 0
4987
bool set = XamlTypeMapper.SetInternalPropertyValue(
ParserContext
,
4988
ParserContext
.RootElement,
5120
attribInfo.EventInfo =
ParserContext
.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name);
5216
XamlParseException.ThrowException(
ParserContext
, LineNumber, LinePosition, message, innerException);
5283
instance = XamlTypeMapper.CreateInternalInstance(
ParserContext
, type);
5435
get { return
ParserContext
.XamlTypeMapper; }
5460
_typeConvertContext = new TypeConvertContext(
ParserContext
);
5485
get { return
ParserContext
.MapTable; }
5491
get { return
ParserContext
.XmlnsDictionary; }
5586
get { return
ParserContext
.LineNumber; }
5587
set {
ParserContext
.LineNumber = value; }
5592
get { return
ParserContext
.LinePosition; }
5593
set {
ParserContext
.LinePosition = value; }
5598
get { return
ParserContext
.IsDebugBamlStream; }
5599
set {
ParserContext
.IsDebugBamlStream = value; }