The Labs \ Source Viewer \ SSCLI \ System.Diagnostics.SymbolStore \ SymAddressKind

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. /*============================================================
  16. **
  17. ** Class:  SymAddressKind
  18. **
  19. **
  20. ** Represents address Kinds used with local variables, parameters, and
  21. ** fields.
  22. **
  23. **
  24. ===========================================================*/
  25. namespace System.Diagnostics.SymbolStore
  26. {
  27.     // Only statics, does not need to be marked with the serializable attribute
  28.     using System;
  29.    
  30.     [Serializable()]
  31.     [System.Runtime.InteropServices.ComVisible(true)]
  32.     public enum SymAddressKind
  33.     {
  34.         // ILOffset: addr1 = IL local var or param index.
  35.         ILOffset = 1,
  36.        
  37.         // NativeRVA: addr1 = RVA into module.
  38.         NativeRVA = 2,
  39.        
  40.         // NativeRegister: addr1 = register the var is stored in.
  41.         NativeRegister = 3,
  42.        
  43.         // NativeRegisterRelative: addr1 = register, addr2 = offset.
  44.         NativeRegisterRelative = 4,
  45.        
  46.         // NativeOffset: addr1 = offset from start of parent.
  47.         NativeOffset = 5,
  48.        
  49.         // NativeRegisterRegister: addr1 = reg low, addr2 = reg high.
  50.         NativeRegisterRegister = 6,
  51.        
  52.         // NativeRegisterStack: addr1 = reg low, addr2 = reg stk, addr3 = offset.
  53.         NativeRegisterStack = 7,
  54.        
  55.         // NativeStackRegister: addr1 = reg stk, addr2 = offset, addr3 = reg high.
  56.         NativeStackRegister = 8,
  57.        
  58.         // BitField: addr1 = field start, addr = field length.
  59.         BitField = 9,
  60.        
  61.         // NativeSectionOffset: addr1 = section, addr = offset
  62.         NativeSectionOffset = 10
  63.     }
  64. }

Developer Fusion