projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b23d6a2
)
System.Diagnostics.Debugger.Break() should NOT be inlined. (#10151)
author
Mike McLaughlin
<mikem@microsoft.com>
Tue, 14 Mar 2017 01:17:43 +0000
(18:17 -0700)
committer
GitHub
<noreply@github.com>
Tue, 14 Mar 2017 01:17:43 +0000
(18:17 -0700)
Breaks debugger tests.
src/mscorlib/src/System/Diagnostics/Debugger.cs
patch
|
blob
|
history
diff --git
a/src/mscorlib/src/System/Diagnostics/Debugger.cs
b/src/mscorlib/src/System/Diagnostics/Debugger.cs
index
aad67bc
..
92df7e7
100644
(file)
--- a/
src/mscorlib/src/System/Diagnostics/Debugger.cs
+++ b/
src/mscorlib/src/System/Diagnostics/Debugger.cs
@@
-30,6
+30,7
@@
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.