3 writes to _methodBuilder
System.Private.Xml (3)
System\Xml\Serialization\CodeGenerator.cs (3)
71_methodBuilder = _typeBuilder.DefineMethod(methodName, methodAttributes, returnType, argTypes); 81_methodBuilder = methodBuilderInfo.MethodBuilder; 113_methodBuilder = null;
8 references to _methodBuilder
System.Private.Xml (8)
System\Xml\Serialization\CodeGenerator.cs (8)
72_ilGen = _methodBuilder.GetILGenerator(); 73InitILGeneration(argTypes, argNames, (_methodBuilder.Attributes & MethodAttributes.Static) == MethodAttributes.Static); 82_ilGen = _methodBuilder.GetILGenerator(); 83InitILGeneration(argTypes, argNames, (_methodBuilder.Attributes & MethodAttributes.Static) == MethodAttributes.Static); 102_methodBuilder!.DefineParameter(arg.Index, ParameterAttributes.None, arg.Name); 112retVal = _methodBuilder; 126get { return _methodBuilder; } 143internal LocalBuilder ReturnLocal => retLocal ??= DeclareLocal(_methodBuilder!.ReturnType, "_ret");