Files

23 lines
490 B
C#
Raw Permalink Normal View History

2026-08-27 10:56:38 -06:00
namespace Microsoft.CodeAnalysis.Emit;
internal static class DebugInformationFormatExtensions
{
internal static bool IsValid(this DebugInformationFormat value)
{
if (value >= DebugInformationFormat.Pdb)
{
return value <= DebugInformationFormat.Embedded;
}
return false;
}
internal static bool IsPortable(this DebugInformationFormat value)
{
if (value != DebugInformationFormat.PortablePdb)
{
return value == DebugInformationFormat.Embedded;
}
return true;
}
}