diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-10-23 19:22:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 19:22:39 +0300 |
commit | bd7692c6ab69079fdaa543a0964fc0c1ebb17284 (patch) | |
tree | 9e1c329560ba60323800c3bd88ecba40a553d0a4 /src/ILVerify | |
parent | ae58977506b70800ca2c4ced423580047d89d302 (diff) |
Search/replace Debug.Assert(false, => Debug.Fail( (#4782)
Diffstat (limited to 'src/ILVerify')
-rw-r--r-- | src/ILVerify/src/ILImporter.Verify.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ILVerify/src/ILImporter.Verify.cs b/src/ILVerify/src/ILImporter.Verify.cs index 3ebc18f9b..5feaf3d05 100644 --- a/src/ILVerify/src/ILImporter.Verify.cs +++ b/src/ILVerify/src/ILImporter.Verify.cs @@ -1403,7 +1403,7 @@ again: } else { - Debug.Assert(false, "Unexpected ldftn opcode: " + opCode.ToString()); + Debug.Fail("Unexpected ldftn opcode: " + opCode.ToString()); return; } @@ -1585,7 +1585,7 @@ again: } break; default: - Debug.Assert(false, "Unexpected branch opcode"); + Debug.Fail("Unexpected branch opcode"); break; } @@ -2050,7 +2050,7 @@ again: CheckIsInteger(operand); break; default: - Debug.Assert(false, "Unexpected branch opcode"); + Debug.Fail("Unexpected branch opcode"); break; } |