System\Xaml\InfosetObjects\XamlObjectWriter.cs (36)
304object inst = Runtime.GetValue(parentInstance, parentProperty);
680_context.CurrentCollection = Runtime.CreateInstance(property.Type, null);
1079object key = Runtime.GetValue(instance, keyProperty);
1169inst = Runtime.CreateInstance(currentType, ctx.CurrentCtorArgs);
1195inst = Runtime.CreateWithFactoryMethod(ownerType, propertyName.Name, ctx.CurrentCtorArgs);
1317object result = Runtime.CreateFromValue(ctx.ServiceProviderContext, typeConverter,
1345ctx.CurrentInstance = Runtime.DeferredLoad(
1378TypeConverter typeConverter = Runtime.GetConverterInstance(converter);
1472Runtime.InitializationGuard(xamlType, inst, true);
1475Runtime.SetUriBase(xamlType, inst, ctx.BaseUri);
1494Runtime.InitializationGuard(xamlType, inst, false);
1595retVal = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1612Runtime.SetXmlInstance(inst, prop, xData);
1658Runtime.SetUriBase(ctx.ParentType, ctx.ParentInstance, ctx.BaseUri);
1736value = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1772token.Runtime = Runtime;
1814value = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1817Runtime.Add(parentCollection, collectionType, value, currentType);
1882Runtime.AddToDictionary(ctx.ParentCollection, ctx.ParentType, value, ctx.CurrentType, key);
1926Runtime.AddToDictionary(ctx.ParentCollection, ctx.ParentType, value, ctx.CurrentType, key);
1991PendingKeyConversionContexts.Add(parentCollection, new ObjectWriterContext(savedContext, null, null, Runtime));
2209Runtime.SetConnectionId(rootInstance, connectionId, instance);
2222Runtime.SetValue(inst, property, value);
2471IAddLineInfo oldLineInfo = Runtime.LineInfo;
2472Runtime.LineInfo = target;
2475Runtime.InitializationGuard(target.InstanceType, target.Instance, false);
2479Runtime.LineInfo = oldLineInfo;
2491IAddLineInfo oldLineInfo = Runtime.LineInfo;
2494Runtime.LineInfo = token;
2506Runtime.LineInfo = oldLineInfo;
2546value = Runtime.CallProvideValue((XAML3.MarkupExtension)owc.CurrentInstance, owc.ServiceProviderContext);
2651IAddLineInfo oldLineInfo = Runtime.LineInfo;
2652Runtime.LineInfo = pendingAdd;
2676Runtime.AddToDictionary(instance, instanceType, pendingAdd.Item, itemType, pendingAdd.Key);
2681Runtime.Add(instance, instanceType, pendingAdd.Item, pendingAdd.ItemType);
2686Runtime.LineInfo = oldLineInfo;