1 write to Type
System.Xml (1)
System\Xml\Serialization\SourceInfo.cs (1)
46this.Type = type;
13 references to Type
System.Xml (13)
System\Xml\Serialization\SourceInfo.cs (4)
170Debug.Assert(match.Groups["cast"].Value == CodeIdentifier.GetCSharpName(Type)); 172ILG.ConvertAddress(varType, Type); 174ILG.ConvertValue(varType, Type); 175varType = Type;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (9)
1347WritePrimitive("WriteAttribute", attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : "", GetConvertedDefaultValue(source.Type, attribute.Default), source, attribute.Mapping, false, false, false); 1820MethodInfo WriteTo = source.Type.GetMethod( 1834source.Load(source.Type); 1849if (source.Type == element.Mapping.TypeDesc.Type) { 1916WriteQualifiedNameElement(name, ns, GetConvertedDefaultValue(source.Type, element.Default), source, element.IsNullable, mapping); 1920name, ns, GetConvertedDefaultValue(source.Type, element.Default), source, mapping, false, true, element.IsNullable); 2064ilg.Ldc(Convert.ChangeType(value, source.Type, CultureInfo.InvariantCulture)); 2369Type localType = initValue.Type; 2382initValue.Load(initValue.Type);