2 writes to ParserContext
PresentationFramework (2)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
119ParserContext = parserContext; 144ParserContext = parserContext;
78 references to ParserContext
PresentationFramework (78)
src\Framework\System\Windows\Markup\BamlCollectionHolder.cs (2)
184_defaultCollection = XamlTypeMapper.GetInternalPropertyValue(_reader.ParserContext, 185_reader.ParserContext.RootElement,
src\Framework\System\Windows\Markup\BamlRecordReader.cs (76)
124ParserContext.RootElement = _rootElement; 150ParserContext.XamlTypeMapper = XamlTypeMapper; 172ParserContext.Initialize(); 298if (BamlRecordHelper.HasDebugExtensionRecord(ParserContext.IsDebugBamlStream, bamlRecord)) 572ParserContext.RootElement = null; 815XamlParseException.ThrowException( ParserContext, 963FrameworkPropertyMetadata metadata = ParserContext != null && ParserContext.SkipJournaledProperties ? 996ProvideValueServiceProvider serviceProvider = ParserContext.ProvideValueProvider; 1183if (ParserContext.RootElement == null) 1185ParserContext.RootElement = _rootElement; 1187if (ParserContext.StyleConnector == null) 1189ParserContext.StyleConnector = _rootElement as IStyleConnector; 1193serializer.ConvertBamlToObject(this, bamlElementRecord, ParserContext); 1365contentProperty = XamlTypeMapper.GetInternalPropertyValue(ParserContext, 1366ParserContext.RootElement, 1377(ParserContext.RootElement is IComponentConnector) && 1378(ParserContext.RootElement == parent); 1502Type ownerType = ParserContext.TargetType; 1505dp = XamlTypeMapper.ParsePropertyName(ParserContext, 1745if (!ParserContext.OwnsBamlStream) 1832dictionaryKeyRecord.KeyObject = XamlTypeMapper.GetDictionaryKey(stringKeyRecord.Value, ParserContext); 1865if (!ParserContext.InDeferredSection) 1928object[] staticResourceValues = ParserContext.StaticResourcesStack[ParserContext.StaticResourcesStack.Count-1]; 2007object[] staticResourceValues = ParserContext.StaticResourcesStack[ParserContext.StaticResourcesStack.Count-1]; 2065ParserContext); 2284bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 2285ParserContext.RootElement, 2601bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 2602ParserContext.RootElement, 2750ParserContext.XmlSpace = attribValue; 2777ParserContext.XmlLang = attribValue; 2781ParserContext.XmlSpace = attribValue; 2872d = XamlTypeMapper.CreateDelegate(ParserContext, 2874ParserContext.RootElement, 2906d = XamlTypeMapper.CreateDelegate(ParserContext, 2908ParserContext.RootElement, 2917bool added = XamlTypeMapper.AddInternalEventHandler(ParserContext, 2918ParserContext.RootElement, 2981if (ParserContext != null && ParserContext.NameScopeStack != null) 2983if (0 != ParserContext.NameScopeStack.Count) 2985INameScope nameScopeTop = ParserContext.NameScopeStack.Pop() as INameScope; 2986if ((NameScope.NameScopeFromObject(element) != null) && 0 != ParserContext.NameScopeStack.Count) 3001INameScope nameScopePeek = ParserContext.NameScopeStack.Peek() as INameScope; 3011ParserContext.NameScopeStack.Push(nameScopeTop); 3327object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value, ParserContext); 4014TypeConvertContext, ParserContext, 4081o = ParserContext.XamlTypeMapper.ParseProperty(null, type,string.Empty, null, 4082TypeConvertContext,ParserContext,s, converterTypeId); 4272object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName, ParserContext); 4370ParserContext.PushScope(); 4379ParserContext.NameScopeStack.Push(nameScope); 4394ParserContext.NameScopeStack.Pop(); 4397ParserContext.PopScope(); 4412Uri baseuri = ParserContext.BaseUri; 4501if (ParserContext.RootElement == null) 4503ParserContext.RootElement = element; 4515&& ParserContext.NameScopeStack.Count == 0 5037bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 5038ParserContext.RootElement, 5179attribInfo.EventInfo = ParserContext.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name); 5275XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5343instance = XamlTypeMapper.CreateInternalInstance(ParserContext, type); 5497get { return ParserContext.XamlTypeMapper; } 5523_typeConvertContext = new TypeConvertContext(ParserContext); 5548get { return ParserContext.MapTable; } 5554get { return ParserContext.XmlnsDictionary; } 5649get { return ParserContext.LineNumber; } 5650set { ParserContext.LineNumber = value; } 5655get { return ParserContext.LinePosition; } 5656set { ParserContext.LinePosition = value; } 5661get { return ParserContext.IsDebugBamlStream; } 5662set { ParserContext.IsDebugBamlStream = value; }