summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Diagnostics/Debugger.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Diagnostics/Debugger.cs')
-rw-r--r--src/mscorlib/src/System/Diagnostics/Debugger.cs21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/mscorlib/src/System/Diagnostics/Debugger.cs b/src/mscorlib/src/System/Diagnostics/Debugger.cs
index 21c57dbfaf..92df7e7f5f 100644
--- a/src/mscorlib/src/System/Diagnostics/Debugger.cs
+++ b/src/mscorlib/src/System/Diagnostics/Debugger.cs
@@ -5,16 +5,16 @@
// The Debugger class is a part of the System.Diagnostics package
// and is used for communicating with a debugger.
+using System;
+using System.IO;
+using System.Collections;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Security;
+using System.Runtime.Versioning;
+
namespace System.Diagnostics
{
- using System;
- using System.IO;
- using System.Collections;
- using System.Reflection;
- using System.Runtime.CompilerServices;
- using System.Security;
- using System.Runtime.Versioning;
-
// No data, does not need to be marked with the serializable attribute
public sealed class Debugger
{
@@ -30,13 +30,14 @@ namespace System.Diagnostics
// Break causes a breakpoint to be signalled to an attached debugger. If no debugger
// is attached, the user is asked if he wants to attach a debugger. If yes, then the
// debugger is launched.
+ [MethodImplAttribute(MethodImplOptions.NoInlining)]
public static void Break()
{
// Causing a break is now allowed.
BreakInternal();
}
- static void BreakCanThrow()
+ private static void BreakCanThrow()
{
BreakInternal();
}
@@ -128,7 +129,5 @@ namespace System.Diagnostics
// report the notification depending on its settings.
[MethodImplAttribute(MethodImplOptions.InternalCall)]
private static extern void CustomNotification(ICustomDebuggerNotification data);
-
}
-
}