summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/System.Private.CoreLib/Common/NotImplemented.cs1
-rw-r--r--src/System.Private.CoreLib/Common/System/SR.cs1
-rw-r--r--src/System.Private.CoreLib/System.Private.CoreLib.csproj1
-rw-r--r--src/System.Private.CoreLib/shared/Internal/IO/File.Unix.cs2
-rw-r--r--src/System.Private.CoreLib/shared/Internal/IO/File.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Internal/IO/File.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Internal/Padding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Internal/Resources/PRIExceptionInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Internal/Resources/WindowsRuntimeResourceManagerBase.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Internal/Runtime/CompilerServices/Unsafe.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/Interop.Errors.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/Interop.Libraries.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Calendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Casing.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Collation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ICU.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Idna.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Locale.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Normalization.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ResultCode.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.TimeZoneInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Utils.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Access.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ChDir.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Close.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FLock.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FSync.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FTruncate.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCpuUtilization.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCwd.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetEUid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetHostName.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPwUid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetRandomBytes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetSystemTimeAsTicks.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetTimestamp.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixRelease.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LSeek.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LockFileRegion.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MksTemps.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MountPoints.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Open.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.OpenFlags.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PathConf.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Permissions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PosixFAdvise.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadDir.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadLink.cs2
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Stat.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysConf.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysLog.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Unlink.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Write.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.ActivityControl.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EVENT_INFO_CLASS.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EtwEnableCallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventActivityIdControl.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventRegister.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventSetInformation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventTraceGuidsEx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventUnregister.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteString.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteTransfer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.LookupAccountNameW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegCloseKey.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegDeleteKeyEx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegFlushKey.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegistryConstants.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.GetRandomBytes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.NTSTATUS.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Crypt32/Interop.CryptProtectMemory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOL.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOLEAN.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Interop.Errors.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Interop.Libraries.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CREATEFILE2_EXTENDED_PARAMETERS.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CancelIoEx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CloseHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile2.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.EventWaitHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ExpandEnvironmentStrings.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_INFO_BY_HANDLE_CLASS.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_TIME.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTimeToSystemTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTypes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FindClose.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FlushFileBuffers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FormatMessage.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeEnvironmentStrings.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeLibrary.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GET_FILEEX_INFO_LEVELS.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCPInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentDirectory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentStrings.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentVariable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileInformationByHandleEx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileType_SafeHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFullPathNameW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLogicalDrives.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLongPathNameW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessInformation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetStdHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemDirectoryW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimeAsFileTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimePreciseAsFileTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempFileNameW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempPathW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetVersionExW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Globalization.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.HandleTypes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.IsWow64Process_IntPtr.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LoadLibraryEx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LocalAlloc.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LockFile.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MAX_PATH.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORYSTATUSEX.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORY_BASIC_INFORMATION.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MUI.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MultiByteToWideChar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Mutex.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OSVERSIONINFOEX.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OutputDebugString.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceCounter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceFrequency.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryUnbiasedInterruptTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_IntPtr.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_NativeOverlapped.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ResolveLocaleName.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SECURITY_ATTRIBUTES.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SYSTEM_INFO.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SecurityOptions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Semaphore.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetCurrentDirectory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEndOfFile.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEnvironmentVariable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetFilePointerEx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetThreadErrorMode.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SystemTimeToFileTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.Registry.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TzSpecificLocalTimeToSystemTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerSetConditionMask.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerifyVersionExW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FILE_ATTRIBUTE_DATA.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FIND_DATA.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WideCharToMultiByte.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_IntPtr.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_NativeOverlapped.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Idna.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Normalization.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQuerySystemInformation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoCreateGuid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoTaskMemAlloc.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringByteLen.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringLen.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysFreeString.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysStringLen.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Secur32/Interop.GetUserNameExW.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/Shell32/Interop.SHGetKnownFolderPath.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.Constants.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.LoadString.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.SendMessageTimeout.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleMinusOneIsInvalid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleZeroOrMinusOneIsInvalid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFindHandle.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleMinusOneIsInvalid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleZeroOrMinusOneIsInvalid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems3
-rw-r--r--src/System.Private.CoreLib/shared/System/AccessViolationException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Action.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Activator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AggregateException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AppContext.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AppDomain.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AppDomainSetup.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ApplicationException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ArgumentException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ArgumentNullException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ArgumentOutOfRangeException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ArithmeticException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Array.Enumerators.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Array.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ArraySegment.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ArrayTypeMismatchException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AssemblyLoadEventArgs.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AssemblyLoadEventHandler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AsyncCallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Attribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AttributeTargets.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/AttributeUsageAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/BadImageFormatException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/BitConverter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Boolean.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffer.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffer.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/ArrayPoolEventSource.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Binary/Reader.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderBigEndian.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderLittleEndian.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterBigEndian.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterLittleEndian.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/ConfigurableArrayPool.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/IMemoryOwner.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/IPinnable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/MemoryHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/MemoryManager.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/OperationStatus.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/StandardFormat.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/FormattingHelpers.CountDigits.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Constants.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/FormattingHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Boolean.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.G.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.L.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.O.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.R.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.E.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.F.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.G.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Float.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Guid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.D.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.Default.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.N.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.D.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.Default.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.N.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.X.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.TimeSpan.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/ParserHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Boolean.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Default.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.G.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Helpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.O.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.R.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Decimal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Float.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Guid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.D.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.N.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.D.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.N.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.X.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Number.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.BigG.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.C.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.LittleG.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpanSplitter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/TlsOverPerCoreLockedStacksArrayPool.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Buffers/Utilities.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ByReference.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Byte.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/CLSCompliantAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/CannotUnloadAppDomainException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Char.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/CharEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/ArrayList.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Comparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Concurrent/ConcurrentQueue.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollectionDebugView.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/ArraySortHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/Comparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/Dictionary.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/EqualityComparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/ICollection.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/ICollectionDebugView.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IComparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionary.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionaryDebugView.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IEqualityComparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IList.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyCollection.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyDictionary.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyList.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/KeyNotFoundException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/KeyValuePair.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/List.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/HashHelpers.SerializationInfoTable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/HashHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/Hashtable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/ICollection.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IComparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IDictionary.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IDictionaryEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IEnumerable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IEqualityComparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IHashCodeProvider.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IList.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IStructuralComparable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/IStructuralEquatable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/KeyValuePairs.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/ListDictionaryInternal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/ObjectModel/ReadOnlyCollection.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ComponentModel/DefaultValueAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableState.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Convert.Base64.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Convert.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/CoreLib.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/CurrentSystemTimeZone.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DBNull.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DataMisalignedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DateTime.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DateTime.Win32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DateTime.WinRT.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DateTime.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DateTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DateTimeKind.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DateTimeOffset.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DayOfWeek.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Decimal.DecCalc.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Decimal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DefaultBinder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Delegate.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/ConditionalAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractFailedEventArgs.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/Contracts.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Windows.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggableAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerBrowsableAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerDisplayAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerHiddenAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerNonUserCodeAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepThroughAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepperBoundaryAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerTypeProxyAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerVisualizerAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/StackFrame.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/StackTrace.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/StackTraceHiddenAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/SymbolStore/ISymbolDocumentWriter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventCounter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventDescriptor.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventProvider.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSourceException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/FrameworkEventSource.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IEventProvider.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingEventCounter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingPollingCounter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/PollingCounter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ArrayTypeInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSet.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSetItem.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/DataCollector.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EmptyStruct.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumerableTypeInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventDataAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventFieldAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventIgnoreAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventPayload.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceOptions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/FieldMetadata.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/InvokeTypeInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/NameInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyAnalysis.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleEventTypes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleTypeInfos.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/Statics.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingDataCollector.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventTypes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingMetadataCollector.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingTypeInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TypeAnalysis.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/Winmeta.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DivideByZeroException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DllNotFoundException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Double.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/DuplicateWaitObjectException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Empty.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/EntryPointNotFoundException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Enum.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.NoRegistry.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.SpecialFolder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.SpecialFolderOption.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.Variables.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.Win32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.WinRT.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Environment.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/EnvironmentVariableTarget.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/EventArgs.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/EventHandler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Exception.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ExecutionEngineException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/FieldAccessException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/FlagsAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/FormatException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/FormattableString.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/GCMemoryInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Gen2GcCallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/Calendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CalendarData.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CalendricalCalculationsHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfoData.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/ChineseLunisolarCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Invariant.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureData.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureData.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureNotFoundException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormat.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfoScanner.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/DateTimeParse.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/DaylightTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/EastAsianLunisolarCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/GlobalizationExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/HebrewCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/HebrewNumber.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Win32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.WinRT.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/ISOWeek.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/InternalGlobalizationHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Win32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.WinRT.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/JapaneseLunisolarCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/JulianCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/KoreanCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/KoreanLunisolarCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/LocaleData.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/Normalization.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/Normalization.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/NumberFormatInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/PersianCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/RegionInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/SortKey.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/SortVersion.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/StringInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/TaiwanCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/TaiwanLunisolarCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/TextElementEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/TextInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/ThaiBuddhistCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/TimeSpanFormat.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/TimeSpanParse.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/UmAlQuraCalendar.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Guid.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Guid.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Guid.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/HResults.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/HashCode.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IAsyncDisposable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IAsyncResult.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ICloneable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IComparable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IConvertible.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ICustomFormatter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IDisposable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IEquatable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IFormatProvider.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IFormattable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/BinaryReader.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/BinaryWriter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/DisableMediaInsertionPrompt.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/DriveInfoInternal.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/EncodingCache.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/EndOfStreamException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/Error.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileAccess.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileLoadException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileMode.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileNotFoundException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileOptions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileShare.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStream.Linux.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStream.OSX.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStream.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStream.Win32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStream.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStream.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStreamCompletionSource.Win32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/IOException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/MemoryStream.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/Path.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/Path.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/PathHelper.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/PathInternal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/PathTooLongException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/PersistedFiles.Names.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/PinnedBufferMemoryStream.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/SeekOrigin.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/Stream.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/StreamHelpers.CopyValidation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/StreamReader.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/StreamWriter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/TextReader.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/TextWriter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryAccessor.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStream.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStreamWrapper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IObservable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IObserver.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IProgress.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ISpanFormattable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Index.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IndexOutOfRangeException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/InsufficientExecutionStackException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/InsufficientMemoryException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Int16.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Int32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Int64.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/IntPtr.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/InvalidCastException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/InvalidOperationException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/InvalidProgramException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/InvalidTimeZoneException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Lazy.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.Common.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/LocalDataStoreSlot.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MarshalByRefObject.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Marvin.OrdinalIgnoreCase.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Marvin.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Math.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MathF.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MemberAccessException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Memory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MemoryDebugView.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MemoryExtensions.Fast.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MemoryExtensions.Trim.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MemoryExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MethodAccessException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MidpointRounding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MissingFieldException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MissingMemberException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MissingMethodException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/MulticastNotSupportedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/NonSerializedAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/NotFiniteNumberException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/NotImplementedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/NotSupportedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/NullReferenceException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Nullable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Number.BigInteger.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Number.DiyFp.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Number.Dragon4.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Number.Formatting.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Number.Grisu3.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Number.NumberBuffer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Number.NumberToFloatingPointBits.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Number.Parsing.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Numerics/BitOperations.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Numerics/ConstantHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Numerics/Hashing/HashHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Numerics/Register.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Numerics/Vector.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Numerics/Vector_Operations.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Object.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ObjectDisposedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/OperatingSystem.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/OperationCanceledException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/OutOfMemoryException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/OverflowException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ParamArrayAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ParamsArray.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ParseNumbers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/PasteArguments.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/PasteArguments.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/PasteArguments.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/PlatformID.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/PlatformNotSupportedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Progress.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Random.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Range.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/RankException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ReadOnlyMemory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ReadOnlySpan.Fast.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ReadOnlySpan.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyAlgorithmIdAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyCompanyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyConfigurationAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyContentType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyCopyrightAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyCultureAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyDefaultAliasAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyDelaySignAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyDescriptionAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyFileVersionAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyFlagsAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyInformationalVersionAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyFileAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyNameAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyMetadataAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyName.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFlags.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFormatter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyProductAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblySignatureKeyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyTitleAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyTrademarkAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/AssemblyVersionAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Binder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/CallingConventions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ConstructorInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/CorElementType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/AssemblyBuilderAccess.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/EventToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/FieldToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/FlowControl.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/MethodToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodeType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/Opcode.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/OperandType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/PEFileKinds.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/PackingSize.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/ParameterToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/PropertyToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/SignatureToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/StackBehaviour.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/StringToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Emit/TypeToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/EventAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/EventInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClause.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClauseOptions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/FieldAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/FieldInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/GenericParameterAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ICustomAttributeProvider.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/IReflect.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/IReflectableType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ImageFileMachine.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/InterfaceMapping.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/IntrospectionExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/LocalVariableInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ManifestResourceInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MemberFilter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MemberInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MemberTypes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MethodAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MethodBase.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MethodImplAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.Internal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Missing.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Module.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ModuleResolveEventHandler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ObfuscateAssemblyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ObfuscationAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ParameterAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ParameterInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/PortableExecutableKinds.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ProcessorArchitecture.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/PropertyAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/PropertyInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ReflectionContext.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ResourceAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/ResourceLocation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignatureArrayType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignatureByRefType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignatureConstructedGenericType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericMethodParameterType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericParameterType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignatureHasElementType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignaturePointerType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignatureType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/SignatureTypeExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/TypeAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/TypeFilter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Reflection/TypeInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ResolveEventArgs.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ResolveEventHandler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/FastResourceComparer.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/FileBasedResourceGroveler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/IResourceGroveler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/IResourceReader.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/ManifestBasedResourceGroveler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/MissingManifestResourceException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/MissingSatelliteAssemblyException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/NeutralResourcesLanguageAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/ResourceFallbackManager.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/ResourceManager.Uap.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/ResourceManager.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/ResourceReader.Core.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/ResourceSet.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/RuntimeResourceSet.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Resources/SatelliteContractVersionAttribute.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AccessedThroughPropertyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorStateMachineAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilderAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncStateMachineAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerArgumentExpressionAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerFilePathAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerLineNumberAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerMemberNameAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxationsAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGeneratedAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGlobalScopeAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConditionalWeakTable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredAsyncDisposable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredCancelableAsyncEnumerable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ContractHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CustomConstantAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DateTimeConstantAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DecimalConstantAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DefaultDependencyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DependencyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DisablePrivateReflectionAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ExtensionAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedAddressValueTypeAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedBufferAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FormattableStringFactory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IAsyncStateMachine.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ICastable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/INotifyCompletion.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ITuple.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IndexerNameAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/InternalsVisibleToAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsConst.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsReadOnlyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsVolatile.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IteratorStateMachineAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplOptions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeWrappedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SpecialNameAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StateMachineAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StringFreezingAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StrongBox.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SuppressIldasmAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TupleElementNamesAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedToAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/UnsafeValueTypeAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ValueTaskAwaiter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/YieldAwaitable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/CriticalFinalizerObject.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/ReliabilityContractAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionDispatchInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionNotification.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/HandleProcessCorruptedStateExceptionsAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/GCSettings.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/AllowReversePInvokeCallsAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BStrWrapper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BestFitMappingAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/COMException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ClassInterfaceAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CoClassAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComDefaultInterfaceAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventInterfaceAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventsHelpers.NoCom.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComImportAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IBindCtx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPoint.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPointContainer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnectionPoints.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnections.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumMoniker.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumString.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumVARIANT.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IMoniker.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IPersistFile.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IRunningObjectTable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IStream.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeComp.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo2.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib2.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComVisibleAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CriticalHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CurrencyWrapper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultCharSetAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultDllImportSearchPathsAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultParameterValueAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispIdAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispatchWrapper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DllImportAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ErrorWrapper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ExternalException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/FieldOffsetAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GCHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GuidAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/HandleRef.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomFactory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomMarshaler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomQueryInterface.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InterfaceTypeAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/LCIDConversionAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.NoCom.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalAsAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalDirectiveException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.Fast.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeCallableAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeLibrary.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OptionalAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OutAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/PreserveSigAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeBuffer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/StructLayoutAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/TypeIdentifierAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnknownWrapper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnmanagedFunctionPointerAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/VariantWrapper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128DebugView_1.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128_1.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256DebugView_1.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256_1.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64DebugView_1.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64_1.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Remoting/ObjectHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationBlockedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationTracker.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/IDeserializationCallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/IFormatterConverter.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/IObjectReference.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISafeSerializationData.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISerializable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializedAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializingAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializedAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializingAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/OptionalFieldAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/SafeSerializationEventArgs.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfoEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Serialization/StreamingContext.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Versioning/NonVersionableAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/Versioning/TargetFrameworkAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SByte.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/AllowPartiallyTrustedCallersAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/CryptographicException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/IPermission.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/ISecurityEncodable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/IStackWalk.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/PermissionSet.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/Principal/IIdentity.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/Principal/IPrincipal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SafeBSTRHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecureString.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecureString.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecurityCriticalAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecurityElement.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecurityException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecurityRulesAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecuritySafeCriticalAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecurityTransparentAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SecurityTreatAsSafeAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/SuppressUnmanagedCodeSecurityAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/UnverifiableCodeAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Security/VerificationException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SerializableAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Single.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Span.Fast.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Span.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SpanDebugView.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SpanHelpers.BinarySearch.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SpanHelpers.Byte.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SpanHelpers.Char.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SpanHelpers.T.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SpanHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/StackOverflowException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/String.Comparison.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/String.Manipulation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/String.Searching.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/String.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/StringComparer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/StringComparison.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/StringSplitOptions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/SystemException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/ASCIIEncoding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.Helpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/CodePageDataItem.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Decoder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/DecoderBestFitFallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/DecoderExceptionFallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/DecoderFallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/DecoderNLS.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/DecoderReplacementFallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Encoder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncoderBestFitFallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncoderNLS.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncoderReplacementFallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Encoding.Internal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Encoding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncodingData.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncodingInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncodingNLS.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncodingProvider.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncodingTable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Rune.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/SpanRuneEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/StringBuilder.Debug.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/StringBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/StringRuneEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/UTF32Encoding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/UTF7Encoding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/UTF8Encoding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Helpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Transcoding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Validation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/UnicodeDebug.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/UnicodeEncoding.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/UnicodeUtility.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ThreadAttributes.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ThreadStaticAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/AbandonedMutexException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ApartmentState.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/AsyncLocal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/AutoResetEvent.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/CancellationTokenSource.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/CompressedStack.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/EventResetMode.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/IOCompletionCallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/LockRecursionException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ManualResetEvent.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Mutex.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Mutex.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/NativeOverlapped.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ParameterizedThreadStart.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ReaderWriterLockSlim.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Semaphore.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Semaphore.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/SemaphoreFullException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/SendOrPostCallback.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/SpinLock.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/SpinWait.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/SynchronizationContext.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/SynchronizationLockException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracer.Noop.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracerConstants.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/ProducerConsumerQueues.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/IValueTaskSource.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskAsyncEnumerableExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExceptionHolder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Thread.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Thread.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Thread.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadAbortException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadInterruptedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadPriority.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadStart.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadStartException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadState.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/ThreadStateException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Timeout.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/TimeoutHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Timer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Portable.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/Volatile.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/WaitHandle.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Threading/WaitHandleCannotBeOpenedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ThrowHelper.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeSpan.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeZone.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeZoneInfo.AdjustmentRule.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeZoneInfo.StringSerializer.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeZoneInfo.TransitionTime.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeZoneInfo.Win32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeZoneInfo.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeZoneNotFoundException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TimeoutException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Tuple.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TupleExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Type.Enum.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Type.Helpers.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Type.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TypeAccessException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TypeCode.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TypeInitializationException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TypeLoadException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/TypeUnloadedException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/UInt16.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/UInt32.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/UInt64.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/UIntPtr.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/UnauthorizedAccessException.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/UnhandledExceptionEventArgs.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/UnhandledExceptionEventHandler.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/UnitySerializationHolder.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/ValueTuple.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Version.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Void.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/WinRTFolderPaths.cs1
-rw-r--r--src/System.Private.CoreLib/src/Internal/Console.cs1
-rw-r--r--src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComActivator.cs1
-rw-r--r--src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/InMemoryAssemblyLoader.cs1
-rw-r--r--src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/IsolatedComponentLoadContext.cs1
-rw-r--r--src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ActivationFactoryLoader.cs1
-rw-r--r--src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ExceptionSupport.cs1
-rw-r--r--src/System.Private.CoreLib/src/Interop/Unix/Interop.Libraries.cs1
-rw-r--r--src/System.Private.CoreLib/src/Interop/Windows/OleAut32/Interop.VariantClear.cs1
-rw-r--r--src/System.Private.CoreLib/src/Microsoft/Win32/OAVariantLib.cs1
-rw-r--r--src/System.Private.CoreLib/src/Microsoft/Win32/UnsafeNativeMethods.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/AppContext.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/ApplicationModel.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/ArgIterator.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Array.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Attribute.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/BadImageFormatException.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Buffer.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/CLRConfig.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Char8.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Collections/EmptyReadOnlyDictionaryInternal.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Collections/Generic/Comparer.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Collections/Generic/ComparerHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Collections/ObjectModel/ReadOnlyDictionary.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Currency.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/DateTime.Unix.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/DateTime.Windows.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Delegate.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Debugger.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/EditAndContinueHelper.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipe.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventDispatcher.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventProvider.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeMetadataGenerator.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipePayloadDecoder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/NativeRuntimeEventSource.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSource.cs2
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingEventHandleTable.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/Eventing/XplatEventLogger.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/ICustomDebuggerNotification.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/StackFrame.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/StackTrace.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/ISymWriter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/SymAddressKind.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/Token.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Enum.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Environment.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Exception.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/GC.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/IO/FileLoadException.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/IO/FileNotFoundException.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/IO/Stream.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Internal.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Math.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/MathF.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/MissingMemberException.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/MulticastDelegate.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Object.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/OleAutBinder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Assembly.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/AssemblyName.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Associates.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/ConstructorInfo.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/CustomAttributeExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/AQNBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilderData.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicILGenerator.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/EventBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/GenericTypeParameterBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/ISymWrapperCore.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/LocalBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilderInstantiation.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilderData.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/ParameterBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/PropertyBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolMethod.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolType.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilder.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilderInstantiation.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Emit/XXXOnTypeBuilderInstantiation.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/FieldInfo.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/INVOCATION_FLAGS.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/LoaderAllocator.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/MdConstant.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/MdFieldInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/MdImport.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/MemberInfo.Internal.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/Metadata/AssemblyExtensions.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/MethodBase.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RtFieldInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeEventInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeExceptionHandlingClause.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeFieldInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeLocalVariableInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodBody.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeModule.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimeParameterInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Resources/ManifestBasedResourceGroveler.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/RtType.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/CrossLoaderAllocatorHashHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/DependentHandle.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/GCHeapHash.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ICastableHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TypeDependencyAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/jithelpers.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/GCSettings.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsHelper.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsMethod.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsSink.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComTypes/IEnumerable.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CriticalHandle.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ComDataHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumVariantViewOfEnumerator.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableToDispatchMarshaler.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableViewOfDispatch.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorToEnumVariantMarshaler.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorViewOfEnumVariant.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ExpandoToDispatchExMarshaler.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/TypeToTypeInfoMarshaler.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/Expando/IExpando.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/GCHandle.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/IDispatch.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/IException.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/Variant.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToCollectionAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToListAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIKeyValuePairImpl.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIPropertyValueImpl.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIReferenceImpl.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ConstantSplittableMap.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CustomPropertyImpl.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryKeyCollection.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryToMapAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryValueCollection.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EnumeratorToIteratorAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTable.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IActivationFactory.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IClosable.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomPropertyProvider.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterable.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterator.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMap.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMapViewToIReadOnlyDictionaryAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IPropertyValue.cs2
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyDictionaryToIMapViewAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyListToIVectorViewAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReference.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVector.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVectorViewToIReadOnlyListAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IteratorToEnumeratorAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorViewAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToVectorAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ManagedActivationFactory.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToCollectionAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToDictionaryAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapViewToReadOnlyCollectionAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/NativeMethods.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/PropertyValue.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/RuntimeClass.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToCollectionAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToListAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorViewToReadOnlyCollectionAdapter.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsFoundationEventHandler.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshal.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMetadata.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyDependencyResolver.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/Versioning/CompatibilitySwitch.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/RuntimeArgumentHandle.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/RuntimeHandles.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Security/DynamicSecurityMethodAttribute.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/StartupHookProvider.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/String.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/StubHelpers.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Text/StringBuilder.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Unix.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Windows.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandleOverlapped.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolPreAllocatedOverlapped.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/Interlocked.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/Monitor.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/Overlapped.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/StackCrawlMark.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.Uap.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/Tasks/AsyncCausalityTracer.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/Tasks/IAsyncCausalityTracerStatics.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/ThreadPool.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Threading/WaitHandle.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Type.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/TypeLoadException.CoreCLR.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/TypeNameParser.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/TypedReference.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Utf8Extensions.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Utf8String.Construction.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Utf8String.Manipulation.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Utf8String.Searching.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Utf8String.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/ValueType.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/Variant.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/WeakReference.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/WeakReferenceOfT.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/__Canon.cs1
-rw-r--r--src/System.Private.CoreLib/src/System/__ComObject.cs1
1446 files changed, 8 insertions, 1461 deletions
diff --git a/src/System.Private.CoreLib/Common/NotImplemented.cs b/src/System.Private.CoreLib/Common/NotImplemented.cs
index 9c8062872f..2b81173dd2 100644
--- a/src/System.Private.CoreLib/Common/NotImplemented.cs
+++ b/src/System.Private.CoreLib/Common/NotImplemented.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
//
diff --git a/src/System.Private.CoreLib/Common/System/SR.cs b/src/System.Private.CoreLib/Common/System/SR.cs
index 4c04be45c5..2adfcafd42 100644
--- a/src/System.Private.CoreLib/Common/System/SR.cs
+++ b/src/System.Private.CoreLib/Common/System/SR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/System.Private.CoreLib/System.Private.CoreLib.csproj
index 9bc07880fa..9219d638f0 100644
--- a/src/System.Private.CoreLib/System.Private.CoreLib.csproj
+++ b/src/System.Private.CoreLib/System.Private.CoreLib.csproj
@@ -55,6 +55,7 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Remove CS8608 once https://github.com/dotnet/roslyn/issues/23268 is resolved -->
<NoWarn>649,1573,1591,0419,3021,CS8609</NoWarn>
+ <NullableContextOptions>enable</NullableContextOptions>
<!-- Ignore all previous constants since SPCL is sensitive to what is defined and the Sdk adds some by default -->
<DefineConstants>CORECLR;netcoreapp</DefineConstants>
diff --git a/src/System.Private.CoreLib/shared/Internal/IO/File.Unix.cs b/src/System.Private.CoreLib/shared/Internal/IO/File.Unix.cs
index 25d62003de..50fa0f0d0c 100644
--- a/src/System.Private.CoreLib/shared/Internal/IO/File.Unix.cs
+++ b/src/System.Private.CoreLib/shared/Internal/IO/File.Unix.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace Internal.IO
{
internal static partial class File
diff --git a/src/System.Private.CoreLib/shared/Internal/IO/File.Windows.cs b/src/System.Private.CoreLib/shared/Internal/IO/File.Windows.cs
index 28624bb95f..0acae3b457 100644
--- a/src/System.Private.CoreLib/shared/Internal/IO/File.Windows.cs
+++ b/src/System.Private.CoreLib/shared/Internal/IO/File.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/Internal/IO/File.cs b/src/System.Private.CoreLib/shared/Internal/IO/File.cs
index a8439895b1..a21f4954d4 100644
--- a/src/System.Private.CoreLib/shared/Internal/IO/File.cs
+++ b/src/System.Private.CoreLib/shared/Internal/IO/File.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/Internal/Padding.cs b/src/System.Private.CoreLib/shared/Internal/Padding.cs
index 86050b7fb7..14bf998bab 100644
--- a/src/System.Private.CoreLib/shared/Internal/Padding.cs
+++ b/src/System.Private.CoreLib/shared/Internal/Padding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace Internal
diff --git a/src/System.Private.CoreLib/shared/Internal/Resources/PRIExceptionInfo.cs b/src/System.Private.CoreLib/shared/Internal/Resources/PRIExceptionInfo.cs
index 1ae4674a98..2b097a9d93 100644
--- a/src/System.Private.CoreLib/shared/Internal/Resources/PRIExceptionInfo.cs
+++ b/src/System.Private.CoreLib/shared/Internal/Resources/PRIExceptionInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace Internal.Resources
{
public class PRIExceptionInfo
diff --git a/src/System.Private.CoreLib/shared/Internal/Resources/WindowsRuntimeResourceManagerBase.cs b/src/System.Private.CoreLib/shared/Internal/Resources/WindowsRuntimeResourceManagerBase.cs
index 531b0fd4e6..173b2372c9 100644
--- a/src/System.Private.CoreLib/shared/Internal/Resources/WindowsRuntimeResourceManagerBase.cs
+++ b/src/System.Private.CoreLib/shared/Internal/Resources/WindowsRuntimeResourceManagerBase.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace Internal.Resources
diff --git a/src/System.Private.CoreLib/shared/Internal/Runtime/CompilerServices/Unsafe.cs b/src/System.Private.CoreLib/shared/Internal/Runtime/CompilerServices/Unsafe.cs
index 02092af209..4688933881 100644
--- a/src/System.Private.CoreLib/shared/Internal/Runtime/CompilerServices/Unsafe.cs
+++ b/src/System.Private.CoreLib/shared/Internal/Runtime/CompilerServices/Unsafe.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
diff --git a/src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs b/src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs
index 54df96db66..dcea41dbab 100644
--- a/src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs
+++ b/src/System.Private.CoreLib/shared/Internal/Threading/Tasks/AsyncCausalitySupport.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs b/src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs
index 469d67866a..6ea8cf9554 100644
--- a/src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs
+++ b/src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Buffers;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/Interop.Errors.cs b/src/System.Private.CoreLib/shared/Interop/Unix/Interop.Errors.cs
index a4a7a4344a..30223299c1 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/Interop.Errors.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/Interop.Errors.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/Interop.Libraries.cs b/src/System.Private.CoreLib/shared/Interop/Unix/Interop.Libraries.cs
index 6c620bf031..02d0092445 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/Interop.Libraries.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/Interop.Libraries.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal static partial class Interop
{
internal static partial class Libraries
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Calendar.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Calendar.cs
index c5ec71a73d..764bdaf85a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Calendar.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Calendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Globalization;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Casing.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Casing.cs
index 2878161c99..503a864d69 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Casing.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Casing.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Collation.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Collation.cs
index 9d21d23acb..aea7615e4e 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Collation.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Collation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Globalization;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ICU.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ICU.cs
index f122d519ba..a16c813b2f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ICU.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ICU.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Idna.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Idna.cs
index 9a0cd923be..89b6c3cebe 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Idna.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Idna.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Locale.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Locale.cs
index 40de099182..b563752bc0 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Locale.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Locale.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Normalization.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Normalization.cs
index 2cfc3746ba..d442da0ea1 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Normalization.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Normalization.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ResultCode.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ResultCode.cs
index d5261ac6ca..4a9933f929 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ResultCode.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.ResultCode.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal static partial class Interop
{
internal static partial class Globalization
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.TimeZoneInfo.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.TimeZoneInfo.cs
index 583599fb13..6c69268246 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.TimeZoneInfo.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.TimeZoneInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Utils.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Utils.cs
index 058f07efe1..627ab56c91 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Utils.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Globalization.Native/Interop.Utils.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Buffers;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Access.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Access.cs
index 62b212b807..a723f572a5 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Access.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Access.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ChDir.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ChDir.cs
index ebfa8738c9..3c66995182 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ChDir.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ChDir.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Close.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Close.cs
index 0c5ca55d8c..8d192398a0 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Close.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Close.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FLock.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FLock.cs
index b4b5902920..22934a3e77 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FLock.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FLock.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FSync.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FSync.cs
index 5660aecce5..e3ab970931 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FSync.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FSync.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FTruncate.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FTruncate.cs
index 6d6b368111..5dad650362 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FTruncate.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.FTruncate.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCpuUtilization.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCpuUtilization.cs
index 701c01cd9c..35e77c4541 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCpuUtilization.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCpuUtilization.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCwd.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCwd.cs
index 2951d441d2..f6412992b1 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCwd.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetCwd.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Buffers;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetEUid.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetEUid.cs
index 98f5545f90..8b525fa327 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetEUid.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetEUid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetHostName.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetHostName.cs
index 34fa14f352..f2555b0fc8 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetHostName.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetHostName.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPid.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPid.cs
index 2656753655..02d259db7d 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPid.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPwUid.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPwUid.cs
index cbab70a971..28b2309d03 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPwUid.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetPwUid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetRandomBytes.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetRandomBytes.cs
index 7956567e8b..e911b13583 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetRandomBytes.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetRandomBytes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetSystemTimeAsTicks.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetSystemTimeAsTicks.cs
index 35e37834e1..f02ecac13b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetSystemTimeAsTicks.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetSystemTimeAsTicks.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal static partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetTimestamp.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetTimestamp.cs
index d1669b6095..b57c0cd175 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetTimestamp.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetTimestamp.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal static partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs
index 02e08fd447..fb925b9dca 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixRelease.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixRelease.cs
index 5885de678f..5e41ae9804 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixRelease.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetUnixRelease.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal static partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LSeek.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LSeek.cs
index 3f93192422..7f8df7c6bf 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LSeek.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LSeek.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LockFileRegion.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LockFileRegion.cs
index ecc95c4dc6..1deb9a4313 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LockFileRegion.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.LockFileRegion.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MksTemps.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MksTemps.cs
index e9624591b3..14c2d98913 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MksTemps.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MksTemps.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MountPoints.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MountPoints.cs
index c2d1b79466..212d515e83 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MountPoints.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.MountPoints.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Open.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Open.cs
index e151c4cf75..a9a994c78c 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Open.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Open.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.OpenFlags.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.OpenFlags.cs
index ce5f9ad70f..f9e54c3cbc 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.OpenFlags.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.OpenFlags.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
internal static partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PathConf.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PathConf.cs
index 27d5095a16..7213cb0264 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PathConf.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PathConf.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Permissions.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Permissions.cs
index 5cddd425bc..f1d13787d2 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Permissions.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Permissions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
internal static partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PosixFAdvise.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PosixFAdvise.cs
index 3035c5ecb4..ad8b73aed2 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PosixFAdvise.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.PosixFAdvise.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs
index e835b7ff65..233feabdbb 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadDir.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadDir.cs
index a55ca83204..cacb3664db 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadDir.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadDir.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadLink.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadLink.cs
index f78fd1a806..9a2d7d1e79 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadLink.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.ReadLink.cs
@@ -61,4 +61,4 @@ internal static partial class Interop
} while (true);
}
}
-} \ No newline at end of file
+}
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Stat.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Stat.cs
index ff4699c782..d06fbda718 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Stat.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Stat.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysConf.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysConf.cs
index 1482b28614..be0c0dee7b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysConf.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysConf.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal static partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysLog.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysLog.cs
index 85eef43383..6b6a74b743 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysLog.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.SysLog.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal static partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Unlink.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Unlink.cs
index bbeb8896e8..829210fa7e 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Unlink.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Unlink.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Write.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Write.cs
index 761cd16353..fb06d463be 100644
--- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Write.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Write.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.ActivityControl.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.ActivityControl.cs
index 670ac61334..27dce58538 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.ActivityControl.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.ActivityControl.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Advapi32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EVENT_INFO_CLASS.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EVENT_INFO_CLASS.cs
index 0b007d17a1..36abdb4190 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EVENT_INFO_CLASS.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EVENT_INFO_CLASS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Advapi32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EtwEnableCallback.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EtwEnableCallback.cs
index 560b3ba5b1..6bb157520f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EtwEnableCallback.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EtwEnableCallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventActivityIdControl.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventActivityIdControl.cs
index f041822c7b..886ff37d19 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventActivityIdControl.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventActivityIdControl.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventRegister.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventRegister.cs
index 436d8b731f..f5d245ec5d 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventRegister.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventRegister.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventSetInformation.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventSetInformation.cs
index 919a868a8c..90286b27be 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventSetInformation.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventSetInformation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventTraceGuidsEx.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventTraceGuidsEx.cs
index 657611032d..0e7c3cc645 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventTraceGuidsEx.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventTraceGuidsEx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventUnregister.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventUnregister.cs
index 79f9e3a9d4..3fb5a75b1a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventUnregister.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventUnregister.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteString.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteString.cs
index 6e4fdaed45..4ee30f62de 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteString.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteString.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteTransfer.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteTransfer.cs
index 2821fff278..2d3f45e839 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteTransfer.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.EventWriteTransfer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
#if ES_BUILD_STANDALONE
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.LookupAccountNameW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.LookupAccountNameW.cs
index bef8afa434..2aa5851a4a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.LookupAccountNameW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.LookupAccountNameW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegCloseKey.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegCloseKey.cs
index e279669782..375376d52a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegCloseKey.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegCloseKey.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegDeleteKeyEx.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegDeleteKeyEx.cs
index 01c4cea408..c949cc15ff 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegDeleteKeyEx.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegDeleteKeyEx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if REGISTRY_ASSEMBLY
using Microsoft.Win32.SafeHandles;
#else
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegFlushKey.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegFlushKey.cs
index 3a867a2e31..fa56f48399 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegFlushKey.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegFlushKey.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if REGISTRY_ASSEMBLY
using Microsoft.Win32.SafeHandles;
#else
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegistryConstants.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegistryConstants.cs
index b358f9fee0..bdb89702f8 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegistryConstants.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegistryConstants.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Advapi32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.GetRandomBytes.cs b/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.GetRandomBytes.cs
index 50bc528158..4d75163d4b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.GetRandomBytes.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.GetRandomBytes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.cs b/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.cs
index d877dd255c..9d072a3b01 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.BCryptGenRandom.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.NTSTATUS.cs b/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.NTSTATUS.cs
index 74079f8f80..29aaa2904b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.NTSTATUS.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/BCrypt/Interop.NTSTATUS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Crypt32/Interop.CryptProtectMemory.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Crypt32/Interop.CryptProtectMemory.cs
index a60dc8eeec..b10cb6a041 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Crypt32/Interop.CryptProtectMemory.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Crypt32/Interop.CryptProtectMemory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOL.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOL.cs
index 8a89556e59..9f4dab8935 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOL.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOL.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOLEAN.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOLEAN.cs
index 154ecbec72..4874734534 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOLEAN.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Interop.BOOLEAN.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Interop.Errors.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Interop.Errors.cs
index ea9ce0b8a3..2e4683dfd7 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Interop.Errors.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Interop.Errors.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
// As defined in winerror.h and https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382.aspx
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Interop.Libraries.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Interop.Libraries.cs
index 80321fb07a..8cbc8bfb26 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Interop.Libraries.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Interop.Libraries.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal static partial class Interop
{
internal static partial class Libraries
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CREATEFILE2_EXTENDED_PARAMETERS.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CREATEFILE2_EXTENDED_PARAMETERS.cs
index 3330d32f9a..16365ee651 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CREATEFILE2_EXTENDED_PARAMETERS.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CREATEFILE2_EXTENDED_PARAMETERS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CancelIoEx.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CancelIoEx.cs
index 85809e1ed2..fc99e3052f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CancelIoEx.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CancelIoEx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CloseHandle.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CloseHandle.cs
index fd19416670..ff41f939f1 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CloseHandle.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CloseHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs
index dc7dfef34e..b13cdfd03f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal static partial class Interop
{
internal static partial class Kernel32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile.cs
index 99ef2b28d7..d925be1c94 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile2.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile2.cs
index f6fde1230e..8866982552 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile2.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile2.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.EventWaitHandle.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.EventWaitHandle.cs
index 8ff166c958..dabe8c2dc2 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.EventWaitHandle.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.EventWaitHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ExpandEnvironmentStrings.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ExpandEnvironmentStrings.cs
index 67804d4a73..ce3db6f2b4 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ExpandEnvironmentStrings.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ExpandEnvironmentStrings.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_INFO_BY_HANDLE_CLASS.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_INFO_BY_HANDLE_CLASS.cs
index c619115fdd..e31a453ba9 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_INFO_BY_HANDLE_CLASS.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_INFO_BY_HANDLE_CLASS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_TIME.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_TIME.cs
index 713e9577ed..d3b055e287 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_TIME.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FILE_TIME.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileAttributes.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileAttributes.cs
index 8103870dea..725a25a719 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileAttributes.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileAttributes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Kernel32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTimeToSystemTime.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTimeToSystemTime.cs
index f8c1be93f5..067ee71587 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTimeToSystemTime.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTimeToSystemTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTypes.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTypes.cs
index a4330f5338..9d52f1f4f4 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTypes.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FileTypes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Kernel32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FindClose.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FindClose.cs
index de11958fe3..fcf9254aca 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FindClose.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FindClose.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FlushFileBuffers.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FlushFileBuffers.cs
index 5d0f0dcea7..e10a2279cf 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FlushFileBuffers.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FlushFileBuffers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FormatMessage.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FormatMessage.cs
index bfa40819a1..09001e81e0 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FormatMessage.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FormatMessage.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeEnvironmentStrings.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeEnvironmentStrings.cs
index 7c317e2665..c372a8553e 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeEnvironmentStrings.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeEnvironmentStrings.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeLibrary.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeLibrary.cs
index b6b8ed6701..c70865350a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeLibrary.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.FreeLibrary.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GET_FILEEX_INFO_LEVELS.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GET_FILEEX_INFO_LEVELS.cs
index 28c30d57b4..76e43f64af 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GET_FILEEX_INFO_LEVELS.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GET_FILEEX_INFO_LEVELS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Kernel32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCPInfo.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCPInfo.cs
index 98537ec330..8d523e41e9 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCPInfo.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCPInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentDirectory.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentDirectory.cs
index 2f2eb48bbd..611cc70d28 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentDirectory.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentDirectory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs
index b71fb4e6f2..3a1a353d86 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.cs
index 7b9ea66618..c99351950a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs
index 0599f4c590..d456db7522 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentStrings.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentStrings.cs
index 9d25bed480..29a686026a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentStrings.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentStrings.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentVariable.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentVariable.cs
index d591219b12..13adefc216 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentVariable.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetEnvironmentVariable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileInformationByHandleEx.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileInformationByHandleEx.cs
index 78c9e7071f..1106cff1c5 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileInformationByHandleEx.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileInformationByHandleEx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileType_SafeHandle.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileType_SafeHandle.cs
index 3f9e6271b5..faa57cc2f1 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileType_SafeHandle.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFileType_SafeHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFullPathNameW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFullPathNameW.cs
index 38b7cdd2e6..197b0a9be5 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFullPathNameW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetFullPathNameW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLogicalDrives.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLogicalDrives.cs
index c69f7d30c2..657188f255 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLogicalDrives.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLogicalDrives.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLongPathNameW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLongPathNameW.cs
index dd497bf6d9..81b4d096f5 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLongPathNameW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetLongPathNameW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessInformation.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessInformation.cs
index 76027483f2..22e0569375 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessInformation.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessInformation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs
index 7b72ca7732..03c6c080c7 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetStdHandle.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetStdHandle.cs
index ae54f641d6..f2b54c9728 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetStdHandle.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetStdHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemDirectoryW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemDirectoryW.cs
index a7cd273098..197f6f5ead 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemDirectoryW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemDirectoryW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal static partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs
index 56210558d2..cbf07eae7f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTime.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTime.cs
index b51cfa396e..710db5e4b9 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTime.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimeAsFileTime.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimeAsFileTime.cs
index 70363ce696..e2dcd906c2 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimeAsFileTime.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimeAsFileTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimePreciseAsFileTime.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimePreciseAsFileTime.cs
index 8c86d95287..e3262799d1 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimePreciseAsFileTime.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimePreciseAsFileTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs
index 12d5a4aa57..d9e858062c 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempFileNameW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempFileNameW.cs
index 0afc4481be..97e1d82847 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempFileNameW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempFileNameW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempPathW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempPathW.cs
index 68ff9aca40..7f7bb775c8 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempPathW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetTempPathW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetVersionExW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetVersionExW.cs
index ab79ed2ea4..13a997a344 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetVersionExW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetVersionExW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs
index 99dde85815..6a87ec370b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Globalization.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Globalization.cs
index 1312454eab..cab7537ced 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Globalization.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Globalization.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.HandleTypes.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.HandleTypes.cs
index 51f7c92f02..c2096aa62b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.HandleTypes.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.HandleTypes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Kernel32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.IsWow64Process_IntPtr.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.IsWow64Process_IntPtr.cs
index 5d064780bf..7953da68da 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.IsWow64Process_IntPtr.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.IsWow64Process_IntPtr.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LoadLibraryEx.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LoadLibraryEx.cs
index c3c6fcc118..4eef5852fe 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LoadLibraryEx.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LoadLibraryEx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LocalAlloc.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LocalAlloc.cs
index 55f76b4403..9c74adbe01 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LocalAlloc.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LocalAlloc.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LockFile.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LockFile.cs
index 7d0a55ce64..a21d00f4f6 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LockFile.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.LockFile.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MAX_PATH.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MAX_PATH.cs
index 0a05230f13..f7fa32669b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MAX_PATH.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MAX_PATH.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Kernel32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORYSTATUSEX.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORYSTATUSEX.cs
index 8ddac8e64f..45f57aa4d8 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORYSTATUSEX.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORYSTATUSEX.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORY_BASIC_INFORMATION.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORY_BASIC_INFORMATION.cs
index a14157fecc..0744d53f66 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORY_BASIC_INFORMATION.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MEMORY_BASIC_INFORMATION.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MUI.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MUI.cs
index 024dd1fba4..509d9a2411 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MUI.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MUI.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MultiByteToWideChar.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MultiByteToWideChar.cs
index edabe9f9f6..158e4db3fd 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MultiByteToWideChar.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.MultiByteToWideChar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Mutex.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Mutex.cs
index ed25668a00..46ddd12f9b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Mutex.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Mutex.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OSVERSIONINFOEX.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OSVERSIONINFOEX.cs
index 19c32e07c1..1bfe00c574 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OSVERSIONINFOEX.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OSVERSIONINFOEX.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OutputDebugString.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OutputDebugString.cs
index bc7c1c83be..8da50ff8ab 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OutputDebugString.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.OutputDebugString.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceCounter.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceCounter.cs
index e0959f73da..ddc9797e5f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceCounter.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceCounter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceFrequency.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceFrequency.cs
index 71fd3db6cb..72a48ba208 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceFrequency.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryPerformanceFrequency.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryUnbiasedInterruptTime.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryUnbiasedInterruptTime.cs
index bdd77c180f..87ca7fd1d4 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryUnbiasedInterruptTime.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.QueryUnbiasedInterruptTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_IntPtr.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_IntPtr.cs
index 67e317adf0..076f7f136f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_IntPtr.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_IntPtr.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_NativeOverlapped.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_NativeOverlapped.cs
index 0687830057..3ae65a8806 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_NativeOverlapped.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ReadFile_SafeHandle_NativeOverlapped.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ResolveLocaleName.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ResolveLocaleName.cs
index 1a0e61317c..2d6b6c3c72 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ResolveLocaleName.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.ResolveLocaleName.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SECURITY_ATTRIBUTES.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SECURITY_ATTRIBUTES.cs
index 16e9fec773..8d31f8622f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SECURITY_ATTRIBUTES.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SECURITY_ATTRIBUTES.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SYSTEM_INFO.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SYSTEM_INFO.cs
index ab793a390b..16e5bfd8da 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SYSTEM_INFO.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SYSTEM_INFO.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SecurityOptions.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SecurityOptions.cs
index 4e94e3e5a8..4a4402484f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SecurityOptions.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SecurityOptions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Kernel32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Semaphore.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Semaphore.cs
index f453a255bd..cc27359452 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Semaphore.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Semaphore.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetCurrentDirectory.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetCurrentDirectory.cs
index 5cf23a8d47..b30e5d7656 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetCurrentDirectory.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetCurrentDirectory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEndOfFile.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEndOfFile.cs
index 2233e1f838..e5d60041a8 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEndOfFile.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEndOfFile.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEnvironmentVariable.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEnvironmentVariable.cs
index 6a0fc1d4d9..b94ec2111f 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEnvironmentVariable.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetEnvironmentVariable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetFilePointerEx.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetFilePointerEx.cs
index dbedf85cbe..c0e5247a52 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetFilePointerEx.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetFilePointerEx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetThreadErrorMode.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetThreadErrorMode.cs
index b5bd945086..123eb75d7b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetThreadErrorMode.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetThreadErrorMode.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SystemTimeToFileTime.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SystemTimeToFileTime.cs
index cf81e3d295..43db7b4716 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SystemTimeToFileTime.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SystemTimeToFileTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.Registry.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.Registry.cs
index 30299ae709..062d1caeba 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.Registry.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.Registry.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.cs
index dc89af488a..68d4583b54 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TimeZone.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TzSpecificLocalTimeToSystemTime.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TzSpecificLocalTimeToSystemTime.cs
index e832e9341e..2cca7faed7 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TzSpecificLocalTimeToSystemTime.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.TzSpecificLocalTimeToSystemTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerSetConditionMask.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerSetConditionMask.cs
index 931faf5705..385e48a439 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerSetConditionMask.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerSetConditionMask.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerifyVersionExW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerifyVersionExW.cs
index 90f5bdbe10..5c2471cf49 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerifyVersionExW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VerifyVersionExW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
index 944fb4e5eb..a97dc1aec7 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs
index 2b940a4210..574cd93a0a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs
index c7c02d6875..faab1cc81a 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FILE_ATTRIBUTE_DATA.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FILE_ATTRIBUTE_DATA.cs
index 1bd7ed0845..971b311244 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FILE_ATTRIBUTE_DATA.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FILE_ATTRIBUTE_DATA.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class Kernel32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FIND_DATA.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FIND_DATA.cs
index f444007678..c8d319d766 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FIND_DATA.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WIN32_FIND_DATA.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WideCharToMultiByte.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WideCharToMultiByte.cs
index 6e523e5b7b..a06c9153f4 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WideCharToMultiByte.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WideCharToMultiByte.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_IntPtr.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_IntPtr.cs
index 46948096ed..69651ca1ca 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_IntPtr.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_IntPtr.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_NativeOverlapped.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_NativeOverlapped.cs
index 6816d59028..dc1e97555b 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_NativeOverlapped.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.WriteFile_SafeHandle_NativeOverlapped.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Idna.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Idna.cs
index 61b107bd5a..f49ce8dd61 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Idna.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Idna.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Normalization.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Normalization.cs
index d7f639b965..84664d51cb 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Normalization.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Normaliz/Interop.Normalization.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs b/src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs
index 96bc2986af..4ba39a74e2 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQuerySystemInformation.cs b/src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQuerySystemInformation.cs
index 1115926bba..16f05e338c 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQuerySystemInformation.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQuerySystemInformation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoCreateGuid.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoCreateGuid.cs
index db5c04aeff..57accbe7c0 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoCreateGuid.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoCreateGuid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoTaskMemAlloc.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoTaskMemAlloc.cs
index 335531d77a..9119ee774e 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoTaskMemAlloc.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Ole32/Interop.CoTaskMemAlloc.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringByteLen.cs b/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringByteLen.cs
index 6cec249eba..846283a674 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringByteLen.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringByteLen.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringLen.cs b/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringLen.cs
index 67bd4f0bc0..4980844dea 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringLen.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysAllocStringLen.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysFreeString.cs b/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysFreeString.cs
index 8e1c9d8f2e..8673cc6724 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysFreeString.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysFreeString.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysStringLen.cs b/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysStringLen.cs
index 7bd214ac67..cf65d6b086 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysStringLen.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/OleAut32/Interop.SysStringLen.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Secur32/Interop.GetUserNameExW.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Secur32/Interop.GetUserNameExW.cs
index e91506bf4e..cf0dd5f698 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Secur32/Interop.GetUserNameExW.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Secur32/Interop.GetUserNameExW.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
internal partial class Interop
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Shell32/Interop.SHGetKnownFolderPath.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Shell32/Interop.SHGetKnownFolderPath.cs
index c6bc10a95f..1090805c0e 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/Shell32/Interop.SHGetKnownFolderPath.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/Shell32/Interop.SHGetKnownFolderPath.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.Constants.cs b/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.Constants.cs
index 2cc835fad9..f1f09740e9 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.Constants.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.Constants.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal partial class Interop
{
internal partial class User32
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.LoadString.cs b/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.LoadString.cs
index d7239a3c4a..078ebd481d 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.LoadString.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.LoadString.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.SendMessageTimeout.cs b/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.SendMessageTimeout.cs
index 2c1bcc6c32..c8a97e6b9d 100644
--- a/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.SendMessageTimeout.cs
+++ b/src/System.Private.CoreLib/shared/Interop/Windows/User32/Interop.SendMessageTimeout.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleMinusOneIsInvalid.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleMinusOneIsInvalid.cs
index 8576dacc3d..a76c51d966 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleMinusOneIsInvalid.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleMinusOneIsInvalid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleZeroOrMinusOneIsInvalid.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleZeroOrMinusOneIsInvalid.cs
index 2b61f6248a..28d0219489 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleZeroOrMinusOneIsInvalid.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/CriticalHandleZeroOrMinusOneIsInvalid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs
index ec99cbf17e..602537a305 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
index db8482ed71..a53046cc18 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFileHandle.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Security;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFindHandle.Windows.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFindHandle.Windows.cs
index 192f523ff1..4ba05409fd 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFindHandle.Windows.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeFindHandle.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Security;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleMinusOneIsInvalid.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleMinusOneIsInvalid.cs
index b146b5a687..5415f2c35d 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleMinusOneIsInvalid.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleMinusOneIsInvalid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleZeroOrMinusOneIsInvalid.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleZeroOrMinusOneIsInvalid.cs
index 9a58aa29fe..8d0220bf90 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleZeroOrMinusOneIsInvalid.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeHandleZeroOrMinusOneIsInvalid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs
index dea7978ee8..3be2e354ab 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace Microsoft.Win32.SafeHandles
{
sealed internal class SafeLibraryHandle : SafeHandleZeroOrMinusOneIsInvalid
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.Windows.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.Windows.cs
index 011aaeae66..249f5e9f7c 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.Windows.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.cs
index c3a7fcad88..37e350031b 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeRegistryHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.Windows.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.Windows.cs
index e87fedd724..66f17f0af7 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.Windows.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace Microsoft.Win32.SafeHandles
{
public sealed partial class SafeWaitHandle : SafeHandleZeroOrMinusOneIsInvalid
diff --git a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs
index f2e81eacd8..edb0cdfcaf 100644
--- a/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs
+++ b/src/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace Microsoft.Win32.SafeHandles
diff --git a/src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems b/src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
index dd58b4d943..35b10dbdc2 100644
--- a/src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
+++ b/src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
@@ -8,6 +8,9 @@
<Import_RootNamespace />
</PropertyGroup>
<PropertyGroup>
+ <NullableContextOptions>enable</NullableContextOptions>
+ </PropertyGroup>
+ <PropertyGroup>
<TargetsWindows Condition="'$(TargetsWindows)' != 'true'">false</TargetsWindows>
<TargetsUnix Condition="'$(TargetsUnix)' != 'true'">false</TargetsUnix>
<TargetsOSX Condition="'$(TargetsOSX)' != 'true'">false</TargetsOSX>
diff --git a/src/System.Private.CoreLib/shared/System/AccessViolationException.cs b/src/System.Private.CoreLib/shared/System/AccessViolationException.cs
index 357930898c..11590028d5 100644
--- a/src/System.Private.CoreLib/shared/System/AccessViolationException.cs
+++ b/src/System.Private.CoreLib/shared/System/AccessViolationException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Action.cs b/src/System.Private.CoreLib/shared/System/Action.cs
index 4c840379c8..54ca7aaf53 100644
--- a/src/System.Private.CoreLib/shared/System/Action.cs
+++ b/src/System.Private.CoreLib/shared/System/Action.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public delegate void Action();
diff --git a/src/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs b/src/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs
index 1db47eec22..bd7670f9e3 100644
--- a/src/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs
+++ b/src/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Globalization;
using System.Runtime.Loader;
diff --git a/src/System.Private.CoreLib/shared/System/Activator.cs b/src/System.Private.CoreLib/shared/System/Activator.cs
index b4e5ddfeea..8d6610f6a9 100644
--- a/src/System.Private.CoreLib/shared/System/Activator.cs
+++ b/src/System.Private.CoreLib/shared/System/Activator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/AggregateException.cs b/src/System.Private.CoreLib/shared/System/AggregateException.cs
index d0043cfc90..08cda7c388 100644
--- a/src/System.Private.CoreLib/shared/System/AggregateException.cs
+++ b/src/System.Private.CoreLib/shared/System/AggregateException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
diff --git a/src/System.Private.CoreLib/shared/System/AppContext.cs b/src/System.Private.CoreLib/shared/System/AppContext.cs
index fcda485fa1..15b735160c 100644
--- a/src/System.Private.CoreLib/shared/System/AppContext.cs
+++ b/src/System.Private.CoreLib/shared/System/AppContext.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.ExceptionServices;
diff --git a/src/System.Private.CoreLib/shared/System/AppDomain.cs b/src/System.Private.CoreLib/shared/System/AppDomain.cs
index a5399178b1..34e26efc56 100644
--- a/src/System.Private.CoreLib/shared/System/AppDomain.cs
+++ b/src/System.Private.CoreLib/shared/System/AppDomain.cs
@@ -4,7 +4,6 @@
#pragma warning disable CS0067 // events are declared but not used
-#nullable enable
using System.Diagnostics;
using System.IO;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/AppDomainSetup.cs b/src/System.Private.CoreLib/shared/System/AppDomainSetup.cs
index e8d0b9fff4..4537dcdf94 100644
--- a/src/System.Private.CoreLib/shared/System/AppDomainSetup.cs
+++ b/src/System.Private.CoreLib/shared/System/AppDomainSetup.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
#if PROJECTN
diff --git a/src/System.Private.CoreLib/shared/System/ApplicationException.cs b/src/System.Private.CoreLib/shared/System/ApplicationException.cs
index 5042b112cd..875b54a2a6 100644
--- a/src/System.Private.CoreLib/shared/System/ApplicationException.cs
+++ b/src/System.Private.CoreLib/shared/System/ApplicationException.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/ArgumentException.cs b/src/System.Private.CoreLib/shared/System/ArgumentException.cs
index be7ffbe7fa..6e38c7b3f2 100644
--- a/src/System.Private.CoreLib/shared/System/ArgumentException.cs
+++ b/src/System.Private.CoreLib/shared/System/ArgumentException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Globalization;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/ArgumentNullException.cs b/src/System.Private.CoreLib/shared/System/ArgumentNullException.cs
index 206c1a055b..bf0d205fe7 100644
--- a/src/System.Private.CoreLib/shared/System/ArgumentNullException.cs
+++ b/src/System.Private.CoreLib/shared/System/ArgumentNullException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/ArgumentOutOfRangeException.cs b/src/System.Private.CoreLib/shared/System/ArgumentOutOfRangeException.cs
index 7ca9085c63..8c47541b10 100644
--- a/src/System.Private.CoreLib/shared/System/ArgumentOutOfRangeException.cs
+++ b/src/System.Private.CoreLib/shared/System/ArgumentOutOfRangeException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Globalization;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/ArithmeticException.cs b/src/System.Private.CoreLib/shared/System/ArithmeticException.cs
index 5521c39a2f..a5028dbd79 100644
--- a/src/System.Private.CoreLib/shared/System/ArithmeticException.cs
+++ b/src/System.Private.CoreLib/shared/System/ArithmeticException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Array.Enumerators.cs b/src/System.Private.CoreLib/shared/System/Array.Enumerators.cs
index 4547af13dd..dd46dc82d8 100644
--- a/src/System.Private.CoreLib/shared/System/Array.Enumerators.cs
+++ b/src/System.Private.CoreLib/shared/System/Array.Enumerators.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Array.cs b/src/System.Private.CoreLib/shared/System/Array.cs
index 6bda3a6573..0ce724a8e8 100644
--- a/src/System.Private.CoreLib/shared/System/Array.cs
+++ b/src/System.Private.CoreLib/shared/System/Array.cs
@@ -10,7 +10,6 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Internal.Runtime.CompilerServices;
-#nullable enable
namespace System
{
[Serializable]
diff --git a/src/System.Private.CoreLib/shared/System/ArraySegment.cs b/src/System.Private.CoreLib/shared/System/ArraySegment.cs
index 58eb506f67..8098d220db 100644
--- a/src/System.Private.CoreLib/shared/System/ArraySegment.cs
+++ b/src/System.Private.CoreLib/shared/System/ArraySegment.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/ArrayTypeMismatchException.cs b/src/System.Private.CoreLib/shared/System/ArrayTypeMismatchException.cs
index c2a6244e50..263b69e636 100644
--- a/src/System.Private.CoreLib/shared/System/ArrayTypeMismatchException.cs
+++ b/src/System.Private.CoreLib/shared/System/ArrayTypeMismatchException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/AssemblyLoadEventArgs.cs b/src/System.Private.CoreLib/shared/System/AssemblyLoadEventArgs.cs
index 43b32d74cf..d7e5249693 100644
--- a/src/System.Private.CoreLib/shared/System/AssemblyLoadEventArgs.cs
+++ b/src/System.Private.CoreLib/shared/System/AssemblyLoadEventArgs.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/AssemblyLoadEventHandler.cs b/src/System.Private.CoreLib/shared/System/AssemblyLoadEventHandler.cs
index af89e634b3..0d5a2823c9 100644
--- a/src/System.Private.CoreLib/shared/System/AssemblyLoadEventHandler.cs
+++ b/src/System.Private.CoreLib/shared/System/AssemblyLoadEventHandler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public delegate void AssemblyLoadEventHandler(object? sender, AssemblyLoadEventArgs args);
diff --git a/src/System.Private.CoreLib/shared/System/AsyncCallback.cs b/src/System.Private.CoreLib/shared/System/AsyncCallback.cs
index f06749f60b..036d44a4b9 100644
--- a/src/System.Private.CoreLib/shared/System/AsyncCallback.cs
+++ b/src/System.Private.CoreLib/shared/System/AsyncCallback.cs
@@ -10,7 +10,6 @@
**
===========================================================*/
-#nullable enable
namespace System
{
public delegate void AsyncCallback(IAsyncResult ar);
diff --git a/src/System.Private.CoreLib/shared/System/Attribute.cs b/src/System.Private.CoreLib/shared/System/Attribute.cs
index 88e741c87b..e24797563c 100644
--- a/src/System.Private.CoreLib/shared/System/Attribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Attribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/AttributeTargets.cs b/src/System.Private.CoreLib/shared/System/AttributeTargets.cs
index dbbade3a60..c33d19e85e 100644
--- a/src/System.Private.CoreLib/shared/System/AttributeTargets.cs
+++ b/src/System.Private.CoreLib/shared/System/AttributeTargets.cs
@@ -5,7 +5,6 @@
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
-#nullable enable
namespace System
{
// Enum used to indicate all the elements of the
diff --git a/src/System.Private.CoreLib/shared/System/AttributeUsageAttribute.cs b/src/System.Private.CoreLib/shared/System/AttributeUsageAttribute.cs
index d96e4057cc..8a4a0a661b 100644
--- a/src/System.Private.CoreLib/shared/System/AttributeUsageAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/AttributeUsageAttribute.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System.Reflection;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/BadImageFormatException.cs b/src/System.Private.CoreLib/shared/System/BadImageFormatException.cs
index 1839231932..23aa56453b 100644
--- a/src/System.Private.CoreLib/shared/System/BadImageFormatException.cs
+++ b/src/System.Private.CoreLib/shared/System/BadImageFormatException.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System.Globalization;
using System.IO;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/BitConverter.cs b/src/System.Private.CoreLib/shared/System/BitConverter.cs
index 196725eceb..129c0099a3 100644
--- a/src/System.Private.CoreLib/shared/System/BitConverter.cs
+++ b/src/System.Private.CoreLib/shared/System/BitConverter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Boolean.cs b/src/System.Private.CoreLib/shared/System/Boolean.cs
index 33e11be0dc..a7ac01cd2e 100644
--- a/src/System.Private.CoreLib/shared/System/Boolean.cs
+++ b/src/System.Private.CoreLib/shared/System/Boolean.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
diff --git a/src/System.Private.CoreLib/shared/System/Buffer.Unix.cs b/src/System.Private.CoreLib/shared/System/Buffer.Unix.cs
index 7de47fd6a2..372cf92557 100644
--- a/src/System.Private.CoreLib/shared/System/Buffer.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffer.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if BIT64
using nuint = System.UInt64;
#else
diff --git a/src/System.Private.CoreLib/shared/System/Buffer.Windows.cs b/src/System.Private.CoreLib/shared/System/Buffer.Windows.cs
index 2609e90ad9..ccb577a7e1 100644
--- a/src/System.Private.CoreLib/shared/System/Buffer.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffer.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if BIT64
using nuint = System.UInt64;
#else
diff --git a/src/System.Private.CoreLib/shared/System/Buffer.cs b/src/System.Private.CoreLib/shared/System/Buffer.cs
index da62bc50b4..f2ffaaea85 100644
--- a/src/System.Private.CoreLib/shared/System/Buffer.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if AMD64 || ARM64 || (BIT32 && !ARM)
#define HAS_CUSTOM_BLOCKS
#endif
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs b/src/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs
index 8e67e22599..5e01399a33 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/ArrayPool.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/ArrayPoolEventSource.cs b/src/System.Private.CoreLib/shared/System/Buffers/ArrayPoolEventSource.cs
index 9ae0e3d913..d0563c4977 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/ArrayPoolEventSource.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/ArrayPoolEventSource.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics.Tracing;
namespace System.Buffers
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Binary/Reader.cs b/src/System.Private.CoreLib/shared/System/Buffers/Binary/Reader.cs
index f4a8142731..49d0a2db42 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Binary/Reader.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Binary/Reader.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderBigEndian.cs b/src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderBigEndian.cs
index 31745dd3cc..b45dd8913d 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderBigEndian.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderBigEndian.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderLittleEndian.cs b/src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderLittleEndian.cs
index e4a03c013a..bd832f8995 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderLittleEndian.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Binary/ReaderLittleEndian.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterBigEndian.cs b/src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterBigEndian.cs
index ea56c78a4b..78be9b5a03 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterBigEndian.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterBigEndian.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterLittleEndian.cs b/src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterLittleEndian.cs
index 201ead0e9f..5d63ee5f0b 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterLittleEndian.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Binary/WriterLittleEndian.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/ConfigurableArrayPool.cs b/src/System.Private.CoreLib/shared/System/Buffers/ConfigurableArrayPool.cs
index dd49d8a250..6dd3063258 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/ConfigurableArrayPool.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/ConfigurableArrayPool.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/IMemoryOwner.cs b/src/System.Private.CoreLib/shared/System/Buffers/IMemoryOwner.cs
index 19d01166c6..44f16c5827 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/IMemoryOwner.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/IMemoryOwner.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/IPinnable.cs b/src/System.Private.CoreLib/shared/System/Buffers/IPinnable.cs
index b8b49d4cd1..623e716a05 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/IPinnable.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/IPinnable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/MemoryHandle.cs b/src/System.Private.CoreLib/shared/System/Buffers/MemoryHandle.cs
index 23325d5d6e..9cefbc9158 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/MemoryHandle.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/MemoryHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Buffers
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/MemoryManager.cs b/src/System.Private.CoreLib/shared/System/Buffers/MemoryManager.cs
index 5c4061e9b4..1b235b538e 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/MemoryManager.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/MemoryManager.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Buffers
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/OperationStatus.cs b/src/System.Private.CoreLib/shared/System/Buffers/OperationStatus.cs
index c8235f7cc4..e9ddcab571 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/OperationStatus.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/OperationStatus.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/StandardFormat.cs b/src/System.Private.CoreLib/shared/System/Buffers/StandardFormat.cs
index 5675f4ced3..24a4983830 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/StandardFormat.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/StandardFormat.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/FormattingHelpers.CountDigits.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/FormattingHelpers.CountDigits.cs
index a7a1fc24a8..ac45347a5e 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/FormattingHelpers.CountDigits.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/FormattingHelpers.CountDigits.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Constants.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Constants.cs
index 25880fcf95..e2f70f0b10 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Constants.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Constants.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
internal static partial class Utf8Constants
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/FormattingHelpers.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/FormattingHelpers.cs
index a9f185aae9..1b30d5f013 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/FormattingHelpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/FormattingHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Boolean.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Boolean.cs
index bc6b894be7..31bb6cae55 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Boolean.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Boolean.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Binary;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.G.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.G.cs
index 2290a10726..7c4a2e342d 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.G.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.G.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Formatter
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.L.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.L.cs
index e817064bf8..699f91f39c 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.L.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.L.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Formatter
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.O.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.O.cs
index 706c634ddd..d9b7b181bc 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.O.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.O.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Formatter
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.R.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.R.cs
index aed0795b39..dd9ec459b7 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.R.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.R.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Formatter
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.cs
index 31da577c82..046885d162 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Date.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Formatter
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.E.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.E.cs
index 859adea1ca..89b54f2fd5 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.E.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.E.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.F.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.F.cs
index 1efe257f54..51bc20b8d2 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.F.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.F.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.G.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.G.cs
index c737749394..b867eaec1a 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.G.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.G.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.cs
index 72b9fca51b..bb93b992ef 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Decimal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Float.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Float.cs
index c4d70b4da9..96e70bada9 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Float.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Float.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Guid.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Guid.cs
index 61085b8924..479f1dd1cb 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Guid.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Guid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.D.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.D.cs
index 88f4c16028..7532f0cf15 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.D.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.D.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.Default.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.Default.cs
index 1c213e3879..046f5baf66 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.Default.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.Default.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.N.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.N.cs
index 542bd1eeb7..1c01b8d60d 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.N.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.N.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.cs
index 025fc8b45e..fcd20b312d 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.D.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.D.cs
index 78542eb4cf..9cb8d64bc0 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.D.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.D.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.Default.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.Default.cs
index 5d8f1f0118..d83591ed98 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.Default.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.Default.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.N.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.N.cs
index b6caaa6cf9..ce21c0d3dd 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.N.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.N.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.X.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.X.cs
index 1db31dfe59..4cf4d52b5c 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.X.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.X.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.cs
index b531ba714d..0040c5075a 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Unsigned.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.cs
index 2024551ff9..3b83fb7512 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.TimeSpan.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.TimeSpan.cs
index b41cb75d0e..38bb35f7df 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.TimeSpan.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.TimeSpan.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/ParserHelpers.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/ParserHelpers.cs
index 7630277464..1bdb013471 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/ParserHelpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/ParserHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Boolean.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Boolean.cs
index 56d88e9d46..3b039bae25 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Boolean.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Boolean.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Binary;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Default.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Default.cs
index 4df370337d..77d7e1224b 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Default.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Default.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.G.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.G.cs
index d930831b60..6e8edbcbdf 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.G.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.G.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Helpers.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Helpers.cs
index 0d62d81883..d2fb06829a 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Helpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.Helpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.O.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.O.cs
index 9ea3fa34f1..8d2c681f68 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.O.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.O.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.R.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.R.cs
index 7a16b07e18..316bee01b4 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.R.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.R.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.cs
index 37070ef5cf..35ad716705 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Date.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Decimal.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Decimal.cs
index 84bc7797de..5ed385a71b 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Decimal.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Decimal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Float.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Float.cs
index c2f84dd2b4..27780397e3 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Float.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Float.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Binary;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Guid.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Guid.cs
index 18aaf64212..f0a99dd522 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Guid.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Guid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.D.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.D.cs
index fc9eb5ea25..bf1871a1c9 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.D.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.D.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.N.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.N.cs
index 8cf986b18e..fd8ce572f2 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.N.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.N.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.cs
index 0ee5b7e3f9..2e861b1cfd 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Internal.Runtime.CompilerServices;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.D.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.D.cs
index 675231b26f..46753f5c57 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.D.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.D.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.N.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.N.cs
index 72f2831e62..2db20c1270 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.N.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.N.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
//
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.X.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.X.cs
index 1042faece2..7e7867a56f 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.X.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.X.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.cs
index f420bf1818..7c4e94e56f 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Number.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Number.cs
index 2727747d34..799a3fe6a7 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Number.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.Number.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.BigG.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.BigG.cs
index e05523c45f..6bcb4d5277 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.BigG.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.BigG.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.C.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.C.cs
index 94d539fa88..d0a28969be 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.C.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.C.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.LittleG.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.LittleG.cs
index 7172da4e0c..19208b9eac 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.LittleG.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.LittleG.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Buffers.Text
{
public static partial class Utf8Parser
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.cs
index 641a0b3f03..b49cccb6a2 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpan.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpanSplitter.cs b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpanSplitter.cs
index 4340399ec9..0c72d1f3a2 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpanSplitter.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Parser/Utf8Parser.TimeSpanSplitter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Buffers.Text
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/TlsOverPerCoreLockedStacksArrayPool.cs b/src/System.Private.CoreLib/shared/System/Buffers/TlsOverPerCoreLockedStacksArrayPool.cs
index f49a1c9e05..47470715ec 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/TlsOverPerCoreLockedStacksArrayPool.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/TlsOverPerCoreLockedStacksArrayPool.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Buffers/Utilities.cs b/src/System.Private.CoreLib/shared/System/Buffers/Utilities.cs
index c49555a6e5..7e1caa039b 100644
--- a/src/System.Private.CoreLib/shared/System/Buffers/Utilities.cs
+++ b/src/System.Private.CoreLib/shared/System/Buffers/Utilities.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/ByReference.cs b/src/System.Private.CoreLib/shared/System/ByReference.cs
index bb75753f5b..5da3c99f41 100644
--- a/src/System.Private.CoreLib/shared/System/ByReference.cs
+++ b/src/System.Private.CoreLib/shared/System/ByReference.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
diff --git a/src/System.Private.CoreLib/shared/System/Byte.cs b/src/System.Private.CoreLib/shared/System/Byte.cs
index de3eb7a7db..5370fec690 100644
--- a/src/System.Private.CoreLib/shared/System/Byte.cs
+++ b/src/System.Private.CoreLib/shared/System/Byte.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/CLSCompliantAttribute.cs b/src/System.Private.CoreLib/shared/System/CLSCompliantAttribute.cs
index 9790e935f3..d895b5ac71 100644
--- a/src/System.Private.CoreLib/shared/System/CLSCompliantAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/CLSCompliantAttribute.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
namespace System
{
[AttributeUsage(AttributeTargets.All, Inherited = true, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/CannotUnloadAppDomainException.cs b/src/System.Private.CoreLib/shared/System/CannotUnloadAppDomainException.cs
index 450a54c96b..6d68f08c5c 100644
--- a/src/System.Private.CoreLib/shared/System/CannotUnloadAppDomainException.cs
+++ b/src/System.Private.CoreLib/shared/System/CannotUnloadAppDomainException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Char.cs b/src/System.Private.CoreLib/shared/System/Char.cs
index 80dce56258..3835f8e996 100644
--- a/src/System.Private.CoreLib/shared/System/Char.cs
+++ b/src/System.Private.CoreLib/shared/System/Char.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/CharEnumerator.cs b/src/System.Private.CoreLib/shared/System/CharEnumerator.cs
index 0b2caefdfa..3adf3b0d3a 100644
--- a/src/System.Private.CoreLib/shared/System/CharEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/CharEnumerator.cs
@@ -12,7 +12,6 @@
**
============================================================*/
-#nullable enable
using System.Collections;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/ArrayList.cs b/src/System.Private.CoreLib/shared/System/Collections/ArrayList.cs
index 1f6c4906e8..c5f3abd1d2 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/ArrayList.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/ArrayList.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
** Class: ArrayList
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Comparer.cs b/src/System.Private.CoreLib/shared/System/Collections/Comparer.cs
index 2b02433951..f74bd85776 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Comparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Comparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
** Purpose: Default IComparer implementation.
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Concurrent/ConcurrentQueue.cs b/src/System.Private.CoreLib/shared/System/Collections/Concurrent/ConcurrentQueue.cs
index 593e3a724a..f80f4d1394 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Concurrent/ConcurrentQueue.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Concurrent/ConcurrentQueue.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs b/src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs
index 797bb0863d..3f7748388c 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollection.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Collections.Concurrent
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollectionDebugView.cs b/src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollectionDebugView.cs
index f30f8f66fc..e848b2fddd 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollectionDebugView.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Concurrent/IProducerConsumerCollectionDebugView.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Collections.Concurrent
diff --git a/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs b/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs
index b2070224ed..7e86f388d0 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/DictionaryEntry.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
namespace System.Collections
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/ArraySortHelper.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/ArraySortHelper.cs
index 7d7d94580a..084ecdf458 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/ArraySortHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/ArraySortHelper.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/Comparer.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/Comparer.cs
index aa36769a43..28cb0af9e4 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/Comparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/Comparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/Dictionary.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/Dictionary.cs
index 27442029ad..296a607537 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/Dictionary.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/Dictionary.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/EqualityComparer.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/EqualityComparer.cs
index fdaf3bc858..b6040adfcc 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/EqualityComparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/EqualityComparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerable.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerable.cs
index 3268c468b5..302b964855 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerable.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerator.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerator.cs
index f719a1c171..0d9afc1914 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IAsyncEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading.Tasks;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/ICollection.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/ICollection.cs
index 5780c7552b..78ee5cb1f5 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/ICollection.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/ICollection.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/ICollectionDebugView.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/ICollectionDebugView.cs
index cb4a4caf87..9916e857e2 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/ICollectionDebugView.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/ICollectionDebugView.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IComparer.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IComparer.cs
index 74d721312f..200ce17769 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IComparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IComparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionary.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionary.cs
index 8b38a91ce3..75bc1bc2a7 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionary.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionary.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionaryDebugView.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionaryDebugView.cs
index 8e8dce7e4a..ff5b4ea5d1 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionaryDebugView.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IDictionaryDebugView.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerable.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerable.cs
index d3ef9e86f7..5548ffc19d 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerable.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Collections.Generic
{
// Implement this interface if you need to support foreach semantics.
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerator.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerator.cs
index 475b86f225..ec05eaf9f6 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IEqualityComparer.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IEqualityComparer.cs
index 7b983a9ccb..54925e9953 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IEqualityComparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IEqualityComparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Collections.Generic
{
// The generic IEqualityComparer interface implements methods to if check two objects are equal
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IList.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IList.cs
index eb753d0e4c..2abc7b9142 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IList.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IList.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyCollection.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyCollection.cs
index c86a4a3597..9eea39de22 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyCollection.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyCollection.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyDictionary.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyDictionary.cs
index 1f37b78870..1d57383b15 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyDictionary.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyDictionary.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyList.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyList.cs
index 6a1e9bbf09..7193805b06 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyList.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/IReadOnlyList.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/KeyNotFoundException.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/KeyNotFoundException.cs
index 75f3e91c07..35a81591b0 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/KeyNotFoundException.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/KeyNotFoundException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/KeyValuePair.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/KeyValuePair.cs
index 18b3863e78..8a35aa1847 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/KeyValuePair.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/KeyValuePair.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/List.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/List.cs
index b9c5f428de..760220a99d 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/List.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/List.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs b/src/System.Private.CoreLib/shared/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs
index 89db7697e8..26ffdf77f6 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Collections.Generic
diff --git a/src/System.Private.CoreLib/shared/System/Collections/HashHelpers.SerializationInfoTable.cs b/src/System.Private.CoreLib/shared/System/Collections/HashHelpers.SerializationInfoTable.cs
index 5c627afb8f..b3aa57cae9 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/HashHelpers.SerializationInfoTable.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/HashHelpers.SerializationInfoTable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
// Used by Hashtable and Dictionary's SeralizationInfo .ctor's to store the SeralizationInfo
// object until OnDeserialization is called.
diff --git a/src/System.Private.CoreLib/shared/System/Collections/HashHelpers.cs b/src/System.Private.CoreLib/shared/System/Collections/HashHelpers.cs
index 9cb957e8f4..491a0ec6b9 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/HashHelpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/HashHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Collections
diff --git a/src/System.Private.CoreLib/shared/System/Collections/Hashtable.cs b/src/System.Private.CoreLib/shared/System/Collections/Hashtable.cs
index ae8f6d4de8..06e57b7ada 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/Hashtable.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/Hashtable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
** Class: Hashtable
diff --git a/src/System.Private.CoreLib/shared/System/Collections/ICollection.cs b/src/System.Private.CoreLib/shared/System/Collections/ICollection.cs
index 95ebb7e808..65e37c7381 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/ICollection.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/ICollection.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.Collections
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IComparer.cs b/src/System.Private.CoreLib/shared/System/Collections/IComparer.cs
index 46c12ff46a..877e9b40e9 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IComparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IComparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Collections
{
// The IComparer interface implements a method that compares two objects. It is
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IDictionary.cs b/src/System.Private.CoreLib/shared/System/Collections/IDictionary.cs
index 3ecf669929..0389563b99 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IDictionary.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IDictionary.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Collections
{
// An IDictionary is a possibly unordered set of key-value pairs.
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IDictionaryEnumerator.cs b/src/System.Private.CoreLib/shared/System/Collections/IDictionaryEnumerator.cs
index 59b6f7839a..2c4805ee36 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IDictionaryEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IDictionaryEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Collections
{
// This interface represents an enumerator that allows sequential access to the
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IEnumerable.cs b/src/System.Private.CoreLib/shared/System/Collections/IEnumerable.cs
index 5ca523f692..e787bde2ee 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IEnumerable.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IEnumerable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Collections
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IEnumerator.cs b/src/System.Private.CoreLib/shared/System/Collections/IEnumerator.cs
index 83d2064dff..0d2ccb9466 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IEqualityComparer.cs b/src/System.Private.CoreLib/shared/System/Collections/IEqualityComparer.cs
index c2c290c44b..cc60060279 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IEqualityComparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IEqualityComparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Collections
{
// An IEqualityComparer is a mechanism to consume custom performant comparison infrastructure
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IHashCodeProvider.cs b/src/System.Private.CoreLib/shared/System/Collections/IHashCodeProvider.cs
index 260aab2acd..7d6c63f9f1 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IHashCodeProvider.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IHashCodeProvider.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Collections
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IList.cs b/src/System.Private.CoreLib/shared/System/Collections/IList.cs
index 0857885a97..5a709e25d5 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IList.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IList.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.Collections
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IStructuralComparable.cs b/src/System.Private.CoreLib/shared/System/Collections/IStructuralComparable.cs
index b012618c89..1849e367c4 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IStructuralComparable.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IStructuralComparable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.Collections
diff --git a/src/System.Private.CoreLib/shared/System/Collections/IStructuralEquatable.cs b/src/System.Private.CoreLib/shared/System/Collections/IStructuralEquatable.cs
index 9fba68377c..a244e8417a 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/IStructuralEquatable.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/IStructuralEquatable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Collections
{
public interface IStructuralEquatable
diff --git a/src/System.Private.CoreLib/shared/System/Collections/KeyValuePairs.cs b/src/System.Private.CoreLib/shared/System/Collections/KeyValuePairs.cs
index 26043311cd..4bbca18c54 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/KeyValuePairs.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/KeyValuePairs.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
** Class: KeyValuePairs
@@ -12,6 +11,7 @@
**
===========================================================*/
+#nullable enable
using System.Diagnostics;
namespace System.Collections
diff --git a/src/System.Private.CoreLib/shared/System/Collections/ListDictionaryInternal.cs b/src/System.Private.CoreLib/shared/System/Collections/ListDictionaryInternal.cs
index ce9caed784..13daac564b 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/ListDictionaryInternal.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/ListDictionaryInternal.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Collections
{
/// This is a simple implementation of IDictionary using a singly linked list. This
diff --git a/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs b/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs
index 93a048cebc..f8c9b87344 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/ReadOnlyCollection.cs b/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/ReadOnlyCollection.cs
index 9ab299bef9..c29d44945e 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/ReadOnlyCollection.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/ReadOnlyCollection.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/ComponentModel/DefaultValueAttribute.cs b/src/System.Private.CoreLib/shared/System/ComponentModel/DefaultValueAttribute.cs
index fdf9e90fc4..97aceddb70 100644
--- a/src/System.Private.CoreLib/shared/System/ComponentModel/DefaultValueAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/ComponentModel/DefaultValueAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableAttribute.cs b/src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableAttribute.cs
index 5ab2693eab..050708661c 100644
--- a/src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.ComponentModel
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Interface)]
diff --git a/src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableState.cs b/src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableState.cs
index bb935e83c5..a98669c4e9 100644
--- a/src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableState.cs
+++ b/src/System.Private.CoreLib/shared/System/ComponentModel/EditorBrowsableState.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.ComponentModel
{
public enum EditorBrowsableState
diff --git a/src/System.Private.CoreLib/shared/System/Convert.Base64.cs b/src/System.Private.CoreLib/shared/System/Convert.Base64.cs
index aef0cdeca3..332f3b9d8b 100644
--- a/src/System.Private.CoreLib/shared/System/Convert.Base64.cs
+++ b/src/System.Private.CoreLib/shared/System/Convert.Base64.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Convert.cs b/src/System.Private.CoreLib/shared/System/Convert.cs
index 03b1bccede..46192a2c01 100644
--- a/src/System.Private.CoreLib/shared/System/Convert.cs
+++ b/src/System.Private.CoreLib/shared/System/Convert.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Globalization;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/CoreLib.cs b/src/System.Private.CoreLib/shared/System/CoreLib.cs
index 9e18412742..9c5d1c1aa3 100644
--- a/src/System.Private.CoreLib/shared/System/CoreLib.cs
+++ b/src/System.Private.CoreLib/shared/System/CoreLib.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
// This class is used to define the name of the base class library
diff --git a/src/System.Private.CoreLib/shared/System/CurrentSystemTimeZone.cs b/src/System.Private.CoreLib/shared/System/CurrentSystemTimeZone.cs
index f88ea79738..6c52bf7b35 100644
--- a/src/System.Private.CoreLib/shared/System/CurrentSystemTimeZone.cs
+++ b/src/System.Private.CoreLib/shared/System/CurrentSystemTimeZone.cs
@@ -17,7 +17,6 @@
**
============================================================*/
-#nullable enable
using System.Collections;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/DBNull.cs b/src/System.Private.CoreLib/shared/System/DBNull.cs
index 5d2a12e96e..8e9f55a772 100644
--- a/src/System.Private.CoreLib/shared/System/DBNull.cs
+++ b/src/System.Private.CoreLib/shared/System/DBNull.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/DataMisalignedException.cs b/src/System.Private.CoreLib/shared/System/DataMisalignedException.cs
index 8c2618458a..2b49e5a985 100644
--- a/src/System.Private.CoreLib/shared/System/DataMisalignedException.cs
+++ b/src/System.Private.CoreLib/shared/System/DataMisalignedException.cs
@@ -9,7 +9,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/DateTime.Unix.cs b/src/System.Private.CoreLib/shared/System/DateTime.Unix.cs
index a8af81ffa7..2c4de3e1a8 100644
--- a/src/System.Private.CoreLib/shared/System/DateTime.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/DateTime.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public readonly partial struct DateTime
diff --git a/src/System.Private.CoreLib/shared/System/DateTime.Win32.cs b/src/System.Private.CoreLib/shared/System/DateTime.Win32.cs
index 940d0922c0..2a054375a4 100644
--- a/src/System.Private.CoreLib/shared/System/DateTime.Win32.cs
+++ b/src/System.Private.CoreLib/shared/System/DateTime.Win32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public readonly partial struct DateTime
diff --git a/src/System.Private.CoreLib/shared/System/DateTime.WinRT.cs b/src/System.Private.CoreLib/shared/System/DateTime.WinRT.cs
index c0844358b3..30a9a61aa3 100644
--- a/src/System.Private.CoreLib/shared/System/DateTime.WinRT.cs
+++ b/src/System.Private.CoreLib/shared/System/DateTime.WinRT.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/DateTime.Windows.cs b/src/System.Private.CoreLib/shared/System/DateTime.Windows.cs
index 7596ec1cb1..ba9df5c453 100644
--- a/src/System.Private.CoreLib/shared/System/DateTime.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/DateTime.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/DateTime.cs b/src/System.Private.CoreLib/shared/System/DateTime.cs
index deb2da2876..2317221b5a 100644
--- a/src/System.Private.CoreLib/shared/System/DateTime.cs
+++ b/src/System.Private.CoreLib/shared/System/DateTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/DateTimeKind.cs b/src/System.Private.CoreLib/shared/System/DateTimeKind.cs
index 1f2ce006d8..33c9bd925f 100644
--- a/src/System.Private.CoreLib/shared/System/DateTimeKind.cs
+++ b/src/System.Private.CoreLib/shared/System/DateTimeKind.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
// This enum is used to indentify DateTime instances in cases when they are known to be in local time,
diff --git a/src/System.Private.CoreLib/shared/System/DateTimeOffset.cs b/src/System.Private.CoreLib/shared/System/DateTimeOffset.cs
index 8b0ea368a6..d2cb079f80 100644
--- a/src/System.Private.CoreLib/shared/System/DateTimeOffset.cs
+++ b/src/System.Private.CoreLib/shared/System/DateTimeOffset.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/DayOfWeek.cs b/src/System.Private.CoreLib/shared/System/DayOfWeek.cs
index 19cb69a796..f67d10e181 100644
--- a/src/System.Private.CoreLib/shared/System/DayOfWeek.cs
+++ b/src/System.Private.CoreLib/shared/System/DayOfWeek.cs
@@ -11,7 +11,6 @@
**
============================================================*/
-#nullable enable
namespace System
{
public enum DayOfWeek
diff --git a/src/System.Private.CoreLib/shared/System/Decimal.DecCalc.cs b/src/System.Private.CoreLib/shared/System/Decimal.DecCalc.cs
index 04eb9aa09b..342aec9a8a 100644
--- a/src/System.Private.CoreLib/shared/System/Decimal.DecCalc.cs
+++ b/src/System.Private.CoreLib/shared/System/Decimal.DecCalc.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Decimal.cs b/src/System.Private.CoreLib/shared/System/Decimal.cs
index 6f2a0a15c6..72ac754776 100644
--- a/src/System.Private.CoreLib/shared/System/Decimal.cs
+++ b/src/System.Private.CoreLib/shared/System/Decimal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Binary;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/DefaultBinder.cs b/src/System.Private.CoreLib/shared/System/DefaultBinder.cs
index 1d93f1fd23..6e6379e9b7 100644
--- a/src/System.Private.CoreLib/shared/System/DefaultBinder.cs
+++ b/src/System.Private.CoreLib/shared/System/DefaultBinder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Diagnostics;
using CultureInfo = System.Globalization.CultureInfo;
diff --git a/src/System.Private.CoreLib/shared/System/Delegate.cs b/src/System.Private.CoreLib/shared/System/Delegate.cs
index 79c12c1373..5c4def4b43 100644
--- a/src/System.Private.CoreLib/shared/System/Delegate.cs
+++ b/src/System.Private.CoreLib/shared/System/Delegate.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs
index ae15b8ec67..28208a379e 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/ConditionalAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/ConditionalAttribute.cs
index 9af1e2b80d..416625b779 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/ConditionalAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/ConditionalAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Diagnostics
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractException.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractException.cs
index 9feaa23812..96d6eccd9c 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractException.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Diagnostics.Contracts
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractFailedEventArgs.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractFailedEventArgs.cs
index ad19e849be..3c58ca10da 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractFailedEventArgs.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/ContractFailedEventArgs.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/Contracts.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/Contracts.cs
index c5dc88798b..13d13f12fa 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/Contracts.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Contracts/Contracts.cs
@@ -17,7 +17,6 @@
===========================================================*/
#define DEBUG // The behavior of this contract library should be consistent regardless of build type.
-#nullable enable
using System.Collections.Generic;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs
index 590588a27e..8d77fc27ac 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
// Do not remove this, it is needed to retain calls to these conditional methods in release builds
#define DEBUG
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Unix.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Unix.cs
index bc3e86c9fc..0799d0929d 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
namespace System.Diagnostics
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Windows.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Windows.cs
index 12ea0160a1..e382e81301 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.Windows.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
public partial class DebugProvider
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs
index 3c762733c4..2e828102d4 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
// Do not remove this, it is needed to retain calls to these conditional methods in release builds
#define DEBUG
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggableAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggableAttribute.cs
index 308f6835b3..d05f8471b3 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggableAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggableAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
// Attribute class used by the compiler to mark modules.
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerBrowsableAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerBrowsableAttribute.cs
index 4bd42caa92..8a53052b6f 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerBrowsableAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerBrowsableAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
// DebuggerBrowsableState states are defined as follows:
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerDisplayAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerDisplayAttribute.cs
index 5f670852c4..c9738610d5 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerDisplayAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerDisplayAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
// This attribute is used to control what is displayed for the given class or field
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerHiddenAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerHiddenAttribute.cs
index 4ee79302c0..ace452e911 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerHiddenAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerHiddenAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerNonUserCodeAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerNonUserCodeAttribute.cs
index c4e87ab8f4..1b61cb7262 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerNonUserCodeAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerNonUserCodeAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Constructor | AttributeTargets.Struct, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepThroughAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepThroughAttribute.cs
index 633e38d1b9..82a164771e 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepThroughAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepThroughAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
#if PROJECTN
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepperBoundaryAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepperBoundaryAttribute.cs
index 1db7fba9a4..647f2fdb00 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepperBoundaryAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerStepperBoundaryAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
/// <summary>Indicates the code following the attribute is to be executed in run, not step, mode.</summary>
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerTypeProxyAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerTypeProxyAttribute.cs
index 4795228dcb..5acc0185b0 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerTypeProxyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerTypeProxyAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = true)]
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerVisualizerAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerVisualizerAttribute.cs
index dc1fbd2523..b7f9e16c06 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerVisualizerAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebuggerVisualizerAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/StackFrame.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/StackFrame.cs
index a39c35a8a0..1683206bbc 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/StackFrame.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/StackFrame.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/StackTrace.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/StackTrace.cs
index 7b32f063f5..1e3e9f6f57 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/StackTrace.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/StackTrace.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/StackTraceHiddenAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/StackTraceHiddenAttribute.cs
index d12a08906d..474274ac08 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/StackTraceHiddenAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/StackTraceHiddenAttribute.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Diagnostics
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Struct, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/SymbolStore/ISymbolDocumentWriter.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/SymbolStore/ISymbolDocumentWriter.cs
index 1db401fcc1..4980ed76f6 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/SymbolStore/ISymbolDocumentWriter.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/SymbolStore/ISymbolDocumentWriter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Diagnostics.SymbolStore
{
public interface ISymbolDocumentWriter
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
index c3d5242768..10c4add963 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs
index 43dbd442aa..d20abe8ced 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Collections;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs
index b44a856e18..145dfbfc92 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterPayload.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Collections;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs
index 29bcdb0fd8..84450ab11c 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Collections;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventCounter.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventCounter.cs
index fae65ec40e..bfe0552583 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventCounter.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventCounter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Collections;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventDescriptor.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventDescriptor.cs
index cf269bc5a5..f3d4dbce35 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventDescriptor.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventDescriptor.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventProvider.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventProvider.cs
index 2d4d68a436..caa7fae6e8 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventProvider.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventProvider.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
index 7ea9be38fc..e16a57f743 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
// This program uses code hyperlinks available as part of the HyperAddin Visual Studio plug-in.
// It is available from http://www.codeplex.com/hyperAddin
#if ES_BUILD_STANDALONE
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSourceException.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSourceException.cs
index f5f9ba13b1..5786b38856 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSourceException.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSourceException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/FrameworkEventSource.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/FrameworkEventSource.cs
index 7cd3c097ee..680110f99c 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/FrameworkEventSource.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/FrameworkEventSource.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Internal.Runtime.CompilerServices;
namespace System.Diagnostics.Tracing
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IEventProvider.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IEventProvider.cs
index 010d9eaeba..bc7ab9aee0 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IEventProvider.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IEventProvider.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using Microsoft.Win32;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingEventCounter.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingEventCounter.cs
index d4efae8cc3..e084bbb1c1 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingEventCounter.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingEventCounter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Collections;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingPollingCounter.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingPollingCounter.cs
index 2c93943f16..116fbe8290 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingPollingCounter.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/IncrementingPollingCounter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Collections;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/PollingCounter.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/PollingCounter.cs
index 6a0d3c0b5f..abb472cd2e 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/PollingCounter.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/PollingCounter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Collections;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs
index dfb021747c..a719dc6bce 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/StubEnvironment.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ArrayTypeInfo.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ArrayTypeInfo.cs
index f0db862292..3a607d4b0d 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ArrayTypeInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ArrayTypeInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSet.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSet.cs
index 32f4799d06..a15dfaa797 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSet.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSet.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using Interlocked = System.Threading.Interlocked;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSetItem.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSetItem.cs
index 4dbd45ea14..558dbf670b 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSetItem.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/ConcurrentSetItem.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
#if ES_BUILD_STANDALONE
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/DataCollector.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/DataCollector.cs
index 4270914580..aa60ac8d05 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/DataCollector.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/DataCollector.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Resources;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EmptyStruct.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EmptyStruct.cs
index 38dd167a9f..bc7fb8c346 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EmptyStruct.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EmptyStruct.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if ES_BUILD_STANDALONE
namespace Microsoft.Diagnostics.Tracing
#else
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumHelper.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumHelper.cs
index 10cac02770..33c085dcd1 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumHelper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if EVENTSOURCE_GENERICS
?using System;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumerableTypeInfo.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumerableTypeInfo.cs
index 0d42454572..c8ebdf8ab4 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumerableTypeInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EnumerableTypeInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventDataAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventDataAttribute.cs
index 509f885b9d..bcfd34515f 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventDataAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventDataAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
#if ES_BUILD_STANDALONE
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventFieldAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventFieldAttribute.cs
index 3d9da9d99d..b3e4be4a7e 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventFieldAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventFieldAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
#if ES_BUILD_STANDALONE
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventIgnoreAttribute.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventIgnoreAttribute.cs
index 51c457df2e..769345f78e 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventIgnoreAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventIgnoreAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
#if ES_BUILD_STANDALONE
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventPayload.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventPayload.cs
index 45a66a390b..010d5127e5 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventPayload.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventPayload.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Collections;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs
index d45ae7d8f6..3776314015 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceActivity.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceOptions.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceOptions.cs
index 054fbb29c7..26305a5708 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceOptions.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/EventSourceOptions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
#if ES_BUILD_STANDALONE
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/FieldMetadata.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/FieldMetadata.cs
index 15ff780fbb..2c50266134 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/FieldMetadata.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/FieldMetadata.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Resources;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/InvokeTypeInfo.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/InvokeTypeInfo.cs
index 6b926ee9d1..34ca1447c3 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/InvokeTypeInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/InvokeTypeInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/NameInfo.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/NameInfo.cs
index 2f6d2f5dea..e1b0cf776e 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/NameInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/NameInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyAnalysis.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyAnalysis.cs
index 05eac6dca0..aa79453177 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyAnalysis.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyAnalysis.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs
index 0b3c67f795..61ed204225 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Reflection;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleEventTypes.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleEventTypes.cs
index 78fe989698..74cde08e30 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleEventTypes.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleEventTypes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using Interlocked = System.Threading.Interlocked;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleTypeInfos.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleTypeInfos.cs
index aaa0a30d93..b957de00ee 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleTypeInfos.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleTypeInfos.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/Statics.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/Statics.cs
index 8fa50ac128..379a67ad1e 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/Statics.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/Statics.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingDataCollector.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingDataCollector.cs
index afa0e7140a..419f0f2647 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingDataCollector.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingDataCollector.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs
index e49889dfe4..b737da4c11 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
// This program uses code hyperlinks available as part of the HyperAddin Visual Studio plug-in.
// It is available from http://www.codeplex.com/hyperAddin
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventTypes.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventTypes.cs
index 8963f5b91c..9ff1ccaf53 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventTypes.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventTypes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using Interlocked = System.Threading.Interlocked;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingMetadataCollector.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingMetadataCollector.cs
index 7e39c966a4..8b522e8569 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingMetadataCollector.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingMetadataCollector.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingTypeInfo.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingTypeInfo.cs
index 62dc932b2e..f31765c2f3 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingTypeInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingTypeInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TypeAnalysis.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TypeAnalysis.cs
index 83f76af888..3ade2b2992 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TypeAnalysis.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TypeAnalysis.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/Winmeta.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/Winmeta.cs
index 217500592c..c60ca5b365 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/Winmeta.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/Winmeta.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
diff --git a/src/System.Private.CoreLib/shared/System/DivideByZeroException.cs b/src/System.Private.CoreLib/shared/System/DivideByZeroException.cs
index 8b04145eb3..8c079fb604 100644
--- a/src/System.Private.CoreLib/shared/System/DivideByZeroException.cs
+++ b/src/System.Private.CoreLib/shared/System/DivideByZeroException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/DllNotFoundException.cs b/src/System.Private.CoreLib/shared/System/DllNotFoundException.cs
index 0165d1aa7c..b9c3e05afa 100644
--- a/src/System.Private.CoreLib/shared/System/DllNotFoundException.cs
+++ b/src/System.Private.CoreLib/shared/System/DllNotFoundException.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Double.cs b/src/System.Private.CoreLib/shared/System/Double.cs
index 85b797ae8c..806add021a 100644
--- a/src/System.Private.CoreLib/shared/System/Double.cs
+++ b/src/System.Private.CoreLib/shared/System/Double.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/DuplicateWaitObjectException.cs b/src/System.Private.CoreLib/shared/System/DuplicateWaitObjectException.cs
index 2fbe337f56..0aef5d6bd7 100644
--- a/src/System.Private.CoreLib/shared/System/DuplicateWaitObjectException.cs
+++ b/src/System.Private.CoreLib/shared/System/DuplicateWaitObjectException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Empty.cs b/src/System.Private.CoreLib/shared/System/Empty.cs
index 64c54dca02..186b92078e 100644
--- a/src/System.Private.CoreLib/shared/System/Empty.cs
+++ b/src/System.Private.CoreLib/shared/System/Empty.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
#if CORERT
diff --git a/src/System.Private.CoreLib/shared/System/EntryPointNotFoundException.cs b/src/System.Private.CoreLib/shared/System/EntryPointNotFoundException.cs
index f88e07b93f..e8b735c44b 100644
--- a/src/System.Private.CoreLib/shared/System/EntryPointNotFoundException.cs
+++ b/src/System.Private.CoreLib/shared/System/EntryPointNotFoundException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Enum.cs b/src/System.Private.CoreLib/shared/System/Enum.cs
index d60be2c250..0f07c75bcf 100644
--- a/src/System.Private.CoreLib/shared/System/Enum.cs
+++ b/src/System.Private.CoreLib/shared/System/Enum.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Environment.NoRegistry.cs b/src/System.Private.CoreLib/shared/System/Environment.NoRegistry.cs
index 4ba66bdb03..6e699b1f38 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.NoRegistry.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.NoRegistry.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Collections;
using Microsoft.Win32;
diff --git a/src/System.Private.CoreLib/shared/System/Environment.SpecialFolder.cs b/src/System.Private.CoreLib/shared/System/Environment.SpecialFolder.cs
index 5e7d0549e4..ae2add730d 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.SpecialFolder.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.SpecialFolder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public static partial class Environment
diff --git a/src/System.Private.CoreLib/shared/System/Environment.SpecialFolderOption.cs b/src/System.Private.CoreLib/shared/System/Environment.SpecialFolderOption.cs
index 05972a701b..929e3d9036 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.SpecialFolderOption.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.SpecialFolderOption.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public static partial class Environment
diff --git a/src/System.Private.CoreLib/shared/System/Environment.Unix.cs b/src/System.Private.CoreLib/shared/System/Environment.Unix.cs
index 8f5fede529..fa343aca75 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Environment.Variables.Windows.cs b/src/System.Private.CoreLib/shared/System/Environment.Variables.Windows.cs
index c13410207f..80c88d7670 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.Variables.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.Variables.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Collections;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Environment.Win32.cs b/src/System.Private.CoreLib/shared/System/Environment.Win32.cs
index 2f27773632..ca3b48c607 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.Win32.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.Win32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/System/Environment.WinRT.cs b/src/System.Private.CoreLib/shared/System/Environment.WinRT.cs
index 1a22b7b328..9a4bb8608a 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.WinRT.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.WinRT.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using Internal.Runtime.Augments;
diff --git a/src/System.Private.CoreLib/shared/System/Environment.Windows.cs b/src/System.Private.CoreLib/shared/System/Environment.Windows.cs
index f60323b27d..957d1894a2 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Environment.cs b/src/System.Private.CoreLib/shared/System/Environment.cs
index 6e9a6bcf6d..dd3fc7f1d0 100644
--- a/src/System.Private.CoreLib/shared/System/Environment.cs
+++ b/src/System.Private.CoreLib/shared/System/Environment.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Diagnostics;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/EnvironmentVariableTarget.cs b/src/System.Private.CoreLib/shared/System/EnvironmentVariableTarget.cs
index 1f8213cb56..a592832ce5 100644
--- a/src/System.Private.CoreLib/shared/System/EnvironmentVariableTarget.cs
+++ b/src/System.Private.CoreLib/shared/System/EnvironmentVariableTarget.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
#if PROJECTN
diff --git a/src/System.Private.CoreLib/shared/System/EventArgs.cs b/src/System.Private.CoreLib/shared/System/EventArgs.cs
index 0d806c6312..f3561a8d0b 100644
--- a/src/System.Private.CoreLib/shared/System/EventArgs.cs
+++ b/src/System.Private.CoreLib/shared/System/EventArgs.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/EventHandler.cs b/src/System.Private.CoreLib/shared/System/EventHandler.cs
index 7e0f183438..89c5de022b 100644
--- a/src/System.Private.CoreLib/shared/System/EventHandler.cs
+++ b/src/System.Private.CoreLib/shared/System/EventHandler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Exception.cs b/src/System.Private.CoreLib/shared/System/Exception.cs
index 0fc37ee78b..1148cdd2f3 100644
--- a/src/System.Private.CoreLib/shared/System/Exception.cs
+++ b/src/System.Private.CoreLib/shared/System/Exception.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/ExecutionEngineException.cs b/src/System.Private.CoreLib/shared/System/ExecutionEngineException.cs
index 3097988890..2d6da9ca2f 100644
--- a/src/System.Private.CoreLib/shared/System/ExecutionEngineException.cs
+++ b/src/System.Private.CoreLib/shared/System/ExecutionEngineException.cs
@@ -15,7 +15,6 @@
**
=============================================================================*/
-#nullable enable
using System;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/FieldAccessException.cs b/src/System.Private.CoreLib/shared/System/FieldAccessException.cs
index c0b2bd6630..20b4bd9516 100644
--- a/src/System.Private.CoreLib/shared/System/FieldAccessException.cs
+++ b/src/System.Private.CoreLib/shared/System/FieldAccessException.cs
@@ -9,7 +9,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/FlagsAttribute.cs b/src/System.Private.CoreLib/shared/System/FlagsAttribute.cs
index 751f944f83..4f3ab36bfd 100644
--- a/src/System.Private.CoreLib/shared/System/FlagsAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/FlagsAttribute.cs
@@ -5,7 +5,6 @@
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
-#nullable enable
namespace System
{
// Custom attribute to indicate that the enum
diff --git a/src/System.Private.CoreLib/shared/System/FormatException.cs b/src/System.Private.CoreLib/shared/System/FormatException.cs
index 9fefdca15e..f5639f2fc9 100644
--- a/src/System.Private.CoreLib/shared/System/FormatException.cs
+++ b/src/System.Private.CoreLib/shared/System/FormatException.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/FormattableString.cs b/src/System.Private.CoreLib/shared/System/FormattableString.cs
index 965a916bc3..73b1981cd7 100644
--- a/src/System.Private.CoreLib/shared/System/FormattableString.cs
+++ b/src/System.Private.CoreLib/shared/System/FormattableString.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
namespace System
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/GCMemoryInfo.cs b/src/System.Private.CoreLib/shared/System/GCMemoryInfo.cs
index ea1cd3c382..72c2aca14d 100644
--- a/src/System.Private.CoreLib/shared/System/GCMemoryInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/GCMemoryInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public readonly struct GCMemoryInfo
diff --git a/src/System.Private.CoreLib/shared/System/Gen2GcCallback.cs b/src/System.Private.CoreLib/shared/System/Gen2GcCallback.cs
index 88de270ad7..063c6ce0a0 100644
--- a/src/System.Private.CoreLib/shared/System/Gen2GcCallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Gen2GcCallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/Calendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/Calendar.cs
index aa9a07111d..4460d3d06a 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/Calendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/Calendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Unix.cs
index a8c69f86e6..61924a6a97 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Windows.cs b/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Windows.cs
index 84e4ddf5f2..f8075d4470 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.cs b/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.cs
index 93ec643b67..6ca9e8d7f5 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CalendarData.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CalendricalCalculationsHelper.cs b/src/System.Private.CoreLib/shared/System/Globalization/CalendricalCalculationsHelper.cs
index a0fb75978a..241019a0bc 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CalendricalCalculationsHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CalendricalCalculationsHelper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfo.cs
index a78965b3e2..e627cc7483 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Binary;
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfoData.cs b/src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfoData.cs
index 1af4cfeb56..95aac2f355 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfoData.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CharUnicodeInfoData.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
public static partial class CharUnicodeInfo
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/ChineseLunisolarCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/ChineseLunisolarCalendar.cs
index c7c129f338..b35508c5d0 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/ChineseLunisolarCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/ChineseLunisolarCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <remarks>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Invariant.cs b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Invariant.cs
index d579dbefcb..16201b8d1f 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Invariant.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Invariant.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs
index bbb07a7535..c915c9d227 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Windows.cs b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Windows.cs
index b706ad50e1..7f1ba8ca91 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.cs
index ef2eb4945a..5cf1992bb3 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CompareInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Unix.cs
index f1a2669b97..6546783af1 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs
index f92f119b4b..912fce6677 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.cs
index c86bab5afa..a5d2ef699d 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureData.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureData.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Unix.cs
index 0973ee0876..2a16ab6111 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Windows.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Windows.cs
index 8d312dfc5c..67a70d8234 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if FEATURE_APPX
using System.Resources;
using Internal.Resources;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs
index 643327ce12..76c966646e 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs
@@ -26,7 +26,6 @@
//
////////////////////////////////////////////////////////////////////////////
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureNotFoundException.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureNotFoundException.cs
index 87d26f8a67..e17385564b 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureNotFoundException.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureNotFoundException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormat.cs b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormat.cs
index c2b20c46bf..6f6d10ab94 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormat.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormat.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfo.cs
index 78c97903ce..b091f7a603 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfoScanner.cs b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfoScanner.cs
index a43bfe777b..2005cf3b73 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfoScanner.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeFormatInfoScanner.cs
@@ -19,7 +19,6 @@
//
////////////////////////////////////////////////////////////////////////////
-#nullable enable
using System.Collections.Generic;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeParse.cs b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeParse.cs
index 107fac5e6c..3bc6288e9a 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/DateTimeParse.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/DateTimeParse.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/DaylightTime.cs b/src/System.Private.CoreLib/shared/System/Globalization/DaylightTime.cs
index 0569b390c7..72a572c97d 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/DaylightTime.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/DaylightTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
// This class represents a starting/ending time for a period of daylight saving time.
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/EastAsianLunisolarCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/EastAsianLunisolarCalendar.cs
index aa7d1fb0a3..621524aaa8 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/EastAsianLunisolarCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/EastAsianLunisolarCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
public abstract class EastAsianLunisolarCalendar : Calendar
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/GlobalizationExtensions.cs b/src/System.Private.CoreLib/shared/System/Globalization/GlobalizationExtensions.cs
index ed00cc58f6..007283aa6b 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/GlobalizationExtensions.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/GlobalizationExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendar.cs
index 68aba7e035..ebc5a54f40 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <remarks>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs b/src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs
index 5889dcb275..efa47fe273 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/GregorianCalendarHelper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/HebrewCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/HebrewCalendar.cs
index 314c99816d..d72e3817b1 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/HebrewCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/HebrewCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/HebrewNumber.cs b/src/System.Private.CoreLib/shared/System/Globalization/HebrewNumber.cs
index 1919e82677..a2054377d5 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/HebrewNumber.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/HebrewNumber.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Unix.cs
index 2b7b35f2ea..a6e8f73d3e 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
public partial class HijriCalendar : Calendar
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Win32.cs b/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Win32.cs
index 1e8f7474d1..75988535e3 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Win32.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.Win32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Internal.Win32;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.WinRT.cs b/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.WinRT.cs
index 85b9afef30..fb91c27ef6 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.WinRT.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.WinRT.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Internal.Runtime.Augments;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.cs
index 41458c5a12..910294eda2 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/HijriCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <remarks>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/ISOWeek.cs b/src/System.Private.CoreLib/shared/System/Globalization/ISOWeek.cs
index 89f5ca4a26..60715713b1 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/ISOWeek.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/ISOWeek.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using static System.Globalization.GregorianCalendar;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Unix.cs
index 4c8dcb8719..ad15040cfc 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Windows.cs b/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Windows.cs
index 696abbcde1..6622e643e0 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.cs b/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.cs
index 9da4411f10..63aa4e1097 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/IdnMapping.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
// This file contains the IDN functions and implementation.
//
// This allows encoding of non-ASCII domain names in a "punycode" form,
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/InternalGlobalizationHelper.cs b/src/System.Private.CoreLib/shared/System/Globalization/InternalGlobalizationHelper.cs
index 59fcd0f3c7..6dc2b19515 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/InternalGlobalizationHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/InternalGlobalizationHelper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
internal class InternalGlobalizationHelper
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Unix.cs
index 364eeef059..0bbebba774 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Win32.cs b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Win32.cs
index 780b9533fd..8e5941f319 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Win32.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.Win32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Internal.Win32;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.WinRT.cs b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.WinRT.cs
index ce770695f0..15fe898459 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.WinRT.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.WinRT.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Internal.Runtime.Augments;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.cs
index 90f03d5613..b0428db0a5 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseLunisolarCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseLunisolarCalendar.cs
index ce1b941077..7190300116 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/JapaneseLunisolarCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/JapaneseLunisolarCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <remarks>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/JulianCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/JulianCalendar.cs
index 782e197750..bba7f07053 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/JulianCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/JulianCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/KoreanCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/KoreanCalendar.cs
index a29f4d25e4..699b484b24 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/KoreanCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/KoreanCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/KoreanLunisolarCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/KoreanLunisolarCalendar.cs
index 5871436ee0..1204d722e2 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/KoreanLunisolarCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/KoreanLunisolarCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <remarks>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/LocaleData.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/LocaleData.Unix.cs
index 6b5049c2ba..aab78082df 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/LocaleData.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/LocaleData.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
// This file contains the handling of Windows OS specific culture features.
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/Normalization.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/Normalization.Unix.cs
index 79a28322bc..37c9024c33 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/Normalization.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/Normalization.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/Normalization.Windows.cs b/src/System.Private.CoreLib/shared/System/Globalization/Normalization.Windows.cs
index 0b3ce0ec86..b04a6729f2 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/Normalization.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/Normalization.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/NumberFormatInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/NumberFormatInfo.cs
index bd490e42ad..3078c8e576 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/NumberFormatInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/NumberFormatInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <remarks>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/PersianCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/PersianCalendar.cs
index 0e43b15a12..40f9c9c846 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/PersianCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/PersianCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/RegionInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/RegionInfo.cs
index 30471095f0..ccaa806adb 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/RegionInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/RegionInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/SortKey.cs b/src/System.Private.CoreLib/shared/System/Globalization/SortKey.cs
index f75b4f74ab..0b2a8a33ad 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/SortKey.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/SortKey.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/SortVersion.cs b/src/System.Private.CoreLib/shared/System/Globalization/SortVersion.cs
index 23cf8b37d7..b76eeb1a4f 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/SortVersion.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/SortVersion.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/StringInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/StringInfo.cs
index fe5db920ef..0e6a7cfdca 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/StringInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/StringInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/TaiwanCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/TaiwanCalendar.cs
index de541a30c4..e190f66377 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/TaiwanCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/TaiwanCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics.CodeAnalysis;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/TaiwanLunisolarCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/TaiwanLunisolarCalendar.cs
index 47dbc3b0af..13a2a63566 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/TaiwanLunisolarCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/TaiwanLunisolarCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <remarks>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/TextElementEnumerator.cs b/src/System.Private.CoreLib/shared/System/Globalization/TextElementEnumerator.cs
index 4e34474f36..d896c7d99e 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/TextElementEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/TextElementEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Unix.cs b/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Unix.cs
index 5f75e6c050..45cf55c56e 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Windows.cs b/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Windows.cs
index b59648dae5..d0c859400b 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.cs
index 4391dec044..38005a0c6b 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/TextInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/ThaiBuddhistCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/ThaiBuddhistCalendar.cs
index 8997f00f26..8bc48db3f9 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/ThaiBuddhistCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/ThaiBuddhistCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/TimeSpanFormat.cs b/src/System.Private.CoreLib/shared/System/Globalization/TimeSpanFormat.cs
index 376827e6fd..fe565435d8 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/TimeSpanFormat.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/TimeSpanFormat.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Text;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/TimeSpanParse.cs b/src/System.Private.CoreLib/shared/System/Globalization/TimeSpanParse.cs
index a03a02c1f8..1066561722 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/TimeSpanParse.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/TimeSpanParse.cs
@@ -48,7 +48,6 @@
//
////////////////////////////////////////////////////////////////////////////
-#nullable enable
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/UmAlQuraCalendar.cs b/src/System.Private.CoreLib/shared/System/Globalization/UmAlQuraCalendar.cs
index 49d7e893ac..7b52e833e9 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/UmAlQuraCalendar.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/UmAlQuraCalendar.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Globalization
diff --git a/src/System.Private.CoreLib/shared/System/Guid.Unix.cs b/src/System.Private.CoreLib/shared/System/Guid.Unix.cs
index 113f76dfe3..1c39e112ed 100644
--- a/src/System.Private.CoreLib/shared/System/Guid.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Guid.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Guid.Windows.cs b/src/System.Private.CoreLib/shared/System/Guid.Windows.cs
index 46bdec2c0f..6a275084f9 100644
--- a/src/System.Private.CoreLib/shared/System/Guid.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Guid.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
partial struct Guid
diff --git a/src/System.Private.CoreLib/shared/System/Guid.cs b/src/System.Private.CoreLib/shared/System/Guid.cs
index 6bcf48cf71..b27536c225 100644
--- a/src/System.Private.CoreLib/shared/System/Guid.cs
+++ b/src/System.Private.CoreLib/shared/System/Guid.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/HResults.cs b/src/System.Private.CoreLib/shared/System/HResults.cs
index df12ac3e48..4da0e657a9 100644
--- a/src/System.Private.CoreLib/shared/System/HResults.cs
+++ b/src/System.Private.CoreLib/shared/System/HResults.cs
@@ -18,7 +18,6 @@
// Reflection will use 0x1600 -> 0x161f. IO will use 0x1620 -> 0x163f.
// Security will use 0x1640 -> 0x165f
-#nullable enable
using System;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/HashCode.cs b/src/System.Private.CoreLib/shared/System/HashCode.cs
index 09fef5d95d..4d9dd62205 100644
--- a/src/System.Private.CoreLib/shared/System/HashCode.cs
+++ b/src/System.Private.CoreLib/shared/System/HashCode.cs
@@ -41,7 +41,6 @@ https://raw.githubusercontent.com/Cyan4973/xxHash/5c174cfa4e45a42f94082dc0d4539b
*/
-#nullable enable
using System.Collections.Generic;
using System.ComponentModel;
using System.Numerics;
diff --git a/src/System.Private.CoreLib/shared/System/IAsyncDisposable.cs b/src/System.Private.CoreLib/shared/System/IAsyncDisposable.cs
index 3139b00513..c29f549df2 100644
--- a/src/System.Private.CoreLib/shared/System/IAsyncDisposable.cs
+++ b/src/System.Private.CoreLib/shared/System/IAsyncDisposable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading.Tasks;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/IAsyncResult.cs b/src/System.Private.CoreLib/shared/System/IAsyncResult.cs
index 8d7b32327e..1caa724c8f 100644
--- a/src/System.Private.CoreLib/shared/System/IAsyncResult.cs
+++ b/src/System.Private.CoreLib/shared/System/IAsyncResult.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System.Threading;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/ICloneable.cs b/src/System.Private.CoreLib/shared/System/ICloneable.cs
index 325a367ba7..9f123e45c8 100644
--- a/src/System.Private.CoreLib/shared/System/ICloneable.cs
+++ b/src/System.Private.CoreLib/shared/System/ICloneable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public interface ICloneable
diff --git a/src/System.Private.CoreLib/shared/System/IComparable.cs b/src/System.Private.CoreLib/shared/System/IComparable.cs
index 1a23580e32..8c4f38ed99 100644
--- a/src/System.Private.CoreLib/shared/System/IComparable.cs
+++ b/src/System.Private.CoreLib/shared/System/IComparable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
// The IComparable interface is implemented by classes that support an
diff --git a/src/System.Private.CoreLib/shared/System/IConvertible.cs b/src/System.Private.CoreLib/shared/System/IConvertible.cs
index 2b0c13425b..0acfc9c84a 100644
--- a/src/System.Private.CoreLib/shared/System/IConvertible.cs
+++ b/src/System.Private.CoreLib/shared/System/IConvertible.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
// The IConvertible interface represents an object that contains a value. This
diff --git a/src/System.Private.CoreLib/shared/System/ICustomFormatter.cs b/src/System.Private.CoreLib/shared/System/ICustomFormatter.cs
index df5d9b8cf4..6911e8c560 100644
--- a/src/System.Private.CoreLib/shared/System/ICustomFormatter.cs
+++ b/src/System.Private.CoreLib/shared/System/ICustomFormatter.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
namespace System
{
public interface ICustomFormatter
diff --git a/src/System.Private.CoreLib/shared/System/IDisposable.cs b/src/System.Private.CoreLib/shared/System/IDisposable.cs
index fb89476b15..24f0740edc 100644
--- a/src/System.Private.CoreLib/shared/System/IDisposable.cs
+++ b/src/System.Private.CoreLib/shared/System/IDisposable.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
namespace System
{
// IDisposable is an attempt at helping to solve problems with deterministic
diff --git a/src/System.Private.CoreLib/shared/System/IEquatable.cs b/src/System.Private.CoreLib/shared/System/IEquatable.cs
index 482f467f85..b2c96a9bb2 100644
--- a/src/System.Private.CoreLib/shared/System/IEquatable.cs
+++ b/src/System.Private.CoreLib/shared/System/IEquatable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public interface IEquatable<T>
diff --git a/src/System.Private.CoreLib/shared/System/IFormatProvider.cs b/src/System.Private.CoreLib/shared/System/IFormatProvider.cs
index 706dea8cc6..f1e767f543 100644
--- a/src/System.Private.CoreLib/shared/System/IFormatProvider.cs
+++ b/src/System.Private.CoreLib/shared/System/IFormatProvider.cs
@@ -11,7 +11,6 @@
**
============================================================*/
-#nullable enable
namespace System
{
public interface IFormatProvider
diff --git a/src/System.Private.CoreLib/shared/System/IFormattable.cs b/src/System.Private.CoreLib/shared/System/IFormattable.cs
index e3fa7c19f0..bb5aeae97a 100644
--- a/src/System.Private.CoreLib/shared/System/IFormattable.cs
+++ b/src/System.Private.CoreLib/shared/System/IFormattable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public interface IFormattable
diff --git a/src/System.Private.CoreLib/shared/System/IO/BinaryReader.cs b/src/System.Private.CoreLib/shared/System/IO/BinaryReader.cs
index 280afe6665..560c998a44 100644
--- a/src/System.Private.CoreLib/shared/System/IO/BinaryReader.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/BinaryReader.cs
@@ -14,7 +14,6 @@
**
============================================================*/
-#nullable enable
using System.Buffers.Binary;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/BinaryWriter.cs b/src/System.Private.CoreLib/shared/System/IO/BinaryWriter.cs
index 89ebf98f4b..1e8f8bdb8c 100644
--- a/src/System.Private.CoreLib/shared/System/IO/BinaryWriter.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/BinaryWriter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using System.Diagnostics;
using System.Buffers;
diff --git a/src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs b/src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs
index 58d4ee1a3f..7fdf3bce29 100644
--- a/src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/DirectoryNotFoundException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.IO
diff --git a/src/System.Private.CoreLib/shared/System/IO/DisableMediaInsertionPrompt.cs b/src/System.Private.CoreLib/shared/System/IO/DisableMediaInsertionPrompt.cs
index cfb4b6667a..a3a2d29837 100644
--- a/src/System.Private.CoreLib/shared/System/IO/DisableMediaInsertionPrompt.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/DisableMediaInsertionPrompt.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if MS_IO_REDIST
using System;
diff --git a/src/System.Private.CoreLib/shared/System/IO/DriveInfoInternal.Unix.cs b/src/System.Private.CoreLib/shared/System/IO/DriveInfoInternal.Unix.cs
index c4eba1c24c..78ef95704f 100644
--- a/src/System.Private.CoreLib/shared/System/IO/DriveInfoInternal.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/DriveInfoInternal.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/IO/EncodingCache.cs b/src/System.Private.CoreLib/shared/System/IO/EncodingCache.cs
index fb3795e5e2..53379bc77f 100644
--- a/src/System.Private.CoreLib/shared/System/IO/EncodingCache.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/EncodingCache.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
namespace System.IO
diff --git a/src/System.Private.CoreLib/shared/System/IO/EndOfStreamException.cs b/src/System.Private.CoreLib/shared/System/IO/EndOfStreamException.cs
index 69759aac1b..c965b6a1c2 100644
--- a/src/System.Private.CoreLib/shared/System/IO/EndOfStreamException.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/EndOfStreamException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.IO
diff --git a/src/System.Private.CoreLib/shared/System/IO/Error.cs b/src/System.Private.CoreLib/shared/System/IO/Error.cs
index db8095428a..fd39f166cf 100644
--- a/src/System.Private.CoreLib/shared/System/IO/Error.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/Error.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.IO
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileAccess.cs b/src/System.Private.CoreLib/shared/System/IO/FileAccess.cs
index 2fd7408b85..1b70bae172 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileAccess.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileAccess.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.IO
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileLoadException.cs b/src/System.Private.CoreLib/shared/System/IO/FileLoadException.cs
index a893aca47b..729d480d95 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileLoadException.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileLoadException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.IO
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileMode.cs b/src/System.Private.CoreLib/shared/System/IO/FileMode.cs
index 39c74e5025..77f2fe6f20 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileMode.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileMode.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.IO
{
// Contains constants for specifying how the OS should open a file.
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileNotFoundException.cs b/src/System.Private.CoreLib/shared/System/IO/FileNotFoundException.cs
index 9ab3eb38e5..0ce1c74da3 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileNotFoundException.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileNotFoundException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileOptions.cs b/src/System.Private.CoreLib/shared/System/IO/FileOptions.cs
index b11b9bb140..ae8396a588 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileOptions.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileOptions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileShare.cs b/src/System.Private.CoreLib/shared/System/IO/FileShare.cs
index 12dc6e64eb..e9b9b5e32f 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileShare.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileShare.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.IO
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStream.Linux.cs b/src/System.Private.CoreLib/shared/System/IO/FileStream.Linux.cs
index 33207fc602..873c4eb559 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStream.Linux.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStream.Linux.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStream.OSX.cs b/src/System.Private.CoreLib/shared/System/IO/FileStream.OSX.cs
index c8e4c9086d..f29e922337 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStream.OSX.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStream.OSX.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.IO
{
public partial class FileStream : Stream
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStream.Unix.cs b/src/System.Private.CoreLib/shared/System/IO/FileStream.Unix.cs
index f90b53c7d9..e3fe604f94 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStream.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStream.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStream.Win32.cs b/src/System.Private.CoreLib/shared/System/IO/FileStream.Win32.cs
index f97f531530..1f4f7fdb5d 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStream.Win32.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStream.Win32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs b/src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs
index 937316568b..6266d5dc20 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStream.Windows.cs b/src/System.Private.CoreLib/shared/System/IO/FileStream.Windows.cs
index 49e9812e0a..bfab0c1516 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStream.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStream.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStream.cs b/src/System.Private.CoreLib/shared/System/IO/FileStream.cs
index 0f75f36948..4f4198330c 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStream.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStream.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
using System.Threading;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStreamCompletionSource.Win32.cs b/src/System.Private.CoreLib/shared/System/IO/FileStreamCompletionSource.Win32.cs
index a1ad6291f7..837946e04f 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStreamCompletionSource.Win32.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStreamCompletionSource.Win32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/IOException.cs b/src/System.Private.CoreLib/shared/System/IO/IOException.cs
index ba8525f043..a22cc3bc48 100644
--- a/src/System.Private.CoreLib/shared/System/IO/IOException.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/IOException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.IO
diff --git a/src/System.Private.CoreLib/shared/System/IO/MemoryStream.cs b/src/System.Private.CoreLib/shared/System/IO/MemoryStream.cs
index 7377271315..b8a11d9870 100644
--- a/src/System.Private.CoreLib/shared/System/IO/MemoryStream.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/MemoryStream.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs b/src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs
index f8c93d6516..5bc727f450 100644
--- a/src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/IO/Path.Windows.cs b/src/System.Private.CoreLib/shared/System/IO/Path.Windows.cs
index 71a986eeef..fccd30c052 100644
--- a/src/System.Private.CoreLib/shared/System/IO/Path.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/Path.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/IO/Path.cs b/src/System.Private.CoreLib/shared/System/IO/Path.cs
index 27741b9248..61235e3375 100644
--- a/src/System.Private.CoreLib/shared/System/IO/Path.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/Path.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/IO/PathHelper.Windows.cs b/src/System.Private.CoreLib/shared/System/IO/PathHelper.Windows.cs
index 83618cfa13..ae935158ef 100644
--- a/src/System.Private.CoreLib/shared/System/IO/PathHelper.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/PathHelper.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/IO/PathInternal.cs b/src/System.Private.CoreLib/shared/System/IO/PathInternal.cs
index 549a2d18b2..c6e1de46c8 100644
--- a/src/System.Private.CoreLib/shared/System/IO/PathInternal.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/PathInternal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/IO/PathTooLongException.cs b/src/System.Private.CoreLib/shared/System/IO/PathTooLongException.cs
index e0a35f7c9e..3a69930a91 100644
--- a/src/System.Private.CoreLib/shared/System/IO/PathTooLongException.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/PathTooLongException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.IO
diff --git a/src/System.Private.CoreLib/shared/System/IO/PersistedFiles.Names.Unix.cs b/src/System.Private.CoreLib/shared/System/IO/PersistedFiles.Names.Unix.cs
index 03bfc02510..8984f1aee3 100644
--- a/src/System.Private.CoreLib/shared/System/IO/PersistedFiles.Names.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/PersistedFiles.Names.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.IO
{
internal static partial class PersistedFiles
diff --git a/src/System.Private.CoreLib/shared/System/IO/PinnedBufferMemoryStream.cs b/src/System.Private.CoreLib/shared/System/IO/PinnedBufferMemoryStream.cs
index 2589eee0e0..bcec1f33ac 100644
--- a/src/System.Private.CoreLib/shared/System/IO/PinnedBufferMemoryStream.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/PinnedBufferMemoryStream.cs
@@ -14,7 +14,6 @@
**
===========================================================*/
-#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/IO/SeekOrigin.cs b/src/System.Private.CoreLib/shared/System/IO/SeekOrigin.cs
index e1da4d5853..3798a0ce70 100644
--- a/src/System.Private.CoreLib/shared/System/IO/SeekOrigin.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/SeekOrigin.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.IO
{
// Provides seek reference points. To seek to the end of a stream,
diff --git a/src/System.Private.CoreLib/shared/System/IO/Stream.cs b/src/System.Private.CoreLib/shared/System/IO/Stream.cs
index 55ae9007c8..e6288cbef1 100644
--- a/src/System.Private.CoreLib/shared/System/IO/Stream.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/Stream.cs
@@ -15,7 +15,6 @@
**
===========================================================*/
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.ExceptionServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/StreamHelpers.CopyValidation.cs b/src/System.Private.CoreLib/shared/System/IO/StreamHelpers.CopyValidation.cs
index fe849fbef2..45bbd816df 100644
--- a/src/System.Private.CoreLib/shared/System/IO/StreamHelpers.CopyValidation.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/StreamHelpers.CopyValidation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.IO
{
/// <summary>Provides methods to help in the implementation of Stream-derived types.</summary>
diff --git a/src/System.Private.CoreLib/shared/System/IO/StreamReader.cs b/src/System.Private.CoreLib/shared/System/IO/StreamReader.cs
index 61accbf899..a59ac58445 100644
--- a/src/System.Private.CoreLib/shared/System/IO/StreamReader.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/StreamReader.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/IO/StreamWriter.cs b/src/System.Private.CoreLib/shared/System/IO/StreamWriter.cs
index 856dd27280..87557e89b6 100644
--- a/src/System.Private.CoreLib/shared/System/IO/StreamWriter.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/StreamWriter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/TextReader.cs b/src/System.Private.CoreLib/shared/System/IO/TextReader.cs
index e2f0af9178..a49463f086 100644
--- a/src/System.Private.CoreLib/shared/System/IO/TextReader.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/TextReader.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using System.Threading;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/shared/System/IO/TextWriter.cs b/src/System.Private.CoreLib/shared/System/IO/TextWriter.cs
index f648df0ce6..875eb59303 100644
--- a/src/System.Private.CoreLib/shared/System/IO/TextWriter.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/TextWriter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using System.Threading;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryAccessor.cs b/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryAccessor.cs
index 4e66b7cdec..c9f4369870 100644
--- a/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryAccessor.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryAccessor.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using System.Runtime.InteropServices;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStream.cs b/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStream.cs
index a42cdf918c..eeaed0a381 100644
--- a/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStream.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStream.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStreamWrapper.cs b/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStreamWrapper.cs
index d4a5f98255..a8c84da7ad 100644
--- a/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStreamWrapper.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/UnmanagedMemoryStreamWrapper.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System.Threading;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/shared/System/IObservable.cs b/src/System.Private.CoreLib/shared/System/IObservable.cs
index c451a7b8ea..aabb0b8fb4 100644
--- a/src/System.Private.CoreLib/shared/System/IObservable.cs
+++ b/src/System.Private.CoreLib/shared/System/IObservable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public interface IObservable<out T>
diff --git a/src/System.Private.CoreLib/shared/System/IObserver.cs b/src/System.Private.CoreLib/shared/System/IObserver.cs
index 35906682b3..39e123de8d 100644
--- a/src/System.Private.CoreLib/shared/System/IObserver.cs
+++ b/src/System.Private.CoreLib/shared/System/IObserver.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public interface IObserver<in T>
diff --git a/src/System.Private.CoreLib/shared/System/IProgress.cs b/src/System.Private.CoreLib/shared/System/IProgress.cs
index e344c73afe..724c7bdce9 100644
--- a/src/System.Private.CoreLib/shared/System/IProgress.cs
+++ b/src/System.Private.CoreLib/shared/System/IProgress.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
/// <summary>Defines a provider for progress updates.</summary>
diff --git a/src/System.Private.CoreLib/shared/System/ISpanFormattable.cs b/src/System.Private.CoreLib/shared/System/ISpanFormattable.cs
index d63e6ff8af..d3744addcb 100644
--- a/src/System.Private.CoreLib/shared/System/ISpanFormattable.cs
+++ b/src/System.Private.CoreLib/shared/System/ISpanFormattable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
internal interface ISpanFormattable
diff --git a/src/System.Private.CoreLib/shared/System/Index.cs b/src/System.Private.CoreLib/shared/System/Index.cs
index 9ed7ed1127..0e4d8514de 100644
--- a/src/System.Private.CoreLib/shared/System/Index.cs
+++ b/src/System.Private.CoreLib/shared/System/Index.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/IndexOutOfRangeException.cs b/src/System.Private.CoreLib/shared/System/IndexOutOfRangeException.cs
index 46d8e3869e..ec4195c23f 100644
--- a/src/System.Private.CoreLib/shared/System/IndexOutOfRangeException.cs
+++ b/src/System.Private.CoreLib/shared/System/IndexOutOfRangeException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/InsufficientExecutionStackException.cs b/src/System.Private.CoreLib/shared/System/InsufficientExecutionStackException.cs
index e6b71b9ac2..bb60d533f0 100644
--- a/src/System.Private.CoreLib/shared/System/InsufficientExecutionStackException.cs
+++ b/src/System.Private.CoreLib/shared/System/InsufficientExecutionStackException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/InsufficientMemoryException.cs b/src/System.Private.CoreLib/shared/System/InsufficientMemoryException.cs
index 197bd166d5..b42f8c4ff9 100644
--- a/src/System.Private.CoreLib/shared/System/InsufficientMemoryException.cs
+++ b/src/System.Private.CoreLib/shared/System/InsufficientMemoryException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Int16.cs b/src/System.Private.CoreLib/shared/System/Int16.cs
index e67225374f..ed556eede4 100644
--- a/src/System.Private.CoreLib/shared/System/Int16.cs
+++ b/src/System.Private.CoreLib/shared/System/Int16.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Int32.cs b/src/System.Private.CoreLib/shared/System/Int32.cs
index 8fe2c96394..daf1af53f1 100644
--- a/src/System.Private.CoreLib/shared/System/Int32.cs
+++ b/src/System.Private.CoreLib/shared/System/Int32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Int64.cs b/src/System.Private.CoreLib/shared/System/Int64.cs
index 303e69b26d..c61a2f76ef 100644
--- a/src/System.Private.CoreLib/shared/System/Int64.cs
+++ b/src/System.Private.CoreLib/shared/System/Int64.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/IntPtr.cs b/src/System.Private.CoreLib/shared/System/IntPtr.cs
index 1aedd04bbe..ee9da7ae78 100644
--- a/src/System.Private.CoreLib/shared/System/IntPtr.cs
+++ b/src/System.Private.CoreLib/shared/System/IntPtr.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/InvalidCastException.cs b/src/System.Private.CoreLib/shared/System/InvalidCastException.cs
index 11c98ec05b..c3b22167b1 100644
--- a/src/System.Private.CoreLib/shared/System/InvalidCastException.cs
+++ b/src/System.Private.CoreLib/shared/System/InvalidCastException.cs
@@ -8,7 +8,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/InvalidOperationException.cs b/src/System.Private.CoreLib/shared/System/InvalidOperationException.cs
index aec2b07b5e..ac24a834ef 100644
--- a/src/System.Private.CoreLib/shared/System/InvalidOperationException.cs
+++ b/src/System.Private.CoreLib/shared/System/InvalidOperationException.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/InvalidProgramException.cs b/src/System.Private.CoreLib/shared/System/InvalidProgramException.cs
index 63f1bfee86..236768e25a 100644
--- a/src/System.Private.CoreLib/shared/System/InvalidProgramException.cs
+++ b/src/System.Private.CoreLib/shared/System/InvalidProgramException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/InvalidTimeZoneException.cs b/src/System.Private.CoreLib/shared/System/InvalidTimeZoneException.cs
index cbf73c61ed..165c25b15a 100644
--- a/src/System.Private.CoreLib/shared/System/InvalidTimeZoneException.cs
+++ b/src/System.Private.CoreLib/shared/System/InvalidTimeZoneException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Lazy.cs b/src/System.Private.CoreLib/shared/System/Lazy.cs
index d8e9a155fd..5bd3a9a565 100644
--- a/src/System.Private.CoreLib/shared/System/Lazy.cs
+++ b/src/System.Private.CoreLib/shared/System/Lazy.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Diagnostics;
using System.Runtime.ExceptionServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.Common.cs b/src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.Common.cs
index a7c2436c6e..e383092d06 100644
--- a/src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.Common.cs
+++ b/src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.Common.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.cs b/src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.cs
index b63a980249..a285359675 100644
--- a/src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.cs
+++ b/src/System.Private.CoreLib/shared/System/LocalAppContextSwitches.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/LocalDataStoreSlot.cs b/src/System.Private.CoreLib/shared/System/LocalDataStoreSlot.cs
index 616967c946..41e384e90b 100644
--- a/src/System.Private.CoreLib/shared/System/LocalDataStoreSlot.cs
+++ b/src/System.Private.CoreLib/shared/System/LocalDataStoreSlot.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/MarshalByRefObject.cs b/src/System.Private.CoreLib/shared/System/MarshalByRefObject.cs
index 9ef86b4124..a083c97c9d 100644
--- a/src/System.Private.CoreLib/shared/System/MarshalByRefObject.cs
+++ b/src/System.Private.CoreLib/shared/System/MarshalByRefObject.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Marvin.OrdinalIgnoreCase.cs b/src/System.Private.CoreLib/shared/System/Marvin.OrdinalIgnoreCase.cs
index fa02f187e0..71f10b5e97 100644
--- a/src/System.Private.CoreLib/shared/System/Marvin.OrdinalIgnoreCase.cs
+++ b/src/System.Private.CoreLib/shared/System/Marvin.OrdinalIgnoreCase.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Marvin.cs b/src/System.Private.CoreLib/shared/System/Marvin.cs
index c03ede43fb..832c84ba82 100644
--- a/src/System.Private.CoreLib/shared/System/Marvin.cs
+++ b/src/System.Private.CoreLib/shared/System/Marvin.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Math.cs b/src/System.Private.CoreLib/shared/System/Math.cs
index 2a9c828ce8..ac9be48673 100644
--- a/src/System.Private.CoreLib/shared/System/Math.cs
+++ b/src/System.Private.CoreLib/shared/System/Math.cs
@@ -13,7 +13,6 @@
//This class contains only static members and doesn't require serialization.
-#nullable enable
using System.Diagnostics;
using System.Runtime;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/MathF.cs b/src/System.Private.CoreLib/shared/System/MathF.cs
index a039bb9a39..da710a1dea 100644
--- a/src/System.Private.CoreLib/shared/System/MathF.cs
+++ b/src/System.Private.CoreLib/shared/System/MathF.cs
@@ -10,7 +10,6 @@
//This class contains only static members and doesn't require serialization.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/MemberAccessException.cs b/src/System.Private.CoreLib/shared/System/MemberAccessException.cs
index 5d771ba848..41d00166da 100644
--- a/src/System.Private.CoreLib/shared/System/MemberAccessException.cs
+++ b/src/System.Private.CoreLib/shared/System/MemberAccessException.cs
@@ -8,7 +8,6 @@
// access, due to it being removed, private or something similar.
////////////////////////////////////////////////////////////////////////////////
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Memory.cs b/src/System.Private.CoreLib/shared/System/Memory.cs
index 399c6f0151..c492e6e612 100644
--- a/src/System.Private.CoreLib/shared/System/Memory.cs
+++ b/src/System.Private.CoreLib/shared/System/Memory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/MemoryDebugView.cs b/src/System.Private.CoreLib/shared/System/MemoryDebugView.cs
index 563d010d61..6ab6e5065c 100644
--- a/src/System.Private.CoreLib/shared/System/MemoryDebugView.cs
+++ b/src/System.Private.CoreLib/shared/System/MemoryDebugView.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/MemoryExtensions.Fast.cs b/src/System.Private.CoreLib/shared/System/MemoryExtensions.Fast.cs
index 82f3d2321e..4af49376fe 100644
--- a/src/System.Private.CoreLib/shared/System/MemoryExtensions.Fast.cs
+++ b/src/System.Private.CoreLib/shared/System/MemoryExtensions.Fast.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/MemoryExtensions.Trim.cs b/src/System.Private.CoreLib/shared/System/MemoryExtensions.Trim.cs
index 5c776cd4ea..96581c7c01 100644
--- a/src/System.Private.CoreLib/shared/System/MemoryExtensions.Trim.cs
+++ b/src/System.Private.CoreLib/shared/System/MemoryExtensions.Trim.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/MemoryExtensions.cs b/src/System.Private.CoreLib/shared/System/MemoryExtensions.cs
index 5013097433..5af2b0dfb3 100644
--- a/src/System.Private.CoreLib/shared/System/MemoryExtensions.cs
+++ b/src/System.Private.CoreLib/shared/System/MemoryExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/MethodAccessException.cs b/src/System.Private.CoreLib/shared/System/MethodAccessException.cs
index 23625490f9..5a9445d0cc 100644
--- a/src/System.Private.CoreLib/shared/System/MethodAccessException.cs
+++ b/src/System.Private.CoreLib/shared/System/MethodAccessException.cs
@@ -9,7 +9,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/MidpointRounding.cs b/src/System.Private.CoreLib/shared/System/MidpointRounding.cs
index 146fed9bd6..835dafe7ee 100644
--- a/src/System.Private.CoreLib/shared/System/MidpointRounding.cs
+++ b/src/System.Private.CoreLib/shared/System/MidpointRounding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public enum MidpointRounding
diff --git a/src/System.Private.CoreLib/shared/System/MissingFieldException.cs b/src/System.Private.CoreLib/shared/System/MissingFieldException.cs
index be41b3592c..6297177c1e 100644
--- a/src/System.Private.CoreLib/shared/System/MissingFieldException.cs
+++ b/src/System.Private.CoreLib/shared/System/MissingFieldException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/MissingMemberException.cs b/src/System.Private.CoreLib/shared/System/MissingMemberException.cs
index cc8be87286..8ba7b53e31 100644
--- a/src/System.Private.CoreLib/shared/System/MissingMemberException.cs
+++ b/src/System.Private.CoreLib/shared/System/MissingMemberException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/MissingMethodException.cs b/src/System.Private.CoreLib/shared/System/MissingMethodException.cs
index 8a94ac5696..81e54fb2b0 100644
--- a/src/System.Private.CoreLib/shared/System/MissingMethodException.cs
+++ b/src/System.Private.CoreLib/shared/System/MissingMethodException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/MulticastNotSupportedException.cs b/src/System.Private.CoreLib/shared/System/MulticastNotSupportedException.cs
index 912e569b26..898b2ebd0d 100644
--- a/src/System.Private.CoreLib/shared/System/MulticastNotSupportedException.cs
+++ b/src/System.Private.CoreLib/shared/System/MulticastNotSupportedException.cs
@@ -7,7 +7,6 @@
// This is thrown when you add multiple callbacks to a non-multicast delegate.
////////////////////////////////////////////////////////////////////////////////
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/NonSerializedAttribute.cs b/src/System.Private.CoreLib/shared/System/NonSerializedAttribute.cs
index 2caa285a76..cabd5a2aa2 100644
--- a/src/System.Private.CoreLib/shared/System/NonSerializedAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/NonSerializedAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
[AttributeUsage(AttributeTargets.Field, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/NotFiniteNumberException.cs b/src/System.Private.CoreLib/shared/System/NotFiniteNumberException.cs
index af464124eb..53a5817a7d 100644
--- a/src/System.Private.CoreLib/shared/System/NotFiniteNumberException.cs
+++ b/src/System.Private.CoreLib/shared/System/NotFiniteNumberException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/NotImplementedException.cs b/src/System.Private.CoreLib/shared/System/NotImplementedException.cs
index 42d207459b..808bc50a0c 100644
--- a/src/System.Private.CoreLib/shared/System/NotImplementedException.cs
+++ b/src/System.Private.CoreLib/shared/System/NotImplementedException.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/NotSupportedException.cs b/src/System.Private.CoreLib/shared/System/NotSupportedException.cs
index 2fabb8ea06..61c186844f 100644
--- a/src/System.Private.CoreLib/shared/System/NotSupportedException.cs
+++ b/src/System.Private.CoreLib/shared/System/NotSupportedException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/NullReferenceException.cs b/src/System.Private.CoreLib/shared/System/NullReferenceException.cs
index f95a7699dd..6b1a0350ad 100644
--- a/src/System.Private.CoreLib/shared/System/NullReferenceException.cs
+++ b/src/System.Private.CoreLib/shared/System/NullReferenceException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Nullable.cs b/src/System.Private.CoreLib/shared/System/Nullable.cs
index 10df282d10..a347696458 100644
--- a/src/System.Private.CoreLib/shared/System/Nullable.cs
+++ b/src/System.Private.CoreLib/shared/System/Nullable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.Versioning;
diff --git a/src/System.Private.CoreLib/shared/System/Number.BigInteger.cs b/src/System.Private.CoreLib/shared/System/Number.BigInteger.cs
index 33ac49e625..06ae1e7668 100644
--- a/src/System.Private.CoreLib/shared/System/Number.BigInteger.cs
+++ b/src/System.Private.CoreLib/shared/System/Number.BigInteger.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Number.DiyFp.cs b/src/System.Private.CoreLib/shared/System/Number.DiyFp.cs
index 5daf2f5d6a..bb9fc092bc 100644
--- a/src/System.Private.CoreLib/shared/System/Number.DiyFp.cs
+++ b/src/System.Private.CoreLib/shared/System/Number.DiyFp.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
diff --git a/src/System.Private.CoreLib/shared/System/Number.Dragon4.cs b/src/System.Private.CoreLib/shared/System/Number.Dragon4.cs
index 0dc6c90858..30704975fb 100644
--- a/src/System.Private.CoreLib/shared/System/Number.Dragon4.cs
+++ b/src/System.Private.CoreLib/shared/System/Number.Dragon4.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Number.Formatting.cs b/src/System.Private.CoreLib/shared/System/Number.Formatting.cs
index 378832e5bc..951d190d18 100644
--- a/src/System.Private.CoreLib/shared/System/Number.Formatting.cs
+++ b/src/System.Private.CoreLib/shared/System/Number.Formatting.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Text;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/Number.Grisu3.cs b/src/System.Private.CoreLib/shared/System/Number.Grisu3.cs
index 5ff8d466a3..96ec7af2f8 100644
--- a/src/System.Private.CoreLib/shared/System/Number.Grisu3.cs
+++ b/src/System.Private.CoreLib/shared/System/Number.Grisu3.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Number.NumberBuffer.cs b/src/System.Private.CoreLib/shared/System/Number.NumberBuffer.cs
index ccedf417aa..268bdc78b6 100644
--- a/src/System.Private.CoreLib/shared/System/Number.NumberBuffer.cs
+++ b/src/System.Private.CoreLib/shared/System/Number.NumberBuffer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Text;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Number.NumberToFloatingPointBits.cs b/src/System.Private.CoreLib/shared/System/Number.NumberToFloatingPointBits.cs
index cfe8ce5201..ac4c7727f3 100644
--- a/src/System.Private.CoreLib/shared/System/Number.NumberToFloatingPointBits.cs
+++ b/src/System.Private.CoreLib/shared/System/Number.NumberToFloatingPointBits.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Number.Parsing.cs b/src/System.Private.CoreLib/shared/System/Number.Parsing.cs
index 3f9f5c1283..e304e4d6b4 100644
--- a/src/System.Private.CoreLib/shared/System/Number.Parsing.cs
+++ b/src/System.Private.CoreLib/shared/System/Number.Parsing.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Numerics/BitOperations.cs b/src/System.Private.CoreLib/shared/System/Numerics/BitOperations.cs
index e2a6720ec6..3813b9a689 100644
--- a/src/System.Private.CoreLib/shared/System/Numerics/BitOperations.cs
+++ b/src/System.Private.CoreLib/shared/System/Numerics/BitOperations.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics.X86;
diff --git a/src/System.Private.CoreLib/shared/System/Numerics/ConstantHelper.cs b/src/System.Private.CoreLib/shared/System/Numerics/ConstantHelper.cs
index 4426c88cb3..33b935c2c8 100644
--- a/src/System.Private.CoreLib/shared/System/Numerics/ConstantHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/Numerics/ConstantHelper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Numerics
diff --git a/src/System.Private.CoreLib/shared/System/Numerics/Hashing/HashHelpers.cs b/src/System.Private.CoreLib/shared/System/Numerics/Hashing/HashHelpers.cs
index ed23f1cae7..fd9d708d36 100644
--- a/src/System.Private.CoreLib/shared/System/Numerics/Hashing/HashHelpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Numerics/Hashing/HashHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Numerics.Hashing
{
internal static class HashHelpers
diff --git a/src/System.Private.CoreLib/shared/System/Numerics/Register.cs b/src/System.Private.CoreLib/shared/System/Numerics/Register.cs
index a5dfd5e130..70a8819157 100644
--- a/src/System.Private.CoreLib/shared/System/Numerics/Register.cs
+++ b/src/System.Private.CoreLib/shared/System/Numerics/Register.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Numerics
diff --git a/src/System.Private.CoreLib/shared/System/Numerics/Vector.cs b/src/System.Private.CoreLib/shared/System/Numerics/Vector.cs
index 92b16a4e87..6ee98458d8 100644
--- a/src/System.Private.CoreLib/shared/System/Numerics/Vector.cs
+++ b/src/System.Private.CoreLib/shared/System/Numerics/Vector.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if netcoreapp
using Internal.Runtime.CompilerServices;
#endif
diff --git a/src/System.Private.CoreLib/shared/System/Numerics/Vector_Operations.cs b/src/System.Private.CoreLib/shared/System/Numerics/Vector_Operations.cs
index 5e7bc607c7..567a0a78eb 100644
--- a/src/System.Private.CoreLib/shared/System/Numerics/Vector_Operations.cs
+++ b/src/System.Private.CoreLib/shared/System/Numerics/Vector_Operations.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Numerics
diff --git a/src/System.Private.CoreLib/shared/System/Object.cs b/src/System.Private.CoreLib/shared/System/Object.cs
index 2bdb5c545a..91370bbf64 100644
--- a/src/System.Private.CoreLib/shared/System/Object.cs
+++ b/src/System.Private.CoreLib/shared/System/Object.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
diff --git a/src/System.Private.CoreLib/shared/System/ObjectDisposedException.cs b/src/System.Private.CoreLib/shared/System/ObjectDisposedException.cs
index 450a9597e3..f2bd7e7028 100644
--- a/src/System.Private.CoreLib/shared/System/ObjectDisposedException.cs
+++ b/src/System.Private.CoreLib/shared/System/ObjectDisposedException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs b/src/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs
index dbad93f993..16ad7ca9c0 100644
--- a/src/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
namespace System
{
// This attribute is attached to members that are not to be used any longer.
diff --git a/src/System.Private.CoreLib/shared/System/OperatingSystem.cs b/src/System.Private.CoreLib/shared/System/OperatingSystem.cs
index 2e806de778..046ce263b4 100644
--- a/src/System.Private.CoreLib/shared/System/OperatingSystem.cs
+++ b/src/System.Private.CoreLib/shared/System/OperatingSystem.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/OperationCanceledException.cs b/src/System.Private.CoreLib/shared/System/OperationCanceledException.cs
index 029024603e..09e708b679 100644
--- a/src/System.Private.CoreLib/shared/System/OperationCanceledException.cs
+++ b/src/System.Private.CoreLib/shared/System/OperationCanceledException.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System;
using System.Runtime.Serialization;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/OutOfMemoryException.cs b/src/System.Private.CoreLib/shared/System/OutOfMemoryException.cs
index 336618c2a0..0a07995934 100644
--- a/src/System.Private.CoreLib/shared/System/OutOfMemoryException.cs
+++ b/src/System.Private.CoreLib/shared/System/OutOfMemoryException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/OverflowException.cs b/src/System.Private.CoreLib/shared/System/OverflowException.cs
index 172ecf0f6c..34e63b8e71 100644
--- a/src/System.Private.CoreLib/shared/System/OverflowException.cs
+++ b/src/System.Private.CoreLib/shared/System/OverflowException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/ParamArrayAttribute.cs b/src/System.Private.CoreLib/shared/System/ParamArrayAttribute.cs
index 8faffc4eea..d3c3d46d56 100644
--- a/src/System.Private.CoreLib/shared/System/ParamArrayAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/ParamArrayAttribute.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
namespace System
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = true, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/ParamsArray.cs b/src/System.Private.CoreLib/shared/System/ParamsArray.cs
index 91b2bd1d86..9114c281d6 100644
--- a/src/System.Private.CoreLib/shared/System/ParamsArray.cs
+++ b/src/System.Private.CoreLib/shared/System/ParamsArray.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
internal readonly struct ParamsArray
diff --git a/src/System.Private.CoreLib/shared/System/ParseNumbers.cs b/src/System.Private.CoreLib/shared/System/ParseNumbers.cs
index ab04cf6b8a..0978186902 100644
--- a/src/System.Private.CoreLib/shared/System/ParseNumbers.cs
+++ b/src/System.Private.CoreLib/shared/System/ParseNumbers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/PasteArguments.Unix.cs b/src/System.Private.CoreLib/shared/System/PasteArguments.Unix.cs
index fdad698b95..1a4d92850f 100644
--- a/src/System.Private.CoreLib/shared/System/PasteArguments.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/PasteArguments.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/PasteArguments.Windows.cs b/src/System.Private.CoreLib/shared/System/PasteArguments.Windows.cs
index 42a817b428..7cdcbc4533 100644
--- a/src/System.Private.CoreLib/shared/System/PasteArguments.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/PasteArguments.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/PasteArguments.cs b/src/System.Private.CoreLib/shared/System/PasteArguments.cs
index afa2e4419e..c088fd4eb7 100644
--- a/src/System.Private.CoreLib/shared/System/PasteArguments.cs
+++ b/src/System.Private.CoreLib/shared/System/PasteArguments.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/PlatformID.cs b/src/System.Private.CoreLib/shared/System/PlatformID.cs
index 0ec46f3d43..2eda3c05f3 100644
--- a/src/System.Private.CoreLib/shared/System/PlatformID.cs
+++ b/src/System.Private.CoreLib/shared/System/PlatformID.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/PlatformNotSupportedException.cs b/src/System.Private.CoreLib/shared/System/PlatformNotSupportedException.cs
index ee953ce16b..7e3f9ae011 100644
--- a/src/System.Private.CoreLib/shared/System/PlatformNotSupportedException.cs
+++ b/src/System.Private.CoreLib/shared/System/PlatformNotSupportedException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Progress.cs b/src/System.Private.CoreLib/shared/System/Progress.cs
index 4dae2b1908..c757da33dc 100644
--- a/src/System.Private.CoreLib/shared/System/Progress.cs
+++ b/src/System.Private.CoreLib/shared/System/Progress.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Random.cs b/src/System.Private.CoreLib/shared/System/Random.cs
index 92daa51aac..ed79732c25 100644
--- a/src/System.Private.CoreLib/shared/System/Random.cs
+++ b/src/System.Private.CoreLib/shared/System/Random.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public class Random
diff --git a/src/System.Private.CoreLib/shared/System/Range.cs b/src/System.Private.CoreLib/shared/System/Range.cs
index 2a3379265a..0a729b2a9c 100644
--- a/src/System.Private.CoreLib/shared/System/Range.cs
+++ b/src/System.Private.CoreLib/shared/System/Range.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/RankException.cs b/src/System.Private.CoreLib/shared/System/RankException.cs
index 135a6c9d46..0f6176252f 100644
--- a/src/System.Private.CoreLib/shared/System/RankException.cs
+++ b/src/System.Private.CoreLib/shared/System/RankException.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/ReadOnlyMemory.cs b/src/System.Private.CoreLib/shared/System/ReadOnlyMemory.cs
index 37008d7c15..95134adab9 100644
--- a/src/System.Private.CoreLib/shared/System/ReadOnlyMemory.cs
+++ b/src/System.Private.CoreLib/shared/System/ReadOnlyMemory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/ReadOnlySpan.Fast.cs b/src/System.Private.CoreLib/shared/System/ReadOnlySpan.Fast.cs
index 1968a41d16..d7e8c4f467 100644
--- a/src/System.Private.CoreLib/shared/System/ReadOnlySpan.Fast.cs
+++ b/src/System.Private.CoreLib/shared/System/ReadOnlySpan.Fast.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
diff --git a/src/System.Private.CoreLib/shared/System/ReadOnlySpan.cs b/src/System.Private.CoreLib/shared/System/ReadOnlySpan.cs
index 2533d1d8b8..e91ff7ea5f 100644
--- a/src/System.Private.CoreLib/shared/System/ReadOnlySpan.cs
+++ b/src/System.Private.CoreLib/shared/System/ReadOnlySpan.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs b/src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs
index aa321e99f1..7db74c6556 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs b/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs
index bb3dc2117a..ecae2893b3 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using System.Globalization;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyAlgorithmIdAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyAlgorithmIdAttribute.cs
index df91553db0..fe24f353be 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyAlgorithmIdAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyAlgorithmIdAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Configuration.Assemblies;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCompanyAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCompanyAttribute.cs
index c1e7a82c57..d986db60a3 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCompanyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCompanyAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyConfigurationAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyConfigurationAttribute.cs
index 4c6d367dac..195c4d0ca6 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyConfigurationAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyConfigurationAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyContentType.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyContentType.cs
index 938ac26d65..2ee1a00818 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyContentType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyContentType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public enum AssemblyContentType
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCopyrightAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCopyrightAttribute.cs
index fe06a4f5cc..e50e19932b 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCopyrightAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCopyrightAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCultureAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCultureAttribute.cs
index ee70784873..e31c6f9c1c 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCultureAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyCultureAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDefaultAliasAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDefaultAliasAttribute.cs
index 6a8e7c0aa6..ced35ed3fd 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDefaultAliasAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDefaultAliasAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDelaySignAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDelaySignAttribute.cs
index 02acff9ed3..eae2cf613c 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDelaySignAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDelaySignAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDescriptionAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDescriptionAttribute.cs
index 4348a78698..50f57c96a6 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDescriptionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyDescriptionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyFileVersionAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyFileVersionAttribute.cs
index 2bd76ceaa6..b5b52c1897 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyFileVersionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyFileVersionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyFlagsAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyFlagsAttribute.cs
index 6520831aa7..be35bc0289 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyFlagsAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyFlagsAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyInformationalVersionAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyInformationalVersionAttribute.cs
index 29384a8451..915b973ab9 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyInformationalVersionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyInformationalVersionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyFileAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyFileAttribute.cs
index 5bfcb170a4..9f7387d8af 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyFileAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyFileAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyNameAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyNameAttribute.cs
index 4a1dc4eb59..4cf51754ea 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyNameAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyKeyNameAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyMetadataAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyMetadataAttribute.cs
index 3ca34e81fb..be85ac48b7 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyMetadataAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyMetadataAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyName.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyName.cs
index 8af4a92180..ffdac56665 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyName.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyName.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Configuration.Assemblies;
using System.IO;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFlags.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFlags.cs
index 82f64c160a..d321032031 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFlags.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFlags.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFormatter.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFormatter.cs
index 063dfc7a4b..02f1752074 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFormatter.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyNameFormatter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using System.Text;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyProductAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyProductAttribute.cs
index 9966d603cb..43cb62df99 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyProductAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyProductAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblySignatureKeyAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblySignatureKeyAttribute.cs
index 8410b4f602..e6ec8af1b3 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblySignatureKeyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblySignatureKeyAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyTitleAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyTitleAttribute.cs
index d03dad6440..26d7a2e66c 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyTitleAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyTitleAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyTrademarkAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyTrademarkAttribute.cs
index 5b373193f6..1d3edf51d5 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyTrademarkAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyTrademarkAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyVersionAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyVersionAttribute.cs
index 9cba8e3f9a..b3557bac97 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/AssemblyVersionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/AssemblyVersionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Binder.cs b/src/System.Private.CoreLib/shared/System/Reflection/Binder.cs
index 03ff487c5b..0784db0eee 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Binder.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Binder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs b/src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs
index ac64814edd..7ba83e20da 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/CallingConventions.cs b/src/System.Private.CoreLib/shared/System/Reflection/CallingConventions.cs
index 3bd060769b..bb6d6cd809 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/CallingConventions.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/CallingConventions.cs
@@ -4,7 +4,6 @@
// CallingConventions is a set of Bits representing the calling conventions in the system.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ConstructorInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/ConstructorInfo.cs
index 57bbe3326f..8b37602565 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ConstructorInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ConstructorInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/CorElementType.cs b/src/System.Private.CoreLib/shared/System/Reflection/CorElementType.cs
index b6968f1f11..37ffcfa1e2 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/CorElementType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/CorElementType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
internal enum CorElementType : byte
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs b/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs
index 0d38eaaebc..8bdfb3e5d5 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs
index 0667d34878..585fdb07cd 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/AssemblyBuilderAccess.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/AssemblyBuilderAccess.cs
index baac3a7a41..8527463eec 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/AssemblyBuilderAccess.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/AssemblyBuilderAccess.cs
@@ -5,7 +5,6 @@
// This enumeration defines the access modes for a dynamic assembly.
// EE uses these enum values..look for m_dwDynamicAssemblyAccess in Assembly.hpp
-#nullable enable
namespace System.Reflection.Emit
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/EventToken.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/EventToken.cs
index 85c917864f..302ea5653b 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/EventToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/EventToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public struct EventToken
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/FieldToken.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/FieldToken.cs
index e0aba63ba1..cf11b8b6e6 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/FieldToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/FieldToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/FlowControl.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/FlowControl.cs
index 0410cc915f..9cb947ce5a 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/FlowControl.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/FlowControl.cs
@@ -12,7 +12,6 @@
** See $(RepoRoot)\src\inc\OpCodeGen.pl for more information.**
==============================================================*/
-#nullable enable
namespace System.Reflection.Emit
{
public enum FlowControl
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs
index 4aa5e7c959..676d926e0a 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/Label.cs
@@ -14,7 +14,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Reflection.Emit
{
// The Label class is an opaque representation of a label used by the
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/MethodToken.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/MethodToken.cs
index 0ed6872e0b..f8cc7aa9cb 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/MethodToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/MethodToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public struct MethodToken
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodeType.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodeType.cs
index 779aacaf6b..914b0374d5 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodeType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodeType.cs
@@ -12,7 +12,6 @@
** See $(RepoRoot)\src\inc\OpCodeGen.pl for more information.**
==============================================================*/
-#nullable enable
namespace System.Reflection.Emit
{
public enum OpCodeType
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodes.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodes.cs
index b4895938d4..7690005e2f 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/OpCodes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
//
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/Opcode.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/Opcode.cs
index 6b191bfa00..c0e96e6089 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/Opcode.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/Opcode.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/OperandType.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/OperandType.cs
index 3bc5c70308..8abf79b5d0 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/OperandType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/OperandType.cs
@@ -12,7 +12,6 @@
** See $(RepoRoot)\src\inc\OpCodeGen.pl for more information.**
==============================================================*/
-#nullable enable
namespace System.Reflection.Emit
{
public enum OperandType
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/PEFileKinds.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/PEFileKinds.cs
index d01e6bf34b..8a35a72a85 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/PEFileKinds.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/PEFileKinds.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
// This Enum matchs the CorFieldAttr defined in CorHdr.h
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/PackingSize.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/PackingSize.cs
index d0bb044189..f734e1a342 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/PackingSize.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/PackingSize.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public enum PackingSize
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/ParameterToken.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/ParameterToken.cs
index a0ce2eeb22..ca1cacedfb 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/ParameterToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/ParameterToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/PropertyToken.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/PropertyToken.cs
index c116426e43..30daa09fe3 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/PropertyToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/PropertyToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public struct PropertyToken
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/SignatureToken.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/SignatureToken.cs
index 5af7ca2b35..31fddf6e45 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/SignatureToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/SignatureToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public struct SignatureToken
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/StackBehaviour.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/StackBehaviour.cs
index 6015da5efe..c3d27ad72b 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/StackBehaviour.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/StackBehaviour.cs
@@ -12,7 +12,6 @@
** See $(RepoRoot)\src\inc\OpCodeGen.pl for more information.**
==============================================================*/
-#nullable enable
namespace System.Reflection.Emit
{
public enum StackBehaviour
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/StringToken.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/StringToken.cs
index 02d3a87771..9ab28cd000 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/StringToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/StringToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public struct StringToken
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Emit/TypeToken.cs b/src/System.Private.CoreLib/shared/System/Reflection/Emit/TypeToken.cs
index 303716b0d1..5586933c23 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Emit/TypeToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Emit/TypeToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public struct TypeToken
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/EventAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/EventAttributes.cs
index b41e84e787..fbc2972f69 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/EventAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/EventAttributes.cs
@@ -5,7 +5,6 @@
// EventAttributes are an enum defining the attributes associated with and Event.
// These are defined in CorHdr.h and are a combination of bits and enums.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/EventInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/EventInfo.cs
index f4e689d7e8..789352a16c 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/EventInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/EventInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClause.cs b/src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClause.cs
index 5e753fdd8e..681b21c5f6 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClause.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClause.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClauseOptions.cs b/src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClauseOptions.cs
index 30c72e593e..46285f7c82 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClauseOptions.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ExceptionHandlingClauseOptions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/FieldAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/FieldAttributes.cs
index 90cc482eb4..048d0e7031 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/FieldAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/FieldAttributes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
// This Enum matchs the CorFieldAttr defined in CorHdr.h
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/FieldInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/FieldInfo.cs
index a4875adb48..3ef9765a42 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/FieldInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/FieldInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/GenericParameterAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/GenericParameterAttributes.cs
index 4cf14a5d01..4b579d273e 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/GenericParameterAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/GenericParameterAttributes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ICustomAttributeProvider.cs b/src/System.Private.CoreLib/shared/System/Reflection/ICustomAttributeProvider.cs
index 660765cd8c..3cae295bc4 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ICustomAttributeProvider.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ICustomAttributeProvider.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public interface ICustomAttributeProvider
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/IReflect.cs b/src/System.Private.CoreLib/shared/System/Reflection/IReflect.cs
index 5099f8bd39..f37389c1cd 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/IReflect.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/IReflect.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/IReflectableType.cs b/src/System.Private.CoreLib/shared/System/Reflection/IReflectableType.cs
index 0264f6321e..5e2c0edab4 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/IReflectableType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/IReflectableType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public interface IReflectableType
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ImageFileMachine.cs b/src/System.Private.CoreLib/shared/System/Reflection/ImageFileMachine.cs
index 425967a3b3..230bc952e5 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ImageFileMachine.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ImageFileMachine.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public enum ImageFileMachine
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/InterfaceMapping.cs b/src/System.Private.CoreLib/shared/System/Reflection/InterfaceMapping.cs
index ec8b1184ec..2e0c0d8a28 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/InterfaceMapping.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/InterfaceMapping.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable // TODO-NULLABLE: Re-review
namespace System.Reflection
{
public struct InterfaceMapping
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/IntrospectionExtensions.cs b/src/System.Private.CoreLib/shared/System/Reflection/IntrospectionExtensions.cs
index cdf8836018..acf5987d44 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/IntrospectionExtensions.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/IntrospectionExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs b/src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs
index e6e6468b1b..7c9093b955 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/LocalVariableInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/LocalVariableInfo.cs
index 1040d50a58..c9a1b22c82 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/LocalVariableInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/LocalVariableInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ManifestResourceInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/ManifestResourceInfo.cs
index 02296da7b9..b9c56ab857 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ManifestResourceInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ManifestResourceInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public class ManifestResourceInfo
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MemberFilter.cs b/src/System.Private.CoreLib/shared/System/Reflection/MemberFilter.cs
index 3f3282325e..ae91b620a6 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MemberFilter.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MemberFilter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public delegate bool MemberFilter(MemberInfo m, object filterCriteria);
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MemberInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/MemberInfo.cs
index adf7bbaa8b..cd0581235a 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MemberInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MemberInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MemberTypes.cs b/src/System.Private.CoreLib/shared/System/Reflection/MemberTypes.cs
index 06823b86de..f73892e0a1 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MemberTypes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MemberTypes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MethodAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/MethodAttributes.cs
index 4448eb5a23..1a7c7bf154 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MethodAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MethodAttributes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MethodBase.cs b/src/System.Private.CoreLib/shared/System/Reflection/MethodBase.cs
index 551b78222f..dcc268228e 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MethodBase.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MethodBase.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs b/src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs
index 745a9a0c60..11f65c64a8 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MethodBody.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MethodImplAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/MethodImplAttributes.cs
index f46331b1f8..b16f4a4575 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MethodImplAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MethodImplAttributes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
// This Enum matchs the CorMethodImpl defined in CorHdr.h
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.Internal.cs b/src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.Internal.cs
index 273f1639d5..2806be639e 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.Internal.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.Internal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public abstract partial class MethodInfo : MethodBase
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.cs
index 260e1338da..ccc67f328c 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/MethodInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Missing.cs b/src/System.Private.CoreLib/shared/System/Reflection/Missing.cs
index 7f994f9895..46ab32fccf 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Missing.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Missing.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Module.cs b/src/System.Private.CoreLib/shared/System/Reflection/Module.cs
index aac6a85d1f..72d49d50e2 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Module.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Module.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ModuleResolveEventHandler.cs b/src/System.Private.CoreLib/shared/System/Reflection/ModuleResolveEventHandler.cs
index 6c52a22214..eb8926b5db 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ModuleResolveEventHandler.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ModuleResolveEventHandler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public delegate Module ModuleResolveEventHandler(object sender, ResolveEventArgs e);
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ObfuscateAssemblyAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/ObfuscateAssemblyAttribute.cs
index f183b92e08..f8f765ced2 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ObfuscateAssemblyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ObfuscateAssemblyAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ObfuscationAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/ObfuscationAttribute.cs
index a28d41a147..bc8e6c0e07 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ObfuscationAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ObfuscationAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Delegate,
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ParameterAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/ParameterAttributes.cs
index 12cd1f4980..ce195897c2 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ParameterAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ParameterAttributes.cs
@@ -5,7 +5,6 @@
// ParameterAttributes is an enum defining the attributes that may be
// associated with a Parameter. These are defined in CorHdr.h.
-#nullable enable
namespace System.Reflection
{
// This Enum matchs the CorParamAttr defined in CorHdr.h
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ParameterInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/ParameterInfo.cs
index 3db4c5c1b9..4ad145d9e9 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ParameterInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ParameterInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs b/src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs
index 1b9cc08a03..0fb75ffbd8 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public readonly struct ParameterModifier
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs b/src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs
index 5761eabb44..e1a9990cf0 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/PortableExecutableKinds.cs b/src/System.Private.CoreLib/shared/System/Reflection/PortableExecutableKinds.cs
index b6427fd07c..79be338685 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/PortableExecutableKinds.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/PortableExecutableKinds.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ProcessorArchitecture.cs b/src/System.Private.CoreLib/shared/System/Reflection/ProcessorArchitecture.cs
index a907521107..becb346c4f 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ProcessorArchitecture.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ProcessorArchitecture.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public enum ProcessorArchitecture
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/PropertyAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/PropertyAttributes.cs
index 1722fb4dc6..31e7a653bb 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/PropertyAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/PropertyAttributes.cs
@@ -5,7 +5,6 @@
// PropertyAttributes is an enum which defines the attributes that may be associated
// with a property. The values here are defined in Corhdr.h.
-#nullable enable
namespace System.Reflection
{
// This Enum matchs the CorPropertyAttr defined in CorHdr.h
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/PropertyInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/PropertyInfo.cs
index 6edfe7159c..65697c1d75 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/PropertyInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/PropertyInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ReflectionContext.cs b/src/System.Private.CoreLib/shared/System/Reflection/ReflectionContext.cs
index f7f9ce4f80..e9e93dab81 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ReflectionContext.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ReflectionContext.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public abstract class ReflectionContext
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs b/src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs
index c471fd9216..29a624e6cf 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ResourceAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/ResourceAttributes.cs
index 26f5e75749..2d03f42ba0 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ResourceAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ResourceAttributes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ResourceLocation.cs b/src/System.Private.CoreLib/shared/System/Reflection/ResourceLocation.cs
index 12d8928d52..4902333ac0 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/ResourceLocation.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/ResourceLocation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignatureArrayType.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignatureArrayType.cs
index 6a4b8f076b..52011b8a9d 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignatureArrayType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignatureArrayType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignatureByRefType.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignatureByRefType.cs
index e0d0a3a478..b8aef56436 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignatureByRefType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignatureByRefType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
internal sealed class SignatureByRefType : SignatureHasElementType
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignatureConstructedGenericType.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignatureConstructedGenericType.cs
index 01408016bc..0b92fd9827 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignatureConstructedGenericType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignatureConstructedGenericType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericMethodParameterType.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericMethodParameterType.cs
index 42ab16fe42..76a13f504f 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericMethodParameterType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericMethodParameterType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
internal sealed class SignatureGenericMethodParameterType : SignatureGenericParameterType
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericParameterType.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericParameterType.cs
index 15e5dfa7c2..e2c20238ed 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericParameterType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignatureGenericParameterType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignatureHasElementType.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignatureHasElementType.cs
index f5c0a78785..12360d247d 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignatureHasElementType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignatureHasElementType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignaturePointerType.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignaturePointerType.cs
index d7130850b4..4da3a25413 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignaturePointerType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignaturePointerType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
internal sealed class SignaturePointerType : SignatureHasElementType
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignatureType.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignatureType.cs
index c54e09c19d..298ca51c2a 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignatureType.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignatureType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Collections.Generic;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/SignatureTypeExtensions.cs b/src/System.Private.CoreLib/shared/System/Reflection/SignatureTypeExtensions.cs
index 263dc50c7e..27664d6dbc 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/SignatureTypeExtensions.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/SignatureTypeExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs b/src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs
index 0f0abe57f6..a0ba97f835 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs b/src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs
index 7a1b90a5f1..45d36648ca 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs b/src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs
index 61312f28ed..9d9253202c 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs b/src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs
index 72b667ed46..aaf1c33476 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TypeAttributes.cs b/src/System.Private.CoreLib/shared/System/Reflection/TypeAttributes.cs
index e164a2977f..3ae314299e 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/TypeAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/TypeAttributes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
// This Enum matchs the CorTypeAttr defined in CorHdr.h
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs b/src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs
index f9df366879..8623dbd0db 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs
@@ -6,7 +6,6 @@
//
// This class wraps a Type object and delegates all methods to that Type.
-#nullable enable
using CultureInfo = System.Globalization.CultureInfo;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TypeFilter.cs b/src/System.Private.CoreLib/shared/System/Reflection/TypeFilter.cs
index ffb2f1fd1b..eb049f81f9 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/TypeFilter.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/TypeFilter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public delegate bool TypeFilter(Type m, object filterCriteria);
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TypeInfo.cs b/src/System.Private.CoreLib/shared/System/Reflection/TypeInfo.cs
index 0a207fd636..e28087f112 100644
--- a/src/System.Private.CoreLib/shared/System/Reflection/TypeInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Reflection/TypeInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/shared/System/ResolveEventArgs.cs b/src/System.Private.CoreLib/shared/System/ResolveEventArgs.cs
index 447d4343ef..e455d58e68 100644
--- a/src/System.Private.CoreLib/shared/System/ResolveEventArgs.cs
+++ b/src/System.Private.CoreLib/shared/System/ResolveEventArgs.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/ResolveEventHandler.cs b/src/System.Private.CoreLib/shared/System/ResolveEventHandler.cs
index 829b146993..7cb2818dcf 100644
--- a/src/System.Private.CoreLib/shared/System/ResolveEventHandler.cs
+++ b/src/System.Private.CoreLib/shared/System/ResolveEventHandler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Resources/FastResourceComparer.cs b/src/System.Private.CoreLib/shared/System/Resources/FastResourceComparer.cs
index 5f83b772a1..16c9fd0982 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/FastResourceComparer.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/FastResourceComparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
@@ -15,6 +14,7 @@
**
===========================================================*/
+#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Resources/FileBasedResourceGroveler.cs b/src/System.Private.CoreLib/shared/System/Resources/FileBasedResourceGroveler.cs
index be44da2d62..2fdeafa6e4 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/FileBasedResourceGroveler.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/FileBasedResourceGroveler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
diff --git a/src/System.Private.CoreLib/shared/System/Resources/IResourceGroveler.cs b/src/System.Private.CoreLib/shared/System/Resources/IResourceGroveler.cs
index 8029e8e9b0..5a607d01ae 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/IResourceGroveler.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/IResourceGroveler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
diff --git a/src/System.Private.CoreLib/shared/System/Resources/IResourceReader.cs b/src/System.Private.CoreLib/shared/System/Resources/IResourceReader.cs
index 56b691fe6d..543a5a67de 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/IResourceReader.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/IResourceReader.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
diff --git a/src/System.Private.CoreLib/shared/System/Resources/ManifestBasedResourceGroveler.cs b/src/System.Private.CoreLib/shared/System/Resources/ManifestBasedResourceGroveler.cs
index 39d4272aec..f37b506ee9 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/ManifestBasedResourceGroveler.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/ManifestBasedResourceGroveler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
diff --git a/src/System.Private.CoreLib/shared/System/Resources/MissingManifestResourceException.cs b/src/System.Private.CoreLib/shared/System/Resources/MissingManifestResourceException.cs
index 6f14991249..217a142c70 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/MissingManifestResourceException.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/MissingManifestResourceException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Resources
diff --git a/src/System.Private.CoreLib/shared/System/Resources/MissingSatelliteAssemblyException.cs b/src/System.Private.CoreLib/shared/System/Resources/MissingSatelliteAssemblyException.cs
index a403379c36..ccd354ae55 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/MissingSatelliteAssemblyException.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/MissingSatelliteAssemblyException.cs
@@ -15,7 +15,6 @@
**
===========================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System.Resources
diff --git a/src/System.Private.CoreLib/shared/System/Resources/NeutralResourcesLanguageAttribute.cs b/src/System.Private.CoreLib/shared/System/Resources/NeutralResourcesLanguageAttribute.cs
index 3a1e8cf5cc..495c5205b2 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/NeutralResourcesLanguageAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/NeutralResourcesLanguageAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Resources
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Resources/ResourceFallbackManager.cs b/src/System.Private.CoreLib/shared/System/Resources/ResourceFallbackManager.cs
index 731979313c..6a58fed98e 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/ResourceFallbackManager.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/ResourceFallbackManager.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
diff --git a/src/System.Private.CoreLib/shared/System/Resources/ResourceManager.Uap.cs b/src/System.Private.CoreLib/shared/System/Resources/ResourceManager.Uap.cs
index 6488855b72..35ff81a781 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/ResourceManager.Uap.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/ResourceManager.Uap.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.IO;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/Resources/ResourceManager.cs b/src/System.Private.CoreLib/shared/System/Resources/ResourceManager.cs
index 713f4e600e..6dcb475f25 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/ResourceManager.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/ResourceManager.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using System.Globalization;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Resources/ResourceReader.Core.cs b/src/System.Private.CoreLib/shared/System/Resources/ResourceReader.Core.cs
index 07f0279474..86e543b376 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/ResourceReader.Core.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/ResourceReader.Core.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/System/Resources/ResourceSet.cs b/src/System.Private.CoreLib/shared/System/Resources/ResourceSet.cs
index 05df000b7c..936e43c4d7 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/ResourceSet.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/ResourceSet.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
diff --git a/src/System.Private.CoreLib/shared/System/Resources/RuntimeResourceSet.cs b/src/System.Private.CoreLib/shared/System/Resources/RuntimeResourceSet.cs
index 00793c3e2b..0cb229d61a 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/RuntimeResourceSet.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/RuntimeResourceSet.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
@@ -14,6 +13,7 @@
**
===========================================================*/
+#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Resources/SatelliteContractVersionAttribute.cs b/src/System.Private.CoreLib/shared/System/Resources/SatelliteContractVersionAttribute.cs
index c11ec0a3f9..aeccadca99 100644
--- a/src/System.Private.CoreLib/shared/System/Resources/SatelliteContractVersionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Resources/SatelliteContractVersionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
/*============================================================
**
**
@@ -15,7 +14,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Resources
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs b/src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs
index 401a8fcb0e..90f3d44f63 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Runtime
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AccessedThroughPropertyAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AccessedThroughPropertyAttribute.cs
index 3a74d9bfa4..25efcafa3f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AccessedThroughPropertyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AccessedThroughPropertyAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Field)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs
index b8c23aebc6..6fc5706897 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorMethodBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorStateMachineAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorStateMachineAttribute.cs
index 08cdcf0253..489195569d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorStateMachineAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorStateMachineAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// <summary>Indicates whether a method is an asynchronous iterator.</summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
index fb6f2197c0..f33f0c7148 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Diagnostics;
using System.Diagnostics.Tracing;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilderAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilderAttribute.cs
index b8d9a37407..688a3a01ba 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilderAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncMethodBuilderAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncStateMachineAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncStateMachineAttribute.cs
index 74bd1bdde2..66c9175ee7 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncStateMachineAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncStateMachineAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs
index 7560e0fadf..7ae8015326 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Security;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerArgumentExpressionAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerArgumentExpressionAttribute.cs
index 1bf9fd7cd8..6e1c4c56cd 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerArgumentExpressionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerArgumentExpressionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerFilePathAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerFilePathAttribute.cs
index 74782adf80..5858634b42 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerFilePathAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerFilePathAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerLineNumberAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerLineNumberAttribute.cs
index f92ad55ef8..5bd2fcb91b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerLineNumberAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerLineNumberAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerMemberNameAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerMemberNameAttribute.cs
index 646036fc9c..8b046335b5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerMemberNameAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CallerMemberNameAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs
index 422b82bd94..2d1763327a 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// IMPORTANT: Keep this in sync with corhdr.h
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxationsAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxationsAttribute.cs
index 71ccbd0952..d6da23fdf2 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxationsAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxationsAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGeneratedAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGeneratedAttribute.cs
index d09282f536..1c05abd1fe 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGeneratedAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGeneratedAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.All, Inherited = true)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGlobalScopeAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGlobalScopeAttribute.cs
index 815d5f838b..752295e876 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGlobalScopeAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilerGlobalScopeAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
// Attribute used to communicate to the VS7 debugger that a class should be treated as if it has global scope.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConditionalWeakTable.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConditionalWeakTable.cs
index 4594e2d77c..bbbf58d545 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConditionalWeakTable.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConditionalWeakTable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredAsyncDisposable.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredAsyncDisposable.cs
index b5e5b9a38a..aa5e882dc6 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredAsyncDisposable.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredAsyncDisposable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredCancelableAsyncEnumerable.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredCancelableAsyncEnumerable.cs
index c8d2cb29ea..4f1bca7169 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredCancelableAsyncEnumerable.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredCancelableAsyncEnumerable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs
index dedc16f98b..9a153ae767 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ContractHelper.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ContractHelper.cs
index f3104621ea..4cb70c052e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ContractHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ContractHelper.cs
@@ -4,7 +4,6 @@
#define DEBUG // The behavior of this contract library should be consistent regardless of build type.
-#nullable enable
using System.Diagnostics.Contracts;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CustomConstantAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CustomConstantAttribute.cs
index 23c82aed9d..f3db0a276b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CustomConstantAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CustomConstantAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DateTimeConstantAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DateTimeConstantAttribute.cs
index 8c3179887b..1b5bc375cd 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DateTimeConstantAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DateTimeConstantAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DecimalConstantAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DecimalConstantAttribute.cs
index 2f900f4220..521a3abe9c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DecimalConstantAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DecimalConstantAttribute.cs
@@ -4,7 +4,6 @@
// Note: If you add a new ctor overloads you need to update ParameterInfo.RawDefaultValue
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DefaultDependencyAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DefaultDependencyAttribute.cs
index b225396b13..31abdcbb3e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DefaultDependencyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DefaultDependencyAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DependencyAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DependencyAttribute.cs
index b2e27f2d6c..5b589fbde8 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DependencyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DependencyAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DisablePrivateReflectionAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DisablePrivateReflectionAttribute.cs
index 8c56b80f1c..4fc00e10ed 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DisablePrivateReflectionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DisablePrivateReflectionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.cs
index 861305e23b..c88b3a7599 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
// Custom attribute to indicating a TypeDef is a discardable attribute.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ExtensionAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ExtensionAttribute.cs
index 7dfec4a409..92170880f1 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ExtensionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ExtensionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedAddressValueTypeAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedAddressValueTypeAttribute.cs
index ae70dc667e..1810340f54 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedAddressValueTypeAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedAddressValueTypeAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Field)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedBufferAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedBufferAttribute.cs
index b98195a1f4..2215606c19 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedBufferAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FixedBufferAttribute.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Field, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FormattableStringFactory.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FormattableStringFactory.cs
index 3e17cd0d4f..ae3339f292 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FormattableStringFactory.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/FormattableStringFactory.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IAsyncStateMachine.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IAsyncStateMachine.cs
index 8d5d0dad47..7fb7ea5395 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IAsyncStateMachine.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IAsyncStateMachine.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ICastable.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ICastable.cs
index 3eabbc523a..95c514953a 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ICastable.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ICastable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/INotifyCompletion.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/INotifyCompletion.cs
index d1a64931f7..24f4f45cbe 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/INotifyCompletion.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/INotifyCompletion.cs
@@ -9,7 +9,6 @@
// Interfaces used to represent instances that notify listeners of their completion via continuations.
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ITuple.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ITuple.cs
index c78b65aa43..55b948b3e3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ITuple.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ITuple.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IndexerNameAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IndexerNameAttribute.cs
index b4090e7e15..bc76250adc 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IndexerNameAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IndexerNameAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/InternalsVisibleToAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/InternalsVisibleToAttribute.cs
index 35fa950667..c87e76c8e5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/InternalsVisibleToAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/InternalsVisibleToAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs
index 9c76c65693..6bdd91d844 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
// Calls to methods or references to fields marked with this attribute may be replaced at
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs
index a5e7760fee..90e49d2a42 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsConst.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsConst.cs
index 036df6f447..7f948b608a 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsConst.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsConst.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
public static partial class IsConst
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsReadOnlyAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsReadOnlyAttribute.cs
index 186086c9f2..657df43957 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsReadOnlyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsReadOnlyAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsVolatile.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsVolatile.cs
index a83cd2d0a1..fd1c6a1b12 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsVolatile.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IsVolatile.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
public static class IsVolatile
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IteratorStateMachineAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IteratorStateMachineAttribute.cs
index f74c6bc54f..53afc95664 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IteratorStateMachineAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/IteratorStateMachineAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs
index e924f57da7..fa490c2c9b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
public enum LoadHint
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs
index fa5d7aaf64..841b666198 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplAttribute.cs
index 405ade1203..8e8f93c268 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
// Custom attribute to specify additional method properties.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplOptions.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplOptions.cs
index 20d0b52e8d..a2a2fb6122 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplOptions.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodImplOptions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
// This Enum matchs the miImpl flags defined in corhdr.h. It is used to specify
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs
index d8cf02be5b..48e799c50e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs
@@ -13,7 +13,6 @@
**
============================================================*/
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs
index f0844a001e..609c560330 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs
index 7e8b2d0cd4..b0cd9ddce2 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
public static partial class RuntimeFeature
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeHelpers.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeHelpers.cs
index f3fb361021..ab7b1d5655 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeHelpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeWrappedException.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeWrappedException.cs
index 863de0705d..65fd6d24e6 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeWrappedException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/RuntimeWrappedException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SpecialNameAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SpecialNameAttribute.cs
index a4246c2b69..4cd78621cb 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SpecialNameAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SpecialNameAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Struct)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StateMachineAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StateMachineAttribute.cs
index 3f6400926a..d3522f5c47 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StateMachineAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StateMachineAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StringFreezingAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StringFreezingAttribute.cs
index 473252a863..25a8bfbc26 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StringFreezingAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StringFreezingAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
// Custom attribute to indicate that strings should be frozen.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StrongBox.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StrongBox.cs
index e17f338952..c2f681e30c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StrongBox.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/StrongBox.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SuppressIldasmAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SuppressIldasmAttribute.cs
index 04054d10a8..b4224b1c89 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SuppressIldasmAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/SuppressIldasmAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
index 9124c6b8fb..e64750545e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs
@@ -37,7 +37,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Diagnostics;
using System.Diagnostics.Tracing;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TupleElementNamesAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TupleElementNamesAttribute.cs
index 24d114d069..d4bdcd1fa7 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TupleElementNamesAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TupleElementNamesAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs
index 401b02141f..27dd645755 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedToAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedToAttribute.cs
index 64107099da..85d5c030c1 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedToAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TypeForwardedToAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/UnsafeValueTypeAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/UnsafeValueTypeAttribute.cs
index ada7f05698..f049c89b3f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/UnsafeValueTypeAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/UnsafeValueTypeAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Struct)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ValueTaskAwaiter.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ValueTaskAwaiter.cs
index 62860bd70e..d7bc41b278 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ValueTaskAwaiter.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ValueTaskAwaiter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/YieldAwaitable.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/YieldAwaitable.cs
index b7f7779a80..c6b19d654e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/YieldAwaitable.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/YieldAwaitable.cs
@@ -21,7 +21,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Diagnostics;
using System.Diagnostics.Tracing;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/CriticalFinalizerObject.cs b/src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/CriticalFinalizerObject.cs
index 60b36ad966..3f35f816a3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/CriticalFinalizerObject.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/CriticalFinalizerObject.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Runtime.ConstrainedExecution
{
public abstract class CriticalFinalizerObject
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/ReliabilityContractAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/ReliabilityContractAttribute.cs
index 59ef5da2b9..b3cb0143fa 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/ReliabilityContractAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/ConstrainedExecution/ReliabilityContractAttribute.cs
@@ -16,7 +16,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Runtime.ConstrainedExecution
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Interface /* | AttributeTargets.Delegate*/, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionDispatchInfo.cs b/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionDispatchInfo.cs
index 57cbcf78c6..3578d43d9c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionDispatchInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionDispatchInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Runtime.ExceptionServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionNotification.cs b/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionNotification.cs
index 9357e2fa5a..605588d657 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionNotification.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/ExceptionNotification.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.ExceptionServices
{
// Definition of the argument-type passed to the FirstChanceException event handler
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/HandleProcessCorruptedStateExceptionsAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/HandleProcessCorruptedStateExceptionsAttribute.cs
index 61a4de616d..cc1bc81e5a 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/HandleProcessCorruptedStateExceptionsAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/ExceptionServices/HandleProcessCorruptedStateExceptionsAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.ExceptionServices
{
// This attribute can be applied to methods to indicate that ProcessCorruptedState
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/GCSettings.cs b/src/System.Private.CoreLib/shared/System/Runtime/GCSettings.cs
index cb25a1efe9..86d10f4b53 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/GCSettings.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/GCSettings.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Runtime
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/AllowReversePInvokeCallsAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/AllowReversePInvokeCallsAttribute.cs
index 55d9ec0347..cb640a7a8c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/AllowReversePInvokeCallsAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/AllowReversePInvokeCallsAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// To be used on methods that sink reverse P/Invoke calls.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs
index 7e3e9a9f72..7b5cd877ab 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
#if BIT64
using nuint = System.UInt64;
#else
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BStrWrapper.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BStrWrapper.cs
index 02e6710fcc..f6eee34264 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BStrWrapper.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BStrWrapper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// Wrapper that is converted to a variant with VT_BSTR.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BestFitMappingAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BestFitMappingAttribute.cs
index eea085208d..4ebee1538c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BestFitMappingAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/BestFitMappingAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/COMException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/COMException.cs
index cc51358add..2dec6b8ffb 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/COMException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/COMException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
using System.Globalization;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ClassInterfaceAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ClassInterfaceAttribute.cs
index 7bb699e853..59d79ff443 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ClassInterfaceAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ClassInterfaceAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CoClassAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CoClassAttribute.cs
index ccf5a92865..4be6622c3d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CoClassAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CoClassAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComDefaultInterfaceAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComDefaultInterfaceAttribute.cs
index af980c2bcc..1b84f5f561 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComDefaultInterfaceAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComDefaultInterfaceAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventInterfaceAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventInterfaceAttribute.cs
index 01cddd6323..d4ccc702e0 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventInterfaceAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventInterfaceAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventsHelpers.NoCom.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventsHelpers.NoCom.cs
index 27ed5da8d1..7b29d6f9ad 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventsHelpers.NoCom.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComEventsHelpers.NoCom.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices.ComTypes;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComImportAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComImportAttribute.cs
index 66663237b4..a290bf4510 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComImportAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComImportAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs
index aa1a6a283c..a62871a399 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComSourceInterfacesAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IBindCtx.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IBindCtx.cs
index f662c639ff..206c538e36 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IBindCtx.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IBindCtx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[StructLayout(LayoutKind.Sequential)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPoint.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPoint.cs
index ab5cf2e399..b2ce1928a1 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPoint.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPoint.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPointContainer.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPointContainer.cs
index 9203b67804..4dd08658a0 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPointContainer.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IConnectionPointContainer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("B196B284-BAB4-101A-B69C-00AA00341D07")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnectionPoints.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnectionPoints.cs
index 8536c0f607..99df6ac60e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnectionPoints.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnectionPoints.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("B196B285-BAB4-101A-B69C-00AA00341D07")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnections.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnections.cs
index 6220c9bb2c..951685beff 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnections.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumConnections.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumMoniker.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumMoniker.cs
index 514cb9489b..9a63ba0a11 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumMoniker.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumMoniker.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("00000102-0000-0000-C000-000000000046")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumString.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumString.cs
index ff050d419c..57fc59121f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumString.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumString.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("00000101-0000-0000-C000-000000000046")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumVARIANT.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumVARIANT.cs
index 6b970b886e..bb6688ee2c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumVARIANT.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IEnumVARIANT.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("00020404-0000-0000-C000-000000000046")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IMoniker.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IMoniker.cs
index 49cbe0577d..e6b676f1de 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IMoniker.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IMoniker.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[StructLayout(LayoutKind.Sequential)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IPersistFile.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IPersistFile.cs
index 6fa3f80d29..4ae9d127ea 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IPersistFile.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IPersistFile.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("0000010b-0000-0000-C000-000000000046")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IRunningObjectTable.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IRunningObjectTable.cs
index 49078daffc..1884fcc99b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IRunningObjectTable.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IRunningObjectTable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("00000010-0000-0000-C000-000000000046")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IStream.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IStream.cs
index d15a09faa0..09b284041e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IStream.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/IStream.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeComp.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeComp.cs
index aea9a8219f..7e63793615 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeComp.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeComp.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
public enum DESCKIND
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo.cs
index a48d38d092..732f9403b3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
public enum TYPEKIND
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo2.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo2.cs
index e8918f5283..e322f8a4f8 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo2.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeInfo2.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("00020412-0000-0000-C000-000000000046")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib.cs
index 4e390c28ce..6cab58e117 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
public enum SYSKIND
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib2.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib2.cs
index ba0d8f9f63..61703d1cfe 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib2.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComTypes/ITypeLib2.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("00020411-0000-0000-C000-000000000046")]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComVisibleAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComVisibleAttribute.cs
index 3f9673f7eb..84b9505a5a 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComVisibleAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ComVisibleAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CriticalHandle.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CriticalHandle.cs
index 8048d7919e..7b8c4625e3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CriticalHandle.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CriticalHandle.cs
@@ -45,7 +45,6 @@
**
===========================================================*/
-#nullable enable
using System.Runtime.ConstrainedExecution;
/*
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CurrencyWrapper.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CurrencyWrapper.cs
index 7ea8a2370f..373f9bb9c5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CurrencyWrapper.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/CurrencyWrapper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// Wrapper that is converted to a variant with VT_CURRENCY.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultCharSetAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultCharSetAttribute.cs
index cfddfb1d78..7a486f7017 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultCharSetAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultCharSetAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Module, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultDllImportSearchPathsAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultDllImportSearchPathsAttribute.cs
index 1dc184d010..1ff27fbbd5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultDllImportSearchPathsAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultDllImportSearchPathsAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Method, AllowMultiple = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultParameterValueAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultParameterValueAttribute.cs
index bc405bca2e..e3c3ae275b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultParameterValueAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DefaultParameterValueAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
//
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispIdAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispIdAttribute.cs
index e49cf77053..1f147280c5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispIdAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispIdAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Event, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispatchWrapper.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispatchWrapper.cs
index 1378347b60..3bb1507203 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispatchWrapper.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DispatchWrapper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// Wrapper that is converted to a variant with VT_DISPATCH
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DllImportAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DllImportAttribute.cs
index b18990bb09..11e3deb21c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DllImportAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/DllImportAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ErrorWrapper.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ErrorWrapper.cs
index a68d6a3d17..d25f0231a4 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ErrorWrapper.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ErrorWrapper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// Wrapper that is converted to a variant with VT_ERROR.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ExternalException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ExternalException.cs
index 0ac83759de..d587d820a7 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ExternalException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ExternalException.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
using System.Globalization;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/FieldOffsetAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/FieldOffsetAttribute.cs
index 73f7c85faf..27e1097749 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/FieldOffsetAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/FieldOffsetAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Field, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GCHandle.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GCHandle.cs
index 4418b3742c..15fa3e9234 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GCHandle.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GCHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GuidAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GuidAttribute.cs
index dd8f692076..cf60b9bf70 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GuidAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/GuidAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Delegate, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/HandleRef.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/HandleRef.cs
index 8ba7c41c8c..fa3208a59d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/HandleRef.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/HandleRef.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
public readonly struct HandleRef
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomAdapter.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomAdapter.cs
index 7a7a235d9a..6dd90e2dac 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomAdapter.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// This the base interface that custom adapters can chose to implement when they want to expose the underlying object.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomFactory.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomFactory.cs
index 41d4f6840e..799db6a2d3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomFactory.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomFactory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
public interface ICustomFactory
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomMarshaler.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomMarshaler.cs
index 6a5f5d89d3..cf442d4fde 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomMarshaler.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomMarshaler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// This the base interface that must be implemented by all custom marshalers.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomQueryInterface.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomQueryInterface.cs
index 439fea4bb5..a91fd7f5fb 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomQueryInterface.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ICustomQueryInterface.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// This the interface that be implemented by class that want to customize the behavior of QueryInterface.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InAttribute.cs
index f7da173ad3..39f5a958bc 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InterfaceTypeAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InterfaceTypeAttribute.cs
index 3ed8321dc7..695faa7937 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InterfaceTypeAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InterfaceTypeAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs
index c2820f48ce..5bc16e54b7 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidComObjectException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs
index cde7b5d218..e5aedb000f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/LCIDConversionAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/LCIDConversionAttribute.cs
index 87424e1188..75f8fcfc91 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/LCIDConversionAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/LCIDConversionAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.NoCom.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.NoCom.cs
index bab7d3454e..896312f95a 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.NoCom.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.NoCom.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Runtime.InteropServices.ComTypes;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Unix.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Unix.cs
index fbcc066265..f4634fdab3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Windows.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Windows.cs
index 999624787e..a7ee8b3548 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.cs
index afe298e0b3..683468559f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/Marshal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Security;
using System.Reflection;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalAsAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalAsAttribute.cs
index bf8bc04e4b..ae142a4323 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalAsAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalAsAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.ReturnValue, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalDirectiveException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalDirectiveException.cs
index b827ee3344..1baae38e96 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalDirectiveException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalDirectiveException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.Fast.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.Fast.cs
index e653fc6d36..e3cf0a84e2 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.Fast.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.Fast.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs
index 0ddbdb2658..6816d3c531 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MemoryMarshal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Runtime.CompilerServices;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeCallableAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeCallableAttribute.cs
index f6b151ebf5..5fa60f460f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeCallableAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeCallableAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeLibrary.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeLibrary.cs
index 8c410242cf..b50a2e6918 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeLibrary.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeLibrary.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OptionalAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OptionalAttribute.cs
index 93ff349c3c..5ac75d7b3e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OptionalAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OptionalAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OutAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OutAttribute.cs
index 841ffb3e5b..338ceac91e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OutAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/OutAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/PreserveSigAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/PreserveSigAttribute.cs
index 50c066bbed..464e1abcbe 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/PreserveSigAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/PreserveSigAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs
index 55476dac6c..bc4bd18bb1 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ProgIdAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs
index dd7b615db2..48d4115a62 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SEHException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs
index 98e4dcb2bf..1bd3fdd9f3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
index 58bb3f87bb..2cb1fc475a 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeBuffer.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeBuffer.cs
index 41b1bad7b0..d55f35d169 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeBuffer.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeBuffer.cs
@@ -65,7 +65,6 @@
// static variable (perhaps using Interlocked.CompareExchange). Of course,
// assignments in a static class constructor are under a lock implicitly.
-#nullable enable
using System.Runtime.CompilerServices;
using Internal.Runtime.CompilerServices;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeHandle.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeHandle.cs
index b0a7c02bd6..72c8f66abf 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeHandle.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SafeHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.ConstrainedExecution;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/StructLayoutAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/StructLayoutAttribute.cs
index 216ed59abc..c4cce9956e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/StructLayoutAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/StructLayoutAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/TypeIdentifierAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/TypeIdentifierAttribute.cs
index 16fa156490..73069f3654 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/TypeIdentifierAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/TypeIdentifierAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnknownWrapper.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnknownWrapper.cs
index 22dca1c021..3581ca93a5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnknownWrapper.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnknownWrapper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// Wrapper that is converted to a variant with VT_UNKNOWN.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnmanagedFunctionPointerAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnmanagedFunctionPointerAttribute.cs
index f5edd8309a..c4f96903ee 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnmanagedFunctionPointerAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/UnmanagedFunctionPointerAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/VariantWrapper.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/VariantWrapper.cs
index f93a16374c..74054d5dc9 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/VariantWrapper.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/VariantWrapper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
// Wrapper that is converted to a variant with VT_BYREF | VT_VARIANT.
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationToken.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationToken.cs
index a6415f68ca..15b4a8302e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
// Event registration tokens are 64 bit opaque structures returned from WinRT style event adders, in order
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.PlatformNotSupported.cs
index 086589389f..631228719a 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.cs
index 02829e4f99..c4f2dc078f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Aes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.PlatformNotSupported.cs
index 99fabb0a6a..338c3249a7 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.cs
index 3361fbe96f..c993c411d5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Base.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.cs
index 61474ea382..91ec5164cd 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.cs
index 0c738e0247..a6c1901142 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.PlatformNotSupported.cs
index 2fbaf05eda..f18d8bcd49 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.cs
index 23007b405d..4b4b16dff5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha256.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.PlatformNotSupported.cs
index e7184b5739..0d100c8701 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.cs
index 136ea1c715..c71daf162d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Simd.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128.cs
index 70083395e6..4c3232693d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics.X86;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128DebugView_1.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128DebugView_1.cs
index 7d5968bd4d..ccdc655949 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128DebugView_1.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128DebugView_1.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Internal.Runtime.CompilerServices;
namespace System.Runtime.Intrinsics
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128_1.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128_1.cs
index 7f837c7fe4..cdcddcb49e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128_1.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128_1.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256.cs
index 116b93a73d..adf8207bab 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics.X86;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256DebugView_1.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256DebugView_1.cs
index 488d6d2a88..5131341ad8 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256DebugView_1.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256DebugView_1.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Internal.Runtime.CompilerServices;
namespace System.Runtime.Intrinsics
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256_1.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256_1.cs
index e0ab5c28bf..2ed5516455 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256_1.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256_1.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64.cs
index 30d5c4f6ee..cb6810a659 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64DebugView_1.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64DebugView_1.cs
index 8afffca8a1..878e29949e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64DebugView_1.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64DebugView_1.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Internal.Runtime.CompilerServices;
namespace System.Runtime.Intrinsics
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64_1.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64_1.cs
index 04f26ec772..7b8f75ad66 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64_1.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64_1.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs
index 3d261d7c66..e587c7c31d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs
index c9a07dd5a2..45c028c358 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs
index a873913579..1a0f2bdd08 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs
index 65e66f4397..79c97b886d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs
index 2696c866b7..7232d49f89 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs
index 9b6f2a6162..bf9a72e1d8 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs
index 62c0dfd894..204932af22 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.cs
index 0f77a1f440..496b8aede5 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.PlatformNotSupported.cs
index b78494e9c7..6a6477ba4b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.cs
index 6dd18b1b47..9b61441dda 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi2.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs
index 80aa680cc6..7098f813ff 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Intrinsics.X86
{
public enum FloatComparisonMode : byte
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs
index 760aa40a17..ba97bbb053 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs
index 917907c3d7..ed01805de7 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.PlatformNotSupported.cs
index ce00865063..43b6712970 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.cs
index 99d570e04d..ff1576e645 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Lzcnt.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs
index b2b4898d38..c32a7e7da2 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs
index 682d7f9b26..332934befc 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs
index 8fe62a1776..d39692432e 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs
index 687078e3e7..c262e99671 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.PlatformNotSupported.cs
index 44d7b1fa79..23532b4529 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.cs
index c9c2d7e139..0d2ba58dd1 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs
index 57b3195e3f..6ccf7b0a6c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs
index 3aff2b4d53..4d4de6e30b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs
index 20bc6ae4cf..40b810ddd9 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs
index f7a710b4fc..9b971b83b3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs
index d9f67bcb67..423850f3f3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs
index 8fe0a3cf94..5616bc97fb 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs
index ac4b45af01..f07a792725 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs
index a5eafe3532..9db76c8916 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs
index cd66c76161..37c404b701 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs
index 27ffab0712..0cb59a2115 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs b/src/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs
index 9b7bfb45ed..7ee3dfac76 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Unix.cs b/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Unix.cs
index 4895dc8685..f83ceae0de 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Windows.cs b/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Windows.cs
index 99ccb1e55f..143e246ba0 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Runtime.Loader
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.cs b/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.cs
index 029e79a191..2b11f8a9be 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Loader/LibraryNameVariation.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Runtime.Loader
{
internal partial struct LibraryNameVariation
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Unix.cs b/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Unix.cs
index 37575d0c7b..2f53052001 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime
{
public sealed partial class MemoryFailPoint
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Windows.cs b/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Windows.cs
index 5ab51a79c3..966c3a278f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.cs b/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.cs
index 4e4ed29202..5209caac65 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/MemoryFailPoint.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using System.Threading;
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Remoting/ObjectHandle.cs b/src/System.Private.CoreLib/shared/System/Runtime/Remoting/ObjectHandle.cs
index e53aeb08f2..58e6646d1d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Remoting/ObjectHandle.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Remoting/ObjectHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Remoting
{
public class ObjectHandle : MarshalByRefObject
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationBlockedException.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationBlockedException.cs
index 82deb7d614..232dc4da12 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationBlockedException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationBlockedException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
// Thrown when a dangerous action would be performed during deserialization
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationToken.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationToken.cs
index 92e0fcb0b0..2be35a6553 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
// Tracks whether deserialization is currently in progress
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationTracker.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationTracker.cs
index 04ea6bdadd..1662ee02d4 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationTracker.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/DeserializationTracker.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
// Tracks whether deserialization is currently in progress
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IDeserializationCallback.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IDeserializationCallback.cs
index 67628b4640..a1c1671a8b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IDeserializationCallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IDeserializationCallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
public interface IDeserializationCallback
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IFormatterConverter.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IFormatterConverter.cs
index d0e3d81d5b..663123b243 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IFormatterConverter.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IFormatterConverter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
[CLSCompliant(false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IObjectReference.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IObjectReference.cs
index f232cf59fa..d41bc50dde 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IObjectReference.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/IObjectReference.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
public interface IObjectReference
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISafeSerializationData.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISafeSerializationData.cs
index f4babe4397..5089d134c3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISafeSerializationData.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISafeSerializationData.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
//
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISerializable.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISerializable.cs
index 8edf628493..383b3f07af 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISerializable.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/ISerializable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
public interface ISerializable
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializedAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializedAttribute.cs
index d3273f4675..408a55ccf9 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializedAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializedAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializingAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializingAttribute.cs
index f2dec85cdf..162857e8d3 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializingAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnDeserializingAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializedAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializedAttribute.cs
index 2b82dd7e3c..020dd0257c 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializedAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializedAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializingAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializingAttribute.cs
index 8c9c8a07a1..8dc8af3f23 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializingAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OnSerializingAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OptionalFieldAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OptionalFieldAttribute.cs
index 48eca28218..84daa539be 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OptionalFieldAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/OptionalFieldAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
[AttributeUsage(AttributeTargets.Field, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SafeSerializationEventArgs.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SafeSerializationEventArgs.cs
index 19870425ea..896b91fca0 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SafeSerializationEventArgs.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SafeSerializationEventArgs.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Runtime.Serialization
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationException.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationException.cs
index 922a11e6ba..e227d1b747 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationException.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
[Serializable]
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfo.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfo.cs
index e3e7c930d8..015fb0093b 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfoEnumerator.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfoEnumerator.cs
index 9ce2080ac6..6712a3bc1f 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfoEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfoEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/StreamingContext.cs b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/StreamingContext.cs
index e67f307ffd..f61366bd49 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Serialization/StreamingContext.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Serialization/StreamingContext.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.Serialization
{
public readonly struct StreamingContext
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Versioning/NonVersionableAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/Versioning/NonVersionableAttribute.cs
index b2d1d25ea5..e27bc9b6f8 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Versioning/NonVersionableAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Versioning/NonVersionableAttribute.cs
@@ -20,7 +20,6 @@
** significantly extend its usage or allow 3rd parties to use it please discuss with the diagnostics team.
===========================================================*/
-#nullable enable
namespace System.Runtime.Versioning
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor,
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/Versioning/TargetFrameworkAttribute.cs b/src/System.Private.CoreLib/shared/System/Runtime/Versioning/TargetFrameworkAttribute.cs
index e3e6d60ff1..91b3df6ebe 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/Versioning/TargetFrameworkAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/Versioning/TargetFrameworkAttribute.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Runtime.Versioning
{
[AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/SByte.cs b/src/System.Private.CoreLib/shared/System/SByte.cs
index 62db881268..9b12439e73 100644
--- a/src/System.Private.CoreLib/shared/System/SByte.cs
+++ b/src/System.Private.CoreLib/shared/System/SByte.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Security/AllowPartiallyTrustedCallersAttribute.cs b/src/System.Private.CoreLib/shared/System/Security/AllowPartiallyTrustedCallersAttribute.cs
index dbdc8cf302..2374ecdd41 100644
--- a/src/System.Private.CoreLib/shared/System/Security/AllowPartiallyTrustedCallersAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/AllowPartiallyTrustedCallersAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
// AllowPartiallyTrustedCallersAttribute:
diff --git a/src/System.Private.CoreLib/shared/System/Security/CryptographicException.cs b/src/System.Private.CoreLib/shared/System/Security/CryptographicException.cs
index 6c97777f56..b0793c8d2b 100644
--- a/src/System.Private.CoreLib/shared/System/Security/CryptographicException.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/CryptographicException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Security/IPermission.cs b/src/System.Private.CoreLib/shared/System/Security/IPermission.cs
index c5cf7f96e3..efb7e593c4 100644
--- a/src/System.Private.CoreLib/shared/System/Security/IPermission.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/IPermission.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
#if PROJECTN
diff --git a/src/System.Private.CoreLib/shared/System/Security/ISecurityEncodable.cs b/src/System.Private.CoreLib/shared/System/Security/ISecurityEncodable.cs
index 4fcec04299..64a9687566 100644
--- a/src/System.Private.CoreLib/shared/System/Security/ISecurityEncodable.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/ISecurityEncodable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
#if PROJECTN
diff --git a/src/System.Private.CoreLib/shared/System/Security/IStackWalk.cs b/src/System.Private.CoreLib/shared/System/Security/IStackWalk.cs
index a3372bf6b1..9e6986a752 100644
--- a/src/System.Private.CoreLib/shared/System/Security/IStackWalk.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/IStackWalk.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
#if PROJECTN
diff --git a/src/System.Private.CoreLib/shared/System/Security/PermissionSet.cs b/src/System.Private.CoreLib/shared/System/Security/PermissionSet.cs
index 7d1327df0a..9436b69585 100644
--- a/src/System.Private.CoreLib/shared/System/Security/PermissionSet.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/PermissionSet.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Security.Permissions;
using System.Collections;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Security/Principal/IIdentity.cs b/src/System.Private.CoreLib/shared/System/Security/Principal/IIdentity.cs
index 73a6f792a6..cc6765c41f 100644
--- a/src/System.Private.CoreLib/shared/System/Security/Principal/IIdentity.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/Principal/IIdentity.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
//
// All identities will implement this interface
//
diff --git a/src/System.Private.CoreLib/shared/System/Security/Principal/IPrincipal.cs b/src/System.Private.CoreLib/shared/System/Security/Principal/IPrincipal.cs
index 511ed9bf41..03fffd6a41 100644
--- a/src/System.Private.CoreLib/shared/System/Security/Principal/IPrincipal.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/Principal/IPrincipal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
//
// All roles will implement this interface
//
diff --git a/src/System.Private.CoreLib/shared/System/Security/SafeBSTRHandle.cs b/src/System.Private.CoreLib/shared/System/Security/SafeBSTRHandle.cs
index d5644598be..dd52f42cf7 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SafeBSTRHandle.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SafeBSTRHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs b/src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs
index 6a5e351c56..82b3833424 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecureString.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecureString.Windows.cs b/src/System.Private.CoreLib/shared/System/Security/SecureString.Windows.cs
index ddbbf4a962..a3bc273bb0 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecureString.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecureString.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecureString.cs b/src/System.Private.CoreLib/shared/System/Security/SecureString.cs
index ece3ffa7c4..c9a1eba443 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecureString.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecureString.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecurityCriticalAttribute.cs b/src/System.Private.CoreLib/shared/System/Security/SecurityCriticalAttribute.cs
index 15c62e04dc..40012da06d 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecurityCriticalAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecurityCriticalAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
// SecurityCriticalAttribute
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecurityElement.cs b/src/System.Private.CoreLib/shared/System/Security/SecurityElement.cs
index bdefc7d272..a79616aa5e 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecurityElement.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecurityElement.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.s
-#nullable enable
using System.Collections;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecurityException.cs b/src/System.Private.CoreLib/shared/System/Security/SecurityException.cs
index b6156ca368..3437363524 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecurityException.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecurityException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecurityRulesAttribute.cs b/src/System.Private.CoreLib/shared/System/Security/SecurityRulesAttribute.cs
index d3f03089dc..dc12742fc8 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecurityRulesAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecurityRulesAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
// SecurityRulesAttribute
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecuritySafeCriticalAttribute.cs b/src/System.Private.CoreLib/shared/System/Security/SecuritySafeCriticalAttribute.cs
index 2a2e8e1945..dd51857d19 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecuritySafeCriticalAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecuritySafeCriticalAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
// SecuritySafeCriticalAttribute:
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecurityTransparentAttribute.cs b/src/System.Private.CoreLib/shared/System/Security/SecurityTransparentAttribute.cs
index a53d61097d..e9fd1bcb34 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecurityTransparentAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecurityTransparentAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
// SecurityTransparentAttribute:
diff --git a/src/System.Private.CoreLib/shared/System/Security/SecurityTreatAsSafeAttribute.cs b/src/System.Private.CoreLib/shared/System/Security/SecurityTreatAsSafeAttribute.cs
index 85f7da59b9..450b7e46ab 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SecurityTreatAsSafeAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SecurityTreatAsSafeAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
// SecurityTreatAsSafeAttribute:
diff --git a/src/System.Private.CoreLib/shared/System/Security/SuppressUnmanagedCodeSecurityAttribute.cs b/src/System.Private.CoreLib/shared/System/Security/SuppressUnmanagedCodeSecurityAttribute.cs
index 768943b1eb..a45c212ca8 100644
--- a/src/System.Private.CoreLib/shared/System/Security/SuppressUnmanagedCodeSecurityAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/SuppressUnmanagedCodeSecurityAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
// SuppressUnmanagedCodeSecurityAttribute:
diff --git a/src/System.Private.CoreLib/shared/System/Security/UnverifiableCodeAttribute.cs b/src/System.Private.CoreLib/shared/System/Security/UnverifiableCodeAttribute.cs
index 4a5e0785c0..544b7c9d29 100644
--- a/src/System.Private.CoreLib/shared/System/Security/UnverifiableCodeAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/UnverifiableCodeAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Security
{
// UnverifiableCodeAttribute:
diff --git a/src/System.Private.CoreLib/shared/System/Security/VerificationException.cs b/src/System.Private.CoreLib/shared/System/Security/VerificationException.cs
index 7515f39235..4cd9eeb2e8 100644
--- a/src/System.Private.CoreLib/shared/System/Security/VerificationException.cs
+++ b/src/System.Private.CoreLib/shared/System/Security/VerificationException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Security
diff --git a/src/System.Private.CoreLib/shared/System/SerializableAttribute.cs b/src/System.Private.CoreLib/shared/System/SerializableAttribute.cs
index 9d21d39cc2..c256931373 100644
--- a/src/System.Private.CoreLib/shared/System/SerializableAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/SerializableAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Delegate, Inherited = false)]
diff --git a/src/System.Private.CoreLib/shared/System/Single.cs b/src/System.Private.CoreLib/shared/System/Single.cs
index 6374ecb337..fe8e804e55 100644
--- a/src/System.Private.CoreLib/shared/System/Single.cs
+++ b/src/System.Private.CoreLib/shared/System/Single.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Span.Fast.cs b/src/System.Private.CoreLib/shared/System/Span.Fast.cs
index 1bfa8eee5b..94c6e06904 100644
--- a/src/System.Private.CoreLib/shared/System/Span.Fast.cs
+++ b/src/System.Private.CoreLib/shared/System/Span.Fast.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
diff --git a/src/System.Private.CoreLib/shared/System/Span.cs b/src/System.Private.CoreLib/shared/System/Span.cs
index 20bf8e20f8..afc6ba547e 100644
--- a/src/System.Private.CoreLib/shared/System/Span.cs
+++ b/src/System.Private.CoreLib/shared/System/Span.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/SpanDebugView.cs b/src/System.Private.CoreLib/shared/System/SpanDebugView.cs
index b1613b462b..f79c67306c 100644
--- a/src/System.Private.CoreLib/shared/System/SpanDebugView.cs
+++ b/src/System.Private.CoreLib/shared/System/SpanDebugView.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/SpanHelpers.BinarySearch.cs b/src/System.Private.CoreLib/shared/System/SpanHelpers.BinarySearch.cs
index 165b28fe70..2aec704096 100644
--- a/src/System.Private.CoreLib/shared/System/SpanHelpers.BinarySearch.cs
+++ b/src/System.Private.CoreLib/shared/System/SpanHelpers.BinarySearch.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/SpanHelpers.Byte.cs b/src/System.Private.CoreLib/shared/System/SpanHelpers.Byte.cs
index f13c0c650a..4104d93347 100644
--- a/src/System.Private.CoreLib/shared/System/SpanHelpers.Byte.cs
+++ b/src/System.Private.CoreLib/shared/System/SpanHelpers.Byte.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/SpanHelpers.Char.cs b/src/System.Private.CoreLib/shared/System/SpanHelpers.Char.cs
index bfdbc46bfe..9bf1c57244 100644
--- a/src/System.Private.CoreLib/shared/System/SpanHelpers.Char.cs
+++ b/src/System.Private.CoreLib/shared/System/SpanHelpers.Char.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/SpanHelpers.T.cs b/src/System.Private.CoreLib/shared/System/SpanHelpers.T.cs
index 49f4ff461b..37bc43fb43 100644
--- a/src/System.Private.CoreLib/shared/System/SpanHelpers.T.cs
+++ b/src/System.Private.CoreLib/shared/System/SpanHelpers.T.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices; // Do not remove. This is necessary for netstandard, since this file is mirrored into corefx
diff --git a/src/System.Private.CoreLib/shared/System/SpanHelpers.cs b/src/System.Private.CoreLib/shared/System/SpanHelpers.cs
index 12b8e26c72..c919d6e631 100644
--- a/src/System.Private.CoreLib/shared/System/SpanHelpers.cs
+++ b/src/System.Private.CoreLib/shared/System/SpanHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime;
diff --git a/src/System.Private.CoreLib/shared/System/StackOverflowException.cs b/src/System.Private.CoreLib/shared/System/StackOverflowException.cs
index 556c38dce7..0177b58817 100644
--- a/src/System.Private.CoreLib/shared/System/StackOverflowException.cs
+++ b/src/System.Private.CoreLib/shared/System/StackOverflowException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/String.Comparison.cs b/src/System.Private.CoreLib/shared/System/String.Comparison.cs
index 23781b6403..a420fc8141 100644
--- a/src/System.Private.CoreLib/shared/System/String.Comparison.cs
+++ b/src/System.Private.CoreLib/shared/System/String.Comparison.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Numerics;
diff --git a/src/System.Private.CoreLib/shared/System/String.Manipulation.cs b/src/System.Private.CoreLib/shared/System/String.Manipulation.cs
index 278a3b6b98..75d72dc50b 100644
--- a/src/System.Private.CoreLib/shared/System/String.Manipulation.cs
+++ b/src/System.Private.CoreLib/shared/System/String.Manipulation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/String.Searching.cs b/src/System.Private.CoreLib/shared/System/String.Searching.cs
index 85b82da2a5..3d386b7432 100644
--- a/src/System.Private.CoreLib/shared/System/String.Searching.cs
+++ b/src/System.Private.CoreLib/shared/System/String.Searching.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.InteropServices;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/String.cs b/src/System.Private.CoreLib/shared/System/String.cs
index d765bdd684..60a82de515 100644
--- a/src/System.Private.CoreLib/shared/System/String.cs
+++ b/src/System.Private.CoreLib/shared/System/String.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/StringComparer.cs b/src/System.Private.CoreLib/shared/System/StringComparer.cs
index 4ffb83876d..83c81aee96 100644
--- a/src/System.Private.CoreLib/shared/System/StringComparer.cs
+++ b/src/System.Private.CoreLib/shared/System/StringComparer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/StringComparison.cs b/src/System.Private.CoreLib/shared/System/StringComparison.cs
index 3f31f33a41..d5c18c8021 100644
--- a/src/System.Private.CoreLib/shared/System/StringComparison.cs
+++ b/src/System.Private.CoreLib/shared/System/StringComparison.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public enum StringComparison
diff --git a/src/System.Private.CoreLib/shared/System/StringSplitOptions.cs b/src/System.Private.CoreLib/shared/System/StringSplitOptions.cs
index 31328365b8..d7020559a1 100644
--- a/src/System.Private.CoreLib/shared/System/StringSplitOptions.cs
+++ b/src/System.Private.CoreLib/shared/System/StringSplitOptions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/SystemException.cs b/src/System.Private.CoreLib/shared/System/SystemException.cs
index 8d8484de16..faf05c68e7 100644
--- a/src/System.Private.CoreLib/shared/System/SystemException.cs
+++ b/src/System.Private.CoreLib/shared/System/SystemException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Text/ASCIIEncoding.cs b/src/System.Private.CoreLib/shared/System/Text/ASCIIEncoding.cs
index 296e0ea095..91868e000c 100644
--- a/src/System.Private.CoreLib/shared/System/Text/ASCIIEncoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/ASCIIEncoding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.Helpers.cs b/src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.Helpers.cs
index 1b53d94aaa..731d52ab82 100644
--- a/src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.Helpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.Helpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.cs b/src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.cs
index 31e8ac1d57..4f7f996e9f 100644
--- a/src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Text/CodePageDataItem.cs b/src/System.Private.CoreLib/shared/System/Text/CodePageDataItem.cs
index cb796ff1a1..e2be2e3b78 100644
--- a/src/System.Private.CoreLib/shared/System/Text/CodePageDataItem.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/CodePageDataItem.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Text
{
internal class CodePageDataItem
diff --git a/src/System.Private.CoreLib/shared/System/Text/Decoder.cs b/src/System.Private.CoreLib/shared/System/Text/Decoder.cs
index 9197e4c09c..e882e664ca 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Decoder.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Decoder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using System;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/DecoderBestFitFallback.cs b/src/System.Private.CoreLib/shared/System/Text/DecoderBestFitFallback.cs
index 3387a09189..98f3061fee 100644
--- a/src/System.Private.CoreLib/shared/System/Text/DecoderBestFitFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/DecoderBestFitFallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
//
// This is used internally to create best fit behavior as per the original windows best fit behavior.
//
diff --git a/src/System.Private.CoreLib/shared/System/Text/DecoderExceptionFallback.cs b/src/System.Private.CoreLib/shared/System/Text/DecoderExceptionFallback.cs
index 450ba3212a..338724c61a 100644
--- a/src/System.Private.CoreLib/shared/System/Text/DecoderExceptionFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/DecoderExceptionFallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Globalization;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Text/DecoderFallback.cs b/src/System.Private.CoreLib/shared/System/Text/DecoderFallback.cs
index 77730c214c..4b4bcb635e 100644
--- a/src/System.Private.CoreLib/shared/System/Text/DecoderFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/DecoderFallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Text/DecoderNLS.cs b/src/System.Private.CoreLib/shared/System/Text/DecoderNLS.cs
index a84b607ea2..7e627fd0aa 100644
--- a/src/System.Private.CoreLib/shared/System/Text/DecoderNLS.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/DecoderNLS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Text/DecoderReplacementFallback.cs b/src/System.Private.CoreLib/shared/System/Text/DecoderReplacementFallback.cs
index 2bfb4b0e32..57413ec69a 100644
--- a/src/System.Private.CoreLib/shared/System/Text/DecoderReplacementFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/DecoderReplacementFallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Text
diff --git a/src/System.Private.CoreLib/shared/System/Text/Encoder.cs b/src/System.Private.CoreLib/shared/System/Text/Encoder.cs
index 77874ce710..f7efe24ea6 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Encoder.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Encoder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using System;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncoderBestFitFallback.cs b/src/System.Private.CoreLib/shared/System/Text/EncoderBestFitFallback.cs
index 363dd5e165..dddb1d5a88 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncoderBestFitFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncoderBestFitFallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
//
// This is used internally to create best fit behavior as per the original windows best fit behavior.
//
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs b/src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs
index 37df576804..e55cfb6c67 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs b/src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs
index b1c11270b6..c3a03ab16c 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncoderNLS.cs b/src/System.Private.CoreLib/shared/System/Text/EncoderNLS.cs
index 41a249409f..8ec3e333c0 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncoderNLS.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncoderNLS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncoderReplacementFallback.cs b/src/System.Private.CoreLib/shared/System/Text/EncoderReplacementFallback.cs
index 10e844b66c..e124e41fd0 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncoderReplacementFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncoderReplacementFallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Encoding.Internal.cs b/src/System.Private.CoreLib/shared/System/Text/Encoding.Internal.cs
index cef00ea2b8..a033cdc338 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Encoding.Internal.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Encoding.Internal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Encoding.cs b/src/System.Private.CoreLib/shared/System/Text/Encoding.cs
index fee129bac9..ef7ba7832a 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Encoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Encoding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncodingData.cs b/src/System.Private.CoreLib/shared/System/Text/EncodingData.cs
index a1b7c92783..8a9d2a559f 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncodingData.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncodingData.cs
@@ -7,7 +7,6 @@
//
// TODO-NULLABLE: We should edit original source instead: https://github.com/dotnet/buildtools/blob/master/src/Microsoft.DotNet.Build.Tasks/GenerateEncodingTable.cs#L235
-#nullable enable
namespace System.Text
{
internal static partial class EncodingTable
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncodingInfo.cs b/src/System.Private.CoreLib/shared/System/Text/EncodingInfo.cs
index cfffd3c3f5..febecfa665 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncodingInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncodingInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Text
{
public sealed class EncodingInfo
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncodingNLS.cs b/src/System.Private.CoreLib/shared/System/Text/EncodingNLS.cs
index 0df2975dd2..f3d1e7817d 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncodingNLS.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncodingNLS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncodingProvider.cs b/src/System.Private.CoreLib/shared/System/Text/EncodingProvider.cs
index 47b7636acc..d65dff932f 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncodingProvider.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncodingProvider.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncodingTable.cs b/src/System.Private.CoreLib/shared/System/Text/EncodingTable.cs
index 7f4d746f63..661622707c 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncodingTable.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncodingTable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs b/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs
index 672348b54b..ce17f0aa3f 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Rune.cs b/src/System.Private.CoreLib/shared/System/Text/Rune.cs
index c743e213b8..da640969c0 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Rune.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Rune.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/Text/SpanRuneEnumerator.cs b/src/System.Private.CoreLib/shared/System/Text/SpanRuneEnumerator.cs
index d650eb9d19..082a5108c1 100644
--- a/src/System.Private.CoreLib/shared/System/Text/SpanRuneEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/SpanRuneEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Text
{
// An enumerator for retrieving System.Text.Rune instances from a ROS<char>.
diff --git a/src/System.Private.CoreLib/shared/System/Text/StringBuilder.Debug.cs b/src/System.Private.CoreLib/shared/System/Text/StringBuilder.Debug.cs
index a7681d071d..d74bb67dce 100644
--- a/src/System.Private.CoreLib/shared/System/Text/StringBuilder.Debug.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/StringBuilder.Debug.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Text
diff --git a/src/System.Private.CoreLib/shared/System/Text/StringBuilder.cs b/src/System.Private.CoreLib/shared/System/Text/StringBuilder.cs
index eee36e52ec..38d5945076 100644
--- a/src/System.Private.CoreLib/shared/System/Text/StringBuilder.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/StringBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using System.Runtime;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/Text/StringRuneEnumerator.cs b/src/System.Private.CoreLib/shared/System/Text/StringRuneEnumerator.cs
index 3528884d3f..99001f75bd 100644
--- a/src/System.Private.CoreLib/shared/System/Text/StringRuneEnumerator.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/StringRuneEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Text/UTF32Encoding.cs b/src/System.Private.CoreLib/shared/System/Text/UTF32Encoding.cs
index 1b81f17a1d..1fc50d24d0 100644
--- a/src/System.Private.CoreLib/shared/System/Text/UTF32Encoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/UTF32Encoding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
//
// Don't override IsAlwaysNormalized because it is just a Unicode Transformation and could be confused.
//
diff --git a/src/System.Private.CoreLib/shared/System/Text/UTF7Encoding.cs b/src/System.Private.CoreLib/shared/System/Text/UTF7Encoding.cs
index d398aec66b..1524b6f72c 100644
--- a/src/System.Private.CoreLib/shared/System/Text/UTF7Encoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/UTF7Encoding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
//
// Don't override IsAlwaysNormalized because it is just a Unicode Transformation and could be confused.
//
diff --git a/src/System.Private.CoreLib/shared/System/Text/UTF8Encoding.cs b/src/System.Private.CoreLib/shared/System/Text/UTF8Encoding.cs
index 688a431f05..5a33c6d4e0 100644
--- a/src/System.Private.CoreLib/shared/System/Text/UTF8Encoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/UTF8Encoding.cs
@@ -10,7 +10,6 @@
// The fast loops attempts to blaze through as fast as possible with optimistic range checks,
// processing multiple characters at a time, and falling back to the slow loop for all special cases.
-#nullable enable
using System;
using System.Buffers;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs
index b1215f44a1..0d66ae5824 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.Validation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.cs b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.cs
index 44d0316d28..828776b436 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf16Utility.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8.cs b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8.cs
index 1badd7db11..b4cae379e2 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Helpers.cs b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Helpers.cs
index 4bfc6158af..ab29fbe7a6 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Helpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Helpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Binary;
using System.Diagnostics;
using System.Numerics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Transcoding.cs b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Transcoding.cs
index 9536a77aea..3b83a24559 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Transcoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Transcoding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Buffers.Binary;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Validation.cs b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Validation.cs
index c7ef9a9d6b..96e231082e 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Validation.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Validation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Numerics;
using System.Runtime.Intrinsics.X86;
diff --git a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.cs b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.cs
index 053c55efcf..7daf0cf800 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/System/Text/UnicodeDebug.cs b/src/System.Private.CoreLib/shared/System/Text/UnicodeDebug.cs
index be999212ed..dedfbe2254 100644
--- a/src/System.Private.CoreLib/shared/System/Text/UnicodeDebug.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/UnicodeDebug.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Text/UnicodeEncoding.cs b/src/System.Private.CoreLib/shared/System/Text/UnicodeEncoding.cs
index a652033cdd..d541f65c97 100644
--- a/src/System.Private.CoreLib/shared/System/Text/UnicodeEncoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/UnicodeEncoding.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
//
// Don't override IsAlwaysNormalized because it is just a Unicode Transformation and could be confused.
//
diff --git a/src/System.Private.CoreLib/shared/System/Text/UnicodeUtility.cs b/src/System.Private.CoreLib/shared/System/Text/UnicodeUtility.cs
index acd92473ca..065c938d81 100644
--- a/src/System.Private.CoreLib/shared/System/Text/UnicodeUtility.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/UnicodeUtility.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Text
diff --git a/src/System.Private.CoreLib/shared/System/ThreadAttributes.cs b/src/System.Private.CoreLib/shared/System/ThreadAttributes.cs
index 33dd50a6a7..6248736107 100644
--- a/src/System.Private.CoreLib/shared/System/ThreadAttributes.cs
+++ b/src/System.Private.CoreLib/shared/System/ThreadAttributes.cs
@@ -8,7 +8,6 @@
**
=============================================================================*/
-#nullable enable
namespace System
{
[AttributeUsage(AttributeTargets.Method)]
diff --git a/src/System.Private.CoreLib/shared/System/ThreadStaticAttribute.cs b/src/System.Private.CoreLib/shared/System/ThreadStaticAttribute.cs
index f237ad17e8..c12ac1c18d 100644
--- a/src/System.Private.CoreLib/shared/System/ThreadStaticAttribute.cs
+++ b/src/System.Private.CoreLib/shared/System/ThreadStaticAttribute.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using System;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Threading/AbandonedMutexException.cs b/src/System.Private.CoreLib/shared/System/Threading/AbandonedMutexException.cs
index 1517c7e06e..c2e5f0014d 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/AbandonedMutexException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/AbandonedMutexException.cs
@@ -7,7 +7,6 @@
// AbandonedMutexs indicate serious error in user code or machine state.
////////////////////////////////////////////////////////////////////////////////
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ApartmentState.cs b/src/System.Private.CoreLib/shared/System/Threading/ApartmentState.cs
index 961979282f..47c1677cb5 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ApartmentState.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ApartmentState.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
public enum ApartmentState
diff --git a/src/System.Private.CoreLib/shared/System/Threading/AsyncLocal.cs b/src/System.Private.CoreLib/shared/System/Threading/AsyncLocal.cs
index 6ecf6c72cb..a61af6d668 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/AsyncLocal.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/AsyncLocal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/AutoResetEvent.cs b/src/System.Private.CoreLib/shared/System/Threading/AutoResetEvent.cs
index b8418a94bb..8320d7ad5a 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/AutoResetEvent.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/AutoResetEvent.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
public sealed class AutoResetEvent : EventWaitHandle
diff --git a/src/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs b/src/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs
index 98b3ba2bb4..769b4e0d8b 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/CancellationToken.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs b/src/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs
index edb29e03aa..e309f3e0d5 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/CancellationTokenRegistration.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading.Tasks;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/CancellationTokenSource.cs b/src/System.Private.CoreLib/shared/System/Threading/CancellationTokenSource.cs
index 4d01cd09ff..02ab1c423d 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/CancellationTokenSource.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/CancellationTokenSource.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/CompressedStack.cs b/src/System.Private.CoreLib/shared/System/Threading/CompressedStack.cs
index 32861df822..6faa326e47 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/CompressedStack.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/CompressedStack.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs b/src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs
index 6038a3e752..fe06560e1b 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/DeferredDisposableLifetime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/EventResetMode.cs b/src/System.Private.CoreLib/shared/System/Threading/EventResetMode.cs
index 5de3cb5763..7aac0f51eb 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/EventResetMode.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/EventResetMode.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
namespace System.Threading
{
public enum EventResetMode
diff --git a/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs b/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs
index 6c7b7155ac..7241d61b88 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.IO;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.cs b/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.cs
index b01bfb2131..bafa7360f7 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/EventWaitHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs b/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs
index fb9790d69b..64f2f1820e 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ExecutionContext.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.ExceptionServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/IOCompletionCallback.cs b/src/System.Private.CoreLib/shared/System/Threading/IOCompletionCallback.cs
index f2ad774395..571ce467eb 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/IOCompletionCallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/IOCompletionCallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
[CLSCompliant(false)]
diff --git a/src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs b/src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs
index 1b79a11758..301c39e30b 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/IThreadPoolWorkItem.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
/// <summary>Represents a work item that can be executed by the ThreadPool.</summary>
diff --git a/src/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs b/src/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs
index b25db6afaf..5ae8415722 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/LazyInitializer.cs
@@ -8,7 +8,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Diagnostics;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs b/src/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs
index ae650824d7..2d13f23762 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/LazyThreadSafetyMode.cs
@@ -8,7 +8,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
namespace System.Threading
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Threading/LockRecursionException.cs b/src/System.Private.CoreLib/shared/System/Threading/LockRecursionException.cs
index 52d45af90b..849417256e 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/LockRecursionException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/LockRecursionException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ManualResetEvent.cs b/src/System.Private.CoreLib/shared/System/Threading/ManualResetEvent.cs
index 4b7442ffaa..4b8d61f960 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ManualResetEvent.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ManualResetEvent.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
public sealed class ManualResetEvent : EventWaitHandle
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs b/src/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs
index 0361327279..2024332b9d 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ManualResetEventSlim.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Mutex.Windows.cs b/src/System.Private.CoreLib/shared/System/Threading/Mutex.Windows.cs
index 1d14037cc3..6d89a5e546 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Mutex.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Mutex.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Mutex.cs b/src/System.Private.CoreLib/shared/System/Threading/Mutex.cs
index 45c0c30943..50cd42a07e 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Mutex.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Mutex.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/NativeOverlapped.cs b/src/System.Private.CoreLib/shared/System/Threading/NativeOverlapped.cs
index 7e9d29775d..933cb81ecc 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/NativeOverlapped.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/NativeOverlapped.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ParameterizedThreadStart.cs b/src/System.Private.CoreLib/shared/System/Threading/ParameterizedThreadStart.cs
index 4f49fc1aa7..124840a3bf 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ParameterizedThreadStart.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ParameterizedThreadStart.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
namespace System.Threading
{
public delegate void ParameterizedThreadStart(object? obj);
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ReaderWriterLockSlim.cs b/src/System.Private.CoreLib/shared/System/Threading/ReaderWriterLockSlim.cs
index f25c08d64b..f05ef52a7f 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ReaderWriterLockSlim.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ReaderWriterLockSlim.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics; // for TraceInformation
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Semaphore.Windows.cs b/src/System.Private.CoreLib/shared/System/Threading/Semaphore.Windows.cs
index f5c2610e10..7a21b5a854 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Semaphore.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Semaphore.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Semaphore.cs b/src/System.Private.CoreLib/shared/System/Threading/Semaphore.cs
index 7c75db3c1b..a87405f4f4 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Semaphore.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Semaphore.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/SemaphoreFullException.cs b/src/System.Private.CoreLib/shared/System/Threading/SemaphoreFullException.cs
index 5bee6108c0..f79cdb8927 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/SemaphoreFullException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/SemaphoreFullException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs b/src/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs
index ea5bc4de7b..6437966671 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/SemaphoreSlim.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/SendOrPostCallback.cs b/src/System.Private.CoreLib/shared/System/Threading/SendOrPostCallback.cs
index 2257ad6b03..bf8decf492 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/SendOrPostCallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/SendOrPostCallback.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
public delegate void SendOrPostCallback(object? state);
diff --git a/src/System.Private.CoreLib/shared/System/Threading/SpinLock.cs b/src/System.Private.CoreLib/shared/System/Threading/SpinLock.cs
index 1e6bcc5110..f167d06768 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/SpinLock.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/SpinLock.cs
@@ -11,7 +11,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/SpinWait.cs b/src/System.Private.CoreLib/shared/System/Threading/SpinWait.cs
index 412496535e..6fa99e15c1 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/SpinWait.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/SpinWait.cs
@@ -8,7 +8,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Diagnostics;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/SynchronizationContext.cs b/src/System.Private.CoreLib/shared/System/Threading/SynchronizationContext.cs
index 3f9a2bec2f..eb7fe28829 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/SynchronizationContext.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/SynchronizationContext.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
public partial class SynchronizationContext
diff --git a/src/System.Private.CoreLib/shared/System/Threading/SynchronizationLockException.cs b/src/System.Private.CoreLib/shared/System/Threading/SynchronizationLockException.cs
index fbd685afc9..2762a8e503 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/SynchronizationLockException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/SynchronizationLockException.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracer.Noop.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracer.Noop.cs
index 927b8fa1e4..b00d5d6756 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracer.Noop.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracer.Noop.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Threading.Tasks
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracerConstants.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracerConstants.cs
index 7e710677ce..3677051f05 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracerConstants.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/AsyncCausalityTracerConstants.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading.Tasks
{
internal enum AsyncCausalityStatus
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs
index 155b00a2f4..9065ae1666 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs
@@ -14,7 +14,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs
index 9e562e3c46..c82372c000 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs
index e96fe14b34..b00b623c27 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/FutureFactory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Threading.Tasks
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ProducerConsumerQueues.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ProducerConsumerQueues.cs
index 21214e85a8..157ad5d666 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ProducerConsumerQueues.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ProducerConsumerQueues.cs
@@ -21,7 +21,6 @@
// ************</IMPORTANT NOTE>*************
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/IValueTaskSource.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/IValueTaskSource.cs
index 6181ab2bf0..8f460370c0 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/IValueTaskSource.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/IValueTaskSource.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading.Tasks.Sources
{
/// <summary>
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs
index 967cbbeadf..fd68a4985a 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/Sources/ManualResetValueTaskSourceCore.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs
index 2c35214248..a4a65922cc 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskAsyncEnumerableExtensions.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskAsyncEnumerableExtensions.cs
index 6411bb2134..57aab52448 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskAsyncEnumerableExtensions.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskAsyncEnumerableExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs
index 5147f116eb..67d985e0a6 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCanceledException.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading.Tasks
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs
index 045486a6a1..8773eb4159 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskCompletionSource.cs
@@ -11,7 +11,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System;
using System.Diagnostics;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs
index 0968a747b1..65547fb452 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskContinuation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExceptionHolder.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExceptionHolder.cs
index d35e6a2e67..7ed04ad76e 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExceptionHolder.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExceptionHolder.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExtensions.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExtensions.cs
index cbe8d67454..52e44815d1 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExtensions.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs
index cc5a5a1aa1..3929a08589 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskFactory.cs
@@ -12,7 +12,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System;
using System.Collections.Generic;
using System.Security;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs
index d8940044da..b6afade5a5 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskScheduler.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs
index c68469c5cd..2dd209de9e 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TaskSchedulerException.cs
@@ -10,7 +10,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading.Tasks
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs
index 05cb75bcbc..2473df26d0 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ThreadPoolTaskScheduler.cs
@@ -11,7 +11,6 @@
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs
index 44e5d0ad11..a842fa8308 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Diagnostics.Tracing;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs
index 1b175614e2..884ae0b009 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Thread.Unix.cs b/src/System.Private.CoreLib/shared/System/Threading/Thread.Unix.cs
index e3ee7133da..902fcf2650 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Thread.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Thread.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.ConstrainedExecution;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Thread.Windows.cs b/src/System.Private.CoreLib/shared/System/Threading/Thread.Windows.cs
index b0bae93da6..18882091ab 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Thread.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Thread.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
public sealed partial class Thread
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Thread.cs b/src/System.Private.CoreLib/shared/System/Threading/Thread.cs
index 183f5b206d..39f0f63db8 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Thread.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Thread.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadAbortException.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadAbortException.cs
index aa4cb299a8..9391bb4e0a 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadAbortException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadAbortException.cs
@@ -14,7 +14,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadInterruptedException.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadInterruptedException.cs
index 01ff40d838..af80bb620f 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadInterruptedException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadInterruptedException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs
index 276caed621..f57afb9d77 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
index fc53fc158f..da4df11e4f 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadPriority.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadPriority.cs
index 9ef95a1042..3b34bd5eac 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadPriority.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadPriority.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
public enum ThreadPriority
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadStart.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadStart.cs
index 11310ac296..5532539fc7 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadStart.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadStart.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
namespace System.Threading
{
public delegate void ThreadStart();
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadStartException.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadStartException.cs
index b22396bccc..5172555418 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadStartException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadStartException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadState.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadState.cs
index 9d0f374e22..4bf3b5184d 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadState.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadState.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
[Flags]
diff --git a/src/System.Private.CoreLib/shared/System/Threading/ThreadStateException.cs b/src/System.Private.CoreLib/shared/System/Threading/ThreadStateException.cs
index 9e0f26e9f5..2c1a5c97a3 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/ThreadStateException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/ThreadStateException.cs
@@ -12,7 +12,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Timeout.cs b/src/System.Private.CoreLib/shared/System/Threading/Timeout.cs
index 85151291f7..995ca4ef81 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Timeout.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Timeout.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
// A constant used by methods that take a timeout (Object.Wait, Thread.Sleep
diff --git a/src/System.Private.CoreLib/shared/System/Threading/TimeoutHelper.cs b/src/System.Private.CoreLib/shared/System/Threading/TimeoutHelper.cs
index 524fb2b52a..dd3291281e 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/TimeoutHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/TimeoutHelper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Timer.cs b/src/System.Private.CoreLib/shared/System/Threading/Timer.cs
index 0f027778fa..8789065390 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Timer.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Timer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Diagnostics.Tracing;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Portable.cs b/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Portable.cs
index ed6e90f915..7fa4f2241c 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Portable.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Portable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Unix.cs b/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Unix.cs
index d89a8f6a26..7c45637c49 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
internal partial class TimerQueue
diff --git a/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Windows.cs b/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Windows.cs
index 5421b9f43b..0bd0cc49cf 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/Threading/Volatile.cs b/src/System.Private.CoreLib/shared/System/Threading/Volatile.cs
index 4ace8f994f..26d33a40a7 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/Volatile.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/Volatile.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/WaitHandle.cs b/src/System.Private.CoreLib/shared/System/Threading/WaitHandle.cs
index b2aeae8639..20aa3f76c2 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/WaitHandle.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/WaitHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/shared/System/Threading/WaitHandleCannotBeOpenedException.cs b/src/System.Private.CoreLib/shared/System/Threading/WaitHandleCannotBeOpenedException.cs
index f54e013413..f273456e49 100644
--- a/src/System.Private.CoreLib/shared/System/Threading/WaitHandleCannotBeOpenedException.cs
+++ b/src/System.Private.CoreLib/shared/System/Threading/WaitHandleCannotBeOpenedException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System.Threading
diff --git a/src/System.Private.CoreLib/shared/System/ThrowHelper.cs b/src/System.Private.CoreLib/shared/System/ThrowHelper.cs
index 8b460975c2..f6805d8a3a 100644
--- a/src/System.Private.CoreLib/shared/System/ThrowHelper.cs
+++ b/src/System.Private.CoreLib/shared/System/ThrowHelper.cs
@@ -35,7 +35,6 @@
// multiple times for different instantiation.
//
-#nullable enable
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/TimeSpan.cs b/src/System.Private.CoreLib/shared/System/TimeSpan.cs
index be5654ef7b..3c1d5ebe75 100644
--- a/src/System.Private.CoreLib/shared/System/TimeSpan.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeSpan.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/TimeZone.cs b/src/System.Private.CoreLib/shared/System/TimeZone.cs
index 20d2b613ab..b9dc233a62 100644
--- a/src/System.Private.CoreLib/shared/System/TimeZone.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeZone.cs
@@ -18,7 +18,6 @@
**
============================================================*/
-#nullable enable
using System;
using System.Text;
using System.Threading;
diff --git a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.AdjustmentRule.cs b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.AdjustmentRule.cs
index 7d046bdc10..4ba7f28d91 100644
--- a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.AdjustmentRule.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.AdjustmentRule.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.StringSerializer.cs b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.StringSerializer.cs
index 7ccdc7cba8..218cb0effc 100644
--- a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.StringSerializer.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.StringSerializer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.TransitionTime.cs b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.TransitionTime.cs
index 86e7002d7c..4b0abe8e6e 100644
--- a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.TransitionTime.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.TransitionTime.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs
index 02543cca11..bc6ac4107b 100644
--- a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.Win32.cs b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.Win32.cs
index 8fe5f56fb0..27fa6aba7b 100644
--- a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.Win32.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.Win32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.cs b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.cs
index 0783f9bdba..3e87c36eff 100644
--- a/src/System.Private.CoreLib/shared/System/TimeZoneInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeZoneInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/TimeZoneNotFoundException.cs b/src/System.Private.CoreLib/shared/System/TimeZoneNotFoundException.cs
index c28edaa2a9..40bd636be9 100644
--- a/src/System.Private.CoreLib/shared/System/TimeZoneNotFoundException.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeZoneNotFoundException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/TimeoutException.cs b/src/System.Private.CoreLib/shared/System/TimeoutException.cs
index 7bb41e34f6..3e96cb8e3c 100644
--- a/src/System.Private.CoreLib/shared/System/TimeoutException.cs
+++ b/src/System.Private.CoreLib/shared/System/TimeoutException.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Tuple.cs b/src/System.Private.CoreLib/shared/System/Tuple.cs
index d3f0a91e39..6439720da7 100644
--- a/src/System.Private.CoreLib/shared/System/Tuple.cs
+++ b/src/System.Private.CoreLib/shared/System/Tuple.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/TupleExtensions.cs b/src/System.Private.CoreLib/shared/System/TupleExtensions.cs
index bf1aa07f9b..106a88a08b 100644
--- a/src/System.Private.CoreLib/shared/System/TupleExtensions.cs
+++ b/src/System.Private.CoreLib/shared/System/TupleExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/shared/System/Type.Enum.cs b/src/System.Private.CoreLib/shared/System/Type.Enum.cs
index 006f8e94cf..ac610e8484 100644
--- a/src/System.Private.CoreLib/shared/System/Type.Enum.cs
+++ b/src/System.Private.CoreLib/shared/System/Type.Enum.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/shared/System/Type.Helpers.cs b/src/System.Private.CoreLib/shared/System/Type.Helpers.cs
index c83b8f8449..0e871c6755 100644
--- a/src/System.Private.CoreLib/shared/System/Type.Helpers.cs
+++ b/src/System.Private.CoreLib/shared/System/Type.Helpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/Type.cs b/src/System.Private.CoreLib/shared/System/Type.cs
index 6162e12383..830cbd9d50 100644
--- a/src/System.Private.CoreLib/shared/System/Type.cs
+++ b/src/System.Private.CoreLib/shared/System/Type.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading;
using System.Reflection;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/TypeAccessException.cs b/src/System.Private.CoreLib/shared/System/TypeAccessException.cs
index 3cbeb02c26..d804b408d6 100644
--- a/src/System.Private.CoreLib/shared/System/TypeAccessException.cs
+++ b/src/System.Private.CoreLib/shared/System/TypeAccessException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/TypeCode.cs b/src/System.Private.CoreLib/shared/System/TypeCode.cs
index 08216dc33b..296198656b 100644
--- a/src/System.Private.CoreLib/shared/System/TypeCode.cs
+++ b/src/System.Private.CoreLib/shared/System/TypeCode.cs
@@ -21,7 +21,6 @@
// of an object is TypeCode.Object, a further instance-of check can be used to
// determine if the object is one of these values.
-#nullable enable
namespace System
{
public enum TypeCode
diff --git a/src/System.Private.CoreLib/shared/System/TypeInitializationException.cs b/src/System.Private.CoreLib/shared/System/TypeInitializationException.cs
index c3aeb61036..45867464f9 100644
--- a/src/System.Private.CoreLib/shared/System/TypeInitializationException.cs
+++ b/src/System.Private.CoreLib/shared/System/TypeInitializationException.cs
@@ -14,7 +14,6 @@
**
=============================================================================*/
-#nullable enable
using System.Globalization;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/TypeLoadException.cs b/src/System.Private.CoreLib/shared/System/TypeLoadException.cs
index 92afe347e2..d18c84aa96 100644
--- a/src/System.Private.CoreLib/shared/System/TypeLoadException.cs
+++ b/src/System.Private.CoreLib/shared/System/TypeLoadException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/TypeUnloadedException.cs b/src/System.Private.CoreLib/shared/System/TypeUnloadedException.cs
index cbdb816246..792f16ce0a 100644
--- a/src/System.Private.CoreLib/shared/System/TypeUnloadedException.cs
+++ b/src/System.Private.CoreLib/shared/System/TypeUnloadedException.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/UInt16.cs b/src/System.Private.CoreLib/shared/System/UInt16.cs
index 10fd7033bb..89e5703bb8 100644
--- a/src/System.Private.CoreLib/shared/System/UInt16.cs
+++ b/src/System.Private.CoreLib/shared/System/UInt16.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/UInt32.cs b/src/System.Private.CoreLib/shared/System/UInt32.cs
index 400c45b9bc..b9cff281b9 100644
--- a/src/System.Private.CoreLib/shared/System/UInt32.cs
+++ b/src/System.Private.CoreLib/shared/System/UInt32.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/UInt64.cs b/src/System.Private.CoreLib/shared/System/UInt64.cs
index 049068eaa7..58e06360bf 100644
--- a/src/System.Private.CoreLib/shared/System/UInt64.cs
+++ b/src/System.Private.CoreLib/shared/System/UInt64.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/shared/System/UIntPtr.cs b/src/System.Private.CoreLib/shared/System/UIntPtr.cs
index c6372f0ee3..28d7ffb15f 100644
--- a/src/System.Private.CoreLib/shared/System/UIntPtr.cs
+++ b/src/System.Private.CoreLib/shared/System/UIntPtr.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
diff --git a/src/System.Private.CoreLib/shared/System/UnauthorizedAccessException.cs b/src/System.Private.CoreLib/shared/System/UnauthorizedAccessException.cs
index 46d9446c35..415ab422ca 100644
--- a/src/System.Private.CoreLib/shared/System/UnauthorizedAccessException.cs
+++ b/src/System.Private.CoreLib/shared/System/UnauthorizedAccessException.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/UnhandledExceptionEventArgs.cs b/src/System.Private.CoreLib/shared/System/UnhandledExceptionEventArgs.cs
index 5f4e0109c6..c214afdc71 100644
--- a/src/System.Private.CoreLib/shared/System/UnhandledExceptionEventArgs.cs
+++ b/src/System.Private.CoreLib/shared/System/UnhandledExceptionEventArgs.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public class UnhandledExceptionEventArgs : EventArgs
diff --git a/src/System.Private.CoreLib/shared/System/UnhandledExceptionEventHandler.cs b/src/System.Private.CoreLib/shared/System/UnhandledExceptionEventHandler.cs
index 36ce061a40..58f1eb5145 100644
--- a/src/System.Private.CoreLib/shared/System/UnhandledExceptionEventHandler.cs
+++ b/src/System.Private.CoreLib/shared/System/UnhandledExceptionEventHandler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
diff --git a/src/System.Private.CoreLib/shared/System/UnitySerializationHolder.cs b/src/System.Private.CoreLib/shared/System/UnitySerializationHolder.cs
index 6ebbb8af42..a95c1123ad 100644
--- a/src/System.Private.CoreLib/shared/System/UnitySerializationHolder.cs
+++ b/src/System.Private.CoreLib/shared/System/UnitySerializationHolder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
namespace System
diff --git a/src/System.Private.CoreLib/shared/System/ValueTuple.cs b/src/System.Private.CoreLib/shared/System/ValueTuple.cs
index 663c1ae967..72c13b5307 100644
--- a/src/System.Private.CoreLib/shared/System/ValueTuple.cs
+++ b/src/System.Private.CoreLib/shared/System/ValueTuple.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/shared/System/Version.cs b/src/System.Private.CoreLib/shared/System/Version.cs
index 67ddf8597f..3b8d1cbae0 100644
--- a/src/System.Private.CoreLib/shared/System/Version.cs
+++ b/src/System.Private.CoreLib/shared/System/Version.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Diagnostics;
using System.Text;
diff --git a/src/System.Private.CoreLib/shared/System/Void.cs b/src/System.Private.CoreLib/shared/System/Void.cs
index f0a7ddd3a0..5162e6ad02 100644
--- a/src/System.Private.CoreLib/shared/System/Void.cs
+++ b/src/System.Private.CoreLib/shared/System/Void.cs
@@ -7,7 +7,6 @@
// This class represents the void return type
////////////////////////////////////////////////////////////////////////////////
-#nullable enable
namespace System
{
// This class represents the void return type
diff --git a/src/System.Private.CoreLib/shared/System/WinRTFolderPaths.cs b/src/System.Private.CoreLib/shared/System/WinRTFolderPaths.cs
index c76f8afc7c..a833f55f79 100644
--- a/src/System.Private.CoreLib/shared/System/WinRTFolderPaths.cs
+++ b/src/System.Private.CoreLib/shared/System/WinRTFolderPaths.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Windows.Foundation.Metadata;
using Windows.Storage;
using System.IO;
diff --git a/src/System.Private.CoreLib/src/Internal/Console.cs b/src/System.Private.CoreLib/src/Internal/Console.cs
index 5a5fa52e92..3f8da45d67 100644
--- a/src/System.Private.CoreLib/src/Internal/Console.cs
+++ b/src/System.Private.CoreLib/src/Internal/Console.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Text;
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComActivator.cs b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComActivator.cs
index efe8767949..34ce4de03a 100644
--- a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComActivator.cs
+++ b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/ComActivator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/InMemoryAssemblyLoader.cs b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/InMemoryAssemblyLoader.cs
index 2353afa5a5..496a6e26c7 100644
--- a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/InMemoryAssemblyLoader.cs
+++ b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/InMemoryAssemblyLoader.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
using System.Runtime.Loader;
diff --git a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/IsolatedComponentLoadContext.cs b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/IsolatedComponentLoadContext.cs
index cfbf3c071c..1a04d2e639 100644
--- a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/IsolatedComponentLoadContext.cs
+++ b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/IsolatedComponentLoadContext.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Reflection;
using System.Runtime.Loader;
diff --git a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ActivationFactoryLoader.cs b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ActivationFactoryLoader.cs
index 8f94666c6b..5b691d608d 100644
--- a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ActivationFactoryLoader.cs
+++ b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ActivationFactoryLoader.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ExceptionSupport.cs b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ExceptionSupport.cs
index 8d133a5f05..9f5a00d2f0 100644
--- a/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ExceptionSupport.cs
+++ b/src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/WindowsRuntime/ExceptionSupport.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices.WindowsRuntime;
diff --git a/src/System.Private.CoreLib/src/Interop/Unix/Interop.Libraries.cs b/src/System.Private.CoreLib/src/Interop/Unix/Interop.Libraries.cs
index c7f5b1d736..da7cbf29d2 100644
--- a/src/System.Private.CoreLib/src/Interop/Unix/Interop.Libraries.cs
+++ b/src/System.Private.CoreLib/src/Interop/Unix/Interop.Libraries.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
internal static partial class Interop
{
internal static partial class Libraries
diff --git a/src/System.Private.CoreLib/src/Interop/Windows/OleAut32/Interop.VariantClear.cs b/src/System.Private.CoreLib/src/Interop/Windows/OleAut32/Interop.VariantClear.cs
index e2b9d3ce61..ae95fe550c 100644
--- a/src/System.Private.CoreLib/src/Interop/Windows/OleAut32/Interop.VariantClear.cs
+++ b/src/System.Private.CoreLib/src/Interop/Windows/OleAut32/Interop.VariantClear.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/Microsoft/Win32/OAVariantLib.cs b/src/System.Private.CoreLib/src/Microsoft/Win32/OAVariantLib.cs
index 047b8bc38f..fc04674764 100644
--- a/src/System.Private.CoreLib/src/Microsoft/Win32/OAVariantLib.cs
+++ b/src/System.Private.CoreLib/src/Microsoft/Win32/OAVariantLib.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
namespace Microsoft.Win32
{
using System;
diff --git a/src/System.Private.CoreLib/src/Microsoft/Win32/UnsafeNativeMethods.cs b/src/System.Private.CoreLib/src/Microsoft/Win32/UnsafeNativeMethods.cs
index 25e382b14b..c81048a0c3 100644
--- a/src/System.Private.CoreLib/src/Microsoft/Win32/UnsafeNativeMethods.cs
+++ b/src/System.Private.CoreLib/src/Microsoft/Win32/UnsafeNativeMethods.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace Microsoft.Win32
{
using Microsoft.Win32.SafeHandles;
diff --git a/src/System.Private.CoreLib/src/System/AppContext.CoreCLR.cs b/src/System.Private.CoreLib/src/System/AppContext.CoreCLR.cs
index 4ef4a342dd..93bef4e180 100644
--- a/src/System.Private.CoreLib/src/System/AppContext.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/AppContext.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/ApplicationModel.Windows.cs b/src/System.Private.CoreLib/src/System/ApplicationModel.Windows.cs
index 1b49dec13f..ea1e017424 100644
--- a/src/System.Private.CoreLib/src/System/ApplicationModel.Windows.cs
+++ b/src/System.Private.CoreLib/src/System/ApplicationModel.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/ArgIterator.cs b/src/System.Private.CoreLib/src/System/ArgIterator.cs
index 2c1f54ada8..19260f23ec 100644
--- a/src/System.Private.CoreLib/src/System/ArgIterator.cs
+++ b/src/System.Private.CoreLib/src/System/ArgIterator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
using System;
diff --git a/src/System.Private.CoreLib/src/System/Array.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Array.CoreCLR.cs
index 2fe10540dc..ee4a481193 100644
--- a/src/System.Private.CoreLib/src/System/Array.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Array.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Attribute.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Attribute.CoreCLR.cs
index 81769f3e75..75b9c4b390 100644
--- a/src/System.Private.CoreLib/src/System/Attribute.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Attribute.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/BadImageFormatException.CoreCLR.cs b/src/System.Private.CoreLib/src/System/BadImageFormatException.CoreCLR.cs
index 4847fab043..a7daa7ff91 100644
--- a/src/System.Private.CoreLib/src/System/BadImageFormatException.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/BadImageFormatException.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
public partial class BadImageFormatException
diff --git a/src/System.Private.CoreLib/src/System/Buffer.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Buffer.CoreCLR.cs
index 6835f5e447..56f36de771 100644
--- a/src/System.Private.CoreLib/src/System/Buffer.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Buffer.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/CLRConfig.cs b/src/System.Private.CoreLib/src/System/CLRConfig.cs
index 76e38acb5c..5b14f282ed 100644
--- a/src/System.Private.CoreLib/src/System/CLRConfig.cs
+++ b/src/System.Private.CoreLib/src/System/CLRConfig.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Microsoft.Win32;
diff --git a/src/System.Private.CoreLib/src/System/Char8.cs b/src/System.Private.CoreLib/src/System/Char8.cs
index 46789fa564..ba22e91944 100644
--- a/src/System.Private.CoreLib/src/System/Char8.cs
+++ b/src/System.Private.CoreLib/src/System/Char8.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
/// <summary>
diff --git a/src/System.Private.CoreLib/src/System/Collections/EmptyReadOnlyDictionaryInternal.cs b/src/System.Private.CoreLib/src/System/Collections/EmptyReadOnlyDictionaryInternal.cs
index 21d173947d..eeddeb22c8 100644
--- a/src/System.Private.CoreLib/src/System/Collections/EmptyReadOnlyDictionaryInternal.cs
+++ b/src/System.Private.CoreLib/src/System/Collections/EmptyReadOnlyDictionaryInternal.cs
@@ -12,7 +12,6 @@
**
**
===========================================================*/
-#nullable enable
namespace System.Collections
{
diff --git a/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreCLR.cs
index b992edf052..71b9c4ed14 100644
--- a/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Collections/Generic/ArraySortHelper.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Collections/Generic/Comparer.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Collections/Generic/Comparer.CoreCLR.cs
index 62c5dba27b..a8c5d1d28b 100644
--- a/src/System.Private.CoreLib/src/System/Collections/Generic/Comparer.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Collections/Generic/Comparer.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Collections/Generic/ComparerHelpers.cs b/src/System.Private.CoreLib/src/System/Collections/Generic/ComparerHelpers.cs
index a382ba6044..f5e24bbd37 100644
--- a/src/System.Private.CoreLib/src/System/Collections/Generic/ComparerHelpers.cs
+++ b/src/System.Private.CoreLib/src/System/Collections/Generic/ComparerHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using static System.RuntimeTypeHandle;
diff --git a/src/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.CoreCLR.cs
index 5e351007fe..ef0a6efab6 100644
--- a/src/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Collections/Generic/EqualityComparer.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime;
using System.Runtime.CompilerServices;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Collections/ObjectModel/ReadOnlyDictionary.cs b/src/System.Private.CoreLib/src/System/Collections/ObjectModel/ReadOnlyDictionary.cs
index 4a4634f2ac..a88fc2d633 100644
--- a/src/System.Private.CoreLib/src/System/Collections/ObjectModel/ReadOnlyDictionary.cs
+++ b/src/System.Private.CoreLib/src/System/Collections/ObjectModel/ReadOnlyDictionary.cs
@@ -10,7 +10,6 @@
** Purpose: Read-only wrapper for another generic dictionary.
**
===========================================================*/
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Currency.cs b/src/System.Private.CoreLib/src/System/Currency.cs
index e306989e58..c9e8dc030e 100644
--- a/src/System.Private.CoreLib/src/System/Currency.cs
+++ b/src/System.Private.CoreLib/src/System/Currency.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
internal struct Currency
diff --git a/src/System.Private.CoreLib/src/System/DateTime.Unix.CoreCLR.cs b/src/System.Private.CoreLib/src/System/DateTime.Unix.CoreCLR.cs
index c988343951..c13d879e8d 100644
--- a/src/System.Private.CoreLib/src/System/DateTime.Unix.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/DateTime.Unix.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System
diff --git a/src/System.Private.CoreLib/src/System/DateTime.Windows.CoreCLR.cs b/src/System.Private.CoreLib/src/System/DateTime.Windows.CoreCLR.cs
index e2a85e819e..26a440dd94 100644
--- a/src/System.Private.CoreLib/src/System/DateTime.Windows.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/DateTime.Windows.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System
diff --git a/src/System.Private.CoreLib/src/System/Delegate.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Delegate.CoreCLR.cs
index 094527dbac..bc7898a3b5 100644
--- a/src/System.Private.CoreLib/src/System/Delegate.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Delegate.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Debugger.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Debugger.cs
index fbb83497a3..f2422ca7d2 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Debugger.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Debugger.cs
@@ -5,7 +5,6 @@
// The Debugger class is a part of the System.Diagnostics package
// and is used for communicating with a debugger.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Diagnostics
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/EditAndContinueHelper.cs b/src/System.Private.CoreLib/src/System/Diagnostics/EditAndContinueHelper.cs
index 9d3b1b23c5..5ab307d26d 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/EditAndContinueHelper.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/EditAndContinueHelper.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System;
namespace System.Diagnostics
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipe.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipe.cs
index dea8d73a54..eb4ca69d3a 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipe.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipe.cs
@@ -1,7 +1,6 @@
// 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 enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs
index 54bfc52cb0..9bad18379e 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs
@@ -1,7 +1,6 @@
// 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 enable
#if FEATURE_PERFTRACING
using System.IO;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventDispatcher.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventDispatcher.cs
index 526d4fa170..be1ae7debc 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventDispatcher.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventDispatcher.cs
@@ -1,7 +1,6 @@
// 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 enable
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventProvider.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventProvider.cs
index 46cd0f36b1..9b633c2a71 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventProvider.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeEventProvider.cs
@@ -1,7 +1,6 @@
// 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 enable
namespace System.Diagnostics.Tracing
{
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeMetadataGenerator.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeMetadataGenerator.cs
index 4189d1ff4f..7bd2fb4495 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeMetadataGenerator.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeMetadataGenerator.cs
@@ -1,7 +1,6 @@
// 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 enable
using System.Reflection;
using EventMetadata = System.Diagnostics.Tracing.EventSource.EventMetadata;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipePayloadDecoder.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipePayloadDecoder.cs
index ad762d7a63..1df1de8524 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipePayloadDecoder.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipePayloadDecoder.cs
@@ -1,7 +1,6 @@
// 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 enable
using System.Buffers.Binary;
using System.Reflection;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/NativeRuntimeEventSource.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/NativeRuntimeEventSource.cs
index b7fc735df1..6c40ad16fe 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/NativeRuntimeEventSource.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/NativeRuntimeEventSource.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Diagnostics.Tracing
{
/// <summary>
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSource.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSource.cs
index 12b1f9f552..fe61980ffd 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSource.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSource.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
using System.Threading;
namespace System.Diagnostics.Tracing
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Unix.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Unix.cs
index 4d07aa576b..776ad5d3b6 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Unix.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
namespace System.Diagnostics.Tracing
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Windows.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Windows.cs
index 436d78fecb..a8fd3df1b2 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Windows.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/RuntimeEventSourceHelper.Windows.cs
@@ -1,7 +1,6 @@
// 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 enable
namespace System.Diagnostics.Tracing
{
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingEventHandleTable.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingEventHandleTable.cs
index d26b5325e1..9afc1cf0d6 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingEventHandleTable.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/TraceLogging/TraceLoggingEventHandleTable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading;
namespace System.Diagnostics.Tracing
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/XplatEventLogger.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/XplatEventLogger.cs
index f5c38aa6b5..366afa6efa 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/XplatEventLogger.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/XplatEventLogger.cs
@@ -1,7 +1,6 @@
// 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 enable
using System;
using System.Runtime.CompilerServices;
using System.Collections.ObjectModel;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/ICustomDebuggerNotification.cs b/src/System.Private.CoreLib/src/System/Diagnostics/ICustomDebuggerNotification.cs
index 46f5bb3961..e7f41051f2 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/ICustomDebuggerNotification.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/ICustomDebuggerNotification.cs
@@ -9,7 +9,6 @@
**
===========================================================*/
-#nullable enable
using System;
namespace System.Diagnostics
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/StackFrame.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Diagnostics/StackFrame.CoreCLR.cs
index 53bc4d2f36..e78734fece 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/StackFrame.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/StackFrame.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
namespace System.Diagnostics
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs b/src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs
index 2fd41c2295..385ef78074 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/StackTrace.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Diagnostics/StackTrace.CoreCLR.cs
index a86f8bac12..fe35afa92c 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/StackTrace.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/StackTrace.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Threading;
using System.Runtime.CompilerServices;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/ISymWriter.cs b/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/ISymWriter.cs
index e8148203d6..defdb1deac 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/ISymWriter.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/ISymWriter.cs
@@ -12,7 +12,6 @@
**
===========================================================*/
-#nullable enable
using System.Reflection;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/SymAddressKind.cs b/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/SymAddressKind.cs
index 9005156ce6..b27464b22a 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/SymAddressKind.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/SymAddressKind.cs
@@ -13,7 +13,6 @@
===========================================================*/
// Only statics, does not need to be marked with the serializable attribute
-#nullable enable
namespace System.Diagnostics.SymbolStore
{
internal enum SymAddressKind
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/Token.cs b/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/Token.cs
index 52eb1bf351..a0f3c997a8 100644
--- a/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/Token.cs
+++ b/src/System.Private.CoreLib/src/System/Diagnostics/SymbolStore/Token.cs
@@ -10,7 +10,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Diagnostics.SymbolStore
{
internal struct SymbolToken
diff --git a/src/System.Private.CoreLib/src/System/Enum.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Enum.CoreCLR.cs
index 0e9ab80f46..06d08bc948 100644
--- a/src/System.Private.CoreLib/src/System/Enum.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Enum.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Environment.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Environment.CoreCLR.cs
index 1cab1c95c8..de51ed4a9a 100644
--- a/src/System.Private.CoreLib/src/System/Environment.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Environment.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Exception.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Exception.CoreCLR.cs
index 480ef7400f..730b13fd6d 100644
--- a/src/System.Private.CoreLib/src/System/Exception.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Exception.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Diagnostics;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/GC.cs b/src/System.Private.CoreLib/src/System/GC.cs
index 2f88ae0138..c12048c20e 100644
--- a/src/System.Private.CoreLib/src/System/GC.cs
+++ b/src/System.Private.CoreLib/src/System/GC.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs b/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs
index d1bc0f4177..95a54fd5e3 100644
--- a/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs
+++ b/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
internal sealed partial class GlobalizationMode
diff --git a/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Windows.cs b/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Windows.cs
index ebfa25f28c..2738d5b4ba 100644
--- a/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Windows.cs
+++ b/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
internal sealed partial class GlobalizationMode
diff --git a/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.cs b/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.cs
index c1ad15f209..924fb5f19f 100644
--- a/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.cs
+++ b/src/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Globalization
{
internal sealed partial class GlobalizationMode
diff --git a/src/System.Private.CoreLib/src/System/IO/FileLoadException.CoreCLR.cs b/src/System.Private.CoreLib/src/System/IO/FileLoadException.CoreCLR.cs
index ebeab9a02b..762cfb2b6b 100644
--- a/src/System.Private.CoreLib/src/System/IO/FileLoadException.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/IO/FileLoadException.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/IO/FileNotFoundException.CoreCLR.cs b/src/System.Private.CoreLib/src/System/IO/FileNotFoundException.CoreCLR.cs
index c20b0d798a..8471c9b301 100644
--- a/src/System.Private.CoreLib/src/System/IO/FileNotFoundException.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/IO/FileNotFoundException.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.IO
{
public partial class FileNotFoundException
diff --git a/src/System.Private.CoreLib/src/System/IO/Stream.CoreCLR.cs b/src/System.Private.CoreLib/src/System/IO/Stream.CoreCLR.cs
index 14434ca8f2..459e991bf7 100644
--- a/src/System.Private.CoreLib/src/System/IO/Stream.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/IO/Stream.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.IO
diff --git a/src/System.Private.CoreLib/src/System/Internal.cs b/src/System.Private.CoreLib/src/System/Internal.cs
index b6181b8d30..e7b1070e6b 100644
--- a/src/System.Private.CoreLib/src/System/Internal.cs
+++ b/src/System.Private.CoreLib/src/System/Internal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable disable
/*============================================================
**
** This file exists to contain miscellaneous module-level attributes
diff --git a/src/System.Private.CoreLib/src/System/Math.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Math.CoreCLR.cs
index b33ae1e909..149dd06702 100644
--- a/src/System.Private.CoreLib/src/System/Math.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Math.CoreCLR.cs
@@ -13,7 +13,6 @@
//This class contains only static members and doesn't require serialization.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System
diff --git a/src/System.Private.CoreLib/src/System/MathF.CoreCLR.cs b/src/System.Private.CoreLib/src/System/MathF.CoreCLR.cs
index ba575d9544..5ba0a9271c 100644
--- a/src/System.Private.CoreLib/src/System/MathF.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/MathF.CoreCLR.cs
@@ -10,7 +10,6 @@
//This class contains only static members and doesn't require serialization.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System
diff --git a/src/System.Private.CoreLib/src/System/MissingMemberException.CoreCLR.cs b/src/System.Private.CoreLib/src/System/MissingMemberException.CoreCLR.cs
index e987f4175e..d2b6f2657d 100644
--- a/src/System.Private.CoreLib/src/System/MissingMemberException.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/MissingMemberException.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.Serialization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/MulticastDelegate.cs b/src/System.Private.CoreLib/src/System/MulticastDelegate.cs
index 1464c0737f..daae0fdaa4 100644
--- a/src/System.Private.CoreLib/src/System/MulticastDelegate.cs
+++ b/src/System.Private.CoreLib/src/System/MulticastDelegate.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Object.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Object.CoreCLR.cs
index f6eaf61c1c..fc361bcf20 100644
--- a/src/System.Private.CoreLib/src/System/Object.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Object.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System
diff --git a/src/System.Private.CoreLib/src/System/OleAutBinder.cs b/src/System.Private.CoreLib/src/System/OleAutBinder.cs
index 9dbb204bb8..331cbca250 100644
--- a/src/System.Private.CoreLib/src/System/OleAutBinder.cs
+++ b/src/System.Private.CoreLib/src/System/OleAutBinder.cs
@@ -6,7 +6,6 @@
// #define DISPLAY_DEBUG_INFO
-#nullable enable
using System.Runtime.InteropServices;
using Microsoft.Win32;
using CultureInfo = System.Globalization.CultureInfo;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Assembly.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Reflection/Assembly.CoreCLR.cs
index 5cbc297ee8..deb83ec37c 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Assembly.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Assembly.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/AssemblyName.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Reflection/AssemblyName.CoreCLR.cs
index 8de0ec9b3c..6b0b049fe3 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/AssemblyName.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/AssemblyName.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Configuration.Assemblies;
using System.Globalization;
using System.IO;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Associates.cs b/src/System.Private.CoreLib/src/System/Reflection/Associates.cs
index d0b70e42f5..7e4869ceec 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Associates.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Associates.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/ConstructorInfo.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Reflection/ConstructorInfo.CoreCLR.cs
index 74d925b6bf..c96bfb5ac1 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/ConstructorInfo.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/ConstructorInfo.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public abstract partial class ConstructorInfo : MethodBase
diff --git a/src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs b/src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs
index 9e6ac217f4..9faaa47d7b 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/CustomAttributeExtensions.cs b/src/System.Private.CoreLib/src/System/Reflection/CustomAttributeExtensions.cs
index da5a91dd94..d2c2d454d9 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/CustomAttributeExtensions.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/CustomAttributeExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/AQNBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/AQNBuilder.cs
index 820f7d824f..1bfdc51b00 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/AQNBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/AQNBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs
index d2df9ac62f..ce0438d396 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs
@@ -19,7 +19,6 @@
//
// "internal" and "external" ModuleBuilders are similar
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.SymbolStore;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilderData.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilderData.cs
index 89614c2e6c..144dfd5ec4 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilderData.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilderData.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorBuilder.cs
index c89b6beb5b..0ac5afd450 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/ConstructorBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs
index fced35f9bf..1da37d2674 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using System.Buffers.Binary;
using System.IO;
using System.Text;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicILGenerator.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicILGenerator.cs
index eaee5a20f2..777ad2ad98 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicILGenerator.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicILGenerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Binary;
using System.Diagnostics.SymbolStore;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs
index fd737ce9bd..b77a17f756 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.cs
index b556d42540..68739b04f3 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using CultureInfo = System.Globalization.CultureInfo;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/EventBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/EventBuilder.cs
index 38d62409ba..2c36570be2 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/EventBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/EventBuilder.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
namespace System.Reflection.Emit
{
//
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs
index ce4f50a764..82016657a5 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using CultureInfo = System.Globalization.CultureInfo;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/GenericTypeParameterBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/GenericTypeParameterBuilder.cs
index 050915e82e..7fb5c8614a 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/GenericTypeParameterBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/GenericTypeParameterBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs
index 9b13e61400..6138e55cfe 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Buffers.Binary;
using System.Diagnostics;
using System.Diagnostics.SymbolStore;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/ISymWrapperCore.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/ISymWrapperCore.cs
index 69b283f1d3..e8c58b79af 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/ISymWrapperCore.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/ISymWrapperCore.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Security;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/LocalBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/LocalBuilder.cs
index c110e097c6..96e87e2b05 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/LocalBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/LocalBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public sealed class LocalBuilder : LocalVariableInfo
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.cs
index 6359be5608..1b13937a73 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Text;
using CultureInfo = System.Globalization.CultureInfo;
using System.Diagnostics.SymbolStore;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilderInstantiation.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilderInstantiation.cs
index caa6153110..7807b71544 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilderInstantiation.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/MethodBuilderInstantiation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs
index 3d0d2b3c42..b8e0f639b0 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.SymbolStore;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilderData.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilderData.cs
index 34a4bccdd9..02e945b261 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilderData.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/ModuleBuilderData.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
// This is a package private class. This class hold all of the managed
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/ParameterBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/ParameterBuilder.cs
index 1cf5a69438..1c98383c17 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/ParameterBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/ParameterBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection.Emit
{
public class ParameterBuilder
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/PropertyBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/PropertyBuilder.cs
index cfebc835fb..d9a9bf88db 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/PropertyBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/PropertyBuilder.cs
@@ -13,7 +13,6 @@
**
===========================================================*/
-#nullable enable
using CultureInfo = System.Globalization.CultureInfo;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs
index fe0f39d506..20252ede5f 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/SignatureHelper.cs
@@ -4,7 +4,6 @@
//
-#nullable enable
using System.Text;
using System;
using System.Buffers.Binary;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolMethod.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolMethod.cs
index 2f6dc2d4e9..ea2231ea55 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolMethod.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolMethod.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using CultureInfo = System.Globalization.CultureInfo;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolType.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolType.cs
index 0e962bfc7b..b3390c085e 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolType.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using CultureInfo = System.Globalization.CultureInfo;
namespace System.Reflection.Emit
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilder.cs
index 9bcad7a7db..d08153b217 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilder.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilder.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilderInstantiation.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilderInstantiation.cs
index 599c90e060..927bd1de66 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilderInstantiation.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/TypeBuilderInstantiation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Globalization;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/XXXOnTypeBuilderInstantiation.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/XXXOnTypeBuilderInstantiation.cs
index 61a55ebd90..e3ad63b66b 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Emit/XXXOnTypeBuilderInstantiation.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/XXXOnTypeBuilderInstantiation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/FieldInfo.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Reflection/FieldInfo.CoreCLR.cs
index 354e061bc7..a1a729f3be 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/FieldInfo.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/FieldInfo.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public abstract partial class FieldInfo : MemberInfo
diff --git a/src/System.Private.CoreLib/src/System/Reflection/INVOCATION_FLAGS.cs b/src/System.Private.CoreLib/src/System/Reflection/INVOCATION_FLAGS.cs
index 2cd9c9687f..eb28f4e209 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/INVOCATION_FLAGS.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/INVOCATION_FLAGS.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
//
diff --git a/src/System.Private.CoreLib/src/System/Reflection/LoaderAllocator.cs b/src/System.Private.CoreLib/src/System/Reflection/LoaderAllocator.cs
index 795ba7983b..2ecaeaaf60 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/LoaderAllocator.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/LoaderAllocator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/MdConstant.cs b/src/System.Private.CoreLib/src/System/Reflection/MdConstant.cs
index 891eb239f6..0fa1b38526 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/MdConstant.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/MdConstant.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
internal static class MdConstant
diff --git a/src/System.Private.CoreLib/src/System/Reflection/MdFieldInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/MdFieldInfo.cs
index e076f86e44..f4cee246cc 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/MdFieldInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/MdFieldInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using RuntimeTypeCache = System.RuntimeType.RuntimeTypeCache;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/MdImport.cs b/src/System.Private.CoreLib/src/System/Reflection/MdImport.cs
index 280cfc4d81..670c8d8e31 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/MdImport.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/MdImport.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Globalization;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/MemberInfo.Internal.cs b/src/System.Private.CoreLib/src/System/Reflection/MemberInfo.Internal.cs
index 524429b7a1..3e5a0b7bbb 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/MemberInfo.Internal.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/MemberInfo.Internal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Reflection
{
public abstract partial class MemberInfo
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Metadata/AssemblyExtensions.cs b/src/System.Private.CoreLib/src/System/Reflection/Metadata/AssemblyExtensions.cs
index 5841e957b5..938cf98932 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/Metadata/AssemblyExtensions.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/Metadata/AssemblyExtensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/MethodBase.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Reflection/MethodBase.CoreCLR.cs
index 58bb13ec96..41079f16af 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/MethodBase.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/MethodBase.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Text;
using System.Threading;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RtFieldInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/RtFieldInfo.cs
index 631dc117e2..ca75d25166 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RtFieldInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RtFieldInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs
index dd6f7e5629..bbeba81e2a 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using CultureInfo = System.Globalization.CultureInfo;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs
index f070980baf..768e4a7ade 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeEventInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeEventInfo.cs
index 98bfee2c30..258066d91c 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeEventInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeEventInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using RuntimeTypeCache = System.RuntimeType.RuntimeTypeCache;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeExceptionHandlingClause.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeExceptionHandlingClause.cs
index 885318f5b0..57b3981ac0 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeExceptionHandlingClause.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeExceptionHandlingClause.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeFieldInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeFieldInfo.cs
index 5be8c9f2e0..4c816dc630 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeFieldInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeFieldInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using RuntimeTypeCache = System.RuntimeType.RuntimeTypeCache;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeLocalVariableInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeLocalVariableInfo.cs
index 608a6c6cc7..6fcfa9f8e1 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeLocalVariableInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeLocalVariableInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodBody.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodBody.cs
index d6f3492550..f37d15d8ed 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodBody.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodBody.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
namespace System.Reflection
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs
index 70ef2e3aa9..5f27d52a95 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeModule.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeModule.cs
index a2e03c5517..d241ac95c9 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeModule.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeModule.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimeParameterInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimeParameterInfo.cs
index 517b63cb65..f90142ade2 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimeParameterInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimeParameterInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs b/src/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs
index 26b3fdc46f..a2bb3c504e 100644
--- a/src/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
diff --git a/src/System.Private.CoreLib/src/System/Resources/ManifestBasedResourceGroveler.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Resources/ManifestBasedResourceGroveler.CoreCLR.cs
index 43f9efdfb3..641814fc9b 100644
--- a/src/System.Private.CoreLib/src/System/Resources/ManifestBasedResourceGroveler.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Resources/ManifestBasedResourceGroveler.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/RtType.cs b/src/System.Private.CoreLib/src/System/RtType.cs
index b563ea6a96..617f4ee853 100644
--- a/src/System.Private.CoreLib/src/System/RtType.cs
+++ b/src/System.Private.CoreLib/src/System/RtType.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/CrossLoaderAllocatorHashHelpers.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/CrossLoaderAllocatorHashHelpers.cs
index 0ef2227d26..fd19a7835d 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/CrossLoaderAllocatorHashHelpers.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/CrossLoaderAllocatorHashHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/DependentHandle.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/DependentHandle.cs
index aee0bf16da..77d595446c 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/DependentHandle.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/DependentHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
//=========================================================================================
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/GCHeapHash.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/GCHeapHash.cs
index 96688bbc6d..4ad38b2c32 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/GCHeapHash.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/GCHeapHash.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ICastableHelpers.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ICastableHelpers.cs
index 5d474e5816..4b1b54365e 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ICastableHelpers.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/ICastableHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.CoreCLR.cs
index 32921deed5..69a7465dcf 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
public static partial class RuntimeFeature
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
index 3e1ea07fba..a7d2028727 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TypeDependencyAttribute.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TypeDependencyAttribute.cs
index 25745e178c..ceb99262fb 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TypeDependencyAttribute.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/TypeDependencyAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.CompilerServices
{
// We might want to make this inherited someday. But I suspect it shouldn't
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/jithelpers.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/jithelpers.cs
index 1eae91cd56..dfa32eccf7 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/jithelpers.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/jithelpers.cs
@@ -7,7 +7,6 @@
// Low-level Jit Helpers
////////////////////////////////////////////////////////////////////////////////
-#nullable enable
using System.Threading;
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/GCSettings.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Runtime/GCSettings.CoreCLR.cs
index e19a3b0f1b..1fbc1dc4f1 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/GCSettings.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/GCSettings.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Runtime
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsHelper.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsHelper.cs
index a462e93b2d..3b90124750 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsHelper.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsHelper.cs
@@ -82,7 +82,6 @@
// means that the problem is already quite complex and we should not be dealing with it - see
// ComEventsMethod.Invoke
-#nullable enable
namespace System.Runtime.InteropServices
{
/// <summary>
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsInfo.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsInfo.cs
index 623d241201..5a3bc042dd 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices
{
internal class ComEventsInfo
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsMethod.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsMethod.cs
index 6f174cceb4..20a4cc589e 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsMethod.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsMethod.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsSink.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsSink.cs
index 0a8780bbbe..6c943e1e97 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsSink.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComEventsSink.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComTypes/IEnumerable.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComTypes/IEnumerable.cs
index 68efabcd79..ec0061210a 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComTypes/IEnumerable.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/ComTypes/IEnumerable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
-#nullable enable
namespace System.Runtime.InteropServices.ComTypes
{
/*==========================================================================
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CriticalHandle.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CriticalHandle.CoreCLR.cs
index d2a65f4d3e..803504a057 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CriticalHandle.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CriticalHandle.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ComDataHelpers.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ComDataHelpers.cs
index c6c8dab3e1..05ab1f6a3e 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ComDataHelpers.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ComDataHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.CustomMarshalers
{
internal static class ComDataHelpers
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumVariantViewOfEnumerator.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumVariantViewOfEnumerator.cs
index 670aea6f09..84ef390bb1 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumVariantViewOfEnumerator.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumVariantViewOfEnumerator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Runtime.InteropServices.ComTypes;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableToDispatchMarshaler.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableToDispatchMarshaler.cs
index 93058a34ef..9aab6ba424 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableToDispatchMarshaler.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableToDispatchMarshaler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
namespace System.Runtime.InteropServices.CustomMarshalers
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableViewOfDispatch.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableViewOfDispatch.cs
index 298833256e..c087e5112a 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableViewOfDispatch.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumerableViewOfDispatch.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Runtime.InteropServices.ComTypes;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorToEnumVariantMarshaler.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorToEnumVariantMarshaler.cs
index 6e5e7b1496..4e3e456786 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorToEnumVariantMarshaler.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorToEnumVariantMarshaler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Runtime.InteropServices.ComTypes;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorViewOfEnumVariant.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorViewOfEnumVariant.cs
index bb2839d258..21116e4b5e 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorViewOfEnumVariant.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/EnumeratorViewOfEnumVariant.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Runtime.InteropServices.ComTypes;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ExpandoToDispatchExMarshaler.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ExpandoToDispatchExMarshaler.cs
index 30b55cc81c..04fc9ae8a2 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ExpandoToDispatchExMarshaler.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/ExpandoToDispatchExMarshaler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.CustomMarshalers
{
internal class ExpandoToDispatchExMarshaler : ICustomMarshaler
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/TypeToTypeInfoMarshaler.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/TypeToTypeInfoMarshaler.cs
index eda7c85071..d124bf2381 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/TypeToTypeInfoMarshaler.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/CustomMarshalers/TypeToTypeInfoMarshaler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.CustomMarshalers
{
internal class TypeToTypeInfoMarshaler : ICustomMarshaler
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Expando/IExpando.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Expando/IExpando.cs
index 8939b5266c..909aac1a69 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Expando/IExpando.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Expando/IExpando.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
namespace System.Runtime.InteropServices.Expando
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/GCHandle.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/GCHandle.CoreCLR.cs
index 357653420b..7f72b8a9ac 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/GCHandle.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/GCHandle.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
#if BIT64
using nint = System.Int64;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/IDispatch.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/IDispatch.cs
index 128487842a..fbe70fed73 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/IDispatch.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/IDispatch.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Collections.Generic;
using System.Text;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/IException.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/IException.cs
index 012f0c7d80..c0ec9b1a73 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/IException.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/IException.cs
@@ -13,7 +13,6 @@
**
=============================================================================*/
-#nullable enable
namespace System.Runtime.InteropServices {
using System;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs
index 5cf9889999..5fed3237eb 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.CoreCLR.cs
index 2928f8ca5d..b2002ca768 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Variant.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Variant.cs
index f9c1725169..e3a75ef8aa 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Variant.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/Variant.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Runtime.InteropServices
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs
index 1441639dd6..1bc0afda99 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
// DefaultInterfaceAttribute marks a WinRT class (or interface group) that has its default interface specified.
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToCollectionAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToCollectionAdapter.cs
index 201e23b6e4..f21bd539e9 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToCollectionAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToCollectionAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToListAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToListAdapter.cs
index 5ac54b7d41..3a167524f4 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToListAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/BindableVectorToListAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIKeyValuePairImpl.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIKeyValuePairImpl.cs
index 2575794355..6c3a89560b 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIKeyValuePairImpl.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIKeyValuePairImpl.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIPropertyValueImpl.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIPropertyValueImpl.cs
index b02365ef16..752f7bc34d 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIPropertyValueImpl.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIPropertyValueImpl.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIReferenceImpl.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIReferenceImpl.cs
index f51dda6631..dc4028a4ab 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIReferenceImpl.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIReferenceImpl.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ConstantSplittableMap.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ConstantSplittableMap.cs
index c0e4040d72..5c4aaf7367 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ConstantSplittableMap.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ConstantSplittableMap.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CustomPropertyImpl.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CustomPropertyImpl.cs
index 95286872fb..c28276bb6d 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CustomPropertyImpl.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CustomPropertyImpl.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
namespace System.Runtime.InteropServices.WindowsRuntime
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryKeyCollection.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryKeyCollection.cs
index 0a97e6e6fe..11f3ab2b68 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryKeyCollection.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryKeyCollection.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryToMapAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryToMapAdapter.cs
index c50b1cd817..57482f976f 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryToMapAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryToMapAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryValueCollection.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryValueCollection.cs
index 8c2dec3006..9860efc6a9 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryValueCollection.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/DictionaryValueCollection.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EnumeratorToIteratorAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EnumeratorToIteratorAdapter.cs
index bde80a9b66..0e5e50d509 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EnumeratorToIteratorAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EnumeratorToIteratorAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTable.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTable.cs
index a69a1a824c..7fe627d200 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTable.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IActivationFactory.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IActivationFactory.cs
index 578d219e53..38de7e7c6e 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IActivationFactory.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IActivationFactory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
[ComImport]
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IClosable.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IClosable.cs
index 8b85d5c413..e5df5f4847 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IClosable.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IClosable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs
index f85e11808e..f933e37717 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomProperty.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
[ComImport]
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomPropertyProvider.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomPropertyProvider.cs
index abc93638c3..8d34482161 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomPropertyProvider.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ICustomPropertyProvider.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.StubHelpers;
using System.Reflection;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterable.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterable.cs
index 94a00d31b5..39f0f96821 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterable.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterable.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
// Windows.Foundation.Collections.IIterable`1 cannot be referenced from managed code because it's hidden
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterator.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterator.cs
index 27ebdfb222..2ce2e1db58 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterator.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IIterator.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
[ComImport]
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMap.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMap.cs
index d06fc377d4..4dfdbbb65f 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMap.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMap.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
// Windows.Foundation.Collections.IMap`2, IMapView`2, and IKeyValuePair`2 cannot be referenced from
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMapViewToIReadOnlyDictionaryAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMapViewToIReadOnlyDictionaryAdapter.cs
index b573c21e36..16ef392314 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMapViewToIReadOnlyDictionaryAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IMapViewToIReadOnlyDictionaryAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IPropertyValue.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IPropertyValue.cs
index 5ad32eaf38..0c1f978c01 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IPropertyValue.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IPropertyValue.cs
@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
-
namespace System.Runtime.InteropServices.WindowsRuntime
{
[ComImport]
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyDictionaryToIMapViewAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyDictionaryToIMapViewAdapter.cs
index c30f0be769..2327e7c300 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyDictionaryToIMapViewAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyDictionaryToIMapViewAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyListToIVectorViewAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyListToIVectorViewAdapter.cs
index d608a8aef8..dd8ff3da78 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyListToIVectorViewAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyListToIVectorViewAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReference.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReference.cs
index 844f866ede..6b35e3c758 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReference.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IReference.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
[ComImport]
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs
index db8dc3842e..a48b779677 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
[ComImport]
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVector.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVector.cs
index 7087239113..ac5e8750fc 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVector.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVector.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
// Windows.Foundation.Collections.IVector`1 and IVectorView`1 cannot be referenced from managed
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVectorViewToIReadOnlyListAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVectorViewToIReadOnlyListAdapter.cs
index 0bc7d04b18..d0ae749a47 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVectorViewToIReadOnlyListAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IVectorViewToIReadOnlyListAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IteratorToEnumeratorAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IteratorToEnumeratorAdapter.cs
index ad8ec67e2c..756026be62 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IteratorToEnumeratorAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IteratorToEnumeratorAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorAdapter.cs
index e2fe340382..d43afdfd8f 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorViewAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorViewAdapter.cs
index 048435a0f0..82cbb990c4 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorViewAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToBindableVectorViewAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
namespace System.Runtime.InteropServices.WindowsRuntime
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToVectorAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToVectorAdapter.cs
index 9773d69ba6..0ee0ce0fac 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToVectorAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ListToVectorAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ManagedActivationFactory.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ManagedActivationFactory.cs
index ab6fc315be..694ea32154 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ManagedActivationFactory.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/ManagedActivationFactory.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToCollectionAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToCollectionAdapter.cs
index 34ad2893e2..9dd1abe665 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToCollectionAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToCollectionAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToDictionaryAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToDictionaryAdapter.cs
index ec43a677ec..a5e5673777 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToDictionaryAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapToDictionaryAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapViewToReadOnlyCollectionAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapViewToReadOnlyCollectionAdapter.cs
index eb7022367a..09e0f3b2de 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapViewToReadOnlyCollectionAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/MapViewToReadOnlyCollectionAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/NativeMethods.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/NativeMethods.cs
index f4abc61d04..d7ff1c6537 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/NativeMethods.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/NativeMethods.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
#if BIT64
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/PropertyValue.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/PropertyValue.cs
index 5588fafe06..dec24e8c91 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/PropertyValue.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/PropertyValue.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
// Note this is a copy of the PropertyType enumeration from Windows.Foundation.winmd
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/RuntimeClass.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/RuntimeClass.cs
index 0c555fe002..142c5702f8 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/RuntimeClass.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/RuntimeClass.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System.Runtime.CompilerServices;
namespace System.Runtime.InteropServices.WindowsRuntime
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToCollectionAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToCollectionAdapter.cs
index f7d44ffeaa..304f03bad0 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToCollectionAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToCollectionAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToListAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToListAdapter.cs
index 704a45fb27..890300a84b 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToListAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorToListAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorViewToReadOnlyCollectionAdapter.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorViewToReadOnlyCollectionAdapter.cs
index f76f331699..f782e11aaf 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorViewToReadOnlyCollectionAdapter.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/VectorViewToReadOnlyCollectionAdapter.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsFoundationEventHandler.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsFoundationEventHandler.cs
index fb5c1163e1..216b48b3e9 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsFoundationEventHandler.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsFoundationEventHandler.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Runtime.InteropServices.WindowsRuntime
{
// WindowsFoundationEventHandler<T> a copy of the definition for the Windows.Foundation.EventHandler<T> delegate
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshal.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshal.cs
index b1e59ba867..d879f890f0 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshal.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshal.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMetadata.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMetadata.cs
index fe1dc91711..3976b4462a 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMetadata.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMetadata.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.ObjectModel;
namespace System.Runtime.InteropServices.WindowsRuntime
diff --git a/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyDependencyResolver.cs b/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyDependencyResolver.cs
index 4d4c362910..6fdb5daf7b 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyDependencyResolver.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyDependencyResolver.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.IO;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.CoreCLR.cs
index ba19315ebc..118cf3a1a9 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/Loader/AssemblyLoadContext.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections.Generic;
using System.IO;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs b/src/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs
index 2d71035e1f..7ce8c53f22 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/RuntimeImports.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Runtime/Versioning/CompatibilitySwitch.cs b/src/System.Private.CoreLib/src/System/Runtime/Versioning/CompatibilitySwitch.cs
index b87a6a6148..0eb555dec6 100644
--- a/src/System.Private.CoreLib/src/System/Runtime/Versioning/CompatibilitySwitch.cs
+++ b/src/System.Private.CoreLib/src/System/Runtime/Versioning/CompatibilitySwitch.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/RuntimeArgumentHandle.cs b/src/System.Private.CoreLib/src/System/RuntimeArgumentHandle.cs
index 5cc72381e1..153557251e 100644
--- a/src/System.Private.CoreLib/src/System/RuntimeArgumentHandle.cs
+++ b/src/System.Private.CoreLib/src/System/RuntimeArgumentHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
// This value type is used for constructing System.ArgIterator.
diff --git a/src/System.Private.CoreLib/src/System/RuntimeHandles.cs b/src/System.Private.CoreLib/src/System/RuntimeHandles.cs
index 4d234e860f..872a6f1052 100644
--- a/src/System.Private.CoreLib/src/System/RuntimeHandles.cs
+++ b/src/System.Private.CoreLib/src/System/RuntimeHandles.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Security/DynamicSecurityMethodAttribute.cs b/src/System.Private.CoreLib/src/System/Security/DynamicSecurityMethodAttribute.cs
index 06bb6a278e..83be902a2c 100644
--- a/src/System.Private.CoreLib/src/System/Security/DynamicSecurityMethodAttribute.cs
+++ b/src/System.Private.CoreLib/src/System/Security/DynamicSecurityMethodAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System.Security
diff --git a/src/System.Private.CoreLib/src/System/StartupHookProvider.cs b/src/System.Private.CoreLib/src/System/StartupHookProvider.cs
index 20d9898dd2..608a0d052d 100644
--- a/src/System.Private.CoreLib/src/System/StartupHookProvider.cs
+++ b/src/System.Private.CoreLib/src/System/StartupHookProvider.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.IO;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/String.CoreCLR.cs b/src/System.Private.CoreLib/src/System/String.CoreCLR.cs
index 3ffd2c0311..b942ea5336 100644
--- a/src/System.Private.CoreLib/src/System/String.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/String.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/StubHelpers.cs b/src/System.Private.CoreLib/src/System/StubHelpers.cs
index 152d9a7e3d..94d7ba9d4e 100644
--- a/src/System.Private.CoreLib/src/System/StubHelpers.cs
+++ b/src/System.Private.CoreLib/src/System/StubHelpers.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.StubHelpers
{
using System.Text;
diff --git a/src/System.Private.CoreLib/src/System/Text/StringBuilder.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Text/StringBuilder.CoreCLR.cs
index 8434707b84..36a3827dfc 100644
--- a/src/System.Private.CoreLib/src/System/Text/StringBuilder.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Text/StringBuilder.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
namespace System.Text
diff --git a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Unix.cs b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Unix.cs
index 29f53337b9..b7cdaa801c 100644
--- a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Unix.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Unix.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Windows.cs b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Windows.cs
index d2f46cc9f6..8925199db9 100644
--- a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Windows.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.Windows.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.cs b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.cs
index 38636f308f..7f2d0a8c10 100644
--- a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandle.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandleOverlapped.cs b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandleOverlapped.cs
index a61d69e559..11b2e0556c 100644
--- a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandleOverlapped.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolBoundHandleOverlapped.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
/// <summary>
diff --git a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolPreAllocatedOverlapped.cs b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolPreAllocatedOverlapped.cs
index fd7f1dd962..bf5ce2ec51 100644
--- a/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolPreAllocatedOverlapped.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/ClrThreadPoolPreAllocatedOverlapped.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
/// <summary>
diff --git a/src/System.Private.CoreLib/src/System/Threading/Interlocked.cs b/src/System.Private.CoreLib/src/System/Threading/Interlocked.cs
index 844c888b97..ed6829e228 100644
--- a/src/System.Private.CoreLib/src/System/Threading/Interlocked.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/Interlocked.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using Internal.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Threading/Monitor.cs b/src/System.Private.CoreLib/src/System/Threading/Monitor.cs
index cb3a0f61d5..a123f067e3 100644
--- a/src/System.Private.CoreLib/src/System/Threading/Monitor.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/Monitor.cs
@@ -13,7 +13,6 @@
**
=============================================================================*/
-#nullable enable
using System;
using System.Runtime;
using System.Threading;
diff --git a/src/System.Private.CoreLib/src/System/Threading/Overlapped.cs b/src/System.Private.CoreLib/src/System/Threading/Overlapped.cs
index e21d808b64..9bd5cf736f 100644
--- a/src/System.Private.CoreLib/src/System/Threading/Overlapped.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/Overlapped.cs
@@ -21,7 +21,6 @@
**
=============================================================================*/
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Threading/StackCrawlMark.cs b/src/System.Private.CoreLib/src/System/Threading/StackCrawlMark.cs
index 977cccb833..7323d1dced 100644
--- a/src/System.Private.CoreLib/src/System/Threading/StackCrawlMark.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/StackCrawlMark.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
/// <summary>
diff --git a/src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.CoreCLR.cs
index db110279db..e26d9b7b70 100644
--- a/src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System.Threading
{
public partial class SynchronizationContext
diff --git a/src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.Uap.cs b/src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.Uap.cs
index b0bf1fb96d..f4f8325510 100644
--- a/src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.Uap.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/SynchronizationContext.Uap.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Reflection;
diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/AsyncCausalityTracer.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/AsyncCausalityTracer.cs
index 491916699f..75d97064bc 100644
--- a/src/System.Private.CoreLib/src/System/Threading/Tasks/AsyncCausalityTracer.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/AsyncCausalityTracer.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices.WindowsRuntime;
diff --git a/src/System.Private.CoreLib/src/System/Threading/Tasks/IAsyncCausalityTracerStatics.cs b/src/System.Private.CoreLib/src/System/Threading/Tasks/IAsyncCausalityTracerStatics.cs
index 131fffc348..846191f2aa 100644
--- a/src/System.Private.CoreLib/src/System/Threading/Tasks/IAsyncCausalityTracerStatics.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/Tasks/IAsyncCausalityTracerStatics.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs
index a3bd3c6698..d466f87fa9 100644
--- a/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Threading/ThreadPool.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Threading/ThreadPool.CoreCLR.cs
index 723867b001..d7b2c2741a 100644
--- a/src/System.Private.CoreLib/src/System/Threading/ThreadPool.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/ThreadPool.CoreCLR.cs
@@ -11,7 +11,6 @@
**
=============================================================================*/
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
diff --git a/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs
index ca173d1068..2bf027fcce 100644
--- a/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/Timer.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Threading/WaitHandle.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Threading/WaitHandle.CoreCLR.cs
index 6bd426c624..97b5c574e3 100644
--- a/src/System.Private.CoreLib/src/System/Threading/WaitHandle.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Threading/WaitHandle.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/src/System.Private.CoreLib/src/System/Type.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Type.CoreCLR.cs
index f4d6a46bf4..15499912b8 100644
--- a/src/System.Private.CoreLib/src/System/Type.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/Type.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Reflection;
using System.Runtime.CompilerServices;
using StackCrawlMark = System.Threading.StackCrawlMark;
diff --git a/src/System.Private.CoreLib/src/System/TypeLoadException.CoreCLR.cs b/src/System.Private.CoreLib/src/System/TypeLoadException.CoreCLR.cs
index 612066914b..142dfbe8cc 100644
--- a/src/System.Private.CoreLib/src/System/TypeLoadException.CoreCLR.cs
+++ b/src/System.Private.CoreLib/src/System/TypeLoadException.CoreCLR.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/TypeNameParser.cs b/src/System.Private.CoreLib/src/System/TypeNameParser.cs
index 367a2b0e32..06eab1938a 100644
--- a/src/System.Private.CoreLib/src/System/TypeNameParser.cs
+++ b/src/System.Private.CoreLib/src/System/TypeNameParser.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System;
using System.Diagnostics;
using System.IO;
diff --git a/src/System.Private.CoreLib/src/System/TypedReference.cs b/src/System.Private.CoreLib/src/System/TypedReference.cs
index 0713624f27..630bf8f716 100644
--- a/src/System.Private.CoreLib/src/System/TypedReference.cs
+++ b/src/System.Private.CoreLib/src/System/TypedReference.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
namespace System
{
// TypedReference is basically only ever seen on the call stack, and in param arrays.
diff --git a/src/System.Private.CoreLib/src/System/Utf8Extensions.cs b/src/System.Private.CoreLib/src/System/Utf8Extensions.cs
index 1382d58a39..e34149f960 100644
--- a/src/System.Private.CoreLib/src/System/Utf8Extensions.cs
+++ b/src/System.Private.CoreLib/src/System/Utf8Extensions.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Internal.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Utf8String.Construction.cs b/src/System.Private.CoreLib/src/System/Utf8String.Construction.cs
index 4cf302e218..47052162d7 100644
--- a/src/System.Private.CoreLib/src/System/Utf8String.Construction.cs
+++ b/src/System.Private.CoreLib/src/System/Utf8String.Construction.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
diff --git a/src/System.Private.CoreLib/src/System/Utf8String.Manipulation.cs b/src/System.Private.CoreLib/src/System/Utf8String.Manipulation.cs
index 2caed617c1..6fcdf17a26 100644
--- a/src/System.Private.CoreLib/src/System/Utf8String.Manipulation.cs
+++ b/src/System.Private.CoreLib/src/System/Utf8String.Manipulation.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Utf8String.Searching.cs b/src/System.Private.CoreLib/src/System/Utf8String.Searching.cs
index e607d02a4b..0373cdd4fd 100644
--- a/src/System.Private.CoreLib/src/System/Utf8String.Searching.cs
+++ b/src/System.Private.CoreLib/src/System/Utf8String.Searching.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
using System.Text;
using System.Text.Unicode;
diff --git a/src/System.Private.CoreLib/src/System/Utf8String.cs b/src/System.Private.CoreLib/src/System/Utf8String.cs
index 69bd196b3d..7a1a17cc15 100644
--- a/src/System.Private.CoreLib/src/System/Utf8String.cs
+++ b/src/System.Private.CoreLib/src/System/Utf8String.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/ValueType.cs b/src/System.Private.CoreLib/src/System/ValueType.cs
index 3344a6363f..34edc8f68e 100644
--- a/src/System.Private.CoreLib/src/System/ValueType.cs
+++ b/src/System.Private.CoreLib/src/System/ValueType.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
diff --git a/src/System.Private.CoreLib/src/System/Variant.cs b/src/System.Private.CoreLib/src/System/Variant.cs
index f8da7e34a7..b8e6d57f1c 100644
--- a/src/System.Private.CoreLib/src/System/Variant.cs
+++ b/src/System.Private.CoreLib/src/System/Variant.cs
@@ -11,7 +11,6 @@
**
===========================================================*/
-#nullable enable
using System;
using System.Reflection;
using System.Threading;
diff --git a/src/System.Private.CoreLib/src/System/WeakReference.cs b/src/System.Private.CoreLib/src/System/WeakReference.cs
index 70001035ec..244af93bad 100644
--- a/src/System.Private.CoreLib/src/System/WeakReference.cs
+++ b/src/System.Private.CoreLib/src/System/WeakReference.cs
@@ -9,7 +9,6 @@
**
===========================================================*/
-#nullable enable
using System;
using System.Runtime.Serialization;
using System.Security;
diff --git a/src/System.Private.CoreLib/src/System/WeakReferenceOfT.cs b/src/System.Private.CoreLib/src/System/WeakReferenceOfT.cs
index d1c75ce643..7b89b05e66 100644
--- a/src/System.Private.CoreLib/src/System/WeakReferenceOfT.cs
+++ b/src/System.Private.CoreLib/src/System/WeakReferenceOfT.cs
@@ -9,7 +9,6 @@
**
===========================================================*/
-#nullable enable
using System;
using System.Runtime.Serialization;
using System.Security;
diff --git a/src/System.Private.CoreLib/src/System/__Canon.cs b/src/System.Private.CoreLib/src/System/__Canon.cs
index 5bc4d56079..7fbfa758bc 100644
--- a/src/System.Private.CoreLib/src/System/__Canon.cs
+++ b/src/System.Private.CoreLib/src/System/__Canon.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Runtime.InteropServices;
namespace System
diff --git a/src/System.Private.CoreLib/src/System/__ComObject.cs b/src/System.Private.CoreLib/src/System/__ComObject.cs
index 0d1d3d147e..83e0bb90de 100644
--- a/src/System.Private.CoreLib/src/System/__ComObject.cs
+++ b/src/System.Private.CoreLib/src/System/__ComObject.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#nullable enable
using System.Collections;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.WindowsRuntime;