C#: Temporarily comment out considering Enums as having a sanitizing effect.

This commit is contained in:
Michael Nebel
2025-04-02 09:48:32 +02:00
parent 1d81c77fcd
commit 024712c073

View File

@@ -57,8 +57,8 @@ class SimpleTypeSanitizedExpr extends DataFlow::ExprNode {
SimpleTypeSanitizedExpr() {
exists(Type t | t = this.getType() or t = this.getType().(NullableType).getUnderlyingType() |
t instanceof SimpleType or
t instanceof SystemDateTimeStruct or
t instanceof Enum
t instanceof SystemDateTimeStruct
// or t instanceof Enum
)
}
}