Index: experimental/visual_studio_plugin/src/MsAd7.BaseImpl/ErrorBreakpoint.cs |
diff --git a/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/ErrorBreakpoint.cs b/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/ErrorBreakpoint.cs |
deleted file mode 100644 |
index 7aa8bc9e66e75dc1c67b3c67d722d300db521916..0000000000000000000000000000000000000000 |
--- a/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/ErrorBreakpoint.cs |
+++ /dev/null |
@@ -1,56 +0,0 @@ |
-// Copyright 2010 The Native Client Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can |
-// be found in the LICENSE file. |
-using Microsoft.VisualStudio; |
-using Microsoft.VisualStudio.Debugger.Interop; |
- |
-namespace Google.MsAd7.BaseImpl { |
- /// <summary> |
- /// For documentation of IDebugErrorBreakpoint2 members, please see the VS 2008 MSDN |
- /// documentation. |
- /// </summary> |
- public class ErrorBreakpoint : IDebugErrorBreakpoint2 { |
- public ErrorBreakpoint(ErrorBreakpointResolution resolution) { |
- resolution_ = resolution; |
- pendingBreakpoint_ = null; |
- } |
- |
- /// <summary> |
- /// This property has a public setter so the PendingBreakpoint can add itself to the error |
- /// after BreakpointInfo generates it. |
- /// </summary> |
- public PendingBreakpoint PendingBreakpoint { |
- set { pendingBreakpoint_ = value; } |
- } |
- |
- #region IDebugErrorBreakpoint2 Members |
- |
- public int GetPendingBreakpoint( |
- out IDebugPendingBreakpoint2 ppPendingBreakpoint) { |
- ppPendingBreakpoint = null; |
- var haveBreakpoint = VSConstants.S_FALSE; |
- if (pendingBreakpoint_ != null) { |
- ppPendingBreakpoint = pendingBreakpoint_; |
- haveBreakpoint = VSConstants.S_OK; |
- } |
- return haveBreakpoint; |
- } |
- |
- public int GetBreakpointResolution( |
- out IDebugErrorBreakpointResolution2 ppErrorResolution) { |
- ppErrorResolution = resolution_; |
- return VSConstants.S_OK; |
- } |
- |
- #endregion |
- |
- #region Private Implementation |
- |
- // The resolution of the error if there is one. |
- private readonly ErrorBreakpointResolution resolution_; |
- // the PendingBreakpoint that caused this error. |
- private PendingBreakpoint pendingBreakpoint_; |
- |
- #endregion |
- } |
-} |