System\Xaml\InfosetObjects\XamlObjectWriter.cs (36)
303object inst = Runtime.GetValue(parentInstance, parentProperty);
679_context.CurrentCollection = Runtime.CreateInstance(property.Type, null);
1078object key = Runtime.GetValue(instance, keyProperty);
1168inst = Runtime.CreateInstance(currentType, ctx.CurrentCtorArgs);
1194inst = Runtime.CreateWithFactoryMethod(ownerType, propertyName.Name, ctx.CurrentCtorArgs);
1316object result = Runtime.CreateFromValue(ctx.ServiceProviderContext, typeConverter,
1344ctx.CurrentInstance = Runtime.DeferredLoad(
1377TypeConverter typeConverter = Runtime.GetConverterInstance(converter);
1471Runtime.InitializationGuard(xamlType, inst, true);
1474Runtime.SetUriBase(xamlType, inst, ctx.BaseUri);
1493Runtime.InitializationGuard(xamlType, inst, false);
1594retVal = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1611Runtime.SetXmlInstance(inst, prop, xData);
1657Runtime.SetUriBase(ctx.ParentType, ctx.ParentInstance, ctx.BaseUri);
1735value = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1771token.Runtime = Runtime;
1813value = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1816Runtime.Add(parentCollection, collectionType, value, currentType);
1881Runtime.AddToDictionary(ctx.ParentCollection, ctx.ParentType, value, ctx.CurrentType, key);
1925Runtime.AddToDictionary(ctx.ParentCollection, ctx.ParentType, value, ctx.CurrentType, key);
1990PendingKeyConversionContexts.Add(parentCollection, new ObjectWriterContext(savedContext, null, null, Runtime));
2208Runtime.SetConnectionId(rootInstance, connectionId, instance);
2221Runtime.SetValue(inst, property, value);
2470IAddLineInfo oldLineInfo = Runtime.LineInfo;
2471Runtime.LineInfo = target;
2474Runtime.InitializationGuard(target.InstanceType, target.Instance, false);
2478Runtime.LineInfo = oldLineInfo;
2490IAddLineInfo oldLineInfo = Runtime.LineInfo;
2493Runtime.LineInfo = token;
2505Runtime.LineInfo = oldLineInfo;
2545value = Runtime.CallProvideValue((XAML3.MarkupExtension)owc.CurrentInstance, owc.ServiceProviderContext);
2650IAddLineInfo oldLineInfo = Runtime.LineInfo;
2651Runtime.LineInfo = pendingAdd;
2675Runtime.AddToDictionary(instance, instanceType, pendingAdd.Item, itemType, pendingAdd.Key);
2680Runtime.Add(instance, instanceType, pendingAdd.Item, pendingAdd.ItemType);
2685Runtime.LineInfo = oldLineInfo;