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)
274CodeGenerator 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)
14private readonly CodeGenerator _ilg; 17public BitFlagsGenerator(int bitCount, CodeGenerator ilg)
System\Runtime\Serialization\CodeGenerator.cs (1)
98private 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)
53private CodeGenerator _ilg = null!; // initialized in GenerateXXXReader 146private CodeGenerator GenerateCollectionReaderHelper(CollectionDataContract collectionContract, bool isGetOnlyCollection) 178private static void BeginMethod(CodeGenerator ilg, string methodName, Type delegateType, bool allowPrivateMemberAccess) 180MethodInfo signature = CodeGenerator.GetInvokeMethod(delegateType);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (3)
44private CodeGenerator _ilg = null!; // initialized in GenerateXXXWriter 113private static void BeginMethod(CodeGenerator ilg, string methodName, Type delegateType, bool allowPrivateMemberAccess) 115MethodInfo signature = CodeGenerator.GetInvokeMethod(delegateType);
System\Runtime\Serialization\XmlDataContract.cs (1)
274CodeGenerator ilg = new CodeGenerator();
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
62private CodeGenerator _ilg = null!; // initialized in GenerateXXXReader 212private CodeGenerator GenerateCollectionReaderHelper(CollectionDataContract collectionContract, bool isGetOnlyCollection)
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (1)
52private CodeGenerator _ilg = null!; // initialized in GenerateXXXWriter