You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/System.Windows.Forms/src/GlobalSuppressions.cs
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -260,3 +260,10 @@
260
260
[assembly:SuppressMessage("Design","CA1051:Do not declare visible instance fields",Justification="Public API",Scope="member",Target="~F:System.Windows.Forms.BindingManagerBase.onPositionChangedHandler")]
261
261
[assembly:SuppressMessage("Design","CA1051:Do not declare visible instance fields",Justification="Public API",Scope="member",Target="~F:System.Windows.Forms.CurrencyManager.listposition")]
262
262
[assembly:SuppressMessage("Design","CA1051:Do not declare visible instance fields",Justification="Public API",Scope="member",Target="~F:System.Windows.Forms.CurrencyManager.finalType")]
263
+
[assembly:SuppressMessage("ApiDesign","RS0026:Do not add multiple public overloads with optional parameters",Justification="Analyzer wrongly complains for new APIs - known issue.",Scope="member",Target="~M:System.Windows.Forms.Control.InvokeAsync``1(System.Func{``0},System.Threading.CancellationToken)~System.Threading.Tasks.Task{``0}")]
264
+
[assembly:SuppressMessage("ApiDesign","RS0026:Do not add multiple public overloads with optional parameters",Justification="Analyzer wrongly complains for new APIs - known issue.",Scope="member",Target="~M:System.Windows.Forms.Control.InvokeAsync(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.ValueTask},System.Threading.CancellationToken)~System.Threading.Tasks.Task")]
265
+
[assembly:SuppressMessage("ApiDesign","RS0026:Do not add multiple public overloads with optional parameters",Justification="Analyzer wrongly complains for new APIs - known issue.",Scope="member",Target="~M:System.Windows.Forms.Control.InvokeAsync``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.ValueTask{``0}},System.Threading.CancellationToken)~System.Threading.Tasks.Task{``0}")]
266
+
[assembly:SuppressMessage("ApiDesign","RS0026:Do not add multiple public overloads with optional parameters",Justification="Analyzer wrongly complains for new APIs - known issue.",Scope="member",Target="~M:System.Windows.Forms.Control.InvokeAsync(System.Action,System.Threading.CancellationToken)~System.Threading.Tasks.Task")]
267
+
[assembly:SuppressMessage("ApiDesign","RS0026:Do not add multiple public overloads with optional parameters",Justification="Analyzer wrongly complains for new APIs - known issue.",Scope="member",Target="~M:System.Windows.Forms.TaskDialog.ShowDialogAsync(System.Windows.Forms.TaskDialogPage,System.Windows.Forms.TaskDialogStartupLocation)~System.Threading.Tasks.Task{System.Windows.Forms.TaskDialogButton}")]
268
+
[assembly:SuppressMessage("ApiDesign","RS0026:Do not add multiple public overloads with optional parameters",Justification="Analyzer wrongly complains for new APIs - known issue.",Scope="member",Target="~M:System.Windows.Forms.TaskDialog.ShowDialogAsync(System.Windows.Forms.IWin32Window,System.Windows.Forms.TaskDialogPage,System.Windows.Forms.TaskDialogStartupLocation)~System.Threading.Tasks.Task{System.Windows.Forms.TaskDialogButton}")]
269
+
[assembly:SuppressMessage("ApiDesign","RS0026:Do not add multiple public overloads with optional parameters",Justification="Analyzer wrongly complains for new APIs - known issue.",Scope="member",Target="~M:System.Windows.Forms.TaskDialog.ShowDialogAsync(System.IntPtr,System.Windows.Forms.TaskDialogPage,System.Windows.Forms.TaskDialogStartupLocation)~System.Threading.Tasks.Task{System.Windows.Forms.TaskDialogButton}")]
0 commit comments