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