We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A couple tests fail with:
Message: System.InvalidOperationException : Code fix is attempting to provide a fix for a non-local analyzer diagnostic Stack Trace: DefaultVerifier.False(Boolean assert, String message) CodeFixTest`1.FixEachAnalyzerDiagnosticAsync(ImmutableArray`1 analyzers, ImmutableArray`1 codeFixProviders, Nullable`1 codeFixIndex, String codeFixEquivalenceKey, Action`2 codeActionVerifier, Project project, Int32 numberOfIterations, IVerifier verifier, CancellationToken cancellationToken) CodeFixTest`1.VerifyFixAsync(String language, ImmutableArray`1 analyzers, ImmutableArray`1 codeFixProviders, SolutionState oldState, SolutionState newState, Int32 numberOfIterations, Func`10 getFixedProject, IVerifier verifier, CancellationToken cancellationToken) CodeFixTest`1.VerifyFixAsync(SolutionState testState, SolutionState fixedState, SolutionState batchFixedState, IVerifier verifier, CancellationToken cancellationToken) CodeFixTest`1.RunImplAsync(CancellationToken cancellationToken) AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) VSTHRD010MainThreadUsageAnalyzerTests.RequiresUIThreadTransitive_MultipleInMember() line 580 --- End of stack trace from previous location ---
These are the tests that fail:
RequiresUIThreadTransitive_MultipleInMember TransitiveNoCheck_InCtor
Enable the tests and run them.
Tests should pass.
Tests fail when enabled.
The text was updated successfully, but these errors were encountered:
Disable tests that fail and filed #1364 to track
3d25ab8
No branches or pull requests
Bug description
A couple tests fail with:
These are the tests that fail:
RequiresUIThreadTransitive_MultipleInMember
TransitiveNoCheck_InCtor
Repro steps
Enable the tests and run them.
Expected behavior
Tests should pass.
Actual behavior
Tests fail when enabled.
The text was updated successfully, but these errors were encountered: