mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
Merge pull request #2286 from calumgrant/cs/windows-tests
C#: Make qltests pass on all platforms
This commit is contained in:
@@ -315,7 +315,7 @@ class InvalidReturn extends InstructionViolation {
|
||||
/**
|
||||
* A throw instruction that does not have a stack size of 0 after it.
|
||||
*/
|
||||
class InvalidThrow extends InstructionViolation {
|
||||
class InvalidThrow extends InstructionViolation, DisabledCheck {
|
||||
InvalidThrow() { instruction instanceof Throw and instruction.getStackSizeAfter() != 0 }
|
||||
|
||||
override string getMessage() {
|
||||
|
||||
Reference in New Issue
Block a user