1 write to Type
System.Private.Xml (1)
System\Xml\Serialization\SourceInfo.cs (1)
46this.Type = type;
13 references to Type
System.Private.Xml (13)
System\Xml\Serialization\SourceInfo.cs (4)
195Debug.Assert(match.Groups["cast"].Value == CodeIdentifier.GetCSharpName(Type!)); 197ILG.ConvertAddress(varType, Type!); 199ILG.ConvertValue(varType, Type!); 200varType = Type!;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (9)
1381WritePrimitive("WriteAttribute", attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : "", GetConvertedDefaultValue(source.Type, attribute.Default), source, attribute.Mapping, false, false, false); 1875MethodInfo WriteTo = source.Type!.GetMethod( 1885source.Load(source.Type); 1902if (source.Type == element.Mapping.TypeDesc!.Type) 1979WriteQualifiedNameElement(name, ns, GetConvertedDefaultValue(source.Type, element.Default), source, element.IsNullable, primitiveMapping); 1985name, ns, GetConvertedDefaultValue(source.Type, element.Default), source, primitiveMapping, false, true, element.IsNullable); 2129ilg.Ldc(Convert.ChangeType(value, source.Type!, CultureInfo.InvariantCulture)); 2489Type localType = initValue.Type!; 2507initValue.Load(initValue.Type);