Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Property | Value |
---|---|
Rule ID | MSTEST0033 |
Title | Suppress CS8618 for TestContext property |
Category | Suppressor |
Introduced in version | 3.6.0 |
Suppressor description
Suppress the CS8618: Non-nullable variable must contain a non-null value when exiting constructor. Consider declaring it as nullable. diagnostic for the TestContext
property as its value is always initialized by the MSTest framework.
When to disable suppressor
.NET suppressors cannot be disabled.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.