Remove unnecessary NRT directives from TaskDialog interop files #3602
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove now unnecessary NRT directives that were added by #1133, since #3451 enabled nullable reference types for
System.Windows.Forms.Primitives
globally in the project file.Proposed changes
#nullable enable
directives inSystem.Windows.Forms.Primitives
files.Customer Impact
Regression?
Risk
Test methodology
PFTASKDIALOGCALLBACK
toobject?
and verified that the compiler doesn't raiseCS8632
.Test environment(s)
.NET SDK (reflecting any global.json):
Version: 5.0.100-rc.1.20367.2
Commit: 0dd3ff77c7
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.100-rc.1.20367.2\
Host (useful for support):
Version: 5.0.0-preview.8.20361.2
Commit: f37dd6fc85
.NET SDKs installed:
3.1.400-preview-015203 [C:\Program Files\dotnet\sdk]
5.0.100-rc.1.20367.2 [C:\Program Files\dotnet\sdk]
Microsoft Reviewers: Open in CodeFlow