diff --git a/src/System.Windows.Forms/src/AssemblyRef.cs b/src/System.Windows.Forms/src/AssemblyRef.cs index c8145630937..a38cfe0a0df 100644 --- a/src/System.Windows.Forms/src/AssemblyRef.cs +++ b/src/System.Windows.Forms/src/AssemblyRef.cs @@ -1,7 +1,9 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + internal static class FXAssembly { internal const string Version = "4.0.0.0"; diff --git a/src/System.Windows.Forms/src/SRCategoryAttribute.cs b/src/System.Windows.Forms/src/SRCategoryAttribute.cs index 629b41efa8a..89f3da54ee0 100644 --- a/src/System.Windows.Forms/src/SRCategoryAttribute.cs +++ b/src/System.Windows.Forms/src/SRCategoryAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/SRDescriptionAttribute.cs b/src/System.Windows.Forms/src/SRDescriptionAttribute.cs index c407ae866cc..470c328232d 100644 --- a/src/System.Windows.Forms/src/SRDescriptionAttribute.cs +++ b/src/System.Windows.Forms/src/SRDescriptionAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Drawing/Design/IPropertyValueUIService.cs b/src/System.Windows.Forms/src/System/Drawing/Design/IPropertyValueUIService.cs index 8b249309321..490bc1fa07a 100644 --- a/src/System.Windows.Forms/src/System/Drawing/Design/IPropertyValueUIService.cs +++ b/src/System.Windows.Forms/src/System/Drawing/Design/IPropertyValueUIService.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Drawing.Design diff --git a/src/System.Windows.Forms/src/System/Drawing/Design/PaintValueEventArgs.cs b/src/System.Windows.Forms/src/System/Drawing/Design/PaintValueEventArgs.cs index 172ef106279..48afd326065 100644 --- a/src/System.Windows.Forms/src/System/Drawing/Design/PaintValueEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Drawing/Design/PaintValueEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Drawing.Design diff --git a/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIHandler.cs b/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIHandler.cs index 709442c82c4..2bded69fa2f 100644 --- a/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIHandler.cs +++ b/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIItem.cs b/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIItem.cs index 422d802da7f..50394be613a 100644 --- a/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIItem.cs +++ b/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIItem.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Drawing.Design { /// diff --git a/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIItemInvokeHandler.cs b/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIItemInvokeHandler.cs index fb953bba6f6..ca2a2444a28 100644 --- a/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIItemInvokeHandler.cs +++ b/src/System.Windows.Forms/src/System/Drawing/Design/PropertyValueUIItemInvokeHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Drawing.Design diff --git a/src/System.Windows.Forms/src/System/Drawing/Design/UITypeEditor.cs b/src/System.Windows.Forms/src/System/Drawing/Design/UITypeEditor.cs index 008032c43a3..d1781baa750 100644 --- a/src/System.Windows.Forms/src/System/Drawing/Design/UITypeEditor.cs +++ b/src/System.Windows.Forms/src/System/Drawing/Design/UITypeEditor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.ObjectModel; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Drawing/Design/UITypeEditorEditStyle.cs b/src/System.Windows.Forms/src/System/Drawing/Design/UITypeEditorEditStyle.cs index c2346bbcf06..250b23944b9 100644 --- a/src/System.Windows.Forms/src/System/Drawing/Design/UITypeEditorEditStyle.cs +++ b/src/System.Windows.Forms/src/System/Drawing/Design/UITypeEditorEditStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Drawing.Design { /// diff --git a/src/System.Windows.Forms/src/System/Resources/IAliasResolver.cs b/src/System.Windows.Forms/src/System/Resources/IAliasResolver.cs index ea4ee53b933..3a19f6a6a8d 100644 --- a/src/System.Windows.Forms/src/System/Resources/IAliasResolver.cs +++ b/src/System.Windows.Forms/src/System/Resources/IAliasResolver.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Reflection; namespace System.Resources diff --git a/src/System.Windows.Forms/src/System/Resources/ResXDataNode.cs b/src/System.Windows.Forms/src/System/Resources/ResXDataNode.cs index e1b4d56877e..7a0e00a2b80 100644 --- a/src/System.Windows.Forms/src/System/Resources/ResXDataNode.cs +++ b/src/System.Windows.Forms/src/System/Resources/ResXDataNode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Resources/ResXFileRef.cs b/src/System.Windows.Forms/src/System/Resources/ResXFileRef.cs index b8431d15f2f..17e346339e5 100644 --- a/src/System.Windows.Forms/src/System/Resources/ResXFileRef.cs +++ b/src/System.Windows.Forms/src/System/Resources/ResXFileRef.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Resources/ResXNullRef.cs b/src/System.Windows.Forms/src/System/Resources/ResXNullRef.cs index d235656a65b..50cb8cf6fab 100644 --- a/src/System.Windows.Forms/src/System/Resources/ResXNullRef.cs +++ b/src/System.Windows.Forms/src/System/Resources/ResXNullRef.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Resources { /// diff --git a/src/System.Windows.Forms/src/System/Resources/ResXResourceReader.cs b/src/System.Windows.Forms/src/System/Resources/ResXResourceReader.cs index 89242391c91..1629393e0bb 100644 --- a/src/System.Windows.Forms/src/System/Resources/ResXResourceReader.cs +++ b/src/System.Windows.Forms/src/System/Resources/ResXResourceReader.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel.Design; @@ -715,4 +717,3 @@ public void PushAlias(string alias, AssemblyName name) } } } - diff --git a/src/System.Windows.Forms/src/System/Resources/ResXResourceSet.cs b/src/System.Windows.Forms/src/System/Resources/ResXResourceSet.cs index 01425990cf0..70318a3a93f 100644 --- a/src/System.Windows.Forms/src/System/Resources/ResXResourceSet.cs +++ b/src/System.Windows.Forms/src/System/Resources/ResXResourceSet.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.IO; namespace System.Resources diff --git a/src/System.Windows.Forms/src/System/Resources/ResXResourceWriter.cs b/src/System.Windows.Forms/src/System/Resources/ResXResourceWriter.cs index 6551f30d353..c64ff646bca 100644 --- a/src/System.Windows.Forms/src/System/Resources/ResXResourceWriter.cs +++ b/src/System.Windows.Forms/src/System/Resources/ResXResourceWriter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Diagnostics; using System.IO; @@ -649,5 +651,3 @@ public void Generate() } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleEvents.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleEvents.cs index a4ca6a2c398..52825bf4efa 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleEvents.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleEvents.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleNavigation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleNavigation.cs index 4ee369d198d..721915a8572 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleNavigation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleNavigation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs index 48c6869fcfe..0c4ffb739d4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleRoles.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleRoles.cs index 5e2c7467091..ec824122606 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleRoles.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleRoles.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleSelection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleSelection.cs index 6ae8d050b6e..0ac55504e36 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleSelection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleSelection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleStates.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleStates.cs index 361d7e2d1f5..0fb67c45e77 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleStates.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AccessibleStates.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AmbientProperties.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AmbientProperties.cs index 15f01f64ff9..26ad747f104 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AmbientProperties.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AmbientProperties.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AnchorStyles.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AnchorStyles.cs index 5d69afbd58b..3d13f11ee74 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AnchorStyles.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AnchorStyles.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Appearance.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Appearance.cs index ac66fd7776c..3214b2611f8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Appearance.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Appearance.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ComponentManager.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ComponentManager.cs index 711025eedf5..6b901172858 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ComponentManager.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ComponentManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.MarshallingControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.MarshallingControl.cs index dfa787680c2..3bdf2595d09 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.MarshallingControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.MarshallingControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ModalApplicationContext.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ModalApplicationContext.cs index 4e4462fa2c0..17b4f11f81b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ModalApplicationContext.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ModalApplicationContext.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ParkingWindow.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ParkingWindow.cs index 7d7ead17ec2..f24d0d57564 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ParkingWindow.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ParkingWindow.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadContext.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadContext.cs index 14f8fc1eb90..12964f5c34a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadContext.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadContext.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadWindows.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadWindows.cs index b1c74fbe8ba..c11d46009dd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadWindows.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.ThreadWindows.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs index eff6df1be7d..ba57eac3db6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Application.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ApplicationContext.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ApplicationContext.cs index 2991c7e11c0..3f5f4ab13ba 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ApplicationContext.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ApplicationContext.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms @@ -134,4 +136,3 @@ private void OnMainFormDestroy(object sender, EventArgs e) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeDirection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeDirection.cs index 5e97aff7754..b6e0e0a103f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeDirection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeDirection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeStartingPosition.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeStartingPosition.cs index ea9d793ada2..85cc2b6e8b8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeStartingPosition.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangeStartingPosition.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangedElement.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangedElement.cs index c95d7355ee6..ff58b0c8d04 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ArrangedElement.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ArrangedElement.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.Layout; using System.Collections.Specialized; @@ -201,5 +203,3 @@ protected virtual void SetBoundsCore(Rectangle bounds, BoundsSpecified specified } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ArrowDirection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ArrowDirection.cs index 71127663b2c..e88dc27986c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ArrowDirection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ArrowDirection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AssemblyAttributes.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AssemblyAttributes.cs index 105c9ccf8d9..6f1ac8b5890 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AssemblyAttributes.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AssemblyAttributes.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + // Always hard bind to System.dll and System.Drawing.dll using System.Runtime.CompilerServices; @@ -16,4 +18,3 @@ // Opts into the VS loading icons from the Icon Satellite assembly: System.Windows.Forms.VisualStudio..0.dll [assembly: System.Drawing.BitmapSuffixInSatelliteAssembly()] - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteMode.cs index 430e5656b46..902b0ac9708 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteSource.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteSource.cs index ba8a3f5171e..4c9422f6c75 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteSource.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteSource.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteStringCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteStringCollection.cs index b78434c48f2..dbc5aa63a39 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteStringCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoCompleteStringCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoScaleMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoScaleMode.cs index 8fccc12a6bb..fa9e3d5cf9e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoScaleMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoScaleMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoSizeMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoSizeMode.cs index 10dd2e90218..eec425c9eec 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoSizeMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoSizeMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AutoValidate.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AutoValidate.cs index 0ab84a68673..41614ab47e1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AutoValidate.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AutoValidate.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Automation/IAutomationLiveRegion.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Automation/IAutomationLiveRegion.cs index 917e30eafbc..78de6a50f7c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Automation/IAutomationLiveRegion.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Automation/IAutomationLiveRegion.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Automation { public interface IAutomationLiveRegion diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ActiveXInvokeKind.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ActiveXInvokeKind.cs index ddeccd5098d..29e51689a79 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ActiveXInvokeKind.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ActiveXInvokeKind.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Globalization; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxComponentEditor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxComponentEditor.cs index 01f59812283..2edd449db5a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxComponentEditor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxComponentEditor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxContainer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxContainer.cs index efef475dc6b..37742401b2d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxContainer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxContainer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxPerPropertyBrowsingEnum.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxPerPropertyBrowsingEnum.cs index 9dbdfaaa157..f734ea7f036 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxPerPropertyBrowsingEnum.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxPerPropertyBrowsingEnum.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Globalization; using System.Windows.Forms.ComponentModel.Com2Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxPropertyDescriptor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxPropertyDescriptor.cs index 21ed9a46a33..ade315930b2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxPropertyDescriptor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.AxPropertyDescriptor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ClsidAttribute.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ClsidAttribute.cs index d3760016a63..0645cdbe80d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ClsidAttribute.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ClsidAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public abstract partial class AxHost diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ConnectionPointCookie.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ConnectionPointCookie.cs index d48859f7f59..466c4d22012 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ConnectionPointCookie.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.ConnectionPointCookie.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.EnumUnknown.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.EnumUnknown.cs index 52d1068b708..2086cd64702 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.EnumUnknown.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.EnumUnknown.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.InvalidActiveXStateException.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.InvalidActiveXStateException.cs index 7bb23b68e30..70b710fe8c8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.InvalidActiveXStateException.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.InvalidActiveXStateException.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public abstract partial class AxHost diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.OleInterfaces.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.OleInterfaces.cs index d063410e853..ca2ef3b5625 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.OleInterfaces.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.OleInterfaces.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.PropertyBagStream.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.PropertyBagStream.cs index a1f32f459f5..65234050c52 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.PropertyBagStream.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.PropertyBagStream.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Diagnostics; using System.IO; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.State.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.State.cs index ae91d3b227b..e9cf5c70a25 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.State.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.State.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.StateConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.StateConverter.cs index dd15ac03cec..1e8a5a72d5a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.StateConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.StateConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; using System.IO; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.TypeLibraryTimeStampAttribute.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.TypeLibraryTimeStampAttribute.cs index 492435aa213..bff3cefe79d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.TypeLibraryTimeStampAttribute.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.TypeLibraryTimeStampAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Globalization; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.VBFormat.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.VBFormat.cs index 201063886d4..653c0a8ebdf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.VBFormat.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.VBFormat.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs index 46f20bd325f..38d5dade718 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/AxHost.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BaseCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BaseCollection.cs index aaf1ba97632..1214532e8e5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BaseCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BaseCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BatteryChargeStatus.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BatteryChargeStatus.cs index af8f38355c3..2b2160be69e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BatteryChargeStatus.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BatteryChargeStatus.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Binding.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Binding.cs index dd9e8676786..f50040939c3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Binding.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Binding.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteContext.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteContext.cs index 4dade449373..db471b2f627 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteContext.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteContext.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteEventArgs.cs index 788a547db3c..1325d0172e6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteEventHandler.cs index bd29b64c014..fc616934f8a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteState.cs index e0585edf52b..30b11caf256 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingCompleteState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingContext.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingContext.cs index cad0a5ae941..34e098f3fcf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingContext.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingContext.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerBase.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerBase.cs index f06ea9c4e38..df0f784033c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerBase.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerBase.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Reflection; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerDataErrorEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerDataErrorEventArgs.cs index ecfd98f51d6..d4bf360c415 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerDataErrorEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerDataErrorEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class BindingManagerDataErrorEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerDataErrorEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerDataErrorEventHandler.cs index 044615aeda5..fea439f7383 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerDataErrorEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingManagerDataErrorEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void BindingManagerDataErrorEventHandler(object sender, BindingManagerDataErrorEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingMemberInfo.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingMemberInfo.cs index da24ebc80da..4ca51869647 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingMemberInfo.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingMemberInfo.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public struct BindingMemberInfo diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingNavigator.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingNavigator.cs index 8e5fa9e94d9..27af6a7b8f5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingNavigator.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingNavigator.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingSource.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingSource.cs index b03f30f840b..131cc8393a1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingSource.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingSource.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BindingsCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BindingsCollection.cs index 5fcd7bead30..0a16586c5b5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BindingsCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BindingsCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Collections; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BootMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BootMode.cs index 0137220889b..80c6e507b62 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BootMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BootMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Border3DSide.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Border3DSide.cs index 48361fc0fcf..471555b28aa 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Border3DSide.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Border3DSide.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Border3DStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Border3DStyle.cs index dd735011666..7fb3c89fad2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Border3DStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Border3DStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BorderStyle.cs index a327bbde54b..75ac9a5012a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/BoundsSpecified.cs b/src/System.Windows.Forms/src/System/Windows/Forms/BoundsSpecified.cs index af5e589fbf3..043363ebc69 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/BoundsSpecified.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/BoundsSpecified.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Button.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Button.cs index 3921e6f68b0..f55fc87c36a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Button.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Button.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; @@ -390,5 +392,3 @@ protected override void WndProc(ref Message m) } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonBase.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonBase.cs index 6fc627c2f70..93208db7a33 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonBase.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonBase.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; @@ -1406,4 +1408,3 @@ public override AccessibleStates State } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonBorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonBorderStyle.cs index 3e4b8b8a69c..3a2a0090c23 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonBorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonBorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonBaseAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonBaseAdapter.cs index 0b3a2ab13f8..d54f9419d34 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonBaseAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonBaseAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonFlatAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonFlatAdapter.cs index 99884ac60dc..272bbb33829 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonFlatAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonFlatAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonPopupAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonPopupAdapter.cs index de6cbee71b1..49a6af770f4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonPopupAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonPopupAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonStandardAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonStandardAdapter.cs index 33077c3bbc6..a6d6c94a182 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonStandardAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonStandardAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxBaseAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxBaseAdapter.cs index a1bfc32f63d..c0de752177d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxBaseAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxBaseAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxFlatAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxFlatAdapter.cs index 0199acdc552..471547502ba 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxFlatAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxFlatAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms.ButtonInternal diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxPopupAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxPopupAdapter.cs index f7ee6d03226..1f4f97b7f03 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxPopupAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxPopupAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxStandardAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxStandardAdapter.cs index b852273b810..8b773faefc8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxStandardAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckBoxStandardAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.Layout; @@ -147,5 +149,3 @@ protected override LayoutOptions Layout(PaintEventArgs e) #endregion } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckableControlBaseAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckableControlBaseAdapter.cs index bb7173ba77f..464442a7aa8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckableControlBaseAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/CheckableControlBaseAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonBaseAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonBaseAdapter.cs index fe5671e716d..e9766300c18 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonBaseAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonBaseAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Windows.Forms.Internal; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonFlatAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonFlatAdapter.cs index a7da3f36909..45d0ac54c5e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonFlatAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonFlatAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms.ButtonInternal diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonPopupAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonPopupAdapter.cs index 0d04fd70afa..7b1e90e016d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonPopupAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonPopupAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms.ButtonInternal diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonStandardAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonStandardAdapter.cs index 11ca456e8e6..034ce3d7fe2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonStandardAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/RadioButtonStandardAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms.ButtonInternal diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonRenderer.cs index afc617eaff3..21f33094a1f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonState.cs index d56894b7e21..6d450a260dc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ButtonState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ButtonState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CacheVirtualItemsEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CacheVirtualItemsEventArgs.cs index 060f4599e8e..1763e4d3e41 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CacheVirtualItemsEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CacheVirtualItemsEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class CacheVirtualItemsEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CacheVirtualItemsEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CacheVirtualItemsEventHandler.cs index fc3660faa1e..47c03027f2c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CacheVirtualItemsEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CacheVirtualItemsEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CaptionButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CaptionButton.cs index 893de49014e..638292b6495 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CaptionButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CaptionButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CharacterCasing.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CharacterCasing.cs index 6de66e084a8..f83233928e5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CharacterCasing.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CharacterCasing.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CheckBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CheckBox.cs index 4881ba9cf3c..349d6a58ab9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CheckBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CheckBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Globalization; @@ -750,4 +752,3 @@ public override void DoDefaultAction() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CheckBoxRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CheckBoxRenderer.cs index 7d787a0814a..e2106602293 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CheckBoxRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CheckBoxRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CheckState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CheckState.cs index 27e7f00468e..e103060fcd3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CheckState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CheckState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CheckedListBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CheckedListBox.cs index ae282a1c3e9..1a000dd491a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CheckedListBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CheckedListBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Clipboard.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Clipboard.cs index 9bedb489e36..72060f2beaa 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Clipboard.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Clipboard.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CloseReason.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CloseReason.cs index 2d265125533..e98b79ad122 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CloseReason.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CloseReason.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColorDepth.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColorDepth.cs index 7b7d6402daa..7551fe6a893 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColorDepth.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColorDepth.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ColorDepth diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColorDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColorDialog.cs index ca1628c699f..f7a7da61b29 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColorDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColorDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnClickEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnClickEventArgs.cs index af76f1c2d6a..92bcb0f043e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnClickEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnClickEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnClickEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnClickEventHandler.cs index 5c9bf9ce428..59e079d1be3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnClickEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnClickEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeader.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeader.cs index 718318c0445..7497252b552 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeader.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeader.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderAutoResizeStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderAutoResizeStyle.cs index 8a585658976..84e49630b40 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderAutoResizeStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderAutoResizeStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderConverter.cs index bf1f2343c6c..88d659ce0f4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; @@ -83,4 +85,3 @@ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cul } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderStyle.cs index 23a265ac399..917b839d778 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnHeaderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnReorderedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnReorderedEventArgs.cs index addd0cfa768..4947babe086 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnReorderedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnReorderedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnReorderedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnReorderedEventHandler.cs index 7318647a2a5..79121584667 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnReorderedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnReorderedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ColumnReorderedEventHandler(object sender, ColumnReorderedEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnStyle.cs index d8e313f750d..63948c9d2bc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class ColumnStyle : TableLayoutStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangedEventArgs.cs index 78b9799f8e1..4b704572e46 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class ColumnWidthChangedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangedEventHandler.cs index 22fef2de791..6852e59649c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ColumnWidthChangedEventHandler(object sender, ColumnWidthChangedEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangingEventArgs.cs index c376433c7d1..ecfaf5fe7d0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangingEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangingEventHandler.cs index 7aa1ec364ae..160384a1a0b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangingEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ColumnWidthChangingEventHandler.cs @@ -2,8 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ColumnWidthChangingEventHandler(object sender, ColumnWidthChangingEventArgs e); } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComboBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComboBox.cs index ae823783246..0c9ac12e002 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComboBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComboBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComboBoxRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComboBoxRenderer.cs index 2fe5bb11899..c4501ab05e4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComboBoxRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComboBoxRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComboBoxStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComboBoxStyle.cs index 4bf311f72fa..9ec70a0f7ab 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComboBoxStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComboBoxStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Command.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Command.cs index debb7ad1f1d..4746bd4c274 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Command.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Command.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CommonDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CommonDialog.cs index 1b97fdc63c6..e5bfd9cbe33 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CommonDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CommonDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/BaseCAMarshaler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/BaseCAMarshaler.cs index b381444b103..716a1a10967 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/BaseCAMarshaler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/BaseCAMarshaler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2AboutBoxPropertyDescriptor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2AboutBoxPropertyDescriptor.cs index ebbfe41ba61..3828666338c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2AboutBoxPropertyDescriptor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2AboutBoxPropertyDescriptor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ColorConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ColorConverter.cs index adc062f21d9..b6a46ba4e72 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ColorConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ColorConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; @@ -70,4 +72,3 @@ public override object ConvertManagedToNative(object managedValue, Com2PropertyD } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ComponentEditor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ComponentEditor.cs index bc825cfa514..62b6426cc24 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ComponentEditor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ComponentEditor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Runtime.InteropServices; using System.Windows.Forms.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2DataTypeToManagedDataTypeConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2DataTypeToManagedDataTypeConverter.cs index f6505333d98..d2e1f752125 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2DataTypeToManagedDataTypeConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2DataTypeToManagedDataTypeConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.ComponentModel.Com2Interop { /// @@ -36,4 +38,3 @@ public virtual bool AllowExpand public abstract object ConvertManagedToNative(object managedValue, Com2PropertyDescriptor pd, ref bool cancelSet); } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2Enum.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2Enum.cs index 057404b48c0..c1349f56554 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2Enum.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2Enum.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Globalization; namespace System.Windows.Forms.ComponentModel.Com2Interop diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2EnumConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2EnumConverter.cs index e451971db46..b6e30da3131 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2EnumConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2EnumConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedBrowsingHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedBrowsingHandler.cs index bedf787f945..4354063ec36 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedBrowsingHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedBrowsingHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.ComponentModel.Com2Interop { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedTypeConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedTypeConverter.cs index 2069538c2bc..fc3f3663755 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedTypeConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedTypeConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; using System.Collections; @@ -223,4 +225,3 @@ public override bool IsValid(ITypeDescriptorContext context, object value) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedUITypeEditor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedUITypeEditor.cs index af3a1521b15..4b7b6680eae 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedUITypeEditor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ExtendedUITypeEditor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Drawing.Design @@ -89,4 +91,3 @@ public override void PaintValue(PaintValueEventArgs e) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2FontConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2FontConverter.cs index c6f8b028c9e..5d457d4958e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2FontConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2FontConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ICategorizePropertiesHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ICategorizePropertiesHandler.cs index d1559e40720..e6b1382ef03 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ICategorizePropertiesHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ICategorizePropertiesHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IDispatchConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IDispatchConverter.cs index 70fe57c9c37..b0d65dbd481 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IDispatchConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IDispatchConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IManagedPerPropertyBrowsingHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IManagedPerPropertyBrowsingHandler.cs index e64b43531b0..4a4759ab698 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IManagedPerPropertyBrowsingHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IManagedPerPropertyBrowsingHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Diagnostics; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IPerPropertyBrowsingHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IPerPropertyBrowsingHandler.cs index 5f1ac6bc781..e575edcdb78 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IPerPropertyBrowsingHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IPerPropertyBrowsingHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IProvidePropertyBuilderHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IProvidePropertyBuilderHandler.cs index d0237d2438c..4fbacc4679c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IProvidePropertyBuilderHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IProvidePropertyBuilderHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IVsPerPropertyBrowsingHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IVsPerPropertyBrowsingHandler.cs index 064c745ad52..40df89f267a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IVsPerPropertyBrowsingHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2IVsPerPropertyBrowsingHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PictureConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PictureConverter.cs index a188fadf94b..e1d81f3fab4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PictureConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PictureConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2Properties.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2Properties.cs index ddfd7472dc0..df0377f0310 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2Properties.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2Properties.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyBuilderUITypeEditor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyBuilderUITypeEditor.cs index dbf6e999c74..2f1e12884a8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyBuilderUITypeEditor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyBuilderUITypeEditor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptor.cs index 0a08844f06c..49c0d1beae2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptorRefresh.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptorRefresh.cs index 8149f04aea6..0199e19057f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptorRefresh.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptorRefresh.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.ComponentModel.Com2Interop { internal class Com2PropertyDescriptorRefresh diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyPageUITypeConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyPageUITypeConverter.cs index 7f9725ed62f..eec0d21f856 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyPageUITypeConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyPageUITypeConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing.Design; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ShouldRefreshTypes.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ShouldRefreshTypes.cs index 1d8e10b4b7c..b38e35d2a8f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ShouldRefreshTypes.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2ShouldRefreshTypes.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.ComponentModel.Com2Interop { internal enum Com2ShouldRefreshTypes diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2TypeInfoProcessor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2TypeInfoProcessor.cs index 7ef8e58bf10..c22d1fca8b8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2TypeInfoProcessor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2TypeInfoProcessor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ComNativeDescriptor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ComNativeDescriptor.cs index 5a09ab4a0ad..aecc8c5a658 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ComNativeDescriptor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ComNativeDescriptor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ICOM2PropertyPageDisplayService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ICOM2PropertyPageDisplayService.cs index 101f9e21965..bebbd57891c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ICOM2PropertyPageDisplayService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/ICOM2PropertyPageDisplayService.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.ComponentModel.Com2Interop { public interface ICom2PropertyPageDisplayService diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs index e61ff12c2a1..49753cdcc01 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/IComPropertyBrowser.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel.Design; using Microsoft.Win32; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/Int32CAMarshaler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/Int32CAMarshaler.cs index fc97ac019e7..6a8cbbfdf5b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/Int32CAMarshaler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/Int32CAMarshaler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms.ComponentModel.Com2Interop diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/OleStrCAMarshaler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/OleStrCAMarshaler.cs index c7a4e97b6d3..caa0dc6fc14 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/OleStrCAMarshaler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/OleStrCAMarshaler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ContainerControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ContainerControl.cs index dd0dd42bc5b..f0f617e1ea0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ContainerControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ContainerControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ContentsResizedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ContentsResizedEventArgs.cs index 74d198ba98b..f9ca7e0f943 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ContentsResizedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ContentsResizedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ContentsResizedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ContentsResizedEventHandler.cs index 1d01bbf457b..72aa3f5d119 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ContentsResizedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ContentsResizedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ContextMenuStrip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ContextMenuStrip.cs index 29f28d5f4c9..cabd3469a90 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ContextMenuStrip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ContextMenuStrip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXFontMarshaler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXFontMarshaler.cs index ed3fb8b3fcb..3bd6a5c28aa 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXFontMarshaler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXFontMarshaler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXImpl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXImpl.cs index 04dd85ab255..2d3debc6814 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXImpl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXImpl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXVerbEnum.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXVerbEnum.cs index 8646b3c411b..f3665d4277f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXVerbEnum.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXVerbEnum.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.AmbientProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.AmbientProperty.cs index 109496ca416..6b50516af11 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.AmbientProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.AmbientProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.AxSourcingSite.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.AxSourcingSite.cs index df0f56f6b79..ca19341f3b9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.AxSourcingSite.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.AxSourcingSite.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlAccessibleObject.cs index 405e9e8add3..b1bb5395939 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlCollection.cs index 075cf842faf..04fe9eac13c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlNativeWindow.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlNativeWindow.cs index ddfc78a72c5..41f17323929 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlNativeWindow.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlNativeWindow.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlTabOrderHolder.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlTabOrderHolder.cs index baa6591c9ec..cde0a6d4ccc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlTabOrderHolder.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlTabOrderHolder.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlVersionInfo.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlVersionInfo.cs index 1ee0378f059..fbc28e17d31 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlVersionInfo.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ControlVersionInfo.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Reflection; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ExtendedStates.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ExtendedStates.cs index 74c4f87663a..acceb29bd9d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ExtendedStates.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ExtendedStates.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class Control diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.FontHandleWrapper.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.FontHandleWrapper.cs index b14fa5e72b5..9c4fd7f44ef 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.FontHandleWrapper.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.FontHandleWrapper.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.Ime.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.Ime.cs index ef617651960..61dc2736f02 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.Ime.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.Ime.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.MetafileDCWrapper.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.MetafileDCWrapper.cs index bff22f50f92..6dd4f8f0f4f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.MetafileDCWrapper.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.MetafileDCWrapper.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.MultithreadSafeCallScope.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.MultithreadSafeCallScope.cs index c78b8bc5e26..3194e6498e6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.MultithreadSafeCallScope.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.MultithreadSafeCallScope.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class Control diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.PrintPaintEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.PrintPaintEventArgs.cs index f61b73a950b..8ceb9d96a13 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.PrintPaintEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.PrintPaintEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.States.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.States.cs index b8666ec266c..b152a2ea3e2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.States.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.States.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class Control diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ThreadMethodEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ThreadMethodEntry.cs index 312005cf7c1..ea83e9c1c9f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.ThreadMethodEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.ThreadMethodEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Threading; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.UICuesStates.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.UICuesStates.cs index 9497bce836a..36d20301910 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.UICuesStates.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.UICuesStates.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class Control diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Control.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Control.cs index d18b9258f0d..07c9e25b10c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Control.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Control.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + // #define DEBUG_PREFERREDSIZE using System.Collections; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ControlBindingsCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ControlBindingsCollection.cs index 570e11349fe..11af3e8be46 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ControlBindingsCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ControlBindingsCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ControlEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ControlEventArgs.cs index e180f43f54a..b8d37f20aeb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ControlEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ControlEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ControlEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ControlEventHandler.cs index 0130350f8dc..9952aad5392 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ControlEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ControlEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ControlPaint.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ControlPaint.cs index e1889316d8b..02af98e4f86 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ControlPaint.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ControlPaint.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + #define GRAYSCALE_DISABLED using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ControlStyles.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ControlStyles.cs index 0ea70c16345..bdde79f7c07 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ControlStyles.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ControlStyles.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ControlUpdateMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ControlUpdateMode.cs index 0abc8777a8d..68a71ef740d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ControlUpdateMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ControlUpdateMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ConvertEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ConvertEventArgs.cs index ff2d751d4d0..d1db3d923bb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ConvertEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ConvertEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class ConvertEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ConvertEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ConvertEventHandler.cs index 99c4301a9b6..d2f074e6103 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ConvertEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ConvertEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ConvertEventHandler(object sender, ConvertEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CreateParams.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CreateParams.cs index c2667cd4c31..a585ae5203a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CreateParams.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CreateParams.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Text; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CurrencyManager.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CurrencyManager.cs index ee5e8e25c9f..f4c35d4cf9b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CurrencyManager.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CurrencyManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; @@ -1124,4 +1126,3 @@ internal void WireEvents(IList list) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Cursor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Cursor.cs index 66a297a0b24..8de21ec0c8d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Cursor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Cursor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/CursorConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/CursorConverter.cs index 235f5962b9d..bc1c5f313a0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/CursorConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/CursorConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design.Serialization; @@ -192,4 +194,3 @@ public override bool GetStandardValuesSupported(ITypeDescriptorContext context) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Cursors.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Cursors.cs index 2cab6e6752c..486661c0276 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Cursors.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Cursors.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataFormats.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataFormats.cs index d1dbe9ddb97..72595e24189 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataFormats.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataFormats.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Text; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.AccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.AccessibleObject.cs index c41fa235f7a..add949559f1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.AccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.AccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.ControlCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.ControlCollection.cs index 870b5faad3e..2136da8f5e5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.ControlCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.ControlCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.DataConnection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.DataConnection.cs index 017dbe741a2..882862020d3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.DataConnection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.DataConnection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Collections; using System.Collections.Specialized; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.HitTestInfo.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.HitTestInfo.cs index cf3671bc4f0..c695f4e36d7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.HitTestInfo.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.HitTestInfo.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Globalization; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.LayoutData.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.LayoutData.cs index 20cede82c09..6fcb5d35e91 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.LayoutData.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.LayoutData.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Text; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.Methods.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.Methods.cs index c05f72810aa..47c723246c6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.Methods.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.Methods.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.SelectedCellsAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.SelectedCellsAccessibleObject.cs index fe489686df4..107cc8d2627 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.SelectedCellsAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.SelectedCellsAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class DataGridView diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.ToolTip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.ToolTip.cs index 0e4ac50d062..f4b549d0ce4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.ToolTip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.ToolTip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class DataGridView diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.TopRowAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.TopRowAccessibleObject.cs index 7da0d308662..b8c6601e954 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.TopRowAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.TopRowAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.cs index f457f86f5a1..08181b1d081 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAdvancedBorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAdvancedBorderStyle.cs index d52e825fb03..6c05119c7ec 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAdvancedBorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAdvancedBorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAdvancedCellBorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAdvancedCellBorderStyle.cs index 826fe589c0a..a20f0fbe1fd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAdvancedCellBorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAdvancedCellBorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewAdvancedCellBorderStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnCriteriaInternal.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnCriteriaInternal.cs index 9831b96a0f6..35a15637d9b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnCriteriaInternal.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnCriteriaInternal.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnMode.cs index b714fb009ff..b2f6eb528fc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewAutoSizeColumnMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnModeEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnModeEventArgs.cs index 1c2fafb8fbf..239c9fedc07 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnModeEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnModeEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewAutoSizeColumnModeEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnsMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnsMode.cs index 859cb380750..76066110bb1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnsMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnsMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewAutoSizeColumnsMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnsModeEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnsModeEventArgs.cs index a8dd4edfeff..e9e46c98278 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnsModeEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeColumnsModeEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewAutoSizeColumnsModeEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeModeEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeModeEventArgs.cs index b1b7de8fbc4..1462a2a21ed 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeModeEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeModeEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewAutoSizeModeEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowCriteriaInternal.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowCriteriaInternal.cs index fa687729a0e..c643bd2eb40 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowCriteriaInternal.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowCriteriaInternal.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowMode.cs index 0f42d673753..222551dbcdf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewAutoSizeRowMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowsMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowsMode.cs index 8149b57f201..abf6a4b4eb1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowsMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowsMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewAutoSizeRowsMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowsModeInternal.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowsModeInternal.cs index 085eb519186..bf27d1ee141 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowsModeInternal.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewAutoSizeRowsModeInternal.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewBand.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewBand.cs index a471385eae5..0cf89b80979 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewBand.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewBand.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Text; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewBindingCompleteEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewBindingCompleteEventArgs.cs index e1043b1e9d0..61dd37f688e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewBindingCompleteEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewBindingCompleteEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonCell.cs index f1e62520796..625c42a2a83 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonColumn.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonColumn.cs index 06392d870c3..7acedc08b8f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonColumn.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonColumn.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Text; using System.ComponentModel; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCell.cs index 36ed062eb3e..894beb9dd71 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellBorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellBorderStyle.cs index 84f603b104c..a4e38ee99e0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellBorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellBorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewCellBorderStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCancelEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCancelEventArgs.cs index ddf5dc86ab6..bcbc7448172 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCancelEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCancelEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCollection.cs index 9006ae312b8..dcff62de68a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellContextMenuStripNeededEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellContextMenuStripNeededEventArgs.cs index 29ecbfa80af..38b64a02e1f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellContextMenuStripNeededEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellContextMenuStripNeededEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellContextMenuStripNeededEventArgs : DataGridViewCellEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellConverter.cs index d69ff4974c3..7d935ae2d08 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellErrorTextNeededEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellErrorTextNeededEventArgs.cs index 698f622b937..6589fefcdc2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellErrorTextNeededEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellErrorTextNeededEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellErrorTextNeededEventArgs : DataGridViewCellEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellEventArgs.cs index 53f03a53457..42c90d4f1c7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellFormattingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellFormattingEventArgs.cs index 289f98ab330..7b3c639c17e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellFormattingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellFormattingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellFormattingEventArgs : ConvertEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellLinkedList.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellLinkedList.cs index e6ed5336efa..a0b3c5a0fdc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellLinkedList.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellLinkedList.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Collections; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellMouseEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellMouseEventArgs.cs index 65456fc649f..acba839553c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellMouseEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellMouseEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellMouseEventArgs : MouseEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellPaintingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellPaintingEventArgs.cs index 02290a7a437..10b05963004 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellPaintingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellPaintingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellParsingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellParsingEventArgs.cs index a4c58db5c7b..767bc4c90ea 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellParsingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellParsingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellParsingEventArgs : ConvertEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStateChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStateChangedEventArgs.cs index 69e07d1e8f2..9e2af7fb6d8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStateChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStateChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellStateChangedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyle.cs index bdfa03e1e89..46377013b5f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleChangedEventArgs.cs index 19524ed270d..d67df1957a1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal class DataGridViewCellStyleChangedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleContentChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleContentChangedEventArgs.cs index 5401530e385..66fd8234e0b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleContentChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleContentChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellStyleContentChangedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleConverter.cs index f6fb11ae356..5bb65440998 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; @@ -48,4 +50,3 @@ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cul } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleDifferences.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleDifferences.cs index 2f52a592964..4d2106156d3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleDifferences.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleDifferences.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal enum DataGridViewCellStyleDifferences diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleScopes.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleScopes.cs index 1fcf7f9262f..465de9ff49e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleScopes.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellStyleScopes.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellToolTipTextNeededEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellToolTipTextNeededEventArgs.cs index 825f8c8e1c8..c1ad9df6dc4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellToolTipTextNeededEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellToolTipTextNeededEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewCellToolTipTextNeededEventArgs : DataGridViewCellEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellValidatingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellValidatingEventArgs.cs index 10d33444787..f32e748e661 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellValidatingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellValidatingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellValueEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellValueEventArgs.cs index c7122b3c24a..5dbd8839cfa 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellValueEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellValueEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxCell.cs index 75f5d8742c8..5abed813e1d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxColumn.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxColumn.cs index b29cd58b108..e85eff712a5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxColumn.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxColumn.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewClipboardCopyMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewClipboardCopyMode.cs index 0fc4aa72d71..a3019d4de4a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewClipboardCopyMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewClipboardCopyMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewClipboardCopyMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumn.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumn.cs index 7e56d760cfd..9afad3e0aab 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumn.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumn.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Text; using System.ComponentModel; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnCollection.cs index c08554a59ab..f62a98138ff 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnConverter.cs index a027f650fbc..1f884b2e8e1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; @@ -62,4 +64,3 @@ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cul } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnDesignTimeVisibleAttribute.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnDesignTimeVisibleAttribute.cs index 83df0006bc1..17f25efbc69 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnDesignTimeVisibleAttribute.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnDesignTimeVisibleAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [AttributeUsage(AttributeTargets.Class)] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnDividerDoubleClickEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnDividerDoubleClickEventArgs.cs index 96cbaeed5f1..473cc9b43a8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnDividerDoubleClickEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnDividerDoubleClickEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewColumnDividerDoubleClickEventArgs : HandledMouseEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnEventArgs.cs index 2814fe0c634..2d08db5709b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnHeaderCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnHeaderCell.cs index f6af4e14945..367a3c7ecb4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnHeaderCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnHeaderCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnHeadersHeightSizeMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnHeadersHeightSizeMode.cs index ec04aef635e..d3e66232493 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnHeadersHeightSizeMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnHeadersHeightSizeMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewColumnHeadersHeightSizeMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnSortMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnSortMode.cs index 986a9832ed7..dfbb725f3e3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnSortMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnSortMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewColumnSortMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnStateChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnStateChangedEventArgs.cs index 726bcb221ce..81970faa798 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnStateChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewColumnStateChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewColumnStateChangedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxCell.cs index a7e89fd89b2..5870298fd50 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxColumn.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxColumn.cs index 6a994768a68..caaa297ab12 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxColumn.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxColumn.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxDisplayStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxDisplayStyle.cs index 35987efde5a..d2d4e8e936c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxDisplayStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxDisplayStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewComboBoxDisplayStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxEditingControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxEditingControl.cs index 67f4a3bd104..17ba7c51409 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxEditingControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewComboBoxEditingControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Globalization; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewContentAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewContentAlignment.cs index abbb751ea99..168a098c403 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewContentAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewContentAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewContentAlignment diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewDataErrorContexts.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewDataErrorContexts.cs index bff9c892b7a..e1491df458e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewDataErrorContexts.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewDataErrorContexts.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewDataErrorEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewDataErrorEventArgs.cs index 03b300f667c..ab13dac2706 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewDataErrorEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewDataErrorEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewDataErrorEventArgs : DataGridViewCellCancelEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditMode.cs index f9996512980..b335a2f42f7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewEditMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingCell.cs index 6e2eab00e0e..395feb31c6a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public interface IDataGridViewEditingCell diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingControl.cs index b07f7bc758b..0cc29a18d83 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public interface IDataGridViewEditingControl diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingControlShowingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingControlShowingEventArgs.cs index 44099f33cfc..f8d09574ab5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingControlShowingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEditingControlShowingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewEditingControlShowingEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElement.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElement.cs index 7147ad6872d..7929d5f6d9e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElement.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElement.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElementStates.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElementStates.cs index 2fbc61de865..d3eaf710179 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElementStates.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElementStates.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEventHandlers.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEventHandlers.cs index e6a411122a3..2efcba28a9c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEventHandlers.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewEventHandlers.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void DataGridViewAutoSizeColumnModeEventHandler(object sender, DataGridViewAutoSizeColumnModeEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewFreeDimension.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewFreeDimension.cs index 4b0c6eaca7c..649e571db95 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewFreeDimension.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewFreeDimension.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal enum DataGridViewFreeDimension diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHeaderBorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHeaderBorderStyle.cs index d67acba51de..c0a0abf3a75 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHeaderBorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHeaderBorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewHeaderBorderStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHeaderCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHeaderCell.cs index 723822678dd..c7b802a52f4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHeaderCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHeaderCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestCloseEdge.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestCloseEdge.cs index 49167c5e1ff..2ca302f1839 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestCloseEdge.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestCloseEdge.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal enum DataGridViewHitTestTypeCloseEdge diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestType.cs index e629934399e..7e75eeb78b7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewHitTestType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageCell.cs index 0289a359ebb..880935ff950 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageCellLayout.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageCellLayout.cs index 2f2f0e1646a..356514143c1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageCellLayout.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageCellLayout.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewImageCellLayout diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageColumn.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageColumn.cs index 27a76ff987b..e8399f5fb69 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageColumn.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewImageColumn.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewIntLinkedList.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewIntLinkedList.cs index 6b17e3ebdd0..d2865fb5110 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewIntLinkedList.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewIntLinkedList.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewLinkCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewLinkCell.cs index 98a278a9b10..bcebd057604 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewLinkCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewLinkCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewLinkColumn.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewLinkColumn.cs index ca22de88f69..a09333a4a1f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewLinkColumn.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewLinkColumn.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewPaintParts.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewPaintParts.cs index de9a83dc8b5..d258ad7a395 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewPaintParts.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewPaintParts.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRow.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRow.cs index 8a22e996b48..4d6b2d7bfdc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRow.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRow.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowCancelEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowCancelEventArgs.cs index 153d0b014ce..a6a5efa63b3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowCancelEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowCancelEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowCollection.cs index cd603797952..dafa0e28011 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowContextMenuStripNeededEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowContextMenuStripNeededEventArgs.cs index 6d135b660de..c4a2e03501a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowContextMenuStripNeededEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowContextMenuStripNeededEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewRowContextMenuStripNeededEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowConverter.cs index 5e210bc546a..ca48341f653 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowDividerDoubleClickEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowDividerDoubleClickEventArgs.cs index f934eb43487..3ffc702f8de 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowDividerDoubleClickEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowDividerDoubleClickEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewRowDividerDoubleClickEventArgs : HandledMouseEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowErrorTextNeededEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowErrorTextNeededEventArgs.cs index d9522aa61a8..8a12e7699d8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowErrorTextNeededEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowErrorTextNeededEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowEventArgs.cs index 388af5d4e2a..13583fd6687 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewRowEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeaderCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeaderCell.cs index c65db02d3a9..a5ce360a537 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeaderCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeaderCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeadersWidthSizeMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeadersWidthSizeMode.cs index e6d0dfe9d03..75a18302c63 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeadersWidthSizeMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeadersWidthSizeMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewRowHeadersWidthSizeMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeightInfoNeededEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeightInfoNeededEventArgs.cs index 4059aba822d..40accd4cc17 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeightInfoNeededEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeightInfoNeededEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeightInfoPushedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeightInfoPushedEventArgs.cs index 2aac6f73ce3..4023d47b4ae 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeightInfoPushedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowHeightInfoPushedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowPostPaintEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowPostPaintEventArgs.cs index b25392a76d8..13310282fe8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowPostPaintEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowPostPaintEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowPrePaintEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowPrePaintEventArgs.cs index edb37b9a5cc..47a5b9798f8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowPrePaintEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowPrePaintEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowStateChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowStateChangedEventArgs.cs index 85256d0584b..0d6e6b6c3af 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowStateChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowStateChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewRowStateChangedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowsAddedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowsAddedEventArgs.cs index 9f5f42c4345..26a637289f4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowsAddedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowsAddedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class DataGridViewRowsAddedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowsRemovedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowsRemovedEventArgs.cs index a0f3c78d38a..36dd44a7a8a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowsRemovedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewRowsRemovedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Globalization; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedCellCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedCellCollection.cs index b69601512a5..c858b470009 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedCellCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedCellCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedColumnCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedColumnCollection.cs index 70ce1fc5507..9a5bf8a1bea 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedColumnCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedColumnCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedRowCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedRowCollection.cs index aca65d102a1..a9ba39feeea 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedRowCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectedRowCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectionMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectionMode.cs index a6560ed1fe6..2ccccc547eb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectionMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSelectionMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewSelectionMode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSortCompareEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSortCompareEventArgs.cs index d77e415443d..df8a54c3ce3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSortCompareEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewSortCompareEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxCell.cs index 8f2ccef66c3..7768f620262 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxColumn.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxColumn.cs index d5db843f760..af7a3116c8b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxColumn.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxColumn.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxEditingControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxEditingControl.cs index 2c796e3e838..a13b71467ad 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxEditingControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTextBoxEditingControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTopLeftHeaderCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTopLeftHeaderCell.cs index 5dbf5e7844a..44031ac92cf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTopLeftHeaderCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTopLeftHeaderCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTriState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTriState.cs index 1ba14f881c2..9d856a048e5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTriState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewTriState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum DataGridViewTriState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewUtilities.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewUtilities.cs index 3874e170192..c261a07a19f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewUtilities.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewUtilities.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataObject.cs index 00ba5cd6617..98bf1ee9522 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataSourceUpdateMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataSourceUpdateMode.cs index 23a6d8107e1..8edf2cd7859 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataSourceUpdateMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataSourceUpdateMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DataStreamFromComStream.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DataStreamFromComStream.cs index eed448ca68f..fb23bff03fd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DataStreamFromComStream.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DataStreamFromComStream.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.IO; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Datagridview.DisplayedBandsData.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Datagridview.DisplayedBandsData.cs index 54bea2d2c62..9f7b06f050a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Datagridview.DisplayedBandsData.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Datagridview.DisplayedBandsData.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class DataGridView diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DateBoldEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DateBoldEventArgs.cs index d4e2cd99ee8..992c9233a36 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DateBoldEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DateBoldEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DateBoldEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DateBoldEventHandler.cs index c7d3353bf11..b22b9c21882 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DateBoldEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DateBoldEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void DateBoldEventHandler(object sender, DateBoldEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DateRangeEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DateRangeEventArgs.cs index af7529c57a8..4d027888374 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DateRangeEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DateRangeEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DateRangeEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DateRangeEventHandler.cs index d0a53877f05..52c99cecdbe 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DateRangeEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DateRangeEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void DateRangeEventHandler(object sender, DateRangeEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DateTimePicker.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DateTimePicker.cs index 37416612034..746e55dd873 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DateTimePicker.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DateTimePicker.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; @@ -1874,4 +1876,3 @@ internal override void Toggle() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DateTimePickerFormats.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DateTimePickerFormats.cs index 4dbb93309dd..d3382130b1a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DateTimePickerFormats.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DateTimePickerFormats.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Day.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Day.cs index 6186dc4e9c1..096d45fa0ad 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Day.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Day.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/ComponentEditorForm.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/ComponentEditorForm.cs index 433b390eb0f..0d8cd3edf92 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/ComponentEditorForm.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/ComponentEditorForm.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/ComponentEditorPage.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/ComponentEditorPage.cs index 21a2941d04a..79783640952 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/ComponentEditorPage.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/ComponentEditorPage.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/EventsTab.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/EventsTab.cs index 0b7459413fc..fcba39b15a6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/EventsTab.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/EventsTab.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/IUIService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/IUIService.cs index 6bd91ba9be3..6ce05fdc962 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/IUIService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/IUIService.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/IWindowsFormsEditorService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/IWindowsFormsEditorService.cs index 9ea72598c20..65b079b601d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/IWindowsFormsEditorService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/IWindowsFormsEditorService.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Design { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/PropertyTab.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/PropertyTab.cs index da3093e36d4..cae6750246c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/PropertyTab.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/PropertyTab.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/ToolStripDesignerAvailability.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/ToolStripDesignerAvailability.cs index 1cb6809290c..f507d874d4b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/ToolStripDesignerAvailability.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/ToolStripDesignerAvailability.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Design { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/ToolStripItemDesignerAvailabilityAttribute.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/ToolStripItemDesignerAvailabilityAttribute.cs index 4d31777fccf..4bccf73ddc2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/ToolStripItemDesignerAvailabilityAttribute.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/ToolStripItemDesignerAvailabilityAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Design { [AttributeUsage(AttributeTargets.Class)] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Design/WindowsFormsComponentEditor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Design/WindowsFormsComponentEditor.cs index 1ea52cd1586..6d0be4644d6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Design/WindowsFormsComponentEditor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Design/WindowsFormsComponentEditor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms.Design diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DialogResult.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DialogResult.cs index 0a99ff0307f..c4ec336533d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DialogResult.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DialogResult.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DisplayInformation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DisplayInformation.cs index 854e022acc2..133247030a1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DisplayInformation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DisplayInformation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using Microsoft.Win32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DockStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DockStyle.cs index 68befc93e9a..da03ff6fe7a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DockStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DockStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DockingAttribute.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DockingAttribute.cs index 621ba3b9cdc..4d1496c262d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DockingAttribute.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DockingAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DockingBehavior.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DockingBehavior.cs index b4dd9591bb2..52239f90e83 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DockingBehavior.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DockingBehavior.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DomainUpDown.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DomainUpDown.cs index 530f664fd78..c8f7cb5e364 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DomainUpDown.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DomainUpDown.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DpiChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DpiChangedEventArgs.cs index 77d35c9ec61..8b1a5c44602 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DpiChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DpiChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DpiChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DpiChangedEventHandler.cs index 7ec93a44ae5..e5bbe63a5d6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DpiChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DpiChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DragAction.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DragAction.cs index 329959e299d..2f6b5469bde 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DragAction.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DragAction.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DragDropEffects.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DragDropEffects.cs index dc090fe15b2..559d97985c6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DragDropEffects.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DragDropEffects.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DragEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DragEventArgs.cs index a70a37b037c..cc0ccdd32c9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DragEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DragEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DragEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DragEventHandler.cs index e9a62e36dd5..91a760360af 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DragEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DragEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemEventArgs.cs index 6981153976a..a1c45773da3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemEventHandler.cs index 42a3c0fd524..ebb18e68076 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void DrawItemEventHandler(object sender, DrawItemEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemState.cs index a01263f6944..c0995be26a5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawItemState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewColumnHeaderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewColumnHeaderEventArgs.cs index f94c2a87850..809c6001a49 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewColumnHeaderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewColumnHeaderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewColumnHeaderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewColumnHeaderEventHandler.cs index 5d45a337c87..3a6fe3f516d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewColumnHeaderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewColumnHeaderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewItemEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewItemEventArgs.cs index 51303e5f6c4..d2afee69dd7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewItemEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewItemEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewItemEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewItemEventHandler.cs index 1f2b4075685..40b77af670e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewItemEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewItemEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewSubItemEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewSubItemEventArgs.cs index 6f2d9a5a0e1..f0a0a41ace6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewSubItemEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewSubItemEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewSubItemEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewSubItemEventHandler.cs index 1bffef7b210..8d730d6dd29 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewSubItemEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawListViewSubItemEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawMode.cs index 8b4a3630069..dc990eeb2e1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawToolTipEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawToolTipEventArgs.cs index 7d14bd55dbb..8fdb538e8b4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawToolTipEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawToolTipEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawToolTipEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawToolTipEventHandler.cs index e9c5772bd81..f1a8d585d09 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawToolTipEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawToolTipEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawTreeNodeEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawTreeNodeEventArgs.cs index fcf642149bb..2ca9305a812 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawTreeNodeEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawTreeNodeEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DrawTreeNodeEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DrawTreeNodeEventHandler.cs index cd73db48d76..3570af5874d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DrawTreeNodeEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DrawTreeNodeEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DropSource.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DropSource.cs index 8e9b9ab7263..6a9a59751f2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DropSource.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DropSource.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/DropTarget.cs b/src/System.Windows.Forms/src/System/Windows/Forms/DropTarget.cs index 59ce78c2a92..8234aefaae7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/DropTarget.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/DropTarget.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorBlinkStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorBlinkStyle.cs index a0f7f6390cd..89da66217ea 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorBlinkStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorBlinkStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorIconAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorIconAlignment.cs index a9984f24e7c..46205c49a90 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorIconAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorIconAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.ControlItemAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.ControlItemAccessibleObject.cs index 237e6785357..1f6a0108c99 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.ControlItemAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.ControlItemAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.ErrorWindowAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.ErrorWindowAccessibleObject.cs index 2d29efe00fb..b8b3c99fe3e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.ErrorWindowAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.ErrorWindowAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.cs index bc6cf1e303d..fa5a2e04732 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ErrorProvider.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FeatureSupport.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FeatureSupport.cs index 7bc906e2625..fe2f1f9096a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FeatureSupport.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FeatureSupport.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog.cs index af48924169d..76e25813744 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog_Vista.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog_Vista.cs index 4603e6aedca..b47be3b73ff 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog_Vista.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FileDialog_Vista.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FixedPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FixedPanel.cs index 8d5eb27668f..99b60f99edd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FixedPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FixedPanel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FlatButtonAppearance.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FlatButtonAppearance.cs index a400862257a..94a797dea60 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FlatButtonAppearance.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FlatButtonAppearance.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FlatStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FlatStyle.cs index e638898b234..b6008fe71f6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FlatStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FlatStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FlowDirection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FlowDirection.cs index d1250a7b645..289ef6f6649 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FlowDirection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FlowDirection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum FlowDirection diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FlowLayoutPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FlowLayoutPanel.cs index b6ab0f9bb80..a62b2b86529 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FlowLayoutPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FlowLayoutPanel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FlowLayoutSettings.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FlowLayoutSettings.cs index 589bc186af8..0ed6329c2f6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FlowLayoutSettings.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FlowLayoutSettings.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FolderBrowserDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FolderBrowserDialog.cs index fabb2ce1958..75cf3b2e0d4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FolderBrowserDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FolderBrowserDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Buffers; using System.ComponentModel; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FontDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FontDialog.cs index 1d73f8fa8c2..b2273798049 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FontDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FontDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Form.AccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Form.AccessibleObject.cs index d606645240a..ea1908f73c8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Form.AccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Form.AccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Form.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Form.cs index 82f3c1c7b73..839da3e23df 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Form.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Form.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; @@ -6851,4 +6853,3 @@ internal void SetOwners(HandleRef hRefOwner) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FormBorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FormBorderStyle.cs index 106a36fe13b..49e4ecefad6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FormBorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FormBorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FormClosedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FormClosedEventArgs.cs index de9a70e66d5..769c72ff007 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FormClosedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FormClosedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FormClosedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FormClosedEventHandler.cs index bd10506962e..d4e37f9d55e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FormClosedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FormClosedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// @@ -9,4 +11,3 @@ namespace System.Windows.Forms /// public delegate void FormClosedEventHandler(object sender, FormClosedEventArgs e); } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FormClosingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FormClosingEventArgs.cs index 421d39caaee..3daf65b69fc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FormClosingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FormClosingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FormClosingEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FormClosingEventHandler.cs index e717a14233c..75144018666 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FormClosingEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FormClosingEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FormCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FormCollection.cs index 232bfd21e89..75d530a3b4c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FormCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FormCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; namespace System.Windows.Forms @@ -92,4 +94,3 @@ internal void Remove(Form form) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FormStartPosition.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FormStartPosition.cs index f62d6749b1c..b1d9b431084 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FormStartPosition.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FormStartPosition.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FormWindowState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FormWindowState.cs index 08a24ed8492..0a278f2b5a6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FormWindowState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FormWindowState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Formatter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Formatter.cs index f966c6eab1e..49c6bcedcea 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Formatter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Formatter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; using System.Reflection; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/FrameStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/FrameStyle.cs index 7b79eb83d76..fb48f4e74d9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/FrameStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/FrameStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GDI/TextFormatFlags.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GDI/TextFormatFlags.cs index 71d53eef423..d9a6e7ae8d8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GDI/TextFormatFlags.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GDI/TextFormatFlags.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GDI/TextRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GDI/TextRenderer.cs index 1efb8faf5ed..3a8aba502cf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GDI/TextRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GDI/TextRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.Internal; using static Interop; @@ -348,4 +350,3 @@ internal static Color DisabledTextColor(Color backColor) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GDI/WindowsGraphicsWrapper.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GDI/WindowsGraphicsWrapper.cs index 8a0e2cb9d15..8706578c6a6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GDI/WindowsGraphicsWrapper.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GDI/WindowsGraphicsWrapper.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.Internal; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GetChildAtPointSkip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GetChildAtPointSkip.cs index 7977a3f77c8..2478cf75ed1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GetChildAtPointSkip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GetChildAtPointSkip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.User32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GiveFeedbackEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GiveFeedbackEventArgs.cs index c97c9224c36..e4eb8e4c32e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GiveFeedbackEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GiveFeedbackEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GiveFeedbackEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GiveFeedbackEventHandler.cs index 7b7aa140c1a..d176ef8a417 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GiveFeedbackEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GiveFeedbackEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GridItem.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GridItem.cs index 51a97ce8248..470844892fd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GridItem.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GridItem.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GridItemCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GridItemCollection.cs index 2911ea74d3f..2521ba9413a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GridItemCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GridItemCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GridItemType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GridItemType.cs index 621cd9b38f7..8bc07eba7fe 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GridItemType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GridItemType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum GridItemType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GroupBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GroupBox.cs index 650cc2633a0..1545df914f3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GroupBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GroupBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/GroupBoxRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/GroupBoxRenderer.cs index 34823d3ceeb..19cfe855052 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/GroupBoxRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/GroupBoxRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HScrollBar.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HScrollBar.cs index efe4366a783..86c0a2b26cc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HScrollBar.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HScrollBar.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HScrollProperties.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HScrollProperties.cs index 0fb2f402d9f..ef9792b1407 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HScrollProperties.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HScrollProperties.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HandledMouseEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HandledMouseEventArgs.cs index 22b95a1d94e..d3d002f64b0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HandledMouseEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HandledMouseEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class HandledMouseEventArgs : MouseEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Help.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Help.cs index a894941a15e..23a48cd589e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Help.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Help.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HelpEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HelpEventArgs.cs index 21bbbe8577f..77d399ac545 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HelpEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HelpEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HelpEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HelpEventHandler.cs index 2f38035cf46..14ebdb7ab42 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HelpEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HelpEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HelpInfo.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HelpInfo.cs index 39173e6f5af..9f89c0dfdd5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HelpInfo.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HelpInfo.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal class HelpInfo diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HelpNavigator.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HelpNavigator.cs index b3292eba6e2..4bbe42c00e4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HelpNavigator.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HelpNavigator.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HelpProvider.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HelpProvider.cs index 7c95eaad13e..e97e75d4caa 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HelpProvider.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HelpProvider.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HorizontalAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HorizontalAlignment.cs index 7df25198964..aeef374933e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HorizontalAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HorizontalAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlDocument.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlDocument.cs index f78e2c4bda1..fb088f56fb5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlDocument.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlDocument.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; @@ -1001,4 +1003,3 @@ public override bool Equals(object obj) } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElement.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElement.cs index 2509080207a..ed3d29a8617 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElement.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElement.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; @@ -1191,4 +1193,3 @@ public override bool Equals(object obj) } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementCollection.cs index e02a625d2fd..7b9815c252b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Diagnostics; using static Interop.Mshtml; @@ -185,4 +187,3 @@ public IEnumerator GetEnumerator() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementErrorEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementErrorEventArgs.cs index cecced6162c..d958d3945fb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementErrorEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementErrorEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// @@ -41,4 +43,3 @@ internal HtmlElementErrorEventArgs(string description, string urlString, int lin public Uri Url => _url ?? (_url = new Uri(_urlString)); } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementErrorEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementErrorEventHandler.cs index 9a5442aa68a..313645a00c5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementErrorEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementErrorEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementEventArgs.cs index 538c94262d5..33eed012ed4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementEventHandler.cs index d532120f7a0..c213fe7a882 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void HtmlElementEventHandler(object sender, HtmlElementEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementInsertionOrientation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementInsertionOrientation.cs index 01c888dba65..b9bba65e73f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementInsertionOrientation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlElementInsertionOrientation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum HtmlElementInsertionOrientation diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlHistory.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlHistory.cs index 263105e850e..fd5e2fe1cb2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlHistory.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlHistory.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using static Interop.Mshtml; @@ -110,4 +112,3 @@ public object DomHistory } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlShim.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlShim.cs index 502a9665198..26cf102746b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlShim.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlShim.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.ComponentModel; using static Interop.Mshtml; @@ -177,5 +179,3 @@ protected HtmlToClrEventProxy RemoveEventProxy(EventHandler eventHandler) } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlShimManager.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlShimManager.cs index f7ea5b26a2f..9327ea24ca0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlShimManager.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlShimManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlToClrEventProxy.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlToClrEventProxy.cs index 45e5d7645c3..09a6e835c8b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlToClrEventProxy.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlToClrEventProxy.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Reflection; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlWindow.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlWindow.cs index 1c5b46200b5..5b894eedff7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlWindow.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlWindow.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlWindowCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlWindowCollection.cs index ccc9d64a1fa..b9fbdad0772 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/HtmlWindowCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/HtmlWindowCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Diagnostics; using System.Runtime.InteropServices; @@ -108,4 +110,3 @@ public IEnumerator GetEnumerator() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IBindableComponent.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IBindableComponent.cs index db4eacb247b..8ec3b308ac8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IBindableComponent.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IBindableComponent.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IButtonControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IButtonControl.cs index 08ee2cf1016..2d061ed0683 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IButtonControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IButtonControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ICommandExecutor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ICommandExecutor.cs index fab93055824..aa093c0c0a3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ICommandExecutor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ICommandExecutor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public interface ICommandExecutor diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IComponentEditorPageSite.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IComponentEditorPageSite.cs index 4d812f0b6f4..e04177f04ce 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IComponentEditorPageSite.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IComponentEditorPageSite.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IContainerControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IContainerControl.cs index 59b50799abf..690b6bbc083 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IContainerControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IContainerControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ICurrencyManagerProvider.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ICurrencyManagerProvider.cs index f49094a5310..5e7a62e262e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ICurrencyManagerProvider.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ICurrencyManagerProvider.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { [SRDescription(nameof(SR.ICurrencyManagerProviderDescr))] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridColumnStyleEditingNotificationService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridColumnStyleEditingNotificationService.cs index 193f43ad462..a3f5693d992 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridColumnStyleEditingNotificationService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IDataGridColumnStyleEditingNotificationService.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public interface IDataGridColumnStyleEditingNotificationService diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IDataObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IDataObject.cs index 26eb2c70092..bd1891a8e71 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IDataObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IDataObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IFeatureSupport.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IFeatureSupport.cs index 5f45bf94b38..b30f3d3c194 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IFeatureSupport.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IFeatureSupport.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IFileReaderService.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IFileReaderService.cs index fdb508c1636..946a87ce94a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IFileReaderService.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IFileReaderService.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.IO; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IKeyboardToolTip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IKeyboardToolTip.cs index 7248263301f..27f49fa6e6c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IKeyboardToolTip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IKeyboardToolTip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.Drawing; @@ -77,4 +79,4 @@ internal interface IKeyboardToolTip /// bool AllowsChildrenToShowToolTips(); } -} \ No newline at end of file +} diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IMEMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IMEMode.cs index 73d92677e1b..d0d2cc4e900 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IMEMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IMEMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IMessageFilter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IMessageFilter.cs index 3db683b535d..f2a814cb003 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IMessageFilter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IMessageFilter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IMessageModifyAndFilter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IMessageModifyAndFilter.cs index d2ec9ebc44f..34c0cdc6bd8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IMessageModifyAndFilter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IMessageModifyAndFilter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { // this is used by Application.cs to detect if we should respect changes to diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropSource.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropSource.cs index c44b888b591..37c9a9d48f2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropSource.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropSource.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal interface ISupportOleDropSource diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropTarget.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropTarget.cs index efc63e090c0..cde18f9fb3d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropTarget.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportOleDropTarget.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public interface IDropTarget diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportToolStripPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportToolStripPanel.cs index 2cd7a8014e6..f99a4729fa7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ISupportToolStripPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ISupportToolStripPanel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal interface ISupportToolStripPanel diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IWin32WindowAdapter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IWin32WindowAdapter.cs index 594cc9ca1ef..eb47aa5bd48 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IWin32WindowAdapter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IWin32WindowAdapter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal struct IWin32WindowAdapter : IHandle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IWin32window.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IWin32window.cs index 248436aa82e..9432f7afd3e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IWin32window.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IWin32window.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/IWindowTarget.cs b/src/System.Windows.Forms/src/System/Windows/Forms/IWindowTarget.cs index 3d3730e4366..28500fb1a0a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/IWindowTarget.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/IWindowTarget.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ImageIndexConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ImageIndexConverter.cs index 32069d87d36..779dc16fd94 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ImageIndexConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ImageIndexConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; @@ -194,4 +196,3 @@ public override bool GetStandardValuesSupported(ITypeDescriptorContext context) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ImageKeyConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ImageKeyConverter.cs index b54974f4e74..8c1aadc3059 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ImageKeyConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ImageKeyConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Globalization; @@ -210,4 +212,3 @@ public override bool GetStandardValuesSupported(ITypeDescriptorContext context) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ImageLayout.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ImageLayout.cs index 5574d493834..4cef754e515 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ImageLayout.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ImageLayout.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ImageList.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ImageList.cs index 6d1ae655dea..dff785ce868 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ImageList.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ImageList.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel; @@ -1760,4 +1762,3 @@ public override bool GetPropertiesSupported(ITypeDescriptorContext context) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ImageListStreamer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ImageListStreamer.cs index 4c4c4103bc0..469a681f392 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ImageListStreamer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ImageListStreamer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguage.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguage.cs index 2a78fb9fefc..144d921337c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguage.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguage.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangedEventArgs.cs index 26bdd7d6067..1bcf9b669de 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Globalization; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangedEventHandler.cs index 7104a6c51d4..ec3dc7c6c3c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangingEventArgs.cs index 9f810ad93bb..9917b04627e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangingEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangingEventHandler.cs index 19cf0e942e9..a2ee67d7950 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangingEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageChangingEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageCollection.cs index 1058e036885..d33a3e1c68f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InputLanguageCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InsertKeyMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InsertKeyMode.cs index a169d62bcc8..4fcbdb22375 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InsertKeyMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InsertKeyMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InvalidateEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InvalidateEventArgs.cs index 27f609f8f33..7fbf50fde10 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InvalidateEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InvalidateEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/InvalidateEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/InvalidateEventHandler.cs index ae91d6cbe55..1fd50d9f06b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/InvalidateEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/InvalidateEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemActivation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemActivation.cs index b7082d3b41c..b08cf03b0f2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemActivation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemActivation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemBoundsPortion.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemBoundsPortion.cs index 5e8ca934a23..fcd1ff8b5c1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemBoundsPortion.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemBoundsPortion.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.ComCtl32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemChangedEventArgs.cs index 78eac3412eb..c9c6fec9be3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class ItemChangedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemChangedEventHandler.cs index 3f3686bb84e..c273736200c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ItemChangedEventHandler(object sender, ItemChangedEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckEventArgs.cs index 2cdeb8eeb34..c1905d2faff 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckEventHandler.cs index d4682c4ad4c..ae49d2f766f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckedEventArgs.cs index 0b69b28ce3a..cca00289a94 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckedEventHandler.cs index 75854b9961a..669393c341e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemCheckedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemDragEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemDragEventArgs.cs index f129e096a26..e84aa210ff4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemDragEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemDragEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ItemDragEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ItemDragEventHandler.cs index 01037252a04..913e2c2eabb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ItemDragEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ItemDragEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/KeyEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/KeyEventArgs.cs index b8cbc4f38d8..464540875c2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/KeyEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/KeyEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/KeyEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/KeyEventHandler.cs index b05214646d6..2332a688dc4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/KeyEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/KeyEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/KeyPressEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/KeyPressEventArgs.cs index cebd7d43d70..6864efb87ac 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/KeyPressEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/KeyPressEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/KeyPressEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/KeyPressEventHandler.cs index 850b6420baa..98f81a2a679 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/KeyPressEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/KeyPressEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/KeyboardToolTipStateMachine.cs b/src/System.Windows.Forms/src/System/Windows/Forms/KeyboardToolTipStateMachine.cs index bd1dbbeb72b..cd4c90388e6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/KeyboardToolTipStateMachine.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/KeyboardToolTipStateMachine.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Keys.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Keys.cs index 42b424e77bb..efc060a7128 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Keys.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Keys.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing.Design; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/KeysConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/KeysConverter.cs index 2b83639c12f..6a40128b2eb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/KeysConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/KeysConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; @@ -400,4 +402,3 @@ public override bool GetStandardValuesSupported(ITypeDescriptorContext context) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Label.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Label.cs index 7f194aeb7f9..5b82331f8b5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Label.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Label.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LabelEditEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LabelEditEventArgs.cs index 54289c34834..9b7180dfd45 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LabelEditEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LabelEditEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LabelEditEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LabelEditEventHandler.cs index 7882b062b5d..981852497b0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LabelEditEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LabelEditEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/ArrangedElementCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/ArrangedElementCollection.cs index de07399eb66..f513ed1e240 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/ArrangedElementCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/ArrangedElementCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; namespace System.Windows.Forms.Layout diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/CommonProperties.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/CommonProperties.cs index 7420d46b9d1..c6607d7dd48 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/CommonProperties.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/CommonProperties.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/DockAndAnchorLayout.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/DockAndAnchorLayout.cs index 0902ff40a31..3290e4cda9b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/DockAndAnchorLayout.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/DockAndAnchorLayout.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/FlowLayout.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/FlowLayout.cs index 36cbc8ac075..c2a6b72494d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/FlowLayout.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/FlowLayout.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/IArrangedElement.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/IArrangedElement.cs index dc20a053dfe..308af15482c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/IArrangedElement.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/IArrangedElement.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/LayoutEngine.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/LayoutEngine.cs index 2b7ad1d2c83..1ad41ab25d8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/LayoutEngine.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/LayoutEngine.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + //#define LAYOUT_PERFWATCH using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/LayoutUtils.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/LayoutUtils.cs index 8a78faec035..facbd708658 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/LayoutUtils.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/LayoutUtils.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/PropertyNames.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/PropertyNames.cs index da3cce108ba..5a30b145a15 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/PropertyNames.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/PropertyNames.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Layout { // LayoutEventArgs takes a string for AffectedProperty. This class contains const diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/TableLayout.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/TableLayout.cs index 226144f38d5..f512fe98efe 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Layout/TableLayout.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Layout/TableLayout.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LayoutEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LayoutEventArgs.cs index a4c9750810b..82e60b91866 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LayoutEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LayoutEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LayoutEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LayoutEventHandler.cs index b9ac68d3275..152b2a84b29 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LayoutEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LayoutEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void LayoutEventHandler(object sender, LayoutEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LayoutSettings.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LayoutSettings.cs index 60dcb6eeb61..a91c02de3d7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LayoutSettings.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LayoutSettings.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Windows.Forms.Layout; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LeftRightAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LeftRightAlignment.cs index cafdbb01cf6..c9072fd3a46 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LeftRightAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LeftRightAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkArea.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkArea.cs index 835d1ea73dd..f2051e6322a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkArea.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkArea.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkBehavior.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkBehavior.cs index b08bd4778fb..ce7883abedd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkBehavior.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkBehavior.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum LinkBehavior diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkClickedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkClickedEventArgs.cs index 262e73bb3ea..47f73121a21 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkClickedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkClickedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkClickedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkClickedEventHandler.cs index cf369512547..d201694d24c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkClickedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkClickedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// @@ -10,4 +12,3 @@ namespace System.Windows.Forms /// public delegate void LinkClickedEventHandler(object sender, LinkClickedEventArgs e); } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkConverter.cs index 60176cfcac9..824a39a073f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; @@ -133,4 +135,3 @@ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cul } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabel.cs index 3eeb113a945..beb849f8487 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabelLinkClickedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabelLinkClickedEventArgs.cs index 627ac15c1bb..9006b339935 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabelLinkClickedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabelLinkClickedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabelLinkClickedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabelLinkClickedEventHandler.cs index 8a34ec34f8e..3c3aed16535 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabelLinkClickedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkLabelLinkClickedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkState.cs index f406aa6fc06..7d6724fc56c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum LinkState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/LinkUtilities.cs b/src/System.Windows.Forms/src/System/Windows/Forms/LinkUtilities.cs index cee2487a1b0..21604f6307c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/LinkUtilities.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/LinkUtilities.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using Microsoft.Win32; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListBindingConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListBindingConverter.cs index e86a1b7d8f5..624311f465e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListBindingConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListBindingConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design.Serialization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListBindingHelper.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListBindingHelper.cs index 25a6cc3d2e2..56a9115c3e2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListBindingHelper.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListBindingHelper.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.AccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.AccessibleObject.cs index 31f097fe0f8..f321bc6a525 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.AccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.AccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs index c1b217b89e6..86b7bbeb7fe 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.InteropServices; using Accessibility; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.cs index 52ca8c891c8..3b8255ef460 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListControl.cs index 5afaea1479d..a2e4aea49bb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing.Design; using System.Collections; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListControlConvertEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListControlConvertEventArgs.cs index 571134bfe8f..5d7f2f80672 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListControlConvertEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListControlConvertEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class ListControlConvertEventArgs : ConvertEventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListControlConvertEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListControlConvertEventHandler.cs index 3367655c244..a39d93e6466 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListControlConvertEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListControlConvertEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListItemConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListItemConverter.cs index 75b4145240f..5b5b7064394 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListItemConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListItemConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Drawing; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListManagerBindingsCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListManagerBindingsCollection.cs index 6e55cace09f..59b2a4b9807 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListManagerBindingsCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListManagerBindingsCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListView.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListView.cs index bae38c5a093..66c6081f598 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListView.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListView.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewAlignment.cs index 757dcad8ea4..47008de6919 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.ComCtl32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroup.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroup.cs index c3bb96f2372..1c351758c0a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroup.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroup.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; using System.Runtime.Serialization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupCollection.cs index aced962a25b..49246bad370 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupConverter.cs index a6425bf53a2..4a943554038 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design.Serialization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupItemCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupItemCollection.cs index 4fd876f1bf9..e22ce892770 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupItemCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewGroupItemCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewHitTestInfo.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewHitTestInfo.cs index 67a8aedbd10..ff6f1dce78e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewHitTestInfo.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewHitTestInfo.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewHitTestLocation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewHitTestLocation.cs index 1e865a10c16..347c3f83b19 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewHitTestLocation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewHitTestLocation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.ComCtl32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewInsertionMark.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewInsertionMark.cs index 141eac02850..f4bc4e8f635 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewInsertionMark.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewInsertionMark.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItem.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItem.cs index 4771810db27..bbde2e01391 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItem.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItem.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemMouseHoverEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemMouseHoverEventArgs.cs index 8754641722c..4e66aa7a1dd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemMouseHoverEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemMouseHoverEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemMouseHoverEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemMouseHoverEventHandler.cs index 0532459dd6a..10806947f36 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemMouseHoverEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemMouseHoverEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemSelectionChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemSelectionChangedEventArgs.cs index 600247f8e68..47cfb36694b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemSelectionChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemSelectionChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemSelectionChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemSelectionChangedEventHandler.cs index 11fd143bbb3..a979ecc8e36 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemSelectionChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemSelectionChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemState.cs index 1553c174dfe..f3f4f7e72f0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemStateImageIndexConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemStateImageIndexConverter.cs index 3506c5f6134..f0324f6e7f9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemStateImageIndexConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewItemStateImageIndexConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.cs index bd9a52f1def..96812e0bf03 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewVirtualItemsSelectionRangeChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewVirtualItemsSelectionRangeChangedEventHandler.cs index 1dcf3c19695..c502e8d1a33 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ListViewVirtualItemsSelectionRangeChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ListViewVirtualItemsSelectionRangeChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MDIClient.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MDIClient.cs index 9c7cd2dc589..99c2a848091 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MDIClient.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MDIClient.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MDIControlStrip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MDIControlStrip.cs index 227922db0d4..6f13f045c0a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MDIControlStrip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MDIControlStrip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MDILayout.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MDILayout.cs index 9a64eaf601d..6b67b769fa3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MDILayout.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MDILayout.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MDIWindowDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MDIWindowDialog.cs index 64ab7cea57e..84c198737b6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MDIWindowDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MDIWindowDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MaskFormat.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MaskFormat.cs index 493f29e729c..c4eaa45cc8b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MaskFormat.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MaskFormat.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MaskInputRejectedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MaskInputRejectedEventArgs.cs index b74e4d6df26..f9e1136e76e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MaskInputRejectedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MaskInputRejectedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MaskInputRejectedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MaskInputRejectedEventHandler.cs index aa4201d54e3..3c4817e0934 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MaskInputRejectedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MaskInputRejectedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MaskedTextBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MaskedTextBox.cs index 7a095dd17d5..06176c514ea 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MaskedTextBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MaskedTextBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; @@ -3169,4 +3171,3 @@ private void WmSetFocus() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MdiWindowListItemConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MdiWindowListItemConverter.cs index f2870f30793..da6cd1136dc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MdiWindowListItemConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MdiWindowListItemConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Collections; @@ -37,4 +39,3 @@ public override StandardValuesCollection GetStandardValues(ITypeDescriptorContex } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MdiWindowListStrip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MdiWindowListStrip.cs index 89452da86db..90606c121c2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MdiWindowListStrip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MdiWindowListStrip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MeasureItemEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MeasureItemEventArgs.cs index d1e26115e20..444f76ac8ec 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MeasureItemEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MeasureItemEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MeasureItemEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MeasureItemEventHandler.cs index 5cbdbc87b76..6dc081db3d8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MeasureItemEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MeasureItemEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void MeasureItemEventHandler(object sender, MeasureItemEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MenuGlyph.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MenuGlyph.cs index 05205cf7aba..19d951372e8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MenuGlyph.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MenuGlyph.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MenuStrip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MenuStrip.cs index 56330de9bc8..9164e91d6b3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MenuStrip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MenuStrip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MergeAction.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MergeAction.cs index 336db2282a0..1fd70cc8051 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MergeAction.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MergeAction.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum MergeAction diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBox.cs index d8c5d45defb..aec1ae4d3f2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; @@ -425,4 +427,3 @@ public static DialogResult Show(IWin32Window owner, string text) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxButtons.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxButtons.cs index 40c8c4bcba5..ce1a6d19896 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxButtons.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxButtons.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.User32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxDefaultButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxDefaultButton.cs index 0cda4c69ce5..0afef385898 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxDefaultButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxDefaultButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.User32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxIcon.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxIcon.cs index 659bb533952..1c93bde79fc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxIcon.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxIcon.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.User32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxOptions.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxOptions.cs index bb15894770c..4bf86c7263d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxOptions.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MessageBoxOptions.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.User32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MethodInvoker.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MethodInvoker.cs index b90bd1303ec..b22b5e99af7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MethodInvoker.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MethodInvoker.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarBodyAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarBodyAccessibleObject.cs index a5e18eefe9b..93e8bceef9e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarBodyAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarBodyAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarButtonAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarButtonAccessibleObject.cs index dec19c71ec5..42c9de0c8a8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarButtonAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarButtonAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarButtonType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarButtonType.cs index f87c88e4633..5df1f712c1b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarButtonType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarButtonType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class MonthCalendar diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarCellAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarCellAccessibleObject.cs index 46ac86da31e..cfc7a0beb5c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarCellAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarCellAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarChildAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarChildAccessibleObject.cs index 36ce858ad6c..fa3f1b700bd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarChildAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarChildAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarChildType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarChildType.cs index f4f26546520..393ff1551b8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarChildType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarChildType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class MonthCalendar diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarGridChildAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarGridChildAccessibleObject.cs index d216e2ce86d..35a1b70786c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarGridChildAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarGridChildAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class MonthCalendar diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarHeaderAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarHeaderAccessibleObject.cs index e599bb8ec4d..0681a46ca0b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarHeaderAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarHeaderAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarNextButtonAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarNextButtonAccessibleObject.cs index af49964dca9..370c767f496 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarNextButtonAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarNextButtonAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarPreviousButtonAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarPreviousButtonAccessibleObject.cs index 40a19cb72fc..57592a4d986 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarPreviousButtonAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarPreviousButtonAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarRowAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarRowAccessibleObject.cs index 73081fda7b7..3cf03bf464a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarRowAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarRowAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarTodayLinkAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarTodayLinkAccessibleObject.cs index 79cd4a7d7cd..7a889e33990 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarTodayLinkAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.CalendarTodayLinkAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.MonthCalendarAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.MonthCalendarAccessibleObject.cs index 6cc864227f6..0fb6377bfef 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.MonthCalendarAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.MonthCalendarAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.cs index dc6b19a416e..d3e7d455dd7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MonthCalendar.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MouseButtons.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MouseButtons.cs index c512d89760f..20286daec3e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MouseButtons.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MouseButtons.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MouseEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MouseEventArgs.cs index e9bbabe20bd..0b5d5f5a77c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MouseEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MouseEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/MouseEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/MouseEventHandler.cs index 606e4ef82ba..32197ac8ce5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/MouseEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/MouseEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.WindowClass.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.WindowClass.cs index f46d5db7170..6110542b5ec 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.WindowClass.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.WindowClass.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.cs index 715cf366777..159034cd24a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NativeWindow.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NavigateEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NavigateEventArgs.cs index 72b3684af6d..21363acb204 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NavigateEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NavigateEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NavigateEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NavigateEventHandler.cs index 6df3d4d2802..4bf038a70bd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NavigateEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NavigateEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void NavigateEventHandler(object sender, NavigateEventArgs ne); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NodeLabelEditEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NodeLabelEditEventArgs.cs index 28459166d04..6917dc394b6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NodeLabelEditEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NodeLabelEditEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NodeLabelEditEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NodeLabelEditEventHandler.cs index 8a95768bfab..1e8eb5b3a37 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NodeLabelEditEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NodeLabelEditEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NoneExcludedImageIndexConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NoneExcludedImageIndexConverter.cs index c002a2236f7..d6e40658e58 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NoneExcludedImageIndexConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NoneExcludedImageIndexConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// @@ -18,4 +20,3 @@ protected override bool IncludeNoneAsStandardValue } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NotifyIcon.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NotifyIcon.cs index 7c5fe050daa..b869a2fb029 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NotifyIcon.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NotifyIcon.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDown.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDown.cs index 2714052149a..115fd1abb73 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDown.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDown.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDownAcceleration.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDownAcceleration.cs index e6cc8428b43..33370d19b90 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDownAcceleration.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDownAcceleration.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDownAccelerationCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDownAccelerationCollection.cs index e092378f324..17ba28138c0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDownAccelerationCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/NumericUpDownAccelerationCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/OSFeature.cs b/src/System.Windows.Forms/src/System/Windows/Forms/OSFeature.cs index 7f61e81d730..1887520dd96 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/OSFeature.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/OSFeature.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/OpacityConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/OpacityConverter.cs index 82fa270c984..386ee17c66a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/OpacityConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/OpacityConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/OpenFileDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/OpenFileDialog.cs index 9413bfebd4d..d3dc89fb099 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/OpenFileDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/OpenFileDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.IO; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Orientation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Orientation.cs index 11003a350ba..0a817b44b07 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Orientation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Orientation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/OwnerDrawPropertyBag.cs b/src/System.Windows.Forms/src/System/Windows/Forms/OwnerDrawPropertyBag.cs index 8596f241467..3f1b33fb075 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/OwnerDrawPropertyBag.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/OwnerDrawPropertyBag.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.Serialization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PaintEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PaintEventArgs.cs index 44a3561a368..6f38cfab58c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PaintEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PaintEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Drawing.Drawing2D; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PaintEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PaintEventHandler.cs index 5aed60ecdeb..796d92d0d43 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PaintEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PaintEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Panel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Panel.cs index a3b3129656b..d28ecf64f7c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Panel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Panel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PictureBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PictureBox.cs index 127d597fce8..69687a1ccde 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PictureBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PictureBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PictureBoxSizeMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PictureBoxSizeMode.cs index 851d3d922ca..e92edfc62cd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PictureBoxSizeMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PictureBoxSizeMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PopupEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PopupEventArgs.cs index 1f471bdd011..d2aa89cf3bd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PopupEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PopupEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PopupEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PopupEventHandler.cs index dd39e4672d6..8119dca6131 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PopupEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PopupEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PowerLineStatus.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PowerLineStatus.cs index 24b901d4c85..e934d3f7db5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PowerLineStatus.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PowerLineStatus.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum PowerLineStatus diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PowerState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PowerState.cs index 5c25a7d9bd8..ec8ae01422e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PowerState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PowerState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum PowerState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PowerStatus.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PowerStatus.cs index 216fea7515a..8fc6bb546b4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PowerStatus.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PowerStatus.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PreProcessControlState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PreProcessControlState.cs index 26a91e9654d..1e59755f197 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PreProcessControlState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PreProcessControlState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum PreProcessControlState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PreviewKeyDownEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PreviewKeyDownEventArgs.cs index d849e2f7ca8..e408ee66c9e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PreviewKeyDownEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PreviewKeyDownEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PreviewKeyDownEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PreviewKeyDownEventHandler.cs index 5c0a5adecb9..7f1c5364f6d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PreviewKeyDownEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PreviewKeyDownEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PageSetupDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PageSetupDialog.cs index 6656a7e0b2c..eb7e993f4a5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PageSetupDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PageSetupDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing.Printing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintControllerWithStatusDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintControllerWithStatusDialog.cs index 92a2fb6fdd2..b2b29ded321 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintControllerWithStatusDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintControllerWithStatusDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Drawing.Printing; using System.Threading; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintDialog.cs index dc73d2ee5aa..97b48670ab4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing.Printing; using System.Runtime.InteropServices; @@ -600,4 +602,3 @@ private static void UpdatePrinterSettings(IntPtr hDevMode, IntPtr hDevNames, sho } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintPreviewControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintPreviewControl.cs index 8aa9f8a5fc9..3f6e86ff33c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintPreviewControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintPreviewControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; @@ -1025,4 +1027,3 @@ public TestAccessor(PrintPreviewControl control) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintPreviewDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintPreviewDialog.cs index 939359f3adb..ea6c316615b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintPreviewDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Printing/PrintPreviewDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Drawing.Printing; @@ -1686,4 +1688,3 @@ void UpdownMove(object sender, EventArgs eventargs) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ProfessionalColorTable.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ProfessionalColorTable.cs index ec08f9d5c33..edbb00f669c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ProfessionalColorTable.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ProfessionalColorTable.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.Drawing; using System.Windows.Forms.VisualStyles; @@ -2113,4 +2115,3 @@ internal enum KnownColors } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ProfessionalColors.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ProfessionalColors.cs index 526874103b6..5c2e133182b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ProfessionalColors.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ProfessionalColors.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; using Microsoft.Win32; @@ -413,4 +415,3 @@ private static void SetScheme() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBar.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBar.cs index 40a9f628edc..c7484dc1bcb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBar.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBar.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBarRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBarRenderer.cs index 74ccd200b97..6dadab64a8b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBarRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBarRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBarStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBarStyle.cs index 2ab63a8c676..6503237e70d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBarStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ProgressBarStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGrid.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGrid.cs index ffd056bcc73..8b6f1d4cdaf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGrid.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGrid.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; @@ -5952,4 +5954,3 @@ public override string Name } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/ArrayElementGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/ArrayElementGridEntry.cs index 3e84994947f..4938fa50700 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/ArrayElementGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/ArrayElementGridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/CategoryGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/CategoryGridEntry.cs index b3786cc9ba5..ccd0793b378 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/CategoryGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/CategoryGridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + //#define PAINT_CATEGORY_TRIANGLE using System.Collections; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/DocComment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/DocComment.cs index edb9592c065..1e3f49c3f78 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/DocComment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/DocComment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/DropDownButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/DropDownButton.cs index a189ef5c528..08a204a3958 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/DropDownButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/DropDownButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.ButtonInternal; using System.Windows.Forms.VisualStyles; @@ -354,4 +356,3 @@ internal override void SetFocus() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridEntry.cs index 44c4e4deb82..1465e9b623c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + //#define PBRS_PAINT_DEBUG using System.Collections; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridEntryCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridEntryCollection.cs index c16c36e036d..a8b5fb87ccd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridEntryCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridEntryCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; namespace System.Windows.Forms.PropertyGridInternal diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridErrorDlg.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridErrorDlg.cs index 09c9ca0d796..e4b43d9d625 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridErrorDlg.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridErrorDlg.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using static Interop; @@ -431,4 +433,3 @@ internal override void Collapse() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridToolTip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridToolTip.cs index d5d5376cfab..54bfb13dc6b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridToolTip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/GridToolTip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/HotCommands.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/HotCommands.cs index 308ae40302a..17ba9b95289 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/HotCommands.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/HotCommands.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel.Design; using System.Drawing; using System.Text; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/IRootGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/IRootGridEntry.cs index 578c575e71e..8597e8a2d3b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/IRootGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/IRootGridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms.PropertyGridInternal diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/ImmutablePropertyDescriptorGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/ImmutablePropertyDescriptorGridEntry.cs index f935d2f0c1c..766ae71629c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/ImmutablePropertyDescriptorGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/ImmutablePropertyDescriptorGridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Reflection; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MergePropertyDescriptor.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MergePropertyDescriptor.cs index 81d5f284c96..bf9a3b184a5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MergePropertyDescriptor.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MergePropertyDescriptor.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design.Serialization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MultiPropertyDescriptorGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MultiPropertyDescriptorGridEntry.cs index 22baae029a1..7bde45f510e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MultiPropertyDescriptorGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MultiPropertyDescriptorGridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MultiSelectRootGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MultiSelectRootGridEntry.cs index 7ba2babdde4..b749df2d8ed 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MultiSelectRootGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/MultiSelectRootGridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertiesTab.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertiesTab.cs index 25efb96febc..ac2e36582ad 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertiesTab.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertiesTab.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Windows.Forms.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyDescriptorGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyDescriptorGridEntry.cs index c2c4bfff230..cff9c1270fd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyDescriptorGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyDescriptorGridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; @@ -1403,4 +1405,3 @@ public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext contex } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridCommands.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridCommands.cs index 43d5e4e9209..c85b6a2beb8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridCommands.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridCommands.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel.Design; namespace System.Windows.Forms.PropertyGridInternal diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.cs index b25f6b7539e..3884dd8747a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; @@ -8763,4 +8765,3 @@ public GridEntry Restore(PropertyGridView gridView) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/SingleSelectRootGridEntry.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/SingleSelectRootGridEntry.cs index c32094a84fc..96fed0a5e01 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/SingleSelectRootGridEntry.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/SingleSelectRootGridEntry.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyManager.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyManager.cs index 06cc144a6e2..3485bbcbd43 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyManager.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Collections; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertySort.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertySort.cs index 9ce47032f35..f27dd1449b8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertySort.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertySort.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyStore.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyStore.cs index f257384f0dc..90613c241f1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyStore.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyStore.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyTabChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyTabChangedEventArgs.cs index c83c4001f1f..355336af0e9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyTabChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyTabChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using System.Windows.Forms.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyTabChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyTabChangedEventHandler.cs index b1e01662931..ec0eddfd89c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyTabChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyTabChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void PropertyTabChangedEventHandler(object s, PropertyTabChangedEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyValueChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyValueChangedEventArgs.cs index b5ff7fa70d8..205b575f56c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyValueChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyValueChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyValueChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyValueChangedEventHandler.cs index 76624179690..50eb98af6b6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/PropertyValueChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/PropertyValueChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/QueryAccessibilityHelpEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/QueryAccessibilityHelpEventArgs.cs index 72d876910cc..21d697cb740 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/QueryAccessibilityHelpEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/QueryAccessibilityHelpEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/QueryAccessibilityHelpEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/QueryAccessibilityHelpEventHandler.cs index db4682b9ff2..8547cbe28ca 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/QueryAccessibilityHelpEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/QueryAccessibilityHelpEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void QueryAccessibilityHelpEventHandler(object sender, QueryAccessibilityHelpEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/QueryContinueDragEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/QueryContinueDragEventArgs.cs index fdf43772fce..b3673ea8ade 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/QueryContinueDragEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/QueryContinueDragEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/QueryContinueDragEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/QueryContinueDragEventHandler.cs index ef3c63cedf1..a19971cf783 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/QueryContinueDragEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/QueryContinueDragEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/QuestionEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/QuestionEventArgs.cs index 731a102c016..dd5a3f9aaf8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/QuestionEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/QuestionEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class QuestionEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/QuestionEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/QuestionEventHandler.cs index 74dc9a7a9f4..04431dbb88e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/QuestionEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/QuestionEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RadioButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RadioButton.cs index 4f43d67ebff..07419b77707 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RadioButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RadioButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RadioButtonRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RadioButtonRenderer.cs index b3673fcb8ca..7a1bb45ca29 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RadioButtonRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RadioButtonRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RelatedCurrencyManager.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RelatedCurrencyManager.cs index 77d39479389..496979550c6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RelatedCurrencyManager.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RelatedCurrencyManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RelatedImageListAttribute.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RelatedImageListAttribute.cs index 032bd38c01c..7b87c990e5f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RelatedImageListAttribute.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RelatedImageListAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RelatedPropertyManager.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RelatedPropertyManager.cs index a17c87ac4e2..8ae9a100e2a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RelatedPropertyManager.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RelatedPropertyManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RetrieveVirtualItemEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RetrieveVirtualItemEventArgs.cs index 07cee11e50b..86362d67783 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RetrieveVirtualItemEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RetrieveVirtualItemEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class RetrieveVirtualItemEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RetrieveVirtualItemEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RetrieveVirtualItemEventHandler.cs index 9679e28e586..4aa646e736d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RetrieveVirtualItemEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RetrieveVirtualItemEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBox.cs index b4f80bc0d76..a2e7ebfa015 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; @@ -4109,4 +4111,3 @@ public HRESULT GetContextMenu(short seltype, IntPtr lpoleobj, ref Richedit.CHARR } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxConstants.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxConstants.cs index 32b4c418a8e..c4b45abec60 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxConstants.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxConstants.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal static class RichTextBoxConstants diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxFinds.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxFinds.cs index b3e376827a0..08d005321dc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxFinds.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxFinds.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxLanguageOptions.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxLanguageOptions.cs index 9f67be6e075..2b4a90ad001 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxLanguageOptions.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxLanguageOptions.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxScrollBars.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxScrollBars.cs index d51f13c7dc4..86b706b9b73 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxScrollBars.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxScrollBars.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxSelectionAttribute.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxSelectionAttribute.cs index 6d38400dcc9..7fc75bd274d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxSelectionAttribute.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxSelectionAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxSelectionTypes.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxSelectionTypes.cs index 1df98c30d50..a5c468ce694 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxSelectionTypes.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxSelectionTypes.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxStreamType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxStreamType.cs index d3452abaea4..85ab9fc6669 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxStreamType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxStreamType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxWordPunctuations.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxWordPunctuations.cs index f463df4e76f..0cd5c7d9cfe 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxWordPunctuations.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RichTextBoxWordPunctuations.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RightToLeft.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RightToLeft.cs index 7ef6f537bf6..280981e9988 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RightToLeft.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RightToLeft.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/RowStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/RowStyle.cs index 9a4edef8d07..da6405ba31d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/RowStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/RowStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class RowStyle : TableLayoutStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SaveFileDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SaveFileDialog.cs index 77427aeaf58..756cc66eb08 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SaveFileDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SaveFileDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.IO; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Screen.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Screen.cs index e75661826af..0c3291a4570 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Screen.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Screen.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBar.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBar.cs index 22638172bf3..93b17a1ee0d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBar.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBar.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBarRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBarRenderer.cs index 853d773de95..aae6e415b05 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBarRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBarRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBars.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBars.cs index b30e26ce8a9..61e2eb89e7e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBars.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollBars.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollButton.cs index 1d4984440e5..4a04dd6808f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventArgs.cs index 97eb2774ecc..3459beb8d22 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventHandler.cs index 9ae6c2c39f5..5382311e7d8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventType.cs index c6bce8051b9..cdd14f34994 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollEventType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollOrientation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollOrientation.cs index 115b296d70c..68b167030d4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollOrientation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollOrientation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollProperties.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollProperties.cs index 6f17640ae86..d905fbcc3e8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollProperties.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollProperties.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollableControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollableControl.cs index 10f1e7f2efa..93be01a099e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ScrollableControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ScrollableControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SearchDirectionHint.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SearchDirectionHint.cs index 985cbcb0754..8617d0332f0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SearchDirectionHint.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SearchDirectionHint.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SearchForVirtualItemEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SearchForVirtualItemEventArgs.cs index b942385bfe8..4e17bc99d7e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SearchForVirtualItemEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SearchForVirtualItemEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SearchForVirtualItemEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SearchForVirtualItemEventHandler.cs index e517a7be888..1b374e0a8d1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SearchForVirtualItemEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SearchForVirtualItemEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SecurityIDType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SecurityIDType.cs index c915f54c4e5..adea2ca28e9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SecurityIDType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SecurityIDType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum SecurityIDType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SelectedGridItemChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SelectedGridItemChangedEventArgs.cs index ced33bf70f6..6d4491b69c2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SelectedGridItemChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SelectedGridItemChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SelectedGridItemChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SelectedGridItemChangedEventHandler.cs index 6e007906f5d..9669ca56834 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SelectedGridItemChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SelectedGridItemChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void SelectedGridItemChangedEventHandler(object sender, SelectedGridItemChangedEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SelectionMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SelectionMode.cs index 11af1e6c90c..796cbc62300 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SelectionMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SelectionMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SelectionRange.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SelectionRange.cs index e8c5d0f925e..b48976ce10e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SelectionRange.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SelectionRange.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms @@ -102,4 +104,3 @@ public override string ToString() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SelectionRangeConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SelectionRangeConverter.cs index 39cc91202a0..1d856cb673b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SelectionRangeConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SelectionRangeConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design.Serialization; @@ -190,4 +192,3 @@ public override bool GetPropertiesSupported(ITypeDescriptorContext context) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SendKeys.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SendKeys.cs index bcd45a76879..179730b4605 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SendKeys.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SendKeys.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Shortcut.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Shortcut.cs index 6cfe2fefbcc..28316685b30 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Shortcut.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Shortcut.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SizeGripStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SizeGripStyle.cs index 415fe10628e..7d93eb7ff12 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SizeGripStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SizeGripStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SizeType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SizeType.cs index f9f179f07e5..a503fdab8bc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SizeType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SizeType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum SizeType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SortOrder.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SortOrder.cs index f79ed3f5ad4..02485bec6cf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SortOrder.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SortOrder.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SpecialFolderEnumConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SpecialFolderEnumConverter.cs index 4cdfe134c1d..8d75b1b43d7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SpecialFolderEnumConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SpecialFolderEnumConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; @@ -55,4 +57,4 @@ public int Compare(object a, object b) } } } -} \ No newline at end of file +} diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SplitContainer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SplitContainer.cs index 9361672ea13..ecbaa1a0651 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SplitContainer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SplitContainer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Splitter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Splitter.cs index e26cb4fecd3..226ffa58439 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Splitter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Splitter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Globalization; @@ -1042,4 +1044,3 @@ public bool PreFilterMessage(ref Message m) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterCancelEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterCancelEventArgs.cs index f7cb692d17f..bf670334273 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterCancelEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterCancelEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterCancelEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterCancelEventHandler.cs index 532ece26553..c88f9c48bfb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterCancelEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterCancelEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterEventArgs.cs index 00595cb2393..7c950da8ba4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterEventHandler.cs index e062c4e16d8..08170b57cb4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterPanel.cs index 03b5d13ae40..2b39d1353b5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SplitterPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SplitterPanel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBar.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBar.cs index ad33a2e23eb..aacfa9daede 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBar.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBar.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; @@ -1905,4 +1907,3 @@ protected override void WndProc(ref Message m) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarDrawItemEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarDrawItemEventArgs.cs index a101b2e1396..7baba5a68ba 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarDrawItemEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarDrawItemEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms @@ -40,4 +42,4 @@ public class StatusBarDrawItemEventArgs : DrawItemEventArgs /// public StatusBarPanel Panel { get; } } -} \ No newline at end of file +} diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarDrawItemEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarDrawItemEventHandler.cs index dea78084975..ad6cb4894ca 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarDrawItemEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarDrawItemEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanel.cs index 65e1cc43a13..8696777edde 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelAutoSize.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelAutoSize.cs index 329b982eb20..0e5f66b10f1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelAutoSize.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelAutoSize.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelBorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelBorderStyle.cs index d339f8f2d99..427e784c50b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelBorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelBorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelClickEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelClickEventArgs.cs index bc7de6d276d..882de3a936b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelClickEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelClickEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelClickEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelClickEventHandler.cs index c20ea1a5a81..a72c81d289b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelClickEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelClickEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelStyle.cs index 577bd23650f..6182726adc4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusBarPanelStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StatusStrip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StatusStrip.cs index 25b245c5ef0..9f9f8293083 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StatusStrip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StatusStrip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StringSorter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StringSorter.cs index 2dde7eca253..789f0c3278e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StringSorter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StringSorter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Globalization; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StringSource.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StringSource.cs index 8f567e80518..b944e346153 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StringSource.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StringSource.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices.ComTypes; using System.Runtime.InteropServices; using static Interop; @@ -143,4 +145,3 @@ int IEnumString.Skip(int celt) #endregion } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/StructFormat.cs b/src/System.Windows.Forms/src/System/Windows/Forms/StructFormat.cs index 595eed8340c..95abfc596e4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/StructFormat.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/StructFormat.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum StructFormat diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SystemInformation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SystemInformation.cs index 6bfb1e64c55..65461f21e7a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SystemInformation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SystemInformation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/SystemParameter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/SystemParameter.cs index 996f2b35857..48a40961ed0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/SystemParameter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/SystemParameter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabAlignment.cs index 62f5d539e13..573571e2e17 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabAppearance.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabAppearance.cs index 621cd45751f..aabc3986b47 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabAppearance.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabAppearance.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.ControlCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.ControlCollection.cs index 9eb5602ce6d..4f2b7efd01d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.ControlCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.ControlCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Runtime.InteropServices; @@ -90,4 +92,4 @@ public override void Remove(Control value) } } } -} \ No newline at end of file +} diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.State.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.State.cs index a10b4b4e1df..985fd673439 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.State.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.State.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public partial class TabControl diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.TabPageCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.TabPageCollection.cs index 78597a5837f..cf246fa24be 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.TabPageCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.TabPageCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.cs index 2d87b927862..829225c3a5b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlAction.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlAction.cs index cb9c1551729..be0c67dfc05 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlAction.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlAction.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlCancelEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlCancelEventArgs.cs index 6cb93a6fdf5..e309bda1d9d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlCancelEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlCancelEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlCancelEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlCancelEventHandler.cs index ea5a6d1465e..bfcb2af7e5f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlCancelEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlCancelEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlEventArgs.cs index 680155ff78e..f41c41098f7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlEventHandler.cs index 938cea682f9..a6f8ad7058c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabControlEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabControlEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// @@ -10,4 +12,3 @@ namespace System.Windows.Forms /// public delegate void TabControlEventHandler(object sender, TabControlEventArgs e); } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabDrawMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabDrawMode.cs index 412735592d4..d04d868e6ef 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabDrawMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabDrawMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabPage.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabPage.cs index c911d1cca33..0888b8781f5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabPage.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabPage.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabRenderer.cs index 4a8c6476c22..537e51f2ad5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TabSizeMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TabSizeMode.cs index 96d852a8b87..61f511af3be 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TabSizeMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TabSizeMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutCellPaintEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutCellPaintEventArgs.cs index deb6d9e45dd..05b3c2596d9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutCellPaintEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutCellPaintEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutCellPaintEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutCellPaintEventHandler.cs index 79bed787805..b4cda00f7fa 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutCellPaintEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutCellPaintEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void TableLayoutCellPaintEventHandler(object sender, TableLayoutCellPaintEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutColumnStyleCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutColumnStyleCollection.cs index c0d41893168..618e719384f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutColumnStyleCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutColumnStyleCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Windows.Forms.Layout; @@ -34,4 +36,3 @@ internal override string PropertyName public int IndexOf(ColumnStyle columnStyle) { return ((IList)this).IndexOf(columnStyle); } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutControlCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutControlCollection.cs index 51b68443a43..2763c3bc960 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutControlCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutControlCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanel.cs index 9836b7a6c1e..420a5237f53 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellBorderStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellBorderStyle.cs index 90c86316a3a..f1efd2baf5e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellBorderStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellBorderStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum TableLayoutPanelCellBorderStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellPosition.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellPosition.cs index 88a7f9bedda..c986fe5fd54 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellPosition.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellPosition.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design.Serialization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelGrowStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelGrowStyle.cs index 7e2329b5dfe..f19ae918fe2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelGrowStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelGrowStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutRowStyleCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutRowStyleCollection.cs index 8e5c304eb98..e786ed4b578 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutRowStyleCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutRowStyleCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Windows.Forms.Layout; @@ -34,4 +36,3 @@ internal override string PropertyName public int IndexOf(RowStyle rowStyle) { return ((IList)this).IndexOf(rowStyle); } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.ControlInformation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.ControlInformation.cs index b9095b3d322..56cc1eccbb3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.ControlInformation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.ControlInformation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public sealed partial class TableLayoutSettings diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.StyleConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.StyleConverter.cs index 3fdb683b4ab..9913b242720 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.StyleConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.StyleConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.TableLayoutSettingsStub.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.TableLayoutSettingsStub.cs index 8f3fbd9b1c2..4ff9b08749c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.TableLayoutSettingsStub.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.TableLayoutSettingsStub.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Collections.Generic; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.cs index 52e59b415d8..62982890157 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettings.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design.Serialization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettingsTypeConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettingsTypeConverter.cs index c361aeb83d5..a1796d31a18 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettingsTypeConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutSettingsTypeConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; @@ -247,5 +249,3 @@ private void ParseStyles(TableLayoutSettings settings, XmlNodeList controlXmlFra } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutStyle.cs index 06bc0112faa..a2526d7ed77 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutStyleCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutStyleCollection.cs index 0fbe18b326c..9a59e819ef7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutStyleCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutStyleCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TextBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TextBox.cs index 0a42ea678e4..414aae96535 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TextBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TextBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxAutoCompleteSourceConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxAutoCompleteSourceConverter.cs index 94ce2684f6c..a1109fd1b27 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxAutoCompleteSourceConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxAutoCompleteSourceConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; @@ -34,4 +36,3 @@ public override StandardValuesCollection GetStandardValues(ITypeDescriptorContex } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxBase.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxBase.cs index ef3163f508c..d2ea35a3ed3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxBase.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxBase.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxRenderer.cs index d9035a6c324..ed14a02146c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TextBoxRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TextDataFormat.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TextDataFormat.cs index d18a4f4a19e..527a611a4a4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TextDataFormat.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TextDataFormat.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TextImageRelation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TextImageRelation.cs index e181e202f7f..4ee9edbfa22 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TextImageRelation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TextImageRelation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ThreadExceptionDialog.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ThreadExceptionDialog.cs index 230f3f87347..61cd3fcb8d1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ThreadExceptionDialog.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ThreadExceptionDialog.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TickStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TickStyle.cs index 474d65587cc..bf17728f930 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TickStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TickStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Timer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Timer.cs index cffaf96498f..4250f4e6dbe 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Timer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Timer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStrip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStrip.cs index 6cafe6bfd99..aec407e7466 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStrip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStrip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; @@ -5996,4 +5998,3 @@ private RelativeLocation ComparePositions(Rectangle orig, Point check) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripArrowRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripArrowRenderEventArgs.cs index 55ef73042e3..99e350a5e5b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripArrowRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripArrowRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripArrowRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripArrowRenderEventHandler.cs index 5c48b8a7b29..5dc9bd24625 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripArrowRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripArrowRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ToolStripArrowRenderEventHandler(object sender, ToolStripArrowRenderEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripButton.ToolStripButtonAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripButton.ToolStripButtonAccessibleObject.cs index 9ddb5f53cdd..37acb216116 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripButton.ToolStripButtonAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripButton.ToolStripButtonAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripButton.cs index f63a289b160..798cf24f029 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.ComponentModel; using System.Windows.Forms.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripComboBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripComboBox.cs index 97958a2da08..9f6c9f1899a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripComboBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripComboBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContainer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContainer.cs index 36b71a49eee..f463ccff7a6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContainer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContainer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanel.cs index cdd9294ece6..c4336bf4a62 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Drawing; @@ -412,4 +414,3 @@ private bool ShouldSerializeRenderMode() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanelRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanelRenderEventArgs.cs index 3d6ef273c63..d4fba14b021 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanelRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanelRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanelRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanelRenderEventHandler.cs index 2151684f58d..8936a219d92 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanelRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripContentPanelRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.StubSite.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.StubSite.cs index cfe9a0ef6f9..70ad298d222 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.StubSite.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.StubSite.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.ToolStripControlHostAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.ToolStripControlHostAccessibleObject.cs index 30dcd050085..13d8dbd4d31 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.ToolStripControlHostAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.ToolStripControlHostAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.ToolStripHostedControlAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.ToolStripHostedControlAccessibleObject.cs index 803ac896a71..30f936929ab 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.ToolStripHostedControlAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.ToolStripHostedControlAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.cs index 109079b23bd..351ea17ff9e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDown.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDown.cs index 991f39a3439..64463c68220 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDown.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDown.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Specialized; using System.ComponentModel; @@ -2385,4 +2387,3 @@ public override AccessibleRole Role } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownButton.cs index 60fd4f46a92..2c11495726f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; @@ -334,5 +336,3 @@ public Rectangle DropDownArrowRect } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownCloseReason.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownCloseReason.cs index ba1b0503c58..61966d5bbf1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownCloseReason.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownCloseReason.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ToolStripDropDownCloseReason diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosedEventArgs.cs index 43dfcea5ae4..dc216a5a833 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class ToolStripDropDownClosedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosedEventHandler.cs index 4f35737b9a8..a48b8b13ad2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ToolStripDropDownClosedEventHandler(object sender, ToolStripDropDownClosedEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosingEventArgs.cs index 3763cc091f3..a9a96f7c1e3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosingEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosingEventHandler.cs index 069bb554550..342648af0c2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosingEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownClosingEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ToolStripDropDownClosingEventHandler(object sender, ToolStripDropDownClosingEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownDirection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownDirection.cs index 4ecb03a74a4..2238a8dc595 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownDirection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownDirection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ToolStripDropDownDirection diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownItem.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownItem.cs index de7bdec417c..082561add96 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownItem.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownItem.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownMenu.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownMenu.cs index 144fa03da30..1add74586ce 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownMenu.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropDownMenu.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropTargetManager.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropTargetManager.cs index f74cc087fc3..e31e357094f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropTargetManager.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripDropTargetManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGrip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGrip.cs index 5984e5a11c3..e1171198f62 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGrip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGrip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.Layout; using static Interop; @@ -335,5 +337,3 @@ internal override object GetPropertyValue(UiaCore.UIA propertyID) } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripDisplayStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripDisplayStyle.cs index ddea2fd7843..aea422eb048 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripDisplayStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripDisplayStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ToolStripGripDisplayStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripRenderEventArgs.cs index aada30631e8..403b119956f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripRenderEventHandler.cs index 58b88604951..f628a112c78 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripStyle.cs index 22e170e6184..c0139c70ada 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGripStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ToolStripGripStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripHighContrastRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripHighContrastRenderer.cs index e0066cd093d..ff95d722371 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripHighContrastRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripHighContrastRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + #region Using directives using System.Drawing; @@ -477,4 +479,3 @@ private void RenderItemInternalFilled(ToolStripItemRenderEventArgs e, bool press } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItem.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItem.cs index 2074cfca95a..49d59d2db64 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItem.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItem.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemAlignment.cs index c2070724cc9..3214b2dab98 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemClickedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemClickedEventArgs.cs index 68a9db44aa6..f985a345032 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemClickedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemClickedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class ToolStripItemClickedEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemClickedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemClickedEventHandler.cs index 08c93ad1853..4532652b875 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemClickedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemClickedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemCollection.cs index 9f835530758..b8dcaea1a3e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Drawing; @@ -538,4 +540,3 @@ private void SetOwner(ToolStripItem item) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemDisplayStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemDisplayStyle.cs index ebf9aa53aca..3b8288b6ecf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemDisplayStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemDisplayStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventArgs.cs index f59aa686443..e9e3e3484d8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public class ToolStripItemEventArgs : EventArgs diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventHandler.cs index b9ec3e8db89..474736b1524 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public delegate void ToolStripItemEventHandler(object sender, ToolStripItemEventArgs e); diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventType.cs index d47d77f9025..694ad9dbe3e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemEventType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageRenderEventArgs.cs index 222d2720a91..4563f07809d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Drawing.Imaging; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageRenderEventHandler.cs index d06e021a1a9..662ce42a8ae 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageScaling.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageScaling.cs index 7b33fe96d4f..dc889ee7e7b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageScaling.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemImageScaling.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ToolStripItemImageScaling diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemOverflow.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemOverflow.cs index e803d5faa2f..acfa2434575 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemOverflow.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemOverflow.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemPlacement.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemPlacement.cs index 32ecda325ff..6d4eb59275c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemPlacement.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemPlacement.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemRenderEventArgs.cs index 0a29ab24acd..a862fe9d64e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemRenderEventHandler.cs index 3a28c42b1ac..272a7b5de9c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemStates.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemStates.cs index 59d7447ea9f..9b41abb4363 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemStates.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemStates.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal enum ToolStripItemStates diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemTextRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemTextRenderEventArgs.cs index ce1e3ca6d12..24984754fde 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemTextRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemTextRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemTextRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemTextRenderEventHandler.cs index dbb0d18595e..47602b7ea39 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemTextRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripItemTextRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLabel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLabel.cs index 52913606e05..69864e3454e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLabel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLabel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Windows.Forms.Design; @@ -490,5 +492,3 @@ protected override ToolStripItemLayoutOptions CommonLayoutOptions() } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLayoutStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLayoutStyle.cs index bfc416f5acb..3194edac626 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLayoutStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLayoutStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ToolStripLayoutStyle diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLocationCancelEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLocationCancelEventArgs.cs index 770c851b19e..591d4f826fa 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLocationCancelEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLocationCancelEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLocationCancelEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLocationCancelEventHandler.cs index 8bdcb741bc9..d50b826a8b0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLocationCancelEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripLocationCancelEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripManager.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripManager.cs index 5217adc753e..f418b3d7c18 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripManager.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripManagerRenderMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripManagerRenderMode.cs index f9ae422839a..e5738ed8965 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripManagerRenderMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripManagerRenderMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripMenuItem.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripMenuItem.cs index 307fbb68a98..f7cf5c9af96 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripMenuItem.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripMenuItem.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripNumericUpDown.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripNumericUpDown.cs index 6252e2c86d5..76ee302ab1e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripNumericUpDown.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripNumericUpDown.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripOverflow.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripOverflow.cs index ce0c72d9b11..8283693b709 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripOverflow.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripOverflow.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripOverflowButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripOverflowButton.cs index 7c0d3e24a94..fb683ae3407 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripOverflowButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripOverflowButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Windows.Forms.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanel.cs index 44f8800923e..c26c94876d2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + //#define DEBUG_PAINT using System.Collections; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelCell.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelCell.cs index 4fd4c66cbca..1f73f16cbef 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelCell.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelCell.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { using System.Drawing; @@ -425,4 +427,3 @@ private void OnToolStripVisibleChanged(object sender, EventArgs e) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRenderEventArgs.cs index 174f30165fd..7f398d5f284 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRenderEventHandler.cs index 39c5c0f93bd..bd0e37c7051 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRow.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRow.cs index 4ea44d6ad0f..af158ae3899 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRow.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPanelRow.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + //#define DEBUG_PAINT using System.Collections; @@ -2495,4 +2497,3 @@ public virtual void Reset() } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPointType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPointType.cs index 260f4e33494..0ba98f05c1a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPointType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripPointType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { internal enum ToolStripPointType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripProfessionalLowResolutionRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripProfessionalLowResolutionRenderer.cs index 68e67e383d4..ab6d548912b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripProfessionalLowResolutionRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripProfessionalLowResolutionRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripProgressBar.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripProgressBar.cs index 063dea5eae1..f0f482d9ac3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripProgressBar.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripProgressBar.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderEventArgs.cs index a290d9c23f4..9f8f43cbfb2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderEventHandler.cs index 9621ad8a575..2adee0204be 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderMode.cs index 482bf6c1a0f..97f6e89ff5a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderer.cs index fc36d49b343..adab3bf73e7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Drawing.Imaging; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRendererSwitcher.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRendererSwitcher.cs index 4cc89b3a4fe..a6223b58d98 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRendererSwitcher.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripRendererSwitcher.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripScrollButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripScrollButton.cs index 8a0882f8607..4a3a38d859e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripScrollButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripScrollButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using static Interop; @@ -211,5 +213,3 @@ protected override void WndProc(ref Message m) } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparator.ToolStripSeparatorAccessibleObject.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparator.ToolStripSeparatorAccessibleObject.cs index 70eb9896189..72fd7feb1c2 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparator.ToolStripSeparatorAccessibleObject.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparator.ToolStripSeparatorAccessibleObject.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparator.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparator.cs index 1982ce74a51..260726937f8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparator.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparator.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Windows.Forms.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparatorRenderEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparatorRenderEventArgs.cs index a65a7f94d5c..dcece1cad8d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparatorRenderEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparatorRenderEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparatorRenderEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparatorRenderEventHandler.cs index b62b876a1dc..d2234c7412c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparatorRenderEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSeparatorRenderEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// @@ -9,4 +11,3 @@ namespace System.Windows.Forms /// public delegate void ToolStripSeparatorRenderEventHandler(object sender, ToolStripSeparatorRenderEventArgs e); } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSettings.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSettings.cs index 3aa7c222f4c..6bc25e9edbf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSettings.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSettings.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.Configuration; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSplitButton.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSplitButton.cs index 93a0e224997..817ed29e155 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSplitButton.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSplitButton.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; @@ -979,5 +981,3 @@ internal override UiaCore.IRawElementProviderFragment FragmentNavigate(UiaCore.N } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSplitStackLayout.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSplitStackLayout.cs index b7ed6c19e00..e9f28eca79a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSplitStackLayout.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSplitStackLayout.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripStatusLabel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripStatusLabel.cs index 14a938404d7..017c71da6fe 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripStatusLabel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripStatusLabel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; @@ -314,5 +316,3 @@ protected override ToolStripItemLayoutOptions CommonLayoutOptions() } } } - - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripStatusLabelBorderSides.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripStatusLabelBorderSides.cs index b7ab3981cfe..53d6cea0dd7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripStatusLabelBorderSides.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripStatusLabelBorderSides.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing.Design; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSystemRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSystemRenderer.cs index cdcf2242d83..b8fe36bc96a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSystemRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSystemRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Windows.Forms.VisualStyles; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripTextBox.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripTextBox.cs index d3b5c5e757e..f2ba7e8d585 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripTextBox.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripTextBox.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Drawing.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripTextDirection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripTextDirection.cs index d2b3f2bdc6f..22c6bd22239 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripTextDirection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolStripTextDirection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ToolStripTextDirection diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolTip.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolTip.cs index 93218c8d5b8..929fc649273 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolTip.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolTip.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolTipIcon.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolTipIcon.cs index 7940bff8105..eed92a90bad 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolTipIcon.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolTipIcon.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { public enum ToolTipIcon diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ToolstripProfessionalRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ToolstripProfessionalRenderer.cs index 76917e5f418..241ac0c2de1 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ToolstripProfessionalRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ToolstripProfessionalRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms.Layout; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TrackBar.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TrackBar.cs index c533ebcd5cd..b92a4eacc7f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TrackBar.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TrackBar.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TrackBarRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TrackBarRenderer.cs index 769ed8728de..7c4d874c2ec 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TrackBarRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TrackBarRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Windows.Forms.VisualStyles; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNode.cs index e18698b7c0f..f925915955d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; @@ -2251,4 +2253,3 @@ void ISerializable.GetObjectData(SerializationInfo si, StreamingContext context) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeClickEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeClickEventArgs.cs index ae01ed069df..fe7ee63b346 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeClickEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeClickEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeClickEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeClickEventHandler.cs index a598e36546c..27d65a651c8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeClickEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeClickEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeCollection.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeCollection.cs index 8777a5522ce..d17cc4970f9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeCollection.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeConverter.cs index f22d9041428..d654a2425dc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; @@ -108,4 +110,3 @@ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cul } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeMouseHoverEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeMouseHoverEventArgs.cs index c786c67a4a1..ea54fae29bf 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeMouseHoverEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeMouseHoverEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; namespace System.Windows.Forms @@ -19,4 +21,4 @@ public TreeNodeMouseHoverEventArgs(TreeNode node) public TreeNode Node { get; } } -} \ No newline at end of file +} diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeMouseHoverEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeMouseHoverEventHandler.cs index 48fdb9e7ca1..4103536e765 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeMouseHoverEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeMouseHoverEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeState.cs index c4f96ba4b57..81343edf182 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeNodeState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeView.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeView.cs index fee8cbc8bfc..adcbf244c90 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeView.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeView.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewAction.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewAction.cs index 4d556fbf4d6..23af97e9578 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewAction.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewAction.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewCancelEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewCancelEventArgs.cs index 99585097ef4..ef052703eab 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewCancelEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewCancelEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewCancelEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewCancelEventHandler.cs index 31e587ffe23..953b24ff7e6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewCancelEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewCancelEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewDrawMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewDrawMode.cs index 473e5a30504..4394354524d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewDrawMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewDrawMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewEventArgs.cs index 56f76776fa9..9b294238c22 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewEventHandler.cs index 732f5a4f20e..2b6c4abcb4a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestInfo.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestInfo.cs index 266b2dfd33f..e72e845245f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestInfo.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestInfo.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestLocation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestLocation.cs index 252f3bd2b18..cca99ce6f11 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestLocation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewHitTestLocation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewImageIndexConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewImageIndexConverter.cs index aa5cf0cbc4e..56ee7ada900 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewImageIndexConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewImageIndexConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { using System.ComponentModel; @@ -145,4 +147,3 @@ public override StandardValuesCollection GetStandardValues(ITypeDescriptorContex } } } // Namespace system.windows.forms - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewImageKeyConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewImageKeyConverter.cs index bdcf983a46e..9c5e4c3b3c5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewImageKeyConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TreeViewImageKeyConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { using System.ComponentModel; @@ -43,4 +45,3 @@ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cul } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/Triangle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/Triangle.cs index 267fbd0cf7e..6ddb7fcbf80 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/Triangle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/Triangle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TypeValidationEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TypeValidationEventArgs.cs index dc610f595ce..e8d9f581312 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TypeValidationEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TypeValidationEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/TypeValidationEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/TypeValidationEventHandler.cs index d2e28ba9fc8..9cb46dd6824 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/TypeValidationEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/TypeValidationEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/UICues.cs b/src/System.Windows.Forms/src/System/Windows/Forms/UICues.cs index ed5ca32f353..133ead9e2fe 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/UICues.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/UICues.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/UICuesEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/UICuesEventArgs.cs index 11e0dae2e8d..d2b226afce6 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/UICuesEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/UICuesEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/UICuesEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/UICuesEventHandler.cs index a85b0e72c89..1dea304362a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/UICuesEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/UICuesEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/UnhandledExceptionMode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/UnhandledExceptionMode.cs index a454c0a8ffe..c5c371f5c5b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/UnhandledExceptionMode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/UnhandledExceptionMode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/UpDownBase.cs b/src/System.Windows.Forms/src/System/Windows/Forms/UpDownBase.cs index 79e1be8b456..7c3d2875285 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/UpDownBase.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/UpDownBase.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; @@ -2086,4 +2088,3 @@ internal enum ButtonID } } // end class UpDownBase } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/UpDownEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/UpDownEventArgs.cs index 66d7914eed3..aa9cf4ec943 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/UpDownEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/UpDownEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/UpDownEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/UpDownEventHandler.cs index 0db8151a7d7..d22b7733500 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/UpDownEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/UpDownEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/UserControl.cs b/src/System.Windows.Forms/src/System/Windows/Forms/UserControl.cs index 712bc5acc79..282f681bf81 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/UserControl.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/UserControl.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VScrollBar.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VScrollBar.cs index 1f6c267dab4..ae1079aca03 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VScrollBar.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VScrollBar.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VScrollProperties.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VScrollProperties.cs index a7828a8d016..36264917fdb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VScrollProperties.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VScrollProperties.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/ValidationConstraints.cs b/src/System.Windows.Forms/src/System/Windows/Forms/ValidationConstraints.cs index 7fabfc523ef..36a4ca54168 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/ValidationConstraints.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/ValidationConstraints.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/View.cs b/src/System.Windows.Forms/src/System/Windows/Forms/View.cs index 28f35100ad0..1de05b2b671 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/View.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/View.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.ComCtl32; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BackgroundType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BackgroundType.cs index b36dfec7556..6e8be2ba697 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BackgroundType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BackgroundType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum BackgroundType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BooleanProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BooleanProperty.cs index b9a5a658ace..13e9d34d21d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BooleanProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BooleanProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BorderType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BorderType.cs index 203b51ecf93..f201a826580 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BorderType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/BorderType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum BorderType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/CheckBoxState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/CheckBoxState.cs index 302f2bf43db..247394d750c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/CheckBoxState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/CheckBoxState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum CheckBoxState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ColorProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ColorProperty.cs index c39c028b910..1f23b4183ed 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ColorProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ColorProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ComboBoxState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ComboBoxState.cs index c8af93f5e97..6148e154129 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ComboBoxState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ComboBoxState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum ComboBoxState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ContentAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ContentAlignment.cs index c5b427b1adc..c6a5383010a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ContentAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ContentAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum ContentAlignment diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EdgeEffects.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EdgeEffects.cs index 9d068c73389..325a7f7c172 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EdgeEffects.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EdgeEffects.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EdgeStyle.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EdgeStyle.cs index fcd1a858632..e6498be5a96 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EdgeStyle.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EdgeStyle.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/Edges.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/Edges.cs index a5a16bbddc5..d9f8c26e913 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/Edges.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/Edges.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EnumProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EnumProperty.cs index f39a937c381..44c04ebb4be 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EnumProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/EnumProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FilenameProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FilenameProperty.cs index 7a7ebbe94a2..38abe026133 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FilenameProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FilenameProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FillType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FillType.cs index 84e69030ab2..6c7a609cb7c 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FillType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FillType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum FillType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FontProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FontProperty.cs index b5a5c3c5f2a..cd0caf3dbb7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FontProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/FontProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GlyphFontSizingType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GlyphFontSizingType.cs index d0ffe8bfbea..0f5e6afe369 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GlyphFontSizingType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GlyphFontSizingType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum GlyphFontSizingType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GlyphType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GlyphType.cs index e3f94c231b6..52232ecdb0e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GlyphType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GlyphType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum GlyphType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GroupBoxState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GroupBoxState.cs index 94556d41fcf..266cc22d1f3 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GroupBoxState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/GroupBoxState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum GroupBoxState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HeaderItemState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HeaderItemState.cs index d35e864860e..6924e6aa9d0 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HeaderItemState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HeaderItemState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { // Used by some DataGridView classes. diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HitTestCode.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HitTestCode.cs index df969d0cb69..5c7c75657b9 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HitTestCode.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HitTestCode.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum HitTestCode diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HitTestOptions.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HitTestOptions.cs index f0288cb18bb..495b97ea7c5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HitTestOptions.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HitTestOptions.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { [Flags] diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HorizontalAlign.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HorizontalAlign.cs index 3fd6b5cb9e1..8fa1eee2912 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HorizontalAlign.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/HorizontalAlign.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum HorizontalAlign diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/IconEffect.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/IconEffect.cs index 4d071ded818..cdc7b57a04f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/IconEffect.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/IconEffect.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum IconEffect diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ImageOrientation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ImageOrientation.cs index 0267c6318d4..4fa1de6b1e8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ImageOrientation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ImageOrientation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum ImageOrientation diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ImageSelectType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ImageSelectType.cs index d2e48e55553..83f19bc14af 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ImageSelectType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ImageSelectType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum ImageSelectType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/IntegerProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/IntegerProperty.cs index be0047ca357..18771dbb48a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/IntegerProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/IntegerProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/MarginProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/MarginProperty.cs index 4939bbdc797..e5433c8c727 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/MarginProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/MarginProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/OffsetType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/OffsetType.cs index 0ee52fb5928..c64c3f235e4 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/OffsetType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/OffsetType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum OffsetType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/PointProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/PointProperty.cs index a32989e999f..fdff03cee08 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/PointProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/PointProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/PushButtonState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/PushButtonState.cs index 81305283e0f..c6ec5bd0994 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/PushButtonState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/PushButtonState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum PushButtonState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/RadioButtonState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/RadioButtonState.cs index fa0b59da115..4b85c836c9d 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/RadioButtonState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/RadioButtonState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum RadioButtonState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarArrowButtonState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarArrowButtonState.cs index 761f4511b87..794f7310edb 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarArrowButtonState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarArrowButtonState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum ScrollBarArrowButtonState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarSizeBoxState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarSizeBoxState.cs index 3088a2bafb8..0fbf912f871 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarSizeBoxState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarSizeBoxState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum ScrollBarSizeBoxState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarState.cs index 54bf6a432dd..423eaa8cb66 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ScrollBarState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum ScrollBarState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/SizingType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/SizingType.cs index 71a6d704bdb..eefd7d06e01 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/SizingType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/SizingType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum SizingType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/StringProperty.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/StringProperty.cs index f0f82b390dd..ca2c8ae83c5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/StringProperty.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/StringProperty.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop.UxTheme; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TabItemState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TabItemState.cs index 11c2a28b332..57059cb528e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TabItemState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TabItemState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum TabItemState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TextBoxState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TextBoxState.cs index e6666e6f231..6d90cc6fa98 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TextBoxState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TextBoxState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum TextBoxState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TextShadowType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TextShadowType.cs index f9d8dbb5d46..a998f6cfed7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TextShadowType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TextShadowType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum TextShadowType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ToolBarState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ToolBarState.cs index 59cf718a6cb..e659d0e86bd 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ToolBarState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/ToolBarState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum ToolBarState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TrackBarThumbState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TrackBarThumbState.cs index 671b7b0ccc2..616ad9b8be8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TrackBarThumbState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TrackBarThumbState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum TrackBarThumbState diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TrueSizeScalingType.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TrueSizeScalingType.cs index 4762257246c..9af93b9d314 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TrueSizeScalingType.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/TrueSizeScalingType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum TrueSizeScalingType diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VerticalAlignment.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VerticalAlignment.cs index 785cc90dc35..8984cae537b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VerticalAlignment.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VerticalAlignment.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { public enum VerticalAlignment diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleElement.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleElement.cs index 26d2df8df7d..4b38684588e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleElement.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleElement.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.VisualStyles { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleInformation.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleInformation.cs index 338aacbff3d..a460ff10fc5 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleInformation.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleInformation.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Drawing; using System.Runtime.InteropServices; using static Interop; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleRenderer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleRenderer.cs index e86c9d8b3aa..4fc0c396359 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleRenderer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleRenderer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleState.cs index 85902432924..4e39660b13b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/VisualStyleState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms.VisualStyles diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowser.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowser.cs index b19b681c49b..770656a8951 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowser.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowser.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserBase.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserBase.cs index 32511cd6258..c5a279b8f5a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserBase.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserBase.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.ComponentModel.Design; @@ -1874,4 +1876,3 @@ private unsafe void WmWindowPosChanging(ref Message m) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserContainer.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserContainer.cs index a1f4b76f162..e3e7c3f45fc 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserContainer.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserContainer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserDocumentCompletedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserDocumentCompletedEventArgs.cs index 0d00c937287..153cef2315f 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserDocumentCompletedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserDocumentCompletedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserDocumentCompletedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserDocumentCompletedEventHandler.cs index e15cca9fb16..ae02230d9ea 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserDocumentCompletedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserDocumentCompletedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserEncryptionLevel.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserEncryptionLevel.cs index 7645f5de945..38016728e2e 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserEncryptionLevel.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserEncryptionLevel.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserHelper.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserHelper.cs index 546338ae21f..70097c00e40 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserHelper.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserHelper.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections.Specialized; using System.ComponentModel; using System.ComponentModel.Design; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventArgs.cs index 9848bc22ac3..bf77470139b 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventHandler.cs index b47f3bee67c..71114737716 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatingEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatingEventArgs.cs index 8215e64bc48..29c58e34f46 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatingEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatingEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatingEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatingEventHandler.cs index fa90fc9e5b2..498f3689b98 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatingEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserNavigatingEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserProgressChangedEventArgs.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserProgressChangedEventArgs.cs index 67f0aa0118c..5c6e7b11838 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserProgressChangedEventArgs.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserProgressChangedEventArgs.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserProgressChangedEventHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserProgressChangedEventHandler.cs index f204b8af9a8..4c409c957f7 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserProgressChangedEventHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserProgressChangedEventHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserReadyState.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserReadyState.cs index fe48f970a13..2cb3ef02a19 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserReadyState.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserReadyState.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using static Interop; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserRefreshOption.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserRefreshOption.cs index 333187aa145..60353deb47a 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserRefreshOption.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserRefreshOption.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { /// diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserSiteBase.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserSiteBase.cs index cd8f0ebc54a..19f63600485 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserSiteBase.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserSiteBase.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; @@ -436,4 +438,3 @@ private unsafe HRESULT OnActiveXRectChange(RECT* lprcPosRect) } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserUriTypeConverter.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserUriTypeConverter.cs index b6e109e5b88..187f2715530 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserUriTypeConverter.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WebBrowserUriTypeConverter.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; namespace System.Windows.Forms diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WinCategoryAttribute.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WinCategoryAttribute.cs index 4c9275ccd73..c65e8a6f011 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WinCategoryAttribute.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WinCategoryAttribute.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WinFormsUtils.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WinFormsUtils.cs index 14bac24f334..f8c344886ed 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WinFormsUtils.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WinFormsUtils.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WindowsFormsSectionHandler.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WindowsFormsSectionHandler.cs index d2f526e16cc..915736196d8 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WindowsFormsSectionHandler.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WindowsFormsSectionHandler.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms { // According to our data base, following public class has no usage at runtime. @@ -26,4 +28,3 @@ public bool JitDebugging } } } - diff --git a/src/System.Windows.Forms/src/System/Windows/Forms/WindowsFormsSynchronizationContext.cs b/src/System.Windows.Forms/src/System/Windows/Forms/WindowsFormsSynchronizationContext.cs index 06285750518..5973885f571 100644 --- a/src/System.Windows.Forms/src/System/Windows/Forms/WindowsFormsSynchronizationContext.cs +++ b/src/System.Windows.Forms/src/System/Windows/Forms/WindowsFormsSynchronizationContext.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Threading; using System.Diagnostics; using System.ComponentModel; diff --git a/src/System.Windows.Forms/src/misc/CompatibleIComparer.cs b/src/System.Windows.Forms/src/misc/CompatibleIComparer.cs index 92e1cd64efb..ab0b0f2d312 100644 --- a/src/System.Windows.Forms/src/misc/CompatibleIComparer.cs +++ b/src/System.Windows.Forms/src/misc/CompatibleIComparer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Collections.Specialized { using System.Collections; diff --git a/src/System.Windows.Forms/src/misc/CoreSwitches.cs b/src/System.Windows.Forms/src/misc/CoreSwitches.cs index 7dd88ebb704..27861250f29 100644 --- a/src/System.Windows.Forms/src/misc/CoreSwitches.cs +++ b/src/System.Windows.Forms/src/misc/CoreSwitches.cs @@ -1,7 +1,9 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; namespace System.ComponentModel diff --git a/src/System.Windows.Forms/src/misc/DbgUtil.cs b/src/System.Windows.Forms/src/misc/DbgUtil.cs index d511699f632..097ed9e5900 100644 --- a/src/System.Windows.Forms/src/misc/DbgUtil.cs +++ b/src/System.Windows.Forms/src/misc/DbgUtil.cs @@ -1,7 +1,9 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Reflection; using System.Text; diff --git a/src/System.Windows.Forms/src/misc/GDI/ApplyGraphicsProperties.cs b/src/System.Windows.Forms/src/misc/GDI/ApplyGraphicsProperties.cs index aa8dfbbb48e..a3b8157e18e 100644 --- a/src/System.Windows.Forms/src/misc/GDI/ApplyGraphicsProperties.cs +++ b/src/System.Windows.Forms/src/misc/GDI/ApplyGraphicsProperties.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Internal { /// diff --git a/src/System.Windows.Forms/src/misc/GDI/DeviceContext.cs b/src/System.Windows.Forms/src/misc/GDI/DeviceContext.cs index cfd20e3af15..6a6b20e296f 100644 --- a/src/System.Windows.Forms/src/misc/GDI/DeviceContext.cs +++ b/src/System.Windows.Forms/src/misc/GDI/DeviceContext.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + // #define TRACK_HDC // #define GDI_FINALIZATION_WATCH diff --git a/src/System.Windows.Forms/src/misc/GDI/DeviceContext2.cs b/src/System.Windows.Forms/src/misc/GDI/DeviceContext2.cs index a695eb7e8a0..991cafe5e83 100644 --- a/src/System.Windows.Forms/src/misc/GDI/DeviceContext2.cs +++ b/src/System.Windows.Forms/src/misc/GDI/DeviceContext2.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; @@ -302,4 +304,3 @@ public unsafe Point ViewportOrigin } } } - diff --git a/src/System.Windows.Forms/src/misc/GDI/DeviceContextType.cs b/src/System.Windows.Forms/src/misc/GDI/DeviceContextType.cs index 36ddf1c2c6f..df9a6628110 100644 --- a/src/System.Windows.Forms/src/misc/GDI/DeviceContextType.cs +++ b/src/System.Windows.Forms/src/misc/GDI/DeviceContextType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Internal { /// @@ -31,4 +33,3 @@ internal enum DeviceContextType Metafile = 0x06 // currently not supported. } } - diff --git a/src/System.Windows.Forms/src/misc/GDI/DeviceContexts.cs b/src/System.Windows.Forms/src/misc/GDI/DeviceContexts.cs index c2d67fd8b69..bf42d21543c 100644 --- a/src/System.Windows.Forms/src/misc/GDI/DeviceContexts.cs +++ b/src/System.Windows.Forms/src/misc/GDI/DeviceContexts.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Internal { /// diff --git a/src/System.Windows.Forms/src/misc/GDI/GdiObjectType.cs b/src/System.Windows.Forms/src/misc/GDI/GdiObjectType.cs index 5ab335536c5..fc85da9c07e 100644 --- a/src/System.Windows.Forms/src/misc/GDI/GdiObjectType.cs +++ b/src/System.Windows.Forms/src/misc/GDI/GdiObjectType.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Internal { /// diff --git a/src/System.Windows.Forms/src/misc/GDI/MeasurementDCInfo.cs b/src/System.Windows.Forms/src/misc/GDI/MeasurementDCInfo.cs index edf899683ab..616438f1a38 100644 --- a/src/System.Windows.Forms/src/misc/GDI/MeasurementDCInfo.cs +++ b/src/System.Windows.Forms/src/misc/GDI/MeasurementDCInfo.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + #if OPTIMIZED_MEASUREMENTDC #if WGCM_TEST_SUITE // Enable tracking when built for the test suites. #define TRACK_HDC diff --git a/src/System.Windows.Forms/src/misc/GDI/TextPaddingOptions.cs b/src/System.Windows.Forms/src/misc/GDI/TextPaddingOptions.cs index 1ca81498809..1a0b4700abb 100644 --- a/src/System.Windows.Forms/src/misc/GDI/TextPaddingOptions.cs +++ b/src/System.Windows.Forms/src/misc/GDI/TextPaddingOptions.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Windows.Forms.Internal { /// diff --git a/src/System.Windows.Forms/src/misc/GDI/WindowsBrush.cs b/src/System.Windows.Forms/src/misc/GDI/WindowsBrush.cs index 04dad2fdebe..4542a9fc082 100644 --- a/src/System.Windows.Forms/src/misc/GDI/WindowsBrush.cs +++ b/src/System.Windows.Forms/src/misc/GDI/WindowsBrush.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; diff --git a/src/System.Windows.Forms/src/misc/GDI/WindowsFont.cs b/src/System.Windows.Forms/src/misc/GDI/WindowsFont.cs index fcdada57efa..0c2728f93cc 100644 --- a/src/System.Windows.Forms/src/misc/GDI/WindowsFont.cs +++ b/src/System.Windows.Forms/src/misc/GDI/WindowsFont.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Drawing.Text; diff --git a/src/System.Windows.Forms/src/misc/GDI/WindowsGraphics.cs b/src/System.Windows.Forms/src/misc/GDI/WindowsGraphics.cs index adcb18fa5ea..56e46b0461d 100644 --- a/src/System.Windows.Forms/src/misc/GDI/WindowsGraphics.cs +++ b/src/System.Windows.Forms/src/misc/GDI/WindowsGraphics.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + //#define GDI_FINALIZATION_WATCH // THIS PARTIAL CLASS CONTAINS THE BASE METHODS FOR CREATING AND DISPOSING A WINDOWSGRAPHICS AS WELL diff --git a/src/System.Windows.Forms/src/misc/GDI/WindowsGraphics2.cs b/src/System.Windows.Forms/src/misc/GDI/WindowsGraphics2.cs index a09e4d7c105..042feb11072 100644 --- a/src/System.Windows.Forms/src/misc/GDI/WindowsGraphics2.cs +++ b/src/System.Windows.Forms/src/misc/GDI/WindowsGraphics2.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/misc/GDI/WindowsGraphicsCacheManager.cs b/src/System.Windows.Forms/src/misc/GDI/WindowsGraphicsCacheManager.cs index 4028c8ce95e..bec685e0e3a 100644 --- a/src/System.Windows.Forms/src/misc/GDI/WindowsGraphicsCacheManager.cs +++ b/src/System.Windows.Forms/src/misc/GDI/WindowsGraphicsCacheManager.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + #if WGCM_TEST_SUITE // Enable tracking when built for the test suites. #define TRACK_HDC #define GDI_FONT_CACHE_TRACK diff --git a/src/System.Windows.Forms/src/misc/GDI/WindowsPen.cs b/src/System.Windows.Forms/src/misc/GDI/WindowsPen.cs index 14a272ce299..f171dbd0e13 100644 --- a/src/System.Windows.Forms/src/misc/GDI/WindowsPen.cs +++ b/src/System.Windows.Forms/src/misc/GDI/WindowsPen.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Globalization; diff --git a/src/System.Windows.Forms/src/misc/GDI/WindowsRegion.cs b/src/System.Windows.Forms/src/misc/GDI/WindowsRegion.cs index f4dcee1fb97..2defafb184e 100644 --- a/src/System.Windows.Forms/src/misc/GDI/WindowsRegion.cs +++ b/src/System.Windows.Forms/src/misc/GDI/WindowsRegion.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; diff --git a/src/System.Windows.Forms/src/misc/GDI/WindowsSolidBrush.cs b/src/System.Windows.Forms/src/misc/GDI/WindowsSolidBrush.cs index a1d11b9d54a..d8d7388cc24 100644 --- a/src/System.Windows.Forms/src/misc/GDI/WindowsSolidBrush.cs +++ b/src/System.Windows.Forms/src/misc/GDI/WindowsSolidBrush.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Diagnostics; using System.Drawing; using static Interop; diff --git a/src/System.Windows.Forms/src/misc/ImageListUtils.cs b/src/System.Windows.Forms/src/misc/ImageListUtils.cs index c26024dd7eb..480f701f94f 100644 --- a/src/System.Windows.Forms/src/misc/ImageListUtils.cs +++ b/src/System.Windows.Forms/src/misc/ImageListUtils.cs @@ -1,7 +1,9 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.ComponentModel; using System.Diagnostics; diff --git a/src/System.Windows.Forms/src/misc/InvariantComparer.cs b/src/System.Windows.Forms/src/misc/InvariantComparer.cs index e125a51c8fe..b0b6e0e7ace 100644 --- a/src/System.Windows.Forms/src/misc/InvariantComparer.cs +++ b/src/System.Windows.Forms/src/misc/InvariantComparer.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + using System.Collections; using System.Globalization; diff --git a/src/System.Windows.Forms/src/misc/MultitargetUtil.cs b/src/System.Windows.Forms/src/misc/MultitargetUtil.cs index ed43435c331..9775a0ee184 100644 --- a/src/System.Windows.Forms/src/misc/MultitargetUtil.cs +++ b/src/System.Windows.Forms/src/misc/MultitargetUtil.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.Resources { /// diff --git a/src/System.Windows.Forms/src/misc/WeakHashtable.cs b/src/System.Windows.Forms/src/misc/WeakHashtable.cs index 4531bfcd92e..fce727187a0 100644 --- a/src/System.Windows.Forms/src/misc/WeakHashtable.cs +++ b/src/System.Windows.Forms/src/misc/WeakHashtable.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable disable + namespace System.ComponentModel { using System;