#nullable enable
[TestClass]
public class C
{
// public C() { }
// Normally, the compiler produces a nullability warning here.
// We have a diagnostic suppressor to suppress it.
// However, once the constructor above is commented out, the
// compiler starts producing the warning on the constructor declaration instead.
// In this case, we fail to suppress.
public string S { get; set; }
[TestMethod]
public void MyTest() { }
}