Mono.Cecil.Pdb.PdbWriter.CreateLocalVariable C# (CSharp) Method

CreateLocalVariable() private method

private CreateLocalVariable ( VariableDebugInformation variable, SymbolToken local_var_token, int start_offset, int end_offset ) : void
variable Mono.Cecil.Cil.VariableDebugInformation
local_var_token System.Diagnostics.SymbolStore.SymbolToken
start_offset int
end_offset int
return void
        void CreateLocalVariable(VariableDebugInformation variable, SymbolToken local_var_token, int start_offset, int end_offset)
        {
            writer.DefineLocalVariable2 (
                variable.Name,
                variable.Attributes,
                local_var_token,
                SymAddressKind.ILOffset,
                variable.Index,
                0,
                0,
                start_offset,
                end_offset);
        }