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

  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:  ISymbolBinder
  18. **
  19. **
  20. ** Represents a symbol binder for managed code.
  21. **
  22. **
  23. ===========================================================*/
  24. namespace System.Diagnostics.SymbolStore
  25. {
  26.    
  27.     using System;
  28.     using System.Text;
  29.     using System.Runtime.InteropServices;
  30.    
  31.     // Interface does not need to be marked with the serializable attribute
  32.     [System.Runtime.InteropServices.ComVisible(true)]
  33.     public interface ISymbolBinder
  34.     {
  35.         [Obsolete("The recommended alternative is ISymbolBinder1.GetReader. ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202=14202")]
  36.         ISymbolReader GetReader(int importer, string filename, string searchPath);
  37.     }
  38.    
  39.     // This interface has a revised ISymbolBinder.GetReader() with the proper signature.
  40.     // It is not called ISymbolBinder2 because it maps to the IUnmanagedSymbolBinder interfaces, and
  41.     // does not wrap the IUnmanagedSymbolBinder2 interfaces declared in CorSym.idl.
  42.     [System.Runtime.InteropServices.ComVisible(true)]
  43.     public interface ISymbolBinder1
  44.     {
  45.        
  46.         ISymbolReader GetReader(IntPtr importer, string filename, string searchPath);
  47.     }
  48.    
  49. }

Developer Fusion