* Re-enable CA1802 (use consts instead of readonly statics)
I enabled it only for privates and internals, as we've previously violated this in public surface area, and as everything goes through API review moving forward, didn't seem worthwhile fighting it and adding suppressions in various places.
* Address PR feedback
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
c5b60182397bbdd0033d6627cc075dfea59a5a34
return eventData.Parameters[parameterId].ParameterType;
}
- private static readonly bool m_EventSourcePreventRecursion = false;
+ private const bool m_EventSourcePreventRecursion = false;
#else
private int GetParameterCount(EventMetadata eventData)
{