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