-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Nullable annotate System.Drawing.Common #31716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nullable annotate System.Drawing.Common #31716
Conversation
src/libraries/Common/src/Interop/Windows/Gdi32/Interop.CreateDC.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/Interop/Windows/Gdi32/Interop.CreateIC.cs
Outdated
Show resolved
Hide resolved
173842e to
5da7054
Compare
src/libraries/System.Drawing.Common/ref/System.Drawing.Common.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/ref/System.Drawing.Common.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/ref/System.Drawing.Common.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/GraphicsContext.cs
Outdated
Show resolved
Hide resolved
|
PR blocked until dotnet/arcade#4796 is merged and package update in runtime |
cce73df to
11bea39
Compare
c9212da to
0deb871
Compare
src/libraries/System.Drawing.Common/src/System/Drawing/Bitmap.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/BufferedGraphics.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/BufferedGraphics.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Design/CategoryNameCollection.cs
Outdated
Show resolved
Hide resolved
ccde3f3 to
632ebd3
Compare
src/libraries/Common/src/Interop/Windows/Ole32/Interop.STATSTG.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/BufferedGraphicsContext.Windows.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/ClientUtils.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Drawing2D/CustomLineCap.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Drawing2D/GraphicsPath.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Drawing2D/GraphicsPath.Windows.cs
Outdated
Show resolved
Hide resolved
...ibraries/System.Drawing.Common/src/System/Drawing/Printing/PreviewPrintController.Windows.cs
Outdated
Show resolved
Hide resolved
...ibraries/System.Drawing.Common/src/System/Drawing/Printing/PreviewPrintController.Windows.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Below on row 151-196 event accessors BeginPrint, EndPrint, PrintPage, QueryPageSettings should be nullable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do they need to be nullable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about that, but that is what we were doing before for event accessors CC @stephentoub
src/libraries/System.Drawing.Common/src/System/Drawing/Printing/PrinterSettings.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Printing/PrinterSettings.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Printing/PrinterSettings.Windows.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Printing/PrinterSettings.Windows.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Printing/PrintingServices.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Printing/PrintingServices.Unix.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Region.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Region.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Region.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Drawing.Common/src/System/Drawing/Region.cs
Outdated
Show resolved
Hide resolved
buyaa-n
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments, other than that LGTM, thanks!
5dbdbd2 to
fe36f59
Compare
safern
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @eiriktsarpalis -- LGTM
Contributes to #2339