DefineLocalVariable2() public method

public DefineLocalVariable2 ( string name, VariableAttributes attributes, SymbolToken sigToken, SymAddressKind addrKind, int addr1, int addr2, int addr3, int startOffset, int endOffset ) : void
name string
attributes VariableAttributes
sigToken System.Diagnostics.SymbolStore.SymbolToken
addrKind SymAddressKind
addr1 int
addr2 int
addr3 int
startOffset int
endOffset int
return void
Beispiel #1
0
 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);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 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);
 }
Beispiel #4
0
 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);
 }
Beispiel #5
0
 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);
     }
 }