2 writes to ParserContext
PresentationFramework (2)
System\Windows\Markup\BamlRecordReader.cs (2)
101ParserContext = parserContext; 126ParserContext = 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)
106ParserContext.RootElement = _rootElement; 132ParserContext.XamlTypeMapper = XamlTypeMapper; 154ParserContext.Initialize(); 275if (BamlRecordHelper.HasDebugExtensionRecord(ParserContext.IsDebugBamlStream, bamlRecord)) 549ParserContext.RootElement = null; 788XamlParseException.ThrowException( ParserContext, 934FrameworkPropertyMetadata metadata = ParserContext != null && ParserContext.SkipJournaledProperties ? 966ProvideValueServiceProvider serviceProvider = ParserContext.ProvideValueProvider; 1150if (ParserContext.RootElement == null) 1152ParserContext.RootElement = _rootElement; 1154if (ParserContext.StyleConnector == null) 1156ParserContext.StyleConnector = _rootElement as IStyleConnector; 1160serializer.ConvertBamlToObject(this, bamlElementRecord, ParserContext); 1332contentProperty = XamlTypeMapper.GetInternalPropertyValue(ParserContext, 1333ParserContext.RootElement, 1343(ParserContext.RootElement is IComponentConnector) && 1344(ParserContext.RootElement == parent); 1468Type ownerType = ParserContext.TargetType; 1471dp = XamlTypeMapper.ParsePropertyName(ParserContext, 1707if (!ParserContext.OwnsBamlStream) 1792dictionaryKeyRecord.KeyObject = XamlTypeMapper.GetDictionaryKey(stringKeyRecord.Value, ParserContext); 1825if (!ParserContext.InDeferredSection) 1888object[] staticResourceValues = ParserContext.StaticResourcesStack[ParserContext.StaticResourcesStack.Count-1]; 1967object[] staticResourceValues = ParserContext.StaticResourcesStack[ParserContext.StaticResourcesStack.Count-1]; 2025ParserContext); 2244bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 2245ParserContext.RootElement, 2560bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 2561ParserContext.RootElement, 2708ParserContext.XmlSpace = attribValue; 2735ParserContext.XmlLang = attribValue; 2739ParserContext.XmlSpace = attribValue; 2830d = XamlTypeMapper.CreateDelegate(ParserContext, 2832ParserContext.RootElement, 2864d = XamlTypeMapper.CreateDelegate(ParserContext, 2866ParserContext.RootElement, 2875bool added = XamlTypeMapper.AddInternalEventHandler(ParserContext, 2876ParserContext.RootElement, 2937if (ParserContext != null && ParserContext.NameScopeStack != null) 2939if (0 != ParserContext.NameScopeStack.Count) 2941INameScope nameScopeTop = ParserContext.NameScopeStack.Pop() as INameScope; 2942if ((NameScope.NameScopeFromObject(element) != null) && 0 != ParserContext.NameScopeStack.Count) 2957INameScope nameScopePeek = ParserContext.NameScopeStack.Peek() as INameScope; 2967ParserContext.NameScopeStack.Push(nameScopeTop); 3283object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value, ParserContext); 3966TypeConvertContext, ParserContext, 4031o = ParserContext.XamlTypeMapper.ParseProperty(null, type,string.Empty, null, 4032TypeConvertContext,ParserContext,s, converterTypeId); 4221object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName, ParserContext); 4318ParserContext.PushScope(); 4327ParserContext.NameScopeStack.Push(nameScope); 4341ParserContext.NameScopeStack.Pop(); 4344ParserContext.PopScope(); 4358Uri baseuri = ParserContext.BaseUri; 4446if (ParserContext.RootElement == null) 4448ParserContext.RootElement = element; 4460&& ParserContext.NameScopeStack.Count == 0 4978bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 4979ParserContext.RootElement, 5111attribInfo.EventInfo = ParserContext.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name); 5207XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5274instance = XamlTypeMapper.CreateInternalInstance(ParserContext, type); 5426get { return ParserContext.XamlTypeMapper; } 5451_typeConvertContext = new TypeConvertContext(ParserContext); 5476get { return ParserContext.MapTable; } 5482get { return ParserContext.XmlnsDictionary; } 5577get { return ParserContext.LineNumber; } 5578set { ParserContext.LineNumber = value; } 5583get { return ParserContext.LinePosition; } 5584set { ParserContext.LinePosition = value; } 5589get { return ParserContext.IsDebugBamlStream; } 5590set { ParserContext.IsDebugBamlStream = value; }