9 instantiations of CodeGenerator
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
66
_ilg = new
CodeGenerator
();
148
_ilg = new
CodeGenerator
();
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
59
_ilg = new
CodeGenerator
();
86
_ilg = new
CodeGenerator
();
System\Runtime\Serialization\XmlDataContract.cs (1)
274
CodeGenerator ilg = new
CodeGenerator
();
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
88
_ilg = new
CodeGenerator
();
214
_ilg = new
CodeGenerator
();
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
82
_ilg = new
CodeGenerator
();
126
_ilg = new
CodeGenerator
();
14 references to CodeGenerator
System.Private.DataContractSerialization (14)
System\Runtime\Serialization\BitFlagsGenerator.cs (2)
14
private readonly
CodeGenerator
_ilg;
17
public BitFlagsGenerator(int bitCount,
CodeGenerator
ilg)
System\Runtime\Serialization\CodeGenerator.cs (1)
98
private static Module SerializationModule => s_serializationModule ??= typeof(
CodeGenerator
).Module; // could to be replaced by different dll that has SkipVerification set to false
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (4)
53
private
CodeGenerator
_ilg = null!; // initialized in GenerateXXXReader
146
private
CodeGenerator
GenerateCollectionReaderHelper(CollectionDataContract collectionContract, bool isGetOnlyCollection)
178
private static void BeginMethod(
CodeGenerator
ilg, string methodName, Type delegateType, bool allowPrivateMemberAccess)
180
MethodInfo signature =
CodeGenerator
.GetInvokeMethod(delegateType);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (3)
44
private
CodeGenerator
_ilg = null!; // initialized in GenerateXXXWriter
113
private static void BeginMethod(
CodeGenerator
ilg, string methodName, Type delegateType, bool allowPrivateMemberAccess)
115
MethodInfo signature =
CodeGenerator
.GetInvokeMethod(delegateType);
System\Runtime\Serialization\XmlDataContract.cs (1)
274
CodeGenerator
ilg = new CodeGenerator();
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
62
private
CodeGenerator
_ilg = null!; // initialized in GenerateXXXReader
212
private
CodeGenerator
GenerateCollectionReaderHelper(CollectionDataContract collectionContract, bool isGetOnlyCollection)
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (1)
52
private
CodeGenerator
_ilg = null!; // initialized in GenerateXXXWriter