18 references to VerificationStatus
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Emit\NumericIntPtrTests.cs (4)
9035
CompileAndVerify(comp, verify: new Verification() { Status =
VerificationStatus
.PassesOrFailFast |
VerificationStatus
.FailsPEVerify }, expectedOutput: IncludeExpectedOutput(expectedResult));
9070
CompileAndVerify(comp, verify: new Verification() { Status =
VerificationStatus
.FailsPEVerify |
VerificationStatus
.PassesOrFailFast }, expectedOutput: IncludeExpectedOutput(expectedResult)).VerifyDiagnostics(expectedDiagnostics);
Microsoft.CodeAnalysis.Test.Utilities (14)
CommonTestBase.cs (7)
45
public
VerificationStatus
Status { get; init; }
54
public static readonly Verification Skipped = new() { Status =
VerificationStatus
.Skipped };
55
public static readonly Verification Passes = new() { Status =
VerificationStatus
.Passes };
56
public static readonly Verification FailsPEVerify = new() { Status =
VerificationStatus
.FailsPEVerify };
57
public static readonly Verification FailsILVerify = new() { Status =
VerificationStatus
.FailsILVerify };
58
public static readonly Verification Fails = new() { Status =
VerificationStatus
.Fails };
59
public static readonly Verification PassesOrFailFast = new() { Status =
VerificationStatus
.PassesOrFailFast };
CompilationVerifier.cs (5)
279
catch (Exception) when (peVerify.Status.HasFlag(
VerificationStatus
.PassesOrFailFast))
335
if (verification.Status.HasFlag(
VerificationStatus
.Skipped))
346
if (verification.Status.HasFlag(
VerificationStatus
.FailsILVerify) && verification.ILVerifyMessage is null)
361
if (verification.Status.HasFlag(
VerificationStatus
.FailsILVerify) && verification.ILVerifyMessage is null)
373
var expectedSuccess = !verification.Status.HasFlag(
VerificationStatus
.FailsILVerify);
Platform\Desktop\DesktopRuntimeEnvironment.cs (2)
316
if (verification.Status.HasFlag(
VerificationStatus
.Skipped))
321
var shouldSucceed = !verification.Status.HasFlag(
VerificationStatus
.FailsPEVerify);