Files
Dec2017-Script-Dump/mscorlib/System/Diagnostics/SymbolStore/SymAddressKind.cs
T
2026-06-04 11:42:34 +02:00

44 lines
3.5 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Diagnostics.SymbolStore
{
/// <summary>Specifies address types for local variables, parameters, and fields in the methods <see cref="M:System.Diagnostics.SymbolStore.ISymbolWriter.DefineLocalVariable(System.String,System.Reflection.FieldAttributes,System.Byte[],System.Diagnostics.SymbolStore.SymAddressKind,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" />, <see cref="M:System.Diagnostics.SymbolStore.ISymbolWriter.DefineParameter(System.String,System.Reflection.ParameterAttributes,System.Int32,System.Diagnostics.SymbolStore.SymAddressKind,System.Int32,System.Int32,System.Int32)" />, and <see cref="M:System.Diagnostics.SymbolStore.ISymbolWriter.DefineField(System.Diagnostics.SymbolStore.SymbolToken,System.String,System.Reflection.FieldAttributes,System.Byte[],System.Diagnostics.SymbolStore.SymAddressKind,System.Int32,System.Int32,System.Int32)" /> of the <see cref="T:System.Diagnostics.SymbolStore.ISymbolWriter" /> interface.</summary>
// Token: 0x02000155 RID: 341
[ComVisible(true)]
[Serializable]
public enum SymAddressKind
{
/// <summary>A Microsoft intermediate language (MSIL) offset. The <paramref name="addr1" /> parameter is the MSIL local variable or parameter index.</summary>
// Token: 0x04000420 RID: 1056
ILOffset = 1,
/// <summary>A native Relevant Virtual Address (RVA). The <paramref name="addr1" /> parameter is the RVA in the module.</summary>
// Token: 0x04000421 RID: 1057
NativeRVA,
/// <summary>A native register address. The <paramref name="addr1" /> parameter is the register in which the variable is stored.</summary>
// Token: 0x04000422 RID: 1058
NativeRegister,
/// <summary>A register-relative address. The <paramref name="addr1" /> parameter is the register, and the <paramref name="addr2" /> parameter is the offset.</summary>
// Token: 0x04000423 RID: 1059
NativeRegisterRelative,
/// <summary>A native offset. The <paramref name="addr1" /> parameter is the offset from the start of the parent.</summary>
// Token: 0x04000424 RID: 1060
NativeOffset,
/// <summary>A register-relative address. The <paramref name="addr1" /> parameter is the low-order register, and the <paramref name="addr2" /> parameter is the high-order register.</summary>
// Token: 0x04000425 RID: 1061
NativeRegisterRegister,
/// <summary>A register-relative address. The <paramref name="addr1" /> parameter is the low-order register, the <paramref name="addr2" /> parameter is the stack register, and the <paramref name="addr3" /> parameter is the offset from the stack pointer to the high-order part of the value.</summary>
// Token: 0x04000426 RID: 1062
NativeRegisterStack,
/// <summary>A register-relative address. The <paramref name="addr1" /> parameter is the stack register, the <paramref name="addr2" /> parameter is the offset from the stack pointer to the low-order part of the value, and the <paramref name="addr3" /> parameter is the high-order register.</summary>
// Token: 0x04000427 RID: 1063
NativeStackRegister,
/// <summary>A bit field. The <paramref name="addr1" /> parameter is the position where the field starts, and the <paramref name="addr2" /> parameter is the field length.</summary>
// Token: 0x04000428 RID: 1064
BitField,
/// <summary>A native section offset. The <paramref name="addr1" /> parameter is the section, and the <paramref name="addr2" /> parameter is the offset.</summary>
// Token: 0x04000429 RID: 1065
NativeSectionOffset
}
}