MSTest suppression rules
Rules that support suppressing diagnostics from other rules.
Identifier | Name | Description |
---|---|---|
MSTEST0027 | UseAsyncSuffixTestMethodSuppressor | Suppress the VSTHRD200: Use Async suffix for async methods diagnostic for all test methods as they are not required to follow the naming convention. |
MSTEST0028 | UseAsyncSuffixTestFixtureMethodSuppressor | Suppress the VSTHRD200: Use Async suffix for async methods diagnostic for all test fixture methods as they are not required to follow the naming convention. |
MSTEST0033 | NonNullableReferenceNotInitializedSuppressor | 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. |
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.