|
|
@ -27,20 +27,6 @@ namespace Debugger.Interop.CorSym |
|
|
|
return returnValue; |
|
|
|
return returnValue; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedReader GetReaderForFile(this CorSymBinder_deprecatedClass instance, object importer, IntPtr filename, IntPtr searchPath) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ISymUnmanagedReader returnValue = instance.__GetReaderForFile(importer, filename, searchPath); |
|
|
|
|
|
|
|
ProcessOutParameter(returnValue); |
|
|
|
|
|
|
|
return returnValue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedReader GetReaderFromStream(this CorSymBinder_deprecatedClass instance, object importer, IStream pstream) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ISymUnmanagedReader returnValue = instance.__GetReaderFromStream(importer, pstream); |
|
|
|
|
|
|
|
ProcessOutParameter(returnValue); |
|
|
|
|
|
|
|
return returnValue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedDocument GetDocument(this CorSymReader_SxSClass instance, IntPtr url, Guid language, Guid languageVendor, Guid documentType) |
|
|
|
public static ISymUnmanagedDocument GetDocument(this CorSymReader_SxSClass instance, IntPtr url, Guid language, Guid languageVendor, Guid documentType) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ISymUnmanagedDocument returnValue = instance.__GetDocument(url, language, languageVendor, documentType); |
|
|
|
ISymUnmanagedDocument returnValue = instance.__GetDocument(url, language, languageVendor, documentType); |
|
|
@ -137,102 +123,6 @@ namespace Debugger.Interop.CorSym |
|
|
|
instance.__UpdateSymbolStore(filename, pIStream); |
|
|
|
instance.__UpdateSymbolStore(filename, pIStream); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedDocument GetDocument(this CorSymReader_deprecatedClass instance, IntPtr url, Guid language, Guid languageVendor, Guid documentType) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ISymUnmanagedDocument returnValue = instance.__GetDocument(url, language, languageVendor, documentType); |
|
|
|
|
|
|
|
ProcessOutParameter(returnValue); |
|
|
|
|
|
|
|
return returnValue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetDocuments(this CorSymReader_deprecatedClass instance, uint cDocs, out uint pcDocs, ISymUnmanagedDocument[] pDocs) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetDocuments(cDocs, out pcDocs, pDocs); |
|
|
|
|
|
|
|
ProcessOutParameter(pDocs); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetDocumentVersion(this CorSymReader_deprecatedClass instance, ISymUnmanagedDocument pDoc, out int version, out int pbCurrent) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetDocumentVersion(pDoc, out version, out pbCurrent); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetGlobalVariables(this CorSymReader_deprecatedClass instance, uint cVars, out uint pcVars, IntPtr pVars) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetGlobalVariables(cVars, out pcVars, pVars); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedMethod GetMethod(this CorSymReader_deprecatedClass instance, uint token) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ISymUnmanagedMethod returnValue = instance.__GetMethod(token); |
|
|
|
|
|
|
|
ProcessOutParameter(returnValue); |
|
|
|
|
|
|
|
return returnValue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedMethod GetMethodByVersion(this CorSymReader_deprecatedClass instance, uint token, int version) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ISymUnmanagedMethod returnValue = instance.__GetMethodByVersion(token, version); |
|
|
|
|
|
|
|
ProcessOutParameter(returnValue); |
|
|
|
|
|
|
|
return returnValue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedMethod GetMethodFromDocumentPosition(this CorSymReader_deprecatedClass instance, ISymUnmanagedDocument document, uint line, uint column) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ISymUnmanagedMethod returnValue = instance.__GetMethodFromDocumentPosition(document, line, column); |
|
|
|
|
|
|
|
ProcessOutParameter(returnValue); |
|
|
|
|
|
|
|
return returnValue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetMethodsFromDocumentPosition(this CorSymReader_deprecatedClass instance, ISymUnmanagedDocument document, uint line, uint column, uint cMethod, out uint pcMethod, IntPtr pRetVal) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetMethodsFromDocumentPosition(document, line, column, cMethod, out pcMethod, pRetVal); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static int GetMethodVersion(this CorSymReader_deprecatedClass instance, ISymUnmanagedMethod pMethod) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
int version; |
|
|
|
|
|
|
|
instance.__GetMethodVersion(pMethod, out version); |
|
|
|
|
|
|
|
return version; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetNamespaces(this CorSymReader_deprecatedClass instance, uint cNameSpaces, out uint pcNameSpaces, ISymUnmanagedNamespace[] namespaces) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetSymAttribute(this CorSymReader_deprecatedClass instance, uint parent, IntPtr name, uint cBuffer, out uint pcBuffer, IntPtr buffer) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetSymAttribute(parent, name, cBuffer, out pcBuffer, buffer); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetSymbolStoreFileName(this CorSymReader_deprecatedClass instance, uint cchName, out uint pcchName, IntPtr szName) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetSymbolStoreFileName(cchName, out pcchName, szName); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static uint GetUserEntryPoint(this CorSymReader_deprecatedClass instance) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return instance.__GetUserEntryPoint(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetVariables(this CorSymReader_deprecatedClass instance, uint parent, uint cVars, out uint pcVars, IntPtr pVars) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetVariables(parent, cVars, out pcVars, pVars); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void Initialize(this CorSymReader_deprecatedClass instance, object importer, IntPtr filename, IntPtr searchPath, IStream pIStream) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__Initialize(importer, filename, searchPath, pIStream); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void ReplaceSymbolStore(this CorSymReader_deprecatedClass instance, IntPtr filename, IStream pIStream) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__ReplaceSymbolStore(filename, pIStream); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void UpdateSymbolStore(this CorSymReader_deprecatedClass instance, IntPtr filename, IStream pIStream) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__UpdateSymbolStore(filename, pIStream); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void Abort(this CorSymWriter_SxSClass instance) |
|
|
|
public static void Abort(this CorSymWriter_SxSClass instance) |
|
|
|
{ |
|
|
|
{ |
|
|
|
instance.__Abort(); |
|
|
|
instance.__Abort(); |
|
|
@ -361,134 +251,6 @@ namespace Debugger.Interop.CorSym |
|
|
|
instance.__UsingNamespace(fullName); |
|
|
|
instance.__UsingNamespace(fullName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void Abort(this CorSymWriter_deprecatedClass instance) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__Abort(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void Close(this CorSymWriter_deprecatedClass instance) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__Close(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void CloseMethod(this CorSymWriter_deprecatedClass instance) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__CloseMethod(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void CloseNamespace(this CorSymWriter_deprecatedClass instance) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__CloseNamespace(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void CloseScope(this CorSymWriter_deprecatedClass instance, uint endOffset) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__CloseScope(endOffset); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void DefineConstant(this CorSymWriter_deprecatedClass instance, IntPtr name, object value, uint cSig, ref byte signature) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__DefineConstant(name, value, cSig, ref signature); |
|
|
|
|
|
|
|
ProcessOutParameter(signature); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedDocumentWriter DefineDocument(this CorSymWriter_deprecatedClass instance, IntPtr url, ref Guid language, ref Guid languageVendor, ref Guid documentType) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
ISymUnmanagedDocumentWriter returnValue = instance.__DefineDocument(url, ref language, ref languageVendor, ref documentType); |
|
|
|
|
|
|
|
ProcessOutParameter(returnValue); |
|
|
|
|
|
|
|
return returnValue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void DefineField(this CorSymWriter_deprecatedClass instance, uint parent, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); |
|
|
|
|
|
|
|
ProcessOutParameter(signature); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void DefineGlobalVariable(this CorSymWriter_deprecatedClass instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); |
|
|
|
|
|
|
|
ProcessOutParameter(signature); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void DefineLocalVariable(this CorSymWriter_deprecatedClass instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3, uint startOffset, |
|
|
|
|
|
|
|
uint endOffset) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); |
|
|
|
|
|
|
|
ProcessOutParameter(signature); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void DefineParameter(this CorSymWriter_deprecatedClass instance, IntPtr name, uint attributes, uint sequence, uint addrKind, uint addr1, uint addr2, uint addr3) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void DefineSequencePoints(this CorSymWriter_deprecatedClass instance, ISymUnmanagedDocumentWriter document, uint spCount, ref uint offsets, ref uint lines, ref uint columns, ref uint endLines, ref uint endColumns) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void GetDebugInfo(this CorSymWriter_deprecatedClass instance, ref uint pIDD, uint cData, out uint pcData, IntPtr data) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__GetDebugInfo(ref pIDD, cData, out pcData, data); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void Initialize(this CorSymWriter_deprecatedClass instance, object emitter, IntPtr filename, IStream pIStream, int fFullBuild) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__Initialize(emitter, filename, pIStream, fFullBuild); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void Initialize2(this CorSymWriter_deprecatedClass instance, object emitter, IntPtr tempfilename, IStream pIStream, int fFullBuild, IntPtr finalfilename) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void OpenMethod(this CorSymWriter_deprecatedClass instance, uint method) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__OpenMethod(method); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void OpenNamespace(this CorSymWriter_deprecatedClass instance, IntPtr name) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__OpenNamespace(name); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static uint OpenScope(this CorSymWriter_deprecatedClass instance, uint startOffset) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return instance.__OpenScope(startOffset); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void RemapToken(this CorSymWriter_deprecatedClass instance, uint oldToken, uint newToken) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__RemapToken(oldToken, newToken); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void SetMethodSourceRange(this CorSymWriter_deprecatedClass instance, ISymUnmanagedDocumentWriter startDoc, uint startLine, uint startColumn, ISymUnmanagedDocumentWriter endDoc, uint endLine, uint endColumn) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void SetScopeRange(this CorSymWriter_deprecatedClass instance, uint scopeID, uint startOffset, uint endOffset) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__SetScopeRange(scopeID, startOffset, endOffset); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void SetSymAttribute(this CorSymWriter_deprecatedClass instance, uint parent, IntPtr name, uint cData, ref byte data) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__SetSymAttribute(parent, name, cData, ref data); |
|
|
|
|
|
|
|
ProcessOutParameter(data); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void SetUserEntryPoint(this CorSymWriter_deprecatedClass instance, uint entryMethod) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__SetUserEntryPoint(entryMethod); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void UsingNamespace(this CorSymWriter_deprecatedClass instance, IntPtr fullName) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
instance.__UsingNamespace(fullName); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ISymUnmanagedReader GetReaderForFile(this ISymUnmanagedBinder instance, object importer, IntPtr filename, IntPtr searchPath) |
|
|
|
public static ISymUnmanagedReader GetReaderForFile(this ISymUnmanagedBinder instance, object importer, IntPtr filename, IntPtr searchPath) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ISymUnmanagedReader returnValue = instance.__GetReaderForFile(importer, filename, searchPath); |
|
|
|
ISymUnmanagedReader returnValue = instance.__GetReaderForFile(importer, filename, searchPath); |
|
|
|