Files
2026-08-27 10:56:38 -06:00

16 lines
366 B
C#

namespace Microsoft.CodeAnalysis.Emit;
internal static class InstrumentationKindExtensions
{
internal const InstrumentationKind LocalStateTracing = (InstrumentationKind)(-1);
internal static bool IsValid(this InstrumentationKind value)
{
if (value >= InstrumentationKind.None)
{
return value <= InstrumentationKind.TestCoverage;
}
return false;
}
}