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. |
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา