2 writes to typeBuilder
System.Private.Xml (2)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
187this.typeBuilder = CodeGenerator.CreateTypeBuilder(
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
28this.typeBuilder = CodeGenerator.CreateTypeBuilder(
29 references to typeBuilder
System.Private.Xml (29)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (18)
228ilg = new CodeGenerator(this.typeBuilder); 259this.typeBuilder.DefineDefaultConstructor( 261Type readerType = this.typeBuilder.CreateType(); 343ilg = new CodeGenerator(this.typeBuilder); 389ilg = new CodeGenerator(this.typeBuilder); 632ilg = new CodeGenerator(this.typeBuilder); 688MethodBuilder methodBuilder = EnsureMethodBuilder(typeBuilder, 948FieldBuilder fieldBuilder = this.typeBuilder.DefineField( 954PropertyBuilder propertyBuilder = this.typeBuilder.DefineProperty( 961ilg = new CodeGenerator(this.typeBuilder); 1033ilg = new CodeGenerator(this.typeBuilder); 1155MethodBuilder methodBuilder = EnsureMethodBuilder(typeBuilder, 1200MethodBuilder methodBuilder = EnsureMethodBuilder(typeBuilder, 1278ilg = new CodeGenerator(this.typeBuilder); 1329ilg = new CodeGenerator(this.typeBuilder); 1797_idNameFields.Add(name, this.typeBuilder.DefineField(idName, typeof(string), FieldAttributes.Private)); 2984MethodBuilder methodBuilder = EnsureMethodBuilder(typeBuilder, 3161MethodBuilder methodBuilder = EnsureMethodBuilder(typeBuilder,
System\Xml\Serialization\XmlSerializationWriterILGen.cs (11)
67this.typeBuilder.DefineDefaultConstructor( 69return this.typeBuilder.CreateType(); 88ilg = new CodeGenerator(this.typeBuilder); 132MethodBuilder methodBuilder = EnsureMethodBuilder(typeBuilder, 356ilg = new CodeGenerator(this.typeBuilder); 547ilg = new CodeGenerator(this.typeBuilder); 604ilg = new CodeGenerator(this.typeBuilder); 769MethodInfo methodBuilder = EnsureMethodBuilder(typeBuilder, 825MethodBuilder methodBuilder = EnsureMethodBuilder(typeBuilder, 914ilg = new CodeGenerator(this.typeBuilder); 2011MethodBuilder methodBuilder = EnsureMethodBuilder(typeBuilder,