public DefineLocalVariable2 ( string name, VariableAttributes attributes, |
||
name | string | |
attributes | VariableAttributes | |
sigToken | ||
addrKind | SymAddressKind | |
addr1 | int | |
addr2 | int | |
addr3 | int | |
startOffset | int | |
endOffset | int | |
리턴 | void |
void DefineLocalVariable(VariableDebugInformation variable, int local_var_token, int start_offset, int end_offset) { writer.DefineLocalVariable2( variable.Name, variable.Attributes, local_var_token, variable.Index, 0, 0, start_offset, end_offset); }
void CreateLocalVariable(VariableDefinition variable, SymbolToken local_var_token, int start_offset, int end_offset) { writer.DefineLocalVariable2( variable.Name, 0, local_var_token, SymAddressKind.ILOffset, variable.Index, 0, 0, start_offset, end_offset); }
void DefineLocalVariable(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); }
void CreateLocalVariable(VariableDefinition variable, /*Telerik Authorship*/ string variableName, SymbolToken local_var_token, int start_offset, int end_offset) { writer.DefineLocalVariable2( /*Telerik Authorship*/ variableName, 0, local_var_token, SymAddressKind.ILOffset, variable.Index, 0, 0, start_offset, end_offset); }
void CreateLocalVariable(IVariableDefinitionProvider provider, int startOffset, int endOffset, SymbolToken localVarToken) { for (int i = 0; i < provider.Variables.Count; i++) { VariableDefinition var = provider.Variables [i]; m_writer.DefineLocalVariable2( var.Name, 0, localVarToken, SymAddressKind.ILOffset, var.Index, 0, 0, startOffset, endOffset); } }