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

  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:  ISymbolVariable
  18. **
  19. **
  20. ** Represents a variable within a symbol store. This could be a
  21. ** parameter, local variable, or some other non-local variable.
  22. **
  23. **
  24. ===========================================================*/
  25. namespace System.Diagnostics.SymbolStore
  26. {
  27.     // Interface does not need to be marked with the serializable attribute
  28.     using System;
  29.    
  30.     [System.Runtime.InteropServices.ComVisible(true)]
  31.     public interface ISymbolVariable
  32.     {
  33.         // Get the name of this variable.
  34.         string Name {
  35.             get;
  36.         }
  37.        
  38.         // Get the attributes of this variable.
  39.         object Attributes {
  40.             get;
  41.         }
  42.        
  43.         // Get the signature of this variable.
  44.         byte[] GetSignature();
  45.        
  46.         SymAddressKind AddressKind {
  47.             get;
  48.         }
  49.         int AddressField1 {
  50.             get;
  51.         }
  52.         int AddressField2 {
  53.             get;
  54.         }
  55.         int AddressField3 {
  56.             get;
  57.         }
  58.        
  59.         // Get the start/end offsets of this variable within its
  60.         // parent. If this is a local variable within a scope, these will
  61.         // fall within the offsets defined for the scope.
  62.         int StartOffset {
  63.             get;
  64.         }
  65.         int EndOffset {
  66.             get;
  67.         }
  68.     }
  69. }

Developer Fusion