int IDebugPendingBreakpoint2.CanBind(out IEnumDebugErrorBreakpoints2 ppErrorEnum) { string message = GetBindError(); if (message == null) { ppErrorEnum = null; return(VSConstants.S_OK); } var error = new AD7ErrorBreakpoint(this, new AD7ErrorBreakpointResolution(message)); ppErrorEnum = new AD7ErrorBreakpointEnum(new IDebugErrorBreakpoint2[] { error }); return(VSConstants.S_FALSE); }
int IDebugPendingBreakpoint2.CanBind(out IEnumDebugErrorBreakpoints2 ppErrorEnum) { string message = GetBindError(); if (message == null) { ppErrorEnum = null; return VSConstants.S_OK; } var error = new AD7ErrorBreakpoint(this, new AD7ErrorBreakpointResolution(message)); ppErrorEnum = new AD7ErrorBreakpointEnum(new IDebugErrorBreakpoint2[] { error }); return VSConstants.S_FALSE; }