diff options
author | Matt Warren <matt.warren@live.co.uk> | 2017-04-04 02:37:48 +0100 |
---|---|---|
committer | Dan Moseley <danmose@microsoft.com> | 2017-04-03 18:37:48 -0700 |
commit | b8f4ad63fbd1c0401c49189fb1c05081d07fe6b3 (patch) | |
tree | bf4d3e33584fe9536ac12bac4f19b6fc4233ec32 /src | |
parent | 9264c062d0c2da0b38544da01a4d23e18df1d62c (diff) | |
download | coreclr-b8f4ad63fbd1c0401c49189fb1c05081d07fe6b3.tar.gz coreclr-b8f4ad63fbd1c0401c49189fb1c05081d07fe6b3.tar.bz2 coreclr-b8f4ad63fbd1c0401c49189fb1c05081d07fe6b3.zip |
Move '#pragma warning(disable:21000)' to correct place (#10455)
Whilst I was writing a blog post ['A Hitchhikers Guide to the CoreCLR Source Code'](http://mattwarren.org/2017/03/23/Hitchhikers-Guide-to-the-CoreCLR-Source-Code/#top-10-lists) I noticed that a `#pragma warning(disable:21000)` was mis-aligned.
I'm pretty sure that having it in the wrong place doesn't cause a problem (i.e. this doesn't actually *fix* anything), because the other methods are smaller, so I understand if you don't want to take the PR.
Diffstat (limited to 'src')
-rw-r--r-- | src/debug/di/process.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp index 4c32641290..b6d49c218d 100644 --- a/src/debug/di/process.cpp +++ b/src/debug/di/process.cpp @@ -4525,10 +4525,6 @@ void CordbProcess::QueueFakeConnectionEvents() // from the runtime controller. This represents the last amount of processing // the DI gets to do on an event before giving it to the user. // -#ifdef _PREFAST_ -#pragma warning(push) -#pragma warning(disable:21000) // Suppress PREFast warning about overly large function -#endif void CordbProcess::DispatchRCEvent() { INTERNAL_API_ENTRY(this); @@ -4729,6 +4725,10 @@ void CordbProcess::DbgAssertAppDomainDeleted(VMPTR_AppDomain vmAppDomainDeleted) // A V2 shim can provide a proxy calllack that takes these events and queues them and // does the real dispatch to the user to emulate V2 semantics. // +#ifdef _PREFAST_ +#pragma warning(push) +#pragma warning(disable:21000) // Suppress PREFast warning about overly large function +#endif void CordbProcess::RawDispatchEvent( DebuggerIPCEvent * pEvent, RSLockHolder * pLockHolder, |