338 references to EventKeywords
dotnet-svcutil-lib (54)
FrameworkFork\System.ServiceModel\Internals\WcfEventSource.cs (54)
2902public const EventKeywords ServiceHost = (EventKeywords)0x1; 2903public const EventKeywords Serialization = (EventKeywords)0x2; 2904public const EventKeywords ServiceModel = (EventKeywords)0x4; 2905public const EventKeywords Transaction = (EventKeywords)0x8; 2906public const EventKeywords Security = (EventKeywords)0x10; 2907public const EventKeywords WCFMessageLogging = (EventKeywords)0x20; 2908public const EventKeywords WFTracking = (EventKeywords)0x40; 2909public const EventKeywords WebHost = (EventKeywords)0x80; 2910public const EventKeywords HTTP = (EventKeywords)0x100; 2911public const EventKeywords TCP = (EventKeywords)0x200; 2912public const EventKeywords TransportGeneral = (EventKeywords)0x400; 2913public const EventKeywords ActivationServices = (EventKeywords)0x800; 2914public const EventKeywords Channel = (EventKeywords)0x1000; 2915public const EventKeywords WebHTTP = (EventKeywords)0x2000; 2916public const EventKeywords Discovery = (EventKeywords)0x4000; 2917public const EventKeywords RoutingServices = (EventKeywords)0x8000; 2918public const EventKeywords Infrastructure = (EventKeywords)0x10000; 2919public const EventKeywords EndToEndMonitoring = (EventKeywords)0x20000; 2920public const EventKeywords HealthMonitoring = (EventKeywords)0x40000; 2921public const EventKeywords Troubleshooting = (EventKeywords)0x80000; 2922public const EventKeywords UserEvents = (EventKeywords)0x100000; 2923public const EventKeywords Threading = (EventKeywords)0x200000; 2924public const EventKeywords Quota = (EventKeywords)0x400000; 2925public const EventKeywords WFRuntime = (EventKeywords)0x1000000; 2926public const EventKeywords WFActivities = (EventKeywords)0x2000000; 2927public const EventKeywords WFServices = (EventKeywords)0x4000000; 2928public const EventKeywords WFInstanceStore = (EventKeywords)0x8000000;
Http3SampleApp (1)
src\Shared\HttpClient\HttpEventSourceListener.cs (1)
33EnableEvents(eventSource, EventLevel.LogAlways, EventKeywords.All);
illink (2)
InMemory.FunctionalTests (1)
EventSourceTests.cs (1)
447EnableEvents(eventSource, EventLevel.Informational, (EventKeywords)0x80);
Interop.FunctionalTests (1)
src\Shared\HttpClient\HttpEventSourceListener.cs (1)
33EnableEvents(eventSource, EventLevel.LogAlways, EventKeywords.All);
InteropClient (1)
src\Shared\HttpClient\HttpEventSourceListener.cs (1)
33EnableEvents(eventSource, EventLevel.LogAlways, EventKeywords.All);
Microsoft.AspNetCore.Hosting.Tests (3)
HostingApplicationDiagnosticsTests.cs (2)
47eventListener.EnableEvents(hostingEventSource, EventLevel.Informational, EventKeywords.None, 156eventListener.EnableEvents(hostingEventSource, EventLevel.Informational, EventKeywords.None,
Internal\HostingEventSourceTests.cs (1)
206eventListener.EnableEvents(hostingEventSource, EventLevel.Informational, EventKeywords.None,
Microsoft.AspNetCore.Http.Connections (3)
Internal\HttpConnectionsEventSource.cs (3)
48if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 61if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 75if (IsEnabled(EventLevel.Informational, EventKeywords.None))
Microsoft.AspNetCore.InternalTesting (1)
Tracing\CollectingEventListener.cs (1)
38public void CollectFrom(EventSource eventSource) => EnableEvents(eventSource, EventLevel.Verbose, EventKeywords.All);
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Infrastructure\KestrelEventSource.cs (8)
62if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 83if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 108if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 133if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 150if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 174if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 192if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 216if (IsEnabled(EventLevel.Error, EventKeywords.None))
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Shared\HttpClient\HttpEventSourceListener.cs (1)
33EnableEvents(eventSource, EventLevel.LogAlways, EventKeywords.All);
Microsoft.Build.Framework (4)
MSBuildEventSource.cs (4)
25public const EventKeywords All = (EventKeywords)0x1; 35public const EventKeywords PerformanceLog = (EventKeywords)0x2;
Microsoft.CodeAnalysis (6)
CodeAnalysisEventSource.Common.cs (6)
14public const EventKeywords Performance = (EventKeywords)0b001; 15public const EventKeywords Correctness = (EventKeywords)0b010; 16public const EventKeywords AnalyzerLoading = (EventKeywords)0b100;
Microsoft.CodeAnalysis.Workspaces (8)
Log\EtwLogger.cs (1)
45return _source.IsEnabled(EventLevel.Verbose, (EventKeywords)(-1));
Log\RoslynEventSource.LogBlock.cs (1)
120if (Instance.IsEnabled(_eventLevel, EventKeywords.None))
src\Compilers\Core\Portable\CodeAnalysisEventSource.Common.cs (6)
14public const EventKeywords Performance = (EventKeywords)0b001; 15public const EventKeywords Correctness = (EventKeywords)0b010; 16public const EventKeywords AnalyzerLoading = (EventKeywords)0b100;
Microsoft.Extensions.Caching.Hybrid.Tests (1)
TestEventListener.cs (1)
53EnableEvents(Source, EventLevel.LogAlways, EventKeywords.All, args);
Microsoft.Extensions.DependencyInjection (7)
DependencyInjectionEventSource.cs (7)
24public const EventKeywords ServiceProviderInitialized = (EventKeywords)0x1; 107if (IsEnabled(EventLevel.Verbose, EventKeywords.All)) 116if (IsEnabled(EventLevel.Verbose, EventKeywords.All)) 135if (IsEnabled(EventLevel.Verbose, EventKeywords.All)) 144if (IsEnabled(EventLevel.Error, EventKeywords.All)) 328if (source.IsEnabled(EventLevel.Verbose, EventKeywords.All))
Microsoft.Extensions.Logging.EventSource (9)
LoggingEventSource.cs (9)
100public const EventKeywords Meta = (EventKeywords)1; 104public const EventKeywords Message = (EventKeywords)2; 108public const EventKeywords FormattedMessage = (EventKeywords)4; 112public const EventKeywords JsonMessage = (EventKeywords)8; 527EventKeywords allMessageKeywords = Keywords.Message | Keywords.FormattedMessage | Keywords.JsonMessage;
Microsoft.Extensions.Telemetry.Tests (4)
Http\TestEventSource.cs (4)
21if (IsEnabled(EventLevel.Warning, EventKeywords.All)) 30if (IsEnabled(EventLevel.Error, EventKeywords.All)) 39if (IsEnabled(EventLevel.Critical, EventKeywords.All)) 48if (IsEnabled(EventLevel.Verbose, EventKeywords.All))
MSBuild (1)
PerformanceLogEventListener.cs (1)
20internal EventKeywords Keywords { get; set; }
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
202[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventKeywords))]
netstandard (1)
netstandard.cs (1)
724[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventKeywords))]
PresentationCore (8)
src\Microsoft.DotNet.Wpf\src\Shared\Telemetry\Managed\TelemetryEventSource.cs (8)
46internal const EventKeywords Reserved44Keyword = (EventKeywords)0x0000100000000000; 54internal const EventKeywords TelemetryKeyword = (EventKeywords)0x0000200000000000; 62internal const EventKeywords MeasuresKeyword = (EventKeywords)0x0000400000000000; 70internal const EventKeywords CriticalDataKeyword = (EventKeywords)0x0000800000000000;
PresentationFramework (8)
src\Microsoft.DotNet.Wpf\src\Shared\Telemetry\Managed\TelemetryEventSource.cs (8)
46internal const EventKeywords Reserved44Keyword = (EventKeywords)0x0000100000000000; 54internal const EventKeywords TelemetryKeyword = (EventKeywords)0x0000200000000000; 62internal const EventKeywords MeasuresKeyword = (EventKeywords)0x0000400000000000; 70internal const EventKeywords CriticalDataKeyword = (EventKeywords)0x0000800000000000;
System.Collections.Concurrent (2)
System\Collections\Concurrent\CDSCollectionETWBCLProvider.cs (2)
30private const EventKeywords ALL_KEYWORDS = (EventKeywords)(-1);
System.Diagnostics.DiagnosticSource (16)
System\Diagnostics\DiagnosticSourceEventSource.cs (10)
176public const EventKeywords Messages = (EventKeywords)0x1; 180public const EventKeywords Events = (EventKeywords)0x2; 189public const EventKeywords IgnoreShortCutKeywords = (EventKeywords)0x0800; 190public const EventKeywords AspNetCoreHosting = (EventKeywords)0x1000; 191public const EventKeywords EntityFrameworkCoreCommands = (EventKeywords)0x2000;
System\Diagnostics\Metrics\MetricsEventSource.cs (6)
74public const EventKeywords Messages = (EventKeywords)0x1; 78public const EventKeywords TimeSeriesValues = (EventKeywords)0x2; 82public const EventKeywords InstrumentPublishing = (EventKeywords)0x4;
System.Diagnostics.Tracing (1)
artifacts\obj\System.Diagnostics.Tracing\Debug\net11.0\System.Diagnostics.Tracing.Forwards.cs (1)
15[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventKeywords))]
System.Linq.Parallel (2)
System\Linq\Parallel\Utils\PLINQETWProvider.cs (2)
46private const EventKeywords ALL_KEYWORDS = (EventKeywords)(-1);
System.Net.Http (3)
System\Net\Http\HttpTelemetry.cs (3)
19public const EventKeywords RequestFailedDetailed = (EventKeywords)1; 80if (IsEnabled(EventLevel.Error, EventKeywords.None))
System.Net.NameResolution (2)
System\Net\NameResolutionTelemetry.cs (2)
77if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 108if (IsEnabled(EventLevel.Informational, EventKeywords.None))
System.Net.Security (3)
System\Net\Security\NetSecurityTelemetry.cs (3)
137if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 146if (IsEnabled(EventLevel.Informational, EventKeywords.None)) 166if (IsEnabled(EventLevel.Error, EventKeywords.None))
System.Net.Sockets (7)
System\Net\Sockets\SocketsTelemetry.cs (7)
44if (IsEnabled(EventLevel.Informational, EventKeywords.All)) 53if (IsEnabled(EventLevel.Error, EventKeywords.All)) 68if (IsEnabled(EventLevel.Informational, EventKeywords.All)) 77if (IsEnabled(EventLevel.Error, EventKeywords.All)) 88if (IsEnabled(EventLevel.Informational, EventKeywords.All)) 177if (IsEnabled(EventLevel.Informational, EventKeywords.All)) 186if (IsEnabled(EventLevel.Informational, EventKeywords.All))
System.Private.CoreLib (91)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventListener.cs (7)
19/// (<see cref="EventLevel"/>) and bitfields (<see cref="EventKeywords"/>) to further restrict the set of 137EventPipeEventDispatcher.Instance.SendCommand(this, EventCommand.Update, false, EventLevel.LogAlways, (EventKeywords)0); 155EnableEvents(eventSource, level, EventKeywords.None); 168public void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword) 184public void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword, IDictionary<string, string?>? arguments) 206eventSource.SendCommand(this, EventProviderType.None, 0, EventCommand.Update, false, EventLevel.LogAlways, EventKeywords.None, null); 211EventPipeEventDispatcher.Instance.SendCommand(this, EventCommand.Update, false, EventLevel.LogAlways, EventKeywords.None);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventDispatcher.cs (5)
13internal EventKeywords MatchAnyKeywords { get; } 16internal EventListenerSubscription(EventKeywords matchAnyKeywords, EventLevel level) 46internal void SendCommand(EventListener eventListener, EventCommand command, bool enable, EventLevel level, EventKeywords matchAnyKeywords) 80EventKeywords aggregatedKeywords = EventKeywords.None;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeMetadataGenerator.cs (1)
43EventKeywords keywords,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventProvider.cs (6)
192protected EventKeywords MatchAnyKeyword 198protected EventKeywords MatchAllKeyword 1136internal EventKeywords MatchAnyKeyword 1138get => (EventKeywords)_anyKeywordMask; 1142internal EventKeywords MatchAllKeyword 1144get => (EventKeywords)_allKeywordMask;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (24)
236internal EventKeywords m_matchAnyKeyword; // the logical OR of all levels enabled by any output dispatcher (zero is a special case) meaning 'all keywords' 318public bool IsEnabled(EventLevel level, EventKeywords keywords) 333public bool IsEnabled(EventLevel level, EventKeywords keywords, EventChannel channel) 499eventSource.SendCommand(null, EventProviderType.ETW, 0, command, true, EventLevel.LogAlways, EventKeywords.None, commandArguments); 1407Keywords = (EventKeywords)metadata.Descriptor.Keywords, 2059Keywords = (EventKeywords)metadata.Descriptor.Keywords, 2250Keywords = (EventKeywords)unchecked(keywords), 2376private bool IsEnabledByDefault(int eventNum, bool enable, EventLevel currentLevel, EventKeywords currentMatchAnyKeyword) 2384EventKeywords eventKeywords = unchecked((EventKeywords)((ulong)metadata.Descriptor.Keywords & (~(SessionMask.All.ToEventKeywords())))); 2390private bool IsEnabledCommon(bool enabled, EventLevel currentLevel, EventKeywords currentMatchAnyKeyword, 2391EventLevel eventLevel, EventKeywords eventKeywords, EventChannel eventChannel) 2406EventKeywords channel_keywords = unchecked((EventKeywords)(m_channelData[(int)eventChannel] | (ulong)eventKeywords)); 2623EventLevel level, EventKeywords matchAnyKeyword, 3283eventAttribute.Keywords |= (EventKeywords)manifest.GetChannelKeyword(eventAttribute.Channel, (ulong)eventAttribute.Keywords); 3507else if (!reflectionOnly && (staticFieldType == typeof(EventKeywords)) || AttributeTypeNamesMatch(staticFieldType, typeof(EventKeywords))) 4123EventListener? listener, EventProviderType eventProviderType, int perEventSourceSessionId, bool enable, EventLevel level, EventKeywords matchAnyKeyword) 4145internal EventKeywords matchAnyKeyword; 4233public EventKeywords Keywords 4235get => EventId <= 0 ? (_moreInfo?.Keywords ?? default) : (EventKeywords)Metadata.Descriptor.Keywords; 4347public EventKeywords Keywords; 4415public EventKeywords Keywords { get; set; }
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\FrameworkEventSource.cs (4)
21public const EventKeywords ThreadPool = (EventKeywords)0x0002; 22public const EventKeywords ThreadTransfer = (EventKeywords)0x0010;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\RuntimeEventSource.cs (4)
18public const EventKeywords AppContext = (EventKeywords)0x1; 19public const EventKeywords ProcessorCount = (EventKeywords)0x2;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventDataAttribute.cs (1)
123internal EventKeywords Keywords
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventSourceOptions.cs (2)
13internal EventKeywords keywords; 60public EventKeywords Keywords
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\NameInfo.cs (1)
86(EventKeywords)descriptor.Keywords,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (4)
343EventKeywords keywords = (options.valuesSet & EventSourceOptions.keywordsSet) != 0 406EventKeywords keywords = (options.valuesSet & EventSourceOptions.keywordsSet) != 0 705Keywords = (EventKeywords)eventDescriptor.Keywords, 872EventKeywords keywords = (options.valuesSet & EventSourceOptions.keywordsSet) != 0
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventTypes.cs (3)
23internal readonly EventKeywords keywords; 162internal EventKeywords Keywords => (EventKeywords)this.keywords;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingTypeInfo.cs (3)
17private readonly EventKeywords keywords; 38EventKeywords keywords, 79public EventKeywords Keywords => this.keywords;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TypeAnalysis.cs (1)
17internal readonly EventKeywords keywords;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\XplatEventLogger.cs (1)
160EnableEvents(eventSource, EventLevel.LogAlways, EventKeywords.All, null);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TplEventSource.cs (24)
83public const EventKeywords TaskTransfer = (EventKeywords)1; 87public const EventKeywords Tasks = (EventKeywords)2; 91public const EventKeywords Parallel = (EventKeywords)4; 96public const EventKeywords AsyncCausalityOperation = (EventKeywords)8; 97public const EventKeywords AsyncCausalityRelation = (EventKeywords)0x10; 98public const EventKeywords AsyncCausalitySynchronousWork = (EventKeywords)0x20; 103public const EventKeywords TaskStops = (EventKeywords)0x40; 109public const EventKeywords TasksFlowActivityIds = (EventKeywords)0x80; 114public const EventKeywords AsyncMethod = (EventKeywords)0x100; 121public const EventKeywords TasksSetActivityIds = (EventKeywords)0x10000; 126public const EventKeywords Debug = (EventKeywords)0x20000; 130public const EventKeywords DebugActivityId = (EventKeywords)0x40000;
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainEventSource.cs (1)
91return IsEnabled(EventLevel.Verbose, EventKeywords.None);
System.ServiceModel.Primitives (62)
Internals\WcfEventSource.cs (62)
3080public const EventKeywords ServiceHost = (EventKeywords)0x1; 3081public const EventKeywords Serialization = (EventKeywords)0x2; 3082public const EventKeywords ServiceModel = (EventKeywords)0x4; 3083public const EventKeywords Transaction = (EventKeywords)0x8; 3084public const EventKeywords Security = (EventKeywords)0x10; 3085public const EventKeywords WCFMessageLogging = (EventKeywords)0x20; 3086public const EventKeywords WFTracking = (EventKeywords)0x40; 3087public const EventKeywords WebHost = (EventKeywords)0x80; 3088public const EventKeywords HTTP = (EventKeywords)0x100; 3089public const EventKeywords TCP = (EventKeywords)0x200; 3090public const EventKeywords TransportGeneral = (EventKeywords)0x400; 3091public const EventKeywords ActivationServices = (EventKeywords)0x800; 3092public const EventKeywords Channel = (EventKeywords)0x1000; 3093public const EventKeywords WebHTTP = (EventKeywords)0x2000; 3094public const EventKeywords Discovery = (EventKeywords)0x4000; 3095public const EventKeywords RoutingServices = (EventKeywords)0x8000; 3096public const EventKeywords Infrastructure = (EventKeywords)0x10000; 3097public const EventKeywords EndToEndMonitoring = (EventKeywords)0x20000; 3098public const EventKeywords HealthMonitoring = (EventKeywords)0x40000; 3099public const EventKeywords Troubleshooting = (EventKeywords)0x80000; 3100public const EventKeywords UserEvents = (EventKeywords)0x100000; 3101public const EventKeywords Threading = (EventKeywords)0x200000; 3102public const EventKeywords Quota = (EventKeywords)0x400000; 3103public const EventKeywords WFRuntime = (EventKeywords)0x1000000; 3104public const EventKeywords WFActivities = (EventKeywords)0x2000000; 3105public const EventKeywords WFServices = (EventKeywords)0x4000000; 3106public const EventKeywords WFInstanceStore = (EventKeywords)0x8000000; 3111public const EventKeywords Admin = unchecked((EventKeywords)0x8000000000000000); 3112public const EventKeywords Operational = unchecked((EventKeywords)0x4000000000000000); 3113public const EventKeywords Analytic = unchecked((EventKeywords)0x2000000000000000); 3114public const EventKeywords Debug = unchecked((EventKeywords)0x1000000000000000);
System.Threading (2)
System\Threading\CDSsyncETWBCLProvider.cs (2)
36private const EventKeywords ALL_KEYWORDS = (EventKeywords)(-1);
System.Threading.Tasks.Dataflow (2)
Internal\DataflowEtwProvider.cs (2)
33private const EventKeywords ALL_KEYWORDS = (EventKeywords)(-1);
System.Threading.Tasks.Parallel (2)
System\Threading\Tasks\ParallelETWProvider.cs (2)
57private const EventKeywords ALL_KEYWORDS = (EventKeywords)(-1);
System.Transactions.Local (8)
System\Transactions\TransactionsEtwProvider.cs (8)
85private const EventKeywords ALL_KEYWORDS = (EventKeywords)(-1); 1399public const EventKeywords TraceBase = (EventKeywords)0x0001; 1400public const EventKeywords TraceLtm = (EventKeywords)0x0002; 1401public const EventKeywords TraceOleTx = (EventKeywords)0x0004;