System.Diagnostics.SymbolStore.SymAddressKind Enumeration

Specifies address types for local variables, parameters, and fields in the methods ISymbolWriter.DefineLocalVariable(string, System.Reflection.FieldAttributes, Byte[], SymAddressKind, int, int, int, int, int), ISymbolWriter.DefineParameter(string, System.Reflection.ParameterAttributes, int, SymAddressKind, int, int, int), and ISymbolWriter.DefineField(SymbolToken, string, System.Reflection.FieldAttributes, Byte[], SymAddressKind, int, int, int) of the System.Diagnostics.SymbolStore.ISymbolWriter interface.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum SymAddressKind

Remarks

The addr1, addr2, and addr3 parameters refer to the address parameters in the System.Diagnostics.SymbolStore.ISymbolWriter interface methods.

Members

Member NameDescription
BitField

A bit field. The addr1 parameter is the position where the field starts, and the addr2 parameter is the field length.

ILOffset

A Microsoft intermediate language (MSIL) offset. The addr1 parameter is the MSIL local variable or parameter index.

NativeOffset

A native offset. The addr1 parameter is the offset from the start of the parent.

NativeRegister

A native register address. The addr1 parameter is the register in which the variable is stored.

NativeRegisterRegister

A register-relative address. The addr1 parameter is the low-order register, and the addr2 parameter is the high-order register.

NativeRegisterRelative

A register-relative address. The addr1 parameter is the register, and the addr2 parameter is the offset.

NativeRegisterStack

A register-relative address. The addr1 parameter is the low-order register, the addr2 parameter is the stack register, and the addr3 parameter is the offset from the stack pointer to the high-order part of the value.

NativeRVA

A native Relevant Virtual Address (RVA). The addr1 parameter is the RVA in the module.

NativeSectionOffset

A native section offset. The addr1 parameter is the section, and the addr2 parameter is the offset.

NativeStackRegister

A register-relative address. The addr1 parameter is the stack register, the addr2 parameter is the offset from the stack pointer to the low-order part of the value, and the addr3 parameter is the high-order register.

Requirements

Namespace: System.Diagnostics.SymbolStore
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0