Mono.Cecil.Cil.VariableDebugInformation.VariableDebugInformation C# (CSharp) Method

VariableDebugInformation() public method

public VariableDebugInformation ( Mono.Cecil.Cil.VariableDefinition variable, string name ) : System
variable Mono.Cecil.Cil.VariableDefinition
name string
return System
        public VariableDebugInformation(VariableDefinition variable, string name)
        {
            if (variable == null)
                throw new ArgumentNullException ("variable");
            if (name == null)
                throw new ArgumentNullException ("name");

            this.index = new VariableIndex (variable);
            this.name = name;
            this.token = new MetadataToken (TokenType.LocalVariable);
        }

Same methods

VariableDebugInformation::VariableDebugInformation ( int index, string name ) : System
VariableDebugInformation