2 writes to typeBuilder
System.Xml (2)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
187
this.
typeBuilder
= CodeGenerator.CreateTypeBuilder(
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
27
this.
typeBuilder
= CodeGenerator.CreateTypeBuilder(
29 references to typeBuilder
System.Xml (29)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (18)
222
ilg = new CodeGenerator(this.
typeBuilder
);
259
this.
typeBuilder
.DefineDefaultConstructor(
261
Type readerType = this.
typeBuilder
.CreateType();
341
ilg = new CodeGenerator(this.
typeBuilder
);
405
ilg = new CodeGenerator(this.
typeBuilder
);
646
ilg = new CodeGenerator(this.
typeBuilder
);
706
MethodBuilder methodBuilder = EnsureMethodBuilder(
typeBuilder
,
974
FieldBuilder fieldBuilder = this.
typeBuilder
.DefineField(
980
PropertyBuilder propertyBuilder = this.
typeBuilder
.DefineProperty(
987
ilg = new CodeGenerator(this.
typeBuilder
);
1060
ilg = new CodeGenerator(this.
typeBuilder
);
1181
MethodBuilder methodBuilder = EnsureMethodBuilder(
typeBuilder
,
1227
MethodBuilder methodBuilder = EnsureMethodBuilder(
typeBuilder
,
1307
ilg = new CodeGenerator(this.
typeBuilder
);
1357
ilg = new CodeGenerator(this.
typeBuilder
);
1839
idNameFields.Add(name, this.
typeBuilder
.DefineField(idName, typeof(string), FieldAttributes.Private));
3001
MethodBuilder methodBuilder = EnsureMethodBuilder(
typeBuilder
,
3190
MethodBuilder methodBuilder = EnsureMethodBuilder(
typeBuilder
,
System\Xml\Serialization\XmlSerializationWriterILGen.cs (11)
59
this.
typeBuilder
.DefineDefaultConstructor(
61
return this.
typeBuilder
.CreateType();
78
ilg = new CodeGenerator(this.
typeBuilder
);
124
MethodBuilder methodBuilder = EnsureMethodBuilder(
typeBuilder
,
327
ilg = new CodeGenerator(this.
typeBuilder
);
504
ilg = new CodeGenerator(this.
typeBuilder
);
560
ilg = new CodeGenerator(this.
typeBuilder
);
722
MethodInfo methodBuilder = EnsureMethodBuilder(
typeBuilder
,
780
MethodBuilder methodBuilder = EnsureMethodBuilder(
typeBuilder
,
878
ilg = new CodeGenerator(this.
typeBuilder
);
1946
MethodBuilder methodBuilder = EnsureMethodBuilder(
typeBuilder
,