8 writes to Status
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
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 (6)
CommonTestBase.cs (6)
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 };
5 references to Status
Microsoft.CodeAnalysis.Test.Utilities (5)
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);