Merge pull request #2286 from calumgrant/cs/windows-tests

C#: Make qltests pass on all platforms
This commit is contained in:
Tom Hvitved
2019-11-13 16:21:08 +01:00
committed by GitHub
15 changed files with 64 additions and 482 deletions

View File

@@ -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() {