2 writes to ParserContext
PresentationFramework (2)
System\Windows\Markup\BamlRecordReader.cs (2)
94ParserContext = parserContext; 119ParserContext = parserContext;
78 references to ParserContext
PresentationFramework (78)
System\Windows\Markup\BamlCollectionHolder.cs (2)
178_defaultCollection = XamlTypeMapper.GetInternalPropertyValue(_reader.ParserContext, 179_reader.ParserContext.RootElement,
System\Windows\Markup\BamlRecordReader.cs (76)
99ParserContext.RootElement = _rootElement; 125ParserContext.XamlTypeMapper = XamlTypeMapper; 147ParserContext.Initialize(); 268if (BamlRecordHelper.HasDebugExtensionRecord(ParserContext.IsDebugBamlStream, bamlRecord)) 539ParserContext.RootElement = null; 778XamlParseException.ThrowException( ParserContext, 924FrameworkPropertyMetadata metadata = ParserContext != null && ParserContext.SkipJournaledProperties ? 956ProvideValueServiceProvider serviceProvider = ParserContext.ProvideValueProvider; 1140if (ParserContext.RootElement == null) 1142ParserContext.RootElement = _rootElement; 1144if (ParserContext.StyleConnector == null) 1146ParserContext.StyleConnector = _rootElement as IStyleConnector; 1150serializer.ConvertBamlToObject(this, bamlElementRecord, ParserContext); 1322contentProperty = XamlTypeMapper.GetInternalPropertyValue(ParserContext, 1323ParserContext.RootElement, 1333(ParserContext.RootElement is IComponentConnector) && 1334(ParserContext.RootElement == parent); 1458Type ownerType = ParserContext.TargetType; 1461dp = XamlTypeMapper.ParsePropertyName(ParserContext, 1697if (!ParserContext.OwnsBamlStream) 1782dictionaryKeyRecord.KeyObject = XamlTypeMapper.GetDictionaryKey(stringKeyRecord.Value, ParserContext); 1815if (!ParserContext.InDeferredSection) 1878object[] staticResourceValues = ParserContext.StaticResourcesStack[ParserContext.StaticResourcesStack.Count-1]; 1957object[] staticResourceValues = ParserContext.StaticResourcesStack[ParserContext.StaticResourcesStack.Count-1]; 2015ParserContext); 2234bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 2235ParserContext.RootElement, 2552bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 2553ParserContext.RootElement, 2700ParserContext.XmlSpace = attribValue; 2727ParserContext.XmlLang = attribValue; 2731ParserContext.XmlSpace = attribValue; 2822d = XamlTypeMapper.CreateDelegate(ParserContext, 2824ParserContext.RootElement, 2856d = XamlTypeMapper.CreateDelegate(ParserContext, 2858ParserContext.RootElement, 2867bool added = XamlTypeMapper.AddInternalEventHandler(ParserContext, 2868ParserContext.RootElement, 2929if (ParserContext != null && ParserContext.NameScopeStack != null) 2931if (0 != ParserContext.NameScopeStack.Count) 2933INameScope nameScopeTop = ParserContext.NameScopeStack.Pop() as INameScope; 2934if ((NameScope.NameScopeFromObject(element) != null) && 0 != ParserContext.NameScopeStack.Count) 2949INameScope nameScopePeek = ParserContext.NameScopeStack.Peek() as INameScope; 2956ParserContext.NameScopeStack.Push(nameScopeTop); 3274object key = XamlTypeMapper.GetDictionaryKey(bamlDefAttributeRecord.Value, ParserContext); 3956TypeConvertContext, ParserContext, 4021o = ParserContext.XamlTypeMapper.ParseProperty(null, type,string.Empty, null, 4022TypeConvertContext,ParserContext,s, converterTypeId); 4211object resourceNameObject = XamlTypeMapper.GetDictionaryKey(resourceName, ParserContext); 4308ParserContext.PushScope(); 4317ParserContext.NameScopeStack.Push(nameScope); 4331ParserContext.NameScopeStack.Pop(); 4334ParserContext.PopScope(); 4348Uri baseuri = ParserContext.BaseUri; 4433if (ParserContext.RootElement == null) 4435ParserContext.RootElement = element; 4447&& ParserContext.NameScopeStack.Count == 0 4965bool set = XamlTypeMapper.SetInternalPropertyValue(ParserContext, 4966ParserContext.RootElement, 5098attribInfo.EventInfo = ParserContext.XamlTypeMapper.GetClrEventInfo(currentParentType, attribInfo.Name); 5194XamlParseException.ThrowException(ParserContext, LineNumber, LinePosition, message, innerException); 5261instance = XamlTypeMapper.CreateInternalInstance(ParserContext, type); 5410get { return ParserContext.XamlTypeMapper; } 5435_typeConvertContext = new TypeConvertContext(ParserContext); 5460get { return ParserContext.MapTable; } 5466get { return ParserContext.XmlnsDictionary; } 5561get { return ParserContext.LineNumber; } 5562set { ParserContext.LineNumber = value; } 5567get { return ParserContext.LinePosition; } 5568set { ParserContext.LinePosition = value; } 5573get { return ParserContext.IsDebugBamlStream; } 5574set { ParserContext.IsDebugBamlStream = value; }