public int GetDisassemblyStream(enum_DISASSEMBLY_STREAM_SCOPE dwScope, IDebugCodeContext2 pCodeContext, out IDebugDisassemblyStream2 ppDisassemblyStream) { ppDisassemblyStream = null; if (pCodeContext == null) { throw new ArgumentNullException("pCodeContext"); } JavaDebugCodeContext codeContext = pCodeContext as JavaDebugCodeContext; if (codeContext == null) { return(VSConstants.E_INVALIDARG); } ppDisassemblyStream = new JavaDebugDisassemblyStream(codeContext); return(VSConstants.S_OK); }
public int GetDisassemblyStream(enum_DISASSEMBLY_STREAM_SCOPE dwScope, IDebugCodeContext2 pCodeContext, out IDebugDisassemblyStream2 ppDisassemblyStream) { ppDisassemblyStream = null; if (pCodeContext == null) throw new ArgumentNullException("pCodeContext"); JavaDebugCodeContext codeContext = pCodeContext as JavaDebugCodeContext; if (codeContext == null) return VSConstants.E_INVALIDARG; ppDisassemblyStream = new JavaDebugDisassemblyStream(codeContext); return VSConstants.S_OK; }