ISymbolBinder.GetReader(Int32, String, String) Method

Definition

Caution

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. https://go.microsoft.com/fwlink/?linkid=14202=14202

Caution

ISymbolBinder.GetReader has been deprecated because it is not 64-bit compatible. Use ISymbolBinder1.GetReader instead. ISymbolBinder1.GetReader accepts the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.

Caution

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

Gets the interface of the symbol reader for the current file.

[System.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. https://go.microsoft.com/fwlink/?linkid=14202=14202")]
public System.Diagnostics.SymbolStore.ISymbolReader? GetReader (int importer, string filename, string searchPath);
[System.Obsolete("ISymbolBinder.GetReader has been deprecated because it is not 64-bit compatible. Use ISymbolBinder1.GetReader instead. ISymbolBinder1.GetReader accepts the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.")]
public System.Diagnostics.SymbolStore.ISymbolReader? GetReader (int importer, string filename, string searchPath);
[System.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")]
public System.Diagnostics.SymbolStore.ISymbolReader GetReader (int importer, string filename, string searchPath);
public System.Diagnostics.SymbolStore.ISymbolReader GetReader (int importer, string filename, string searchPath);
[System.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. https://go.microsoft.com/fwlink/?linkid=14202=14202")]
public System.Diagnostics.SymbolStore.ISymbolReader GetReader (int importer, string filename, string searchPath);

Parameters

importer
Int32

The metadata import interface.

filename
String

The name of the file for which the reader interface is required.

searchPath
String

The search path used to locate the symbol file.

Returns

The ISymbolReader interface that reads the debugging symbols.

Attributes

Remarks

When given a metadata interface, a file name, and a search path, the GetReader method returns the ISymbolReader interface that reads the debugging symbols associated with the module.

Applies to

Product Versions (Obsolete)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)
.NET Standard (2.0, 2.1)