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