Skip to content

MSTEST0024: Do not store TestContext in static members#2597

Merged
Evangelink merged 1 commit into
microsoft:mainfrom
Evangelink:NSTEST0024
Mar 18, 2024
Merged

MSTEST0024: Do not store TestContext in static members#2597
Evangelink merged 1 commit into
microsoft:mainfrom
Evangelink:NSTEST0024

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Fixes #2370

@microsoft-github-policy-service microsoft-github-policy-service Bot added area/analyzers MSTest.Analyzers Roslyn analyzers and code fixes. Type: Feature labels Mar 18, 2024
@Evangelink Evangelink merged commit 53f05c6 into microsoft:main Mar 18, 2024
@Evangelink Evangelink deleted the NSTEST0024 branch March 18, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/analyzers MSTest.Analyzers Roslyn analyzers and code fixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Static test context should not be used within instance methods

1 participant