From 27719d23fe2e2787316be75266258f07203176d8 Mon Sep 17 00:00:00 2001 From: Vance Morrison Date: Fri, 5 Aug 2016 09:28:06 -0700 Subject: [PATCH] Fix typo/comments Commit migrated from https://github.com/dotnet/coreclr/commit/e6b35d41246a701a473b801801b2cf90ea9d19eb --- .../src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coreclr/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs b/src/coreclr/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs index f4acdf0..8c2edfd 100644 --- a/src/coreclr/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs +++ b/src/coreclr/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs @@ -6306,13 +6306,14 @@ namespace System.Diagnostics.Tracing // channel support is enabled), or based on the order the predefined channels appear in the EventAttribute properties (for simple // support). The manifest generated *MUST* have the channels specified in the same order (that's how our computed keywords are mapped // to channels by the OS infrastructure). - // If channelKeyworkds is prsent, and has keywords bits in the ValidPredefinedChannelKeywords then it is + // If channelKeyworkds is present, and has keywords bits in the ValidPredefinedChannelKeywords then it is // assumed that that the keyword for that channel should be that bit. // otherwise we allocate a channel bit for the channel. // explicit channel bits are only used by WCF to mimic an existing manifest, // so we don't dont do error checking. public ulong GetChannelKeyword(EventChannel channel, ulong channelKeyword=0) { + // strip off any non-channel keywords, since we are only interested in channels here. channelKeyword &= ValidPredefinedChannelKeywords; if (channelTab == null) { -- 2.7.4