Mono.CompilerServices.SymbolWriter.MonoSymbolFile.DefineMethod C# (CSharp) Method

DefineMethod() public method

public DefineMethod ( CompileUnitEntry comp_unit, int token, ScopeVariable scope_vars, LocalVariableEntry locals, LineNumberEntry lines, CodeBlockEntry code_blocks, string real_name, MethodEntry flags, int namespace_id ) : MethodEntry
comp_unit CompileUnitEntry
token int
scope_vars ScopeVariable
locals LocalVariableEntry
lines LineNumberEntry
code_blocks CodeBlockEntry
real_name string
flags MethodEntry
namespace_id int
return MethodEntry
        public MethodEntry DefineMethod(CompileUnitEntry comp_unit, int token,
						 ScopeVariable[] scope_vars, LocalVariableEntry[] locals,
						 LineNumberEntry[] lines, CodeBlockEntry[] code_blocks,
						 string real_name, MethodEntry.Flags flags,
						 int namespace_id)
        {
            if (reader != null)
                throw new InvalidOperationException ();

            MethodEntry method = new MethodEntry (
                this, comp_unit, token, scope_vars, locals, lines, code_blocks,
                real_name, flags, namespace_id);
            AddMethod (method);
            return method;
        }