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