Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3163,9 +3163,9 @@ private static bool AttributeTypeNamesMatch(Type attributeType, Type reflectedAt

// Collect task, opcode, keyword and channel information
#if FEATURE_MANAGED_ETW_CHANNELS && FEATURE_ADVANCED_MANAGED_ETW_CHANNELS
foreach (var providerEnumKind in new string[] { "Keywords", "Tasks", "Opcodes", "Channels" })
foreach (var providerEnumKind in (ReadOnlySpan<string>)["Keywords", "Tasks", "Opcodes", "Channels"])
Comment thread
MihaZupan marked this conversation as resolved.
#else
foreach (string providerEnumKind in new string[] { "Keywords", "Tasks", "Opcodes" })
foreach (string providerEnumKind in (ReadOnlySpan<string>)["Keywords", "Tasks", "Opcodes"])
#endif
{
Type? nestedType = eventSourceType.GetNestedType(providerEnumKind);
Expand Down