diff options
author | Alex Perovich <alperovi@microsoft.com> | 2017-02-22 15:23:44 -0800 |
---|---|---|
committer | Alex Perovich <alperovi@microsoft.com> | 2017-02-23 13:43:32 -0800 |
commit | ea9bee5ac2f96a1ea6b202dc4094b8d418d9209c (patch) | |
tree | 6ed2957084ed081ff2fce06d26d748b37b30165f /src/mscorlib/Common | |
parent | 2ace58ac2bba14ffd469ecb89f972b8e9b8fd61d (diff) | |
download | coreclr-ea9bee5ac2f96a1ea6b202dc4094b8d418d9209c.tar.gz coreclr-ea9bee5ac2f96a1ea6b202dc4094b8d418d9209c.tar.bz2 coreclr-ea9bee5ac2f96a1ea6b202dc4094b8d418d9209c.zip |
Run codeformatter on S.P.CoreLib sources
Diffstat (limited to 'src/mscorlib/Common')
-rw-r--r-- | src/mscorlib/Common/PinnableBufferCache.cs | 34 | ||||
-rw-r--r-- | src/mscorlib/Common/Preprocessed/AssemblyRefs.g.cs | 18 |
2 files changed, 27 insertions, 25 deletions
diff --git a/src/mscorlib/Common/PinnableBufferCache.cs b/src/mscorlib/Common/PinnableBufferCache.cs index 6c85a5a2f6..3f7853ce59 100644 --- a/src/mscorlib/Common/PinnableBufferCache.cs +++ b/src/mscorlib/Common/PinnableBufferCache.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. #define ENABLE #define MINBUFFERS + using System; using System.Runtime.InteropServices; using System.Runtime.ConstrainedExecution; @@ -20,7 +21,6 @@ namespace System { internal sealed class PinnableBufferCache { - /// <summary> /// Create a PinnableBufferCache that works on any object (it is intended for OverlappedData) /// This is only used in mscorlib. @@ -519,22 +519,22 @@ namespace System public static readonly PinnableBufferCacheEventSource Log = new PinnableBufferCacheEventSource(); public bool IsEnabled() { return false; } - public void DebugMessage(string message) {} - public void Create(string cacheName) {} - public void AllocateBuffer(string cacheName, ulong objectId, int objectHash, int objectGen, int freeCountAfter) {} - public void AllocateBufferFromNotGen2(string cacheName, int notGen2CountAfter) {} - public void AllocateBufferCreatingNewBuffers(string cacheName, int totalBuffsBefore, int objectCount) {} - public void AllocateBufferAged(string cacheName, int agedCount) {} - public void AllocateBufferFreeListEmpty(string cacheName, int notGen2CountBefore) {} - public void FreeBuffer(string cacheName, ulong objectId, int objectHash, int freeCountBefore) {} - public void FreeBufferStillTooYoung(string cacheName, int notGen2CountBefore) {} - public void TrimCheck(string cacheName, int totalBuffs, bool neededMoreThanFreeList, int deltaMSec) {} - public void TrimFree(string cacheName, int totalBuffs, int freeListCount, int toBeFreed) {} - public void TrimExperiment(string cacheName, int totalBuffs, int freeListCount, int numTrimTrial) {} - public void TrimFreeSizeOK(string cacheName, int totalBuffs, int freeListCount) {} - public void TrimFlush(string cacheName, int totalBuffs, int freeListCount, int notGen2CountBefore) {} - public void AgePendingBuffersResults(string cacheName, int promotedToFreeListCount, int heldBackCount) {} - public void WalkFreeListResult(string cacheName, int freeListCount, int gen0BuffersInFreeList) {} + public void DebugMessage(string message) { } + public void Create(string cacheName) { } + public void AllocateBuffer(string cacheName, ulong objectId, int objectHash, int objectGen, int freeCountAfter) { } + public void AllocateBufferFromNotGen2(string cacheName, int notGen2CountAfter) { } + public void AllocateBufferCreatingNewBuffers(string cacheName, int totalBuffsBefore, int objectCount) { } + public void AllocateBufferAged(string cacheName, int agedCount) { } + public void AllocateBufferFreeListEmpty(string cacheName, int notGen2CountBefore) { } + public void FreeBuffer(string cacheName, ulong objectId, int objectHash, int freeCountBefore) { } + public void FreeBufferStillTooYoung(string cacheName, int notGen2CountBefore) { } + public void TrimCheck(string cacheName, int totalBuffs, bool neededMoreThanFreeList, int deltaMSec) { } + public void TrimFree(string cacheName, int totalBuffs, int freeListCount, int toBeFreed) { } + public void TrimExperiment(string cacheName, int totalBuffs, int freeListCount, int numTrimTrial) { } + public void TrimFreeSizeOK(string cacheName, int totalBuffs, int freeListCount) { } + public void TrimFlush(string cacheName, int totalBuffs, int freeListCount, int notGen2CountBefore) { } + public void AgePendingBuffersResults(string cacheName, int promotedToFreeListCount, int heldBackCount) { } + public void WalkFreeListResult(string cacheName, int freeListCount, int gen0BuffersInFreeList) { } static internal ulong AddressOf(object obj) { diff --git a/src/mscorlib/Common/Preprocessed/AssemblyRefs.g.cs b/src/mscorlib/Common/Preprocessed/AssemblyRefs.g.cs index d5866a4bcd..fba0953e20 100644 --- a/src/mscorlib/Common/Preprocessed/AssemblyRefs.g.cs +++ b/src/mscorlib/Common/Preprocessed/AssemblyRefs.g.cs @@ -15,19 +15,21 @@ using System.Diagnostics; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; -internal static class FXAssembly { +internal static class FXAssembly +{ internal const string Version = "4.0.0.0"; } -internal static class ThisAssembly { +internal static class ThisAssembly +{ internal const string Version = "4.0.0.0"; internal const int DailyBuildNumber = 22306; } -internal static class AssemblyRef { - internal const string EcmaPublicKey = "b77a5c561934e089"; - internal const string EcmaPublicKeyToken = "b77a5c561934e089"; - internal const string MicrosoftPublicKeyToken = "b03f5f7f11d50a3a"; - internal const string SystemRuntimeWindowsRuntime = "System.Runtime.WindowsRuntime, Version=" + FXAssembly.Version + ", Culture=neutral, PublicKeyToken=" + EcmaPublicKey; - +internal static class AssemblyRef +{ + internal const string EcmaPublicKey = "b77a5c561934e089"; + internal const string EcmaPublicKeyToken = "b77a5c561934e089"; + internal const string MicrosoftPublicKeyToken = "b03f5f7f11d50a3a"; + internal const string SystemRuntimeWindowsRuntime = "System.Runtime.WindowsRuntime, Version=" + FXAssembly.Version + ", Culture=neutral, PublicKeyToken=" + EcmaPublicKey; } |