File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -509,11 +509,9 @@ public void Test_ObservableProperty_NullabilityAnnotations_Complex()
509
509
//Assert.AreEqual(NullabilityState.NotNull, rightInfo2.ReadState);
510
510
//Assert.AreEqual(NullabilityState.NotNull, rightInfo2.WriteState);
511
511
512
- // The commented out lines are to work around a weird behavior of the NullabilityInfo API there.
513
- // Arguably we're pushing them a bit far here, but it's fine. Even with those cases commented out,
514
- // the test is already more than enough, plus we can also double check the behavior by looking at
515
- // the generated code. Thoe lines can be uncommented once the behavior is either clarified, or if
516
- // it happens to be a bug which is then fixed in a future version of .NET, once we upgrade as well.
512
+ // The commented out lines are to work around a bug in the NullabilityInfo API in .NET 6.
513
+ // This has been fixed for .NET 7: https://github.com/dotnet/runtime/pull/63556. The test
514
+ // cases above can be uncommented when the .NET 7 target (or a more recent version) is added.
517
515
}
518
516
#endif
519
517
You can’t perform that action at this time.
0 commit comments