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