MSTEST0033: Non-nullable reference not initialized suppressor
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.
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.