C#: Add more well-known enum underlying types

This commit is contained in:
Tamas Vajk
2021-02-25 11:10:03 +01:00
parent 81b29316e1
commit 3e651f14fd

View File

@@ -56,7 +56,8 @@ namespace Semmle.Extraction.CIL.Entities
private static readonly Dictionary<string, PrimitiveTypeCode> wellKnownEnums = new Dictionary<string, PrimitiveTypeCode>
{
{ "System.AttributeTargets", PrimitiveTypeCode.Int32 },
{ "System.ComponentModel.EditorBrowsableState", PrimitiveTypeCode.Int32 }
{ "System.ComponentModel.EditorBrowsableState", PrimitiveTypeCode.Int32 },
{ "System.Diagnostics.DebuggerBrowsableState", PrimitiveTypeCode.Int32 }
};
}
}