23 references to ParentType
System.Xaml (23)
System\Xaml\Context\ServiceProviderContext.cs (2)
334token.Target.InstanceType = _xamlContext.ParentType; 344token.Target.InstanceType = _xamlContext.ParentType;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (21)
274? _context.ParentType 522_context.ParentType)); 1270XamlType xamlType = ctx.ParentType; 1361declaringType = ctx.ParentType; 1526XamlType xamlType = onParent ? ctx.ParentType : ctx.CurrentType; 1624XamlType xamlType = onParent ? ctx.ParentType : ctx.CurrentType; 1657Runtime.SetUriBase(ctx.ParentType, ctx.ParentInstance, ctx.BaseUri); 1703declaringType = ctx.ParentType; 1750ctx.CurrentType = ctx.ParentType.ItemType; 1782bool inDictionary = ((ctx.ParentProperty == XamlLanguage.Items) && ctx.ParentType.IsDictionary); 1799XamlType collectionType = ctx.ParentType; 1852Debug.Assert(ctx.ParentType.IsCollection, "Logic_WillParentCollectionAdd called on a non-collection"); 1856XamlType itemType = ctx.ParentType.ItemType; 1881Runtime.AddToDictionary(ctx.ParentCollection, ctx.ParentType, value, ctx.CurrentType, key); 1900Debug.WriteLine(SR.Format(SR.DictionaryFirstChanceException, ctx.ParentType, key, ctx.ParentType.KeyType)); 1925Runtime.AddToDictionary(ctx.ParentCollection, ctx.ParentType, value, ctx.CurrentType, key); 2042ctx.ParentType)); 2067XamlType parentType = ctx.ParentType; 2163RegisterName(ctx, name, ctx.ParentInstance, ctx.ParentType, 2274token.Target.InstanceType = ctx.ParentType;