System\Xaml\InfosetObjects\XamlObjectWriter.cs (36)
299object inst = Runtime.GetValue(parentInstance, parentProperty);
665_context.CurrentCollection = Runtime.CreateInstance(property.Type, null);
1052object key = Runtime.GetValue(instance, keyProperty);
1140inst = Runtime.CreateInstance(currentType, ctx.CurrentCtorArgs);
1166inst = Runtime.CreateWithFactoryMethod(ownerType, propertyName.Name, ctx.CurrentCtorArgs);
1284object result = Runtime.CreateFromValue(ctx.ServiceProviderContext, typeConverter,
1312ctx.CurrentInstance = Runtime.DeferredLoad(
1344TypeConverter typeConverter = Runtime.GetConverterInstance(converter);
1432Runtime.InitializationGuard(xamlType, inst, true);
1435Runtime.SetUriBase(xamlType, inst, ctx.BaseUri);
1454Runtime.InitializationGuard(xamlType, inst, false);
1556retVal = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1573Runtime.SetXmlInstance(inst, prop, xData);
1619Runtime.SetUriBase(ctx.ParentType, ctx.ParentInstance, ctx.BaseUri);
1694value = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1728token.Runtime = Runtime;
1771value = Runtime.CallProvideValue(me, ctx.ServiceProviderContext);
1773Runtime.Add(parentCollection, collectionType, value, currentType);
1835Runtime.AddToDictionary(ctx.ParentCollection, ctx.ParentType, value, ctx.CurrentType, key);
1877Runtime.AddToDictionary(ctx.ParentCollection, ctx.ParentType, value, ctx.CurrentType, key);
1938PendingKeyConversionContexts.Add(parentCollection, new ObjectWriterContext(savedContext, null, null, Runtime));
2150Runtime.SetConnectionId(rootInstance, connectionId, instance);
2163Runtime.SetValue(inst, property, value);
2400IAddLineInfo oldLineInfo = Runtime.LineInfo;
2401Runtime.LineInfo = target;
2404Runtime.InitializationGuard(target.InstanceType, target.Instance, false);
2408Runtime.LineInfo = oldLineInfo;
2420IAddLineInfo oldLineInfo = Runtime.LineInfo;
2423Runtime.LineInfo = token;
2435Runtime.LineInfo = oldLineInfo;
2474value = Runtime.CallProvideValue((XAML3.MarkupExtension)owc.CurrentInstance, owc.ServiceProviderContext);
2578IAddLineInfo oldLineInfo = Runtime.LineInfo;
2579Runtime.LineInfo = pendingAdd;
2602Runtime.AddToDictionary(instance, instanceType, pendingAdd.Item, itemType, pendingAdd.Key);
2607Runtime.Add(instance, instanceType, pendingAdd.Item, pendingAdd.ItemType);
2612Runtime.LineInfo = oldLineInfo;