summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Adams <thundercat@illyriad.co.uk>2018-01-29 16:44:18 +0000
committerStephen Toub <stoub@microsoft.com>2018-01-29 11:44:18 -0500
commit0f39bc825c149d0e463d2e9fd00bccd86d096b4d (patch)
treed637ea9a2861b26feb2280d4c579a3711412df3d /src
parent0f3e829324721c3ee24703a4afe426a9dbd52501 (diff)
downloadcoreclr-0f39bc825c149d0e463d2e9fd00bccd86d096b4d.tar.gz
coreclr-0f39bc825c149d0e463d2e9fd00bccd86d096b4d.tar.bz2
coreclr-0f39bc825c149d0e463d2e9fd00bccd86d096b4d.zip
Use EventSource guid ctor for ArrayPoolEventSource (#16054)
* Use EventSource guid ctor for ArrayPoolEventSource * missing e
Diffstat (limited to 'src')
-rw-r--r--src/mscorlib/shared/System/Buffers/ArrayPoolEventSource.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mscorlib/shared/System/Buffers/ArrayPoolEventSource.cs b/src/mscorlib/shared/System/Buffers/ArrayPoolEventSource.cs
index 9482744144..2d835050b2 100644
--- a/src/mscorlib/shared/System/Buffers/ArrayPoolEventSource.cs
+++ b/src/mscorlib/shared/System/Buffers/ArrayPoolEventSource.cs
@@ -6,7 +6,7 @@ using System.Diagnostics.Tracing;
namespace System.Buffers
{
- [EventSource(Name = "System.Buffers.ArrayPoolEventSource")]
+ [EventSource(Guid = "0866B2B8-5CEF-5DB9-2612-0C0FFD814A44", Name = "System.Buffers.ArrayPoolEventSource")]
internal sealed class ArrayPoolEventSource : EventSource
{
internal readonly static ArrayPoolEventSource Log = new ArrayPoolEventSource();
@@ -22,6 +22,9 @@ namespace System.Buffers
PoolExhausted
}
+ // The ArrayPoolEventSource GUID is {0866b2b8-5cef-5db9-2612-0c0ffd814a44}
+ private ArrayPoolEventSource() : base(new Guid(0x0866b2b8, 0x5cef, 0x5db9, 0x26, 0x12, 0x0c, 0x0f, 0xfd, 0x81, 0x4a, 0x44), "System.Buffers.ArrayPoolEventSource") { }
+
/// <summary>
/// Event for when a buffer is rented. This is invoked once for every successful call to Rent,
/// regardless of whether a buffer is allocated or a buffer is taken from the pool. In a