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); 1918MethodInfo WriteTo = source.Type!.GetMethod( 1928source.Load(source.Type); 1945if (source.Type == element.Mapping.TypeDesc!.Type) 2022WriteQualifiedNameElement(name, ns, GetConvertedDefaultValue(source.Type, element.Default), source, element.IsNullable, primitiveMapping); 2028name, ns, GetConvertedDefaultValue(source.Type, element.Default), source, primitiveMapping, false, true, element.IsNullable); 2172ilg.Ldc(Convert.ChangeType(value, source.Type!, CultureInfo.InvariantCulture)); 2532Type localType = initValue.Type!; 2550initValue.Load(initValue.Type);