From 889952c5e97013578ca8273252f3e0a955eb4615 Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Fri, 22 Apr 2022 16:08:02 -0700 Subject: [PATCH 1/6] Fixing API compat issues between ref/src for attributes on properties --- .../src/System/Reflection/RuntimeAssembly.cs | 3 +++ .../CompilerServices/RuntimeHelpers.CoreCLR.cs | 1 + .../Runtime/InteropServices/Marshal.CoreCLR.cs | 2 ++ .../CompilerServices/RuntimeHelpers.CoreRT.cs | 1 + .../ref/Microsoft.VisualBasic.Core.cs | 1 + .../src/Microsoft/VisualBasic/Constants.vb | 2 +- .../ref/System.ComponentModel.TypeConverter.cs | 2 ++ .../ref/System.Data.Common.cs | 1 + .../ref/System.Data.Common.manual.cs | 1 + .../Data/Odbc/OdbcParameterCollection.cs | 2 +- .../System.Data.OleDb/ref/System.Data.OleDb.cs | 1 + .../src/System/Diagnostics/Reader/Winmeta.cs | 2 +- .../System.Diagnostics.PerformanceCounter.cs | 2 +- .../System/Diagnostics/PerformanceCounter.cs | 2 +- .../Diagnostics/PerformanceCounterManager.cs | 6 +++--- .../ref/System.Diagnostics.Process.cs | 5 +++++ .../src/System/Diagnostics/Process.FreeBSD.cs | 9 +++++++++ .../src/System/Diagnostics/Process.Linux.cs | 8 ++++++++ .../src/System/Diagnostics/Process.OSX.cs | 9 +++++++++ .../System/Diagnostics/Process.UnknownUnix.cs | 8 ++++++++ .../src/System/Diagnostics/Process.Windows.cs | 8 ++++++++ .../src/System/Diagnostics/Process.cs | 18 +++++++++--------- .../src/System/Diagnostics/Process.iOS.cs | 2 ++ .../Diagnostics/ProcessThread.FreeBSD.cs | 8 ++++++++ .../System/Diagnostics/ProcessThread.Linux.cs | 10 ++++++++++ .../System/Diagnostics/ProcessThread.OSX.cs | 11 +++++++++++ .../Diagnostics/ProcessThread.UnknownUnix.cs | 11 +++++++++++ .../Diagnostics/ProcessThread.Windows.cs | 9 +++++++++ .../System/Diagnostics/ProcessThread.iOS.cs | 3 +++ .../IO/IsolatedStorage/IsolatedStorageFile.cs | 4 ++-- .../System.Net.Http/ref/System.Net.Http.cs | 2 ++ .../ref/System.Net.NetworkInformation.cs | 12 ++++++++++++ .../ref/System.Net.Primitives.cs | 2 +- .../src/System/Net/SecurityProtocolType.cs | 1 + .../src/System/Reflection/Assembly.cs | 2 ++ .../System/Reflection/Emit/AssemblyBuilder.cs | 1 + .../Runtime/InteropServices/UnmanagedType.cs | 14 ++++++++++++++ .../src/System/Threading/Thread.cs | 2 +- .../src/System/Threading/WaitHandle.cs | 2 +- .../ref/System.Reflection.Emit.cs | 3 +++ .../ref/System.Security.Permissions.cs | 12 ++++++------ 41 files changed, 177 insertions(+), 28 deletions(-) diff --git a/src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs b/src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs index 69fb562d2d72f7..f102938c776061 100644 --- a/src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs +++ b/src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs @@ -84,6 +84,7 @@ private static partial bool GetCodeBase(QCallAssembly assembly, return null; } + [Obsolete("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.", DiagnosticId = "SYSLIB0012", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [RequiresAssemblyFiles(ThrowingMessageInRAF)] public override string? CodeBase { @@ -103,7 +104,9 @@ public override string? CodeBase if (codeBase.Length == 0) { // For backward compatibility, return CoreLib codebase for assemblies loaded from memory. +#pragma warning disable SYSLIB0012 codeBase = typeof(object).Assembly.CodeBase; +#pragma warning restore SYSLIB0012 } return codeBase; } diff --git a/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs b/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs index 938a24c5922840..97b71a989ee9a2 100644 --- a/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs +++ b/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs @@ -115,6 +115,7 @@ public static unsafe void PrepareMethod(RuntimeMethodHandle method, RuntimeTypeH [MethodImpl(MethodImplOptions.InternalCall)] public static extern new bool Equals(object? o1, object? o2); + [Obsolete("OffsetToStringData has been deprecated. Use string.GetPinnableReference() instead.")] public static int OffsetToStringData { // This offset is baked in by string indexer intrinsic, so there is no harm diff --git a/src/coreclr/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs b/src/coreclr/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs index f96ec9367c1d91..f6845bed1324a6 100644 --- a/src/coreclr/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs +++ b/src/coreclr/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs @@ -77,7 +77,9 @@ public static int ReadInt32(object ptr, int ofs) [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("ReadInt64(Object, Int32) may be unavailable in future releases.")] [RequiresDynamicCode("Marshalling code for the object might not be available")] +#pragma warning disable CS0618 // Type or member is obsolete public static long ReadInt64([MarshalAs(UnmanagedType.AsAny), In] object ptr, int ofs) +#pragma warning restore CS0618 // Type or member is obsolete { return ReadValueSlow(ptr, ofs, (IntPtr nativeHome, int offset) => ReadInt64(nativeHome, offset)); } diff --git a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreRT.cs b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreRT.cs index 28a5971c0e260e..151b4aeb7935fa 100644 --- a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreRT.cs +++ b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreRT.cs @@ -110,6 +110,7 @@ public static unsafe int GetHashCode(object o) return ObjectHeader.GetHashCode(o); } + [Obsolete("OffsetToStringData has been deprecated. Use string.GetPinnableReference() instead.")] public static int OffsetToStringData { // This offset is baked in by string indexer intrinsic, so there is no harm diff --git a/src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.cs b/src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.cs index c31fdda43894b4..c1c8a764666de8 100644 --- a/src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.cs +++ b/src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.cs @@ -1341,6 +1341,7 @@ public TextFieldParser(System.IO.TextReader reader) { } public TextFieldParser(string path) { } public TextFieldParser(string path, System.Text.Encoding defaultEncoding) { } public TextFieldParser(string path, System.Text.Encoding defaultEncoding, bool detectEncoding) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public string[]? CommentTokens { get { throw null; } set { } } public string[]? Delimiters { get { throw null; } set { } } public bool EndOfData { get { throw null; } } diff --git a/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft/VisualBasic/Constants.vb b/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft/VisualBasic/Constants.vb index ea39c479dea9ea..9f52b2f36007fc 100644 --- a/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft/VisualBasic/Constants.vb +++ b/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft/VisualBasic/Constants.vb @@ -8,7 +8,7 @@ Namespace Global.Microsoft.VisualBasic Public Const vbCrLf As String = ChrW(13) & ChrW(10) Public Const vbObjectError As Integer = &H80040000I - + Public Const vbNewLine As String = ChrW(13) & ChrW(10) Public Const vbCr As String = ChrW(13) Public Const vbLf As String = ChrW(10) diff --git a/src/libraries/System.ComponentModel.TypeConverter/ref/System.ComponentModel.TypeConverter.cs b/src/libraries/System.ComponentModel.TypeConverter/ref/System.ComponentModel.TypeConverter.cs index 04d75256cb4384..375cc5fba34a81 100644 --- a/src/libraries/System.ComponentModel.TypeConverter/ref/System.ComponentModel.TypeConverter.cs +++ b/src/libraries/System.ComponentModel.TypeConverter/ref/System.ComponentModel.TypeConverter.cs @@ -1384,7 +1384,9 @@ internal TypeDescriptor() { } [System.Diagnostics.CodeAnalysis.DisallowNullAttribute] [System.ObsoleteAttribute("TypeDescriptor.ComNativeDescriptorHandler has been deprecated. Use a type description provider to supply type information for COM types instead.")] public static System.ComponentModel.IComNativeDescriptorHandler? ComNativeDescriptorHandler { get { throw null; } set { } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public static System.Type ComObjectType { [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] get { throw null; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public static System.Type InterfaceType { [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] get { throw null; } } public static event System.ComponentModel.RefreshEventHandler? Refreshed { add { } remove { } } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] diff --git a/src/libraries/System.Data.Common/ref/System.Data.Common.cs b/src/libraries/System.Data.Common/ref/System.Data.Common.cs index 5e664573d5ea6c..fc4963afd6a9e3 100644 --- a/src/libraries/System.Data.Common/ref/System.Data.Common.cs +++ b/src/libraries/System.Data.Common/ref/System.Data.Common.cs @@ -1577,6 +1577,7 @@ public enum SchemaType public enum SerializationFormat { Xml = 0, + [System.ObsoleteAttribute("SerializationFormat.Binary is obsolete and should not be used. See https://aka.ms/serializationformat-binary-obsolete for more information.", DiagnosticId = "SYSLIB0038")] Binary = 1, } public enum SqlDbType diff --git a/src/libraries/System.Data.Common/ref/System.Data.Common.manual.cs b/src/libraries/System.Data.Common/ref/System.Data.Common.manual.cs index 9a9414de07a424..9b265f8c7473f1 100644 --- a/src/libraries/System.Data.Common/ref/System.Data.Common.manual.cs +++ b/src/libraries/System.Data.Common/ref/System.Data.Common.manual.cs @@ -20,6 +20,7 @@ public partial class DataColumn [System.ComponentModel.DefaultValueAttribute(typeof(string))] [System.ComponentModel.RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties.All)] [System.ComponentModel.TypeConverter(typeof(ColumnTypeConverter))] + [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields)] [System.Diagnostics.CodeAnalysis.AllowNullAttribute] public System.Type DataType { get { throw null; } set { } } diff --git a/src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcParameterCollection.cs b/src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcParameterCollection.cs index c8f5d49405a6ed..b8ac40195211fb 100644 --- a/src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcParameterCollection.cs +++ b/src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcParameterCollection.cs @@ -64,7 +64,7 @@ public OdbcParameter Add(OdbcParameter value) } [EditorBrowsableAttribute(EditorBrowsableState.Never)] - [ObsoleteAttribute("Add(String parameterName, Object value) has been deprecated. Use AddWithValue(String parameterName, Object value) instead.")] + [Obsolete("Add(String parameterName, Object value) has been deprecated. Use AddWithValue(String parameterName, Object value) instead.")] public OdbcParameter Add(string? parameterName, object? value) { // MDAC 59206 diff --git a/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.cs b/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.cs index fb65b3f7120752..1a00318b1173aa 100644 --- a/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.cs +++ b/src/libraries/System.Data.OleDb/ref/System.Data.OleDb.cs @@ -32,6 +32,7 @@ public OleDbCommand(string? cmdText, System.Data.OleDb.OleDbConnection? connecti [System.ComponentModel.BrowsableAttribute(false)] [System.ComponentModel.DefaultValueAttribute(true)] [System.ComponentModel.DesignOnlyAttribute(true)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool DesignTimeVisible { get { throw null; } set { } } [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public new System.Data.OleDb.OleDbParameterCollection Parameters { get { throw null; } } diff --git a/src/libraries/System.Diagnostics.EventLog/src/System/Diagnostics/Reader/Winmeta.cs b/src/libraries/System.Diagnostics.EventLog/src/System/Diagnostics/Reader/Winmeta.cs index 1f5499596aaf4d..188f9d820f4d71 100644 --- a/src/libraries/System.Diagnostics.EventLog/src/System/Diagnostics/Reader/Winmeta.cs +++ b/src/libraries/System.Diagnostics.EventLog/src/System/Diagnostics/Reader/Winmeta.cs @@ -135,7 +135,7 @@ public enum StandardEventKeywords : long /// /// Incorrect CorrelationHint value mistakenly shipped in .NET 3.5. Don't use: duplicates AuditFailure. /// - [Obsolete("StandardEventKeywords.CorrelationHint has an incorrect value. Use CorrelationHint2 instead.")] + [Obsolete("StandardEventKeywords.CorrelationHint has an incorrect value and has been deprecated. Use CorrelationHint2 instead.")] CorrelationHint = 0x10000000000000, /// /// Transfer events where the related Activity ID is a computed value and not a GUID diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.cs b/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.cs index 625891cb5da929..fef74da8f09652 100644 --- a/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.cs +++ b/src/libraries/System.Diagnostics.PerformanceCounter/ref/System.Diagnostics.PerformanceCounter.cs @@ -93,7 +93,7 @@ public void CopyTo(System.Diagnostics.InstanceDataCollection[] counters, int ind } public sealed partial class PerformanceCounter : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize { - [System.ObsoleteAttribute("This field has been deprecated and is not used. Use machine.config or an application configuration file to set the size of the PerformanceCounter file mapping instead.")] + [System.ObsoleteAttribute("PerformanceCounter.DefaultFileMappingSize has been deprecated and is not used. Use machine.config or an application configuration file to set the size of the PerformanceCounter file mapping instead.")] public static int DefaultFileMappingSize; public PerformanceCounter() { } public PerformanceCounter(string categoryName, string counterName) { } diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounter.cs b/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounter.cs index 48ad029b33909b..fc134909ead504 100644 --- a/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounter.cs +++ b/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounter.cs @@ -35,7 +35,7 @@ public sealed class PerformanceCounter : Component, ISupportInitialize // Cached IP Shared Performanco counter private SharedPerformanceCounter _sharedCounter; - [ObsoleteAttribute("PerformanceCounter.DefaultFileMappingSize has been deprecated and is not used. Use machine.config or an application configuration file to set the size of the PerformanceCounter file mapping instead.")] + [Obsolete("PerformanceCounter.DefaultFileMappingSize has been deprecated and is not used. Use machine.config or an application configuration file to set the size of the PerformanceCounter file mapping instead.")] public static int DefaultFileMappingSize = 524288; private object _instanceLockObject; diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterManager.cs b/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterManager.cs index 4b68bfff1bfc9f..65e88281edebca 100644 --- a/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterManager.cs +++ b/src/libraries/System.Diagnostics.PerformanceCounter/src/System/Diagnostics/PerformanceCounterManager.cs @@ -7,18 +7,18 @@ namespace System.Diagnostics { public sealed class PerformanceCounterManager : ICollectData { - [ObsoleteAttribute("PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.")] + [Obsolete("PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.")] public PerformanceCounterManager() { } - [ObsoleteAttribute("PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.")] + [Obsolete("PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.")] void ICollectData.CollectData(int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, out IntPtr res) { res = (IntPtr)(-1); } - [ObsoleteAttribute("PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.")] + [Obsolete("PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.")] void ICollectData.CloseData() { } diff --git a/src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.cs b/src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.cs index 5dcecba7702110..0a8e1c5078582a 100644 --- a/src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.cs +++ b/src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.cs @@ -69,6 +69,8 @@ public Process() { } [System.ObsoleteAttribute("Process.PrivateMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PrivateMemorySize64 instead.")] public int PrivateMemorySize { get { throw null; } } public long PrivateMemorySize64 { get { throw null; } } + [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")] + [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")] public System.TimeSpan PrivilegedProcessorTime { get { throw null; } } public string ProcessName { get { throw null; } } [System.Runtime.Versioning.SupportedOSPlatform("windows")] @@ -81,6 +83,9 @@ public Process() { } public System.IO.StreamWriter StandardInput { get { throw null; } } public System.IO.StreamReader StandardOutput { get { throw null; } } public System.Diagnostics.ProcessStartInfo StartInfo { get { throw null; } set { } } + [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")] + [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")] + [System.Runtime.Versioning.SupportedOSPlatformAttribute("maccatalyst")] public System.DateTime StartTime { get { throw null; } } public System.ComponentModel.ISynchronizeInvoke? SynchronizingObject { get { throw null; } set { } } public System.Diagnostics.ProcessThreadCollection Threads { get { throw null; } } diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.FreeBSD.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.FreeBSD.cs index 6745f39caeaf11..6ae8084e465eb7 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.FreeBSD.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.FreeBSD.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.Runtime.InteropServices; +using System.Runtime.Versioning; namespace System.Diagnostics { @@ -26,6 +27,9 @@ internal DateTime StartTimeCore /// It is the sum of the and /// . /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get @@ -40,6 +44,9 @@ public TimeSpan TotalProcessorTime /// Gets the amount of time the associated process has spent running code /// inside the application portion of the process (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get @@ -52,6 +59,8 @@ public TimeSpan UserProcessorTime } /// Gets the amount of time the process has spent running code inside the operating system core. + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] public TimeSpan PrivilegedProcessorTime { get diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Linux.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Linux.cs index 5d5bf3b698464a..6d11915f3a7460 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Linux.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Linux.cs @@ -45,6 +45,8 @@ public static Process[] GetProcessesByName(string? processName, string machineNa } /// Gets the amount of time the process has spent running code inside the operating system core. + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] public TimeSpan PrivilegedProcessorTime { get @@ -127,6 +129,9 @@ private static DateTime BootTime /// It is the sum of the and /// . /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get @@ -140,6 +145,9 @@ public TimeSpan TotalProcessorTime /// Gets the amount of time the associated process has spent running code /// inside the application portion of the process (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.OSX.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.OSX.cs index 5cdc48581b00fc..3c8e48a9a6d2f5 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.OSX.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.OSX.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.ComponentModel; +using System.Runtime.Versioning; namespace System.Diagnostics { @@ -13,6 +14,8 @@ public partial class Process private const int MicrosecondsToSecondsFactor = 1_000_000; /// Gets the amount of time the process has spent running code inside the operating system core. + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] public TimeSpan PrivilegedProcessorTime { get @@ -52,6 +55,9 @@ private static string GetPathToOpenFile() /// It is the sum of the and /// . /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get @@ -66,6 +72,9 @@ public TimeSpan TotalProcessorTime /// Gets the amount of time the associated process has spent running code /// inside the application portion of the process (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.UnknownUnix.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.UnknownUnix.cs index 384ef4497db612..dbec04c746a7ca 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.UnknownUnix.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.UnknownUnix.cs @@ -18,6 +18,8 @@ public static Process[] GetProcessesByName(string? processName, string machineNa } /// Gets the amount of time the process has spent running code inside the operating system core. + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] public TimeSpan PrivilegedProcessorTime { get { throw new PlatformNotSupportedException(); } @@ -34,6 +36,9 @@ internal DateTime StartTimeCore /// It is the sum of the and /// . /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get { throw new PlatformNotSupportedException(); } @@ -43,6 +48,9 @@ public TimeSpan TotalProcessorTime /// Gets the amount of time the associated process has spent running code /// inside the application portion of the process (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get { throw new PlatformNotSupportedException(); } diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Windows.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Windows.cs index b01c29854a32ce..f2ccc3bf225d81 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Windows.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.Windows.cs @@ -235,6 +235,8 @@ private DateTime ExitTimeCore } /// Gets the amount of time the process has spent running code inside the operating system core. + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] public TimeSpan PrivilegedProcessorTime { get { return GetProcessTimes().PrivilegedProcessorTime; } @@ -251,6 +253,9 @@ internal DateTime StartTimeCore /// It is the sum of the and /// . /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get { return GetProcessTimes().TotalProcessorTime; } @@ -260,6 +265,9 @@ public TimeSpan TotalProcessorTime /// Gets the amount of time the associated process has spent running code /// inside the application portion of the process (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get { return GetProcessTimes().UserProcessorTime; } diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs index 7e4c4953f4d057..46bec3bd538e0d 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs @@ -327,7 +327,7 @@ public long NonpagedSystemMemorySize64 } } - [ObsoleteAttribute("Process.NonpagedSystemMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.NonpagedSystemMemorySize64 instead.")] + [Obsolete("Process.NonpagedSystemMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.NonpagedSystemMemorySize64 instead.")] public int NonpagedSystemMemorySize { get @@ -347,7 +347,7 @@ public long PagedMemorySize64 } } - [ObsoleteAttribute("Process.PagedMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PagedMemorySize64 instead.")] + [Obsolete("Process.PagedMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PagedMemorySize64 instead.")] public int PagedMemorySize { get @@ -367,7 +367,7 @@ public long PagedSystemMemorySize64 } } - [ObsoleteAttribute("Process.PagedSystemMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PagedSystemMemorySize64 instead.")] + [Obsolete("Process.PagedSystemMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PagedSystemMemorySize64 instead.")] public int PagedSystemMemorySize { get @@ -387,7 +387,7 @@ public long PeakPagedMemorySize64 } } - [ObsoleteAttribute("Process.PeakPagedMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakPagedMemorySize64 instead.")] + [Obsolete("Process.PeakPagedMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakPagedMemorySize64 instead.")] public int PeakPagedMemorySize { get @@ -406,7 +406,7 @@ public long PeakWorkingSet64 } } - [ObsoleteAttribute("Process.PeakWorkingSet has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakWorkingSet64 instead.")] + [Obsolete("Process.PeakWorkingSet has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakWorkingSet64 instead.")] public int PeakWorkingSet { get @@ -425,7 +425,7 @@ public long PeakVirtualMemorySize64 } } - [ObsoleteAttribute("Process.PeakVirtualMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakVirtualMemorySize64 instead.")] + [Obsolete("Process.PeakVirtualMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PeakVirtualMemorySize64 instead.")] public int PeakVirtualMemorySize { get @@ -500,7 +500,7 @@ public long PrivateMemorySize64 } } - [ObsoleteAttribute("Process.PrivateMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PrivateMemorySize64 instead.")] + [Obsolete("Process.PrivateMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.PrivateMemorySize64 instead.")] public int PrivateMemorySize { get @@ -627,7 +627,7 @@ public long VirtualMemorySize64 } } - [ObsoleteAttribute("Process.VirtualMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.VirtualMemorySize64 instead.")] + [Obsolete("Process.VirtualMemorySize has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.VirtualMemorySize64 instead.")] public int VirtualMemorySize { get @@ -750,7 +750,7 @@ public long WorkingSet64 } } - [ObsoleteAttribute("Process.WorkingSet has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.WorkingSet64 instead.")] + [Obsolete("Process.WorkingSet has been deprecated because the type of the property can't represent all valid results. Use System.Diagnostics.Process.WorkingSet64 instead.")] public int WorkingSet { get diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.iOS.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.iOS.cs index 70fb58c3b4cb08..34c91b992ce98f 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.iOS.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.iOS.cs @@ -52,6 +52,7 @@ internal static DateTime StartTimeCore /// [UnsupportedOSPlatform("ios")] [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get { throw new PlatformNotSupportedException(); } @@ -63,6 +64,7 @@ public TimeSpan TotalProcessorTime /// [UnsupportedOSPlatform("ios")] [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get { throw new PlatformNotSupportedException(); } diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.FreeBSD.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.FreeBSD.cs index c8d7abffeea918..3fd30ba9ba2c50 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.FreeBSD.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.FreeBSD.cs @@ -1,6 +1,8 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using System.Runtime.Versioning; + namespace System.Diagnostics { public partial class ProcessThread @@ -32,6 +34,9 @@ private ThreadPriorityLevel PriorityLevelCore /// It is the sum of the System.Diagnostics.ProcessThread.UserProcessorTime and /// System.Diagnostics.ProcessThread.PrivilegedProcessorTime. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get @@ -58,6 +63,9 @@ public TimeSpan UserProcessorTime /// Returns the amount of time the thread has spent running code inside the operating /// system core. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan PrivilegedProcessorTime { get diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Linux.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Linux.cs index 853c06dcdfa2c3..e9a8bd92e04a9f 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Linux.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Linux.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; +using System.Runtime.Versioning; using System.Text; namespace System.Diagnostics @@ -32,6 +33,9 @@ private ThreadPriorityLevel PriorityLevelCore /// Returns the amount of time the thread has spent running code inside the operating /// system core. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan PrivilegedProcessorTime { get @@ -48,6 +52,9 @@ public TimeSpan PrivilegedProcessorTime /// It is the sum of the System.Diagnostics.ProcessThread.UserProcessorTime and /// System.Diagnostics.ProcessThread.PrivilegedProcessorTime. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get @@ -61,6 +68,9 @@ public TimeSpan TotalProcessorTime /// Returns the amount of time the associated thread has spent running code /// inside the application (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.OSX.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.OSX.cs index 48690a3dd02991..4d96a4b294d5c0 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.OSX.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.OSX.cs @@ -1,6 +1,8 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using System.Runtime.Versioning; + namespace System.Diagnostics { public partial class ProcessThread @@ -23,6 +25,9 @@ private static ThreadPriorityLevel PriorityLevelCore /// Returns the amount of time the thread has spent running code inside the operating /// system core. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan PrivilegedProcessorTime => new TimeSpan((long)GetThreadInfo().pth_system_time); private static DateTime GetStartTime() => throw new PlatformNotSupportedException(); // macOS does not provide a way to get this data @@ -32,6 +37,9 @@ private static ThreadPriorityLevel PriorityLevelCore /// It is the sum of the System.Diagnostics.ProcessThread.UserProcessorTime and /// System.Diagnostics.ProcessThread.PrivilegedProcessorTime. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get @@ -45,6 +53,9 @@ public TimeSpan TotalProcessorTime /// Returns the amount of time the associated thread has spent running code /// inside the application (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime => new TimeSpan((long)GetThreadInfo().pth_user_time); private Interop.libproc.proc_threadinfo GetThreadInfo() diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.UnknownUnix.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.UnknownUnix.cs index 6d947625ddd6b3..c6d7f2a9e03f3b 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.UnknownUnix.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.UnknownUnix.cs @@ -1,6 +1,8 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. +using System.Runtime.Versioning; + namespace System.Diagnostics { public partial class ProcessThread @@ -20,6 +22,9 @@ private ThreadPriorityLevel PriorityLevelCore /// Returns the amount of time the thread has spent running code inside the operating /// system core. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan PrivilegedProcessorTime { get { throw new PlatformNotSupportedException(); } // Not available on POSIX @@ -32,6 +37,9 @@ public TimeSpan PrivilegedProcessorTime /// It is the sum of the System.Diagnostics.ProcessThread.UserProcessorTime and /// System.Diagnostics.ProcessThread.PrivilegedProcessorTime. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get { throw new PlatformNotSupportedException(); } // Not available on POSIX @@ -41,6 +49,9 @@ public TimeSpan TotalProcessorTime /// Returns the amount of time the associated thread has spent running code /// inside the application (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get { throw new PlatformNotSupportedException(); } // Not available on POSIX diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Windows.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Windows.cs index 85c96684c2bc70..7f67d4c861d213 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Windows.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Windows.cs @@ -119,6 +119,9 @@ public IntPtr ProcessorAffinity /// Returns the amount of time the thread has spent running code inside the operating /// system core. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan PrivilegedProcessorTime { get { return GetThreadTimes().PrivilegedProcessorTime; } @@ -131,6 +134,9 @@ public TimeSpan PrivilegedProcessorTime /// It is the sum of the System.Diagnostics.ProcessThread.UserProcessorTime and /// System.Diagnostics.ProcessThread.PrivilegedProcessorTime. /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get { return GetThreadTimes().TotalProcessorTime; } @@ -140,6 +146,9 @@ public TimeSpan TotalProcessorTime /// Returns the amount of time the associated thread has spent running code /// inside the application (not the operating system core). /// + [UnsupportedOSPlatform("ios")] + [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get { return GetThreadTimes().UserProcessorTime; } diff --git a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.iOS.cs b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.iOS.cs index 14aae34e6bf2f7..cbffba69569a6a 100644 --- a/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.iOS.cs +++ b/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.iOS.cs @@ -24,6 +24,7 @@ private static ThreadPriorityLevel PriorityLevelCore /// [UnsupportedOSPlatform("ios")] [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan PrivilegedProcessorTime { get { throw new PlatformNotSupportedException(); } @@ -37,6 +38,7 @@ public TimeSpan PrivilegedProcessorTime /// [UnsupportedOSPlatform("ios")] [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan TotalProcessorTime { get { throw new PlatformNotSupportedException(); } @@ -48,6 +50,7 @@ public TimeSpan TotalProcessorTime /// [UnsupportedOSPlatform("ios")] [UnsupportedOSPlatform("tvos")] + [SupportedOSPlatform("maccatalyst")] public TimeSpan UserProcessorTime { get { throw new PlatformNotSupportedException(); } diff --git a/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs b/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs index 48b9b6f8db8f96..0cd77f18253fd0 100644 --- a/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs +++ b/src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs @@ -449,7 +449,7 @@ public override long AvailableFreeSpace } [CLSCompliant(false)] - [Obsolete("IsolatedStorage.MaximumSize has been deprecated because it is not CLS Compliant. To get the maximum size use IsolatedStorage.Quota instead.")] + [Obsolete("IsolatedStorageFile.MaximumSize has been deprecated because it is not CLS Compliant. To get the maximum size use IsolatedStorageFile.Quota instead.")] public override ulong MaximumSize { get @@ -475,7 +475,7 @@ public override long UsedSize } [CLSCompliant(false)] - [Obsolete("IsolatedStorage.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorage.UsedSize instead.")] + [Obsolete("IsolatedStorageFile.CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorageFile.UsedSize instead.")] public override ulong CurrentSize { get diff --git a/src/libraries/System.Net.Http/ref/System.Net.Http.cs b/src/libraries/System.Net.Http/ref/System.Net.Http.cs index b98f4ff8abc968..debcc28d0119a5 100644 --- a/src/libraries/System.Net.Http/ref/System.Net.Http.cs +++ b/src/libraries/System.Net.Http/ref/System.Net.Http.cs @@ -139,6 +139,8 @@ public HttpClientHandler() { } public bool PreAuthenticate { get { throw null; } set { } } public System.Collections.Generic.IDictionary Properties { get { throw null; } } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] + [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")] + [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")] public System.Net.IWebProxy? Proxy { get { throw null; } set { } } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public System.Func? ServerCertificateCustomValidationCallback { get { throw null; } set { } } diff --git a/src/libraries/System.Net.NetworkInformation/ref/System.Net.NetworkInformation.cs b/src/libraries/System.Net.NetworkInformation/ref/System.Net.NetworkInformation.cs index 66ab317a7d93de..7e5c95ee00f7bb 100644 --- a/src/libraries/System.Net.NetworkInformation/ref/System.Net.NetworkInformation.cs +++ b/src/libraries/System.Net.NetworkInformation/ref/System.Net.NetworkInformation.cs @@ -238,6 +238,10 @@ protected IPInterfaceStatistics() { } public abstract long IncomingUnknownProtocolPackets { get; } public abstract long NonUnicastPacketsReceived { get; } public abstract long NonUnicastPacketsSent { get; } + [System.Runtime.Versioning.UnsupportedOSPlatform("osx")] + [System.Runtime.Versioning.UnsupportedOSPlatform("ios")] + [System.Runtime.Versioning.UnsupportedOSPlatform("tvos")] + [System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")] public abstract long OutgoingPacketsDiscarded { get; } public abstract long OutgoingPacketsWithErrors { get; } public abstract long OutputQueueLength { get; } @@ -270,6 +274,10 @@ protected IPv4InterfaceStatistics() { } public abstract long IncomingUnknownProtocolPackets { get; } public abstract long NonUnicastPacketsReceived { get; } public abstract long NonUnicastPacketsSent { get; } + [System.Runtime.Versioning.UnsupportedOSPlatform("osx")] + [System.Runtime.Versioning.UnsupportedOSPlatform("ios")] + [System.Runtime.Versioning.UnsupportedOSPlatform("tvos")] + [System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")] public abstract long OutgoingPacketsDiscarded { get; } public abstract long OutgoingPacketsWithErrors { get; } public abstract long OutputQueueLength { get; } @@ -345,8 +353,12 @@ public abstract partial class NetworkInterface protected NetworkInterface() { } public virtual string Description { get { throw null; } } public virtual string Id { get { throw null; } } + [System.Runtime.Versioning.UnsupportedOSPlatform("illumos")] + [System.Runtime.Versioning.UnsupportedOSPlatform("solaris")] public static int IPv6LoopbackInterfaceIndex { get { throw null; } } public virtual bool IsReceiveOnly { get { throw null; } } + [System.Runtime.Versioning.UnsupportedOSPlatform("illumos")] + [System.Runtime.Versioning.UnsupportedOSPlatform("solaris")] public static int LoopbackInterfaceIndex { get { throw null; } } public virtual string Name { get { throw null; } } public virtual System.Net.NetworkInformation.NetworkInterfaceType NetworkInterfaceType { get { throw null; } } diff --git a/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs b/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs index d3217006244b61..6aa30c59700426 100644 --- a/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs +++ b/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs @@ -232,7 +232,7 @@ public IPAddress(byte[] address, long scopeid) { } public IPAddress(long newAddress) { } public IPAddress(System.ReadOnlySpan address) { } public IPAddress(System.ReadOnlySpan address, long scopeid) { } - [System.ObsoleteAttribute("IPAddress.Address is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons.")] + [System.ObsoleteAttribute("IPAddress.Address is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons instead.")] public long Address { get { throw null; } set { } } public System.Net.Sockets.AddressFamily AddressFamily { get { throw null; } } public bool IsIPv4MappedToIPv6 { get { throw null; } } diff --git a/src/libraries/System.Net.ServicePoint/src/System/Net/SecurityProtocolType.cs b/src/libraries/System.Net.ServicePoint/src/System/Net/SecurityProtocolType.cs index 13c9914ac05e70..817c50cb716709 100644 --- a/src/libraries/System.Net.ServicePoint/src/System/Net/SecurityProtocolType.cs +++ b/src/libraries/System.Net.ServicePoint/src/System/Net/SecurityProtocolType.cs @@ -10,6 +10,7 @@ public enum SecurityProtocolType { SystemDefault = 0, #pragma warning disable CS0618 + [Obsolete("SecurityProtocolType.Ssl3 has been deprecated and is not supported.")] Ssl3 = SslProtocols.Ssl3, #pragma warning restore CS0618 #pragma warning disable SYSLIB0039 // TLS 1.0 and 1.1 are obsolete diff --git a/src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs b/src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs index 3879a325857afb..3a2c37f0048d0b 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs @@ -83,6 +83,7 @@ public virtual IEnumerable ExportedTypes internal const string ThrowingMessageInRAF = "This member throws an exception for assemblies embedded in a single-file app"; + [Obsolete("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.", DiagnosticId = "SYSLIB0012", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [RequiresAssemblyFiles(ThrowingMessageInRAF)] public virtual string? CodeBase => throw NotImplemented.ByDesign; public virtual MethodInfo? EntryPoint => throw NotImplemented.ByDesign; @@ -118,6 +119,7 @@ public virtual IEnumerable ExportedTypes public virtual object[] GetCustomAttributes(bool inherit) { throw NotImplemented.ByDesign; } public virtual object[] GetCustomAttributes(Type attributeType, bool inherit) { throw NotImplemented.ByDesign; } + [Obsolete("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.", DiagnosticId = "SYSLIB0012", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [RequiresAssemblyFiles(ThrowingMessageInRAF)] public virtual string EscapedCodeBase => AssemblyName.EscapeCodeBase(CodeBase); diff --git a/src/libraries/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs b/src/libraries/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs index 4a68f23ab51f00..2bfa12615cda14 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs @@ -8,6 +8,7 @@ namespace System.Reflection.Emit { public sealed partial class AssemblyBuilder : Assembly { + [System.ObsoleteAttribute("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location instead.", DiagnosticId = "SYSLIB0012", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [RequiresAssemblyFiles(ThrowingMessageInRAF)] public override string? CodeBase => throw new NotSupportedException(SR.NotSupported_DynamicAssembly); public override string Location => string.Empty; diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/UnmanagedType.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/UnmanagedType.cs index 2f03929f441747..cc528f16a0da19 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/UnmanagedType.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/UnmanagedType.cs @@ -16,6 +16,8 @@ public enum UnmanagedType U8 = 0xa, // 8 byte unsigned value R4 = 0xb, // 4 byte floating point R8 = 0xc, // 8 byte floating point + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("Marshalling as Currency may be unavailable in future releases.")] Currency = 0xf, // A currency BStr = 0x13, // OLE Unicode BSTR LPStr = 0x14, // Ptr to SBCS string @@ -23,18 +25,30 @@ public enum UnmanagedType LPTStr = 0x16, // Ptr to OS preferred (SBCS/Unicode) string ByValTStr = 0x17, // OS preferred (SBCS/Unicode) inline string (only valid in structs) IUnknown = 0x19, // COM IUnknown pointer. + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] IDispatch = 0x1a, // COM IDispatch pointer + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] Struct = 0x1b, // Structure Interface = 0x1c, // COM interface + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] SafeArray = 0x1d, // OLE SafeArray ByValArray = 0x1e, // Array of fixed size (only valid in structs) SysInt = 0x1f, // Hardware natural sized signed integer SysUInt = 0x20, + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("Marshalling as VBByRefString may be unavailable in future releases.")] VBByRefStr = 0x22, + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("Marshalling as AnsiBStr may be unavailable in future releases.")] AnsiBStr = 0x23, // OLE BSTR containing SBCS characters + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("Marshalling as TBstr may be unavailable in future releases.")] TBStr = 0x24, // Ptr to OS preferred (SBCS/Unicode) BSTR + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] VariantBool = 0x25, // OLE defined BOOLEAN (2 bytes, true == -1, false == 0) FunctionPtr = 0x26, // Function pointer + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("Marshalling arbitrary types may be unavailable in future releases. Specify the type you wish to marshal as.")] AsAny = 0x28, // Paired with Object type and does runtime marshalling determination LPArray = 0x2a, // C style array LPStruct = 0x2b, // Pointer to a structure diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs index 35c8e0376da413..fab44052cead1b 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs @@ -452,7 +452,7 @@ public static void EndThreadAffinity() { } public static object? GetData(LocalDataStoreSlot slot) => LocalDataStore.GetData(slot); public static void SetData(LocalDataStoreSlot slot, object? data) => LocalDataStore.SetData(slot, data); - [Obsolete("The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState.")] + [Obsolete("The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.")] public ApartmentState ApartmentState { get => GetApartmentState(); diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/WaitHandle.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/WaitHandle.cs index ea799f79acb24b..d1f73904b6d11f 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/WaitHandle.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/WaitHandle.cs @@ -40,7 +40,7 @@ protected WaitHandle() { } - [Obsolete("WaitHandleHandle has been deprecated. Use the SafeWaitHandle property instead.")] + [Obsolete("WaitHandle.Handle has been deprecated. Use the SafeWaitHandle property instead.")] public virtual IntPtr Handle { get => _waitHandle == null ? InvalidHandle : _waitHandle.DangerousGetHandle(); diff --git a/src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.cs b/src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.cs index 7e4679ed8de1cb..fe1f97b0d6e873 100644 --- a/src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.cs +++ b/src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.cs @@ -10,6 +10,7 @@ public sealed partial class AssemblyBuilder : System.Reflection.Assembly { internal AssemblyBuilder() { } [System.ObsoleteAttribute("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location instead.", DiagnosticId = "SYSLIB0012", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute("This member throws an exception for assemblies embedded in a single-file app")] public override string? CodeBase { get { throw null; } } public override System.Reflection.MethodInfo? EntryPoint { get { throw null; } } public override string? FullName { get { throw null; } } @@ -355,10 +356,12 @@ public partial class ModuleBuilder : System.Reflection.Module { internal ModuleBuilder() { } public override System.Reflection.Assembly Assembly { get { throw null; } } + [System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute("Returns for modules with no file path")] public override string FullyQualifiedName { get { throw null; } } public override int MDStreamVersion { get { throw null; } } public override int MetadataToken { get { throw null; } } public override System.Guid ModuleVersionId { get { throw null; } } + [System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute("Returns for modules with no file path")] public override string Name { get { throw null; } } public override string ScopeName { get { throw null; } } public void CreateGlobalFunctions() { } diff --git a/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.cs b/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.cs index ffc73f82cccaa6..143f18ff37707b 100644 --- a/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.cs +++ b/src/libraries/System.Security.Permissions/ref/System.Security.Permissions.cs @@ -1407,10 +1407,10 @@ public sealed partial class ReflectionPermissionAttribute : System.Security.Perm public ReflectionPermissionAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { } public System.Security.Permissions.ReflectionPermissionFlag Flags { get { throw null; } set { } } public bool MemberAccess { get { throw null; } set { } } - [System.ObsoleteAttribute] + [System.ObsoleteAttribute("ReflectionPermissionAttribute.ReflectionEmit has been deprecated and is not supported.")] public bool ReflectionEmit { get { throw null; } set { } } public bool RestrictedMemberAccess { get { throw null; } set { } } - [System.ObsoleteAttribute] + [System.ObsoleteAttribute("ReflectionPermissionAttribute.TypeInformation has been deprecated and is not supported.")] public bool TypeInformation { get { throw null; } set { } } public override System.Security.IPermission CreatePermission() { throw null; } } @@ -1421,12 +1421,12 @@ public ReflectionPermissionAttribute(System.Security.Permissions.SecurityAction public enum ReflectionPermissionFlag { NoFlags = 0, - [System.ObsoleteAttribute] + [System.ObsoleteAttribute("ReflectionPermissionFlag.TypeInformation has been deprecated and is not supported.")] TypeInformation = 1, MemberAccess = 2, - [System.ObsoleteAttribute] + [System.ObsoleteAttribute("ReflectionPermissionFlag.ReflectionEmit has been deprecated and is not supported.")] ReflectionEmit = 4, - [System.ObsoleteAttribute] + [System.ObsoleteAttribute("ReflectionPermissionFlag.AllFlags has been deprecated. Use PermissionState.Unrestricted to get full access.")] AllFlags = 7, RestrictedMemberAccess = 8, } @@ -1469,7 +1469,7 @@ public enum RegistryPermissionAccess public sealed partial class RegistryPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute { public RegistryPermissionAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { } - [System.ObsoleteAttribute] + [System.ObsoleteAttribute("RegistryPermissionAttribute.Add has been deprecated. Use ViewAndModify instead.")] public string All { get { throw null; } set { } } public string ChangeAccessControl { get { throw null; } set { } } public string Create { get { throw null; } set { } } From eb22a51f46c90b0aa98bda016a478b14f97ad486 Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Mon, 25 Apr 2022 08:57:15 -0700 Subject: [PATCH 2/6] Fix some build breaks due to obsoleted API --- .../src/System/Reflection/Runtime/General/NonOverriddenApis.cs | 2 ++ .../src/System/Reflection/RuntimeAssembly.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/src/coreclr/nativeaot/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs b/src/coreclr/nativeaot/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs index d0acc96a86196d..61a8b4d76801e6 100644 --- a/src/coreclr/nativeaot/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs +++ b/src/coreclr/nativeaot/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs @@ -41,7 +41,9 @@ internal partial class RuntimeAssemblyInfo public sealed override bool IsDynamic => base.IsDynamic; public sealed override string ToString() => base.ToString(); [RequiresAssemblyFilesAttribute("The code will return an empty string for assemblies embedded in a single-file app")] +#pragma warning disable SYSLIB0012 public sealed override string EscapedCodeBase => base.EscapedCodeBase; +#pragma warning restore SYSLIB0012 [RequiresAssemblyFiles("The code will throw for assemblies embedded in a single-file app")] public sealed override FileStream[] GetFiles() => base.GetFiles(); #endif //DEBUG diff --git a/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs b/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs index c1d33f9e061f4d..683064a1a2d505 100644 --- a/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs +++ b/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs @@ -89,6 +89,7 @@ public override MethodInfo? EntryPoint public override bool ReflectionOnly => false; + [Obsolete("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.", DiagnosticId = "SYSLIB0012", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [RequiresAssemblyFiles(ThrowingMessageInRAF)] public override string? CodeBase => GetInfo(AssemblyInfoKind.CodeBase); From 5e244ac572001ec3580888d148e1d9dc4c96350d Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Mon, 25 Apr 2022 12:14:21 -0700 Subject: [PATCH 3/6] Fix remaining attribute inconsistencies --- .../src/System/Threading/Overlapped.cs | 2 +- .../System.Speech/ref/System.Speech.cs | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Threading/Overlapped.cs b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Threading/Overlapped.cs index ad1dd5a23c663c..5f19c2e521328a 100644 --- a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Threading/Overlapped.cs +++ b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Threading/Overlapped.cs @@ -207,7 +207,7 @@ public int OffsetHigh set { _overlappedData.OffsetHigh = value; } } - [Obsolete("This property is not 64-bit compatible. Use EventHandleIntPtr instead. http://go.microsoft.com/fwlink/?linkid=14202")] + [Obsolete("Overlapped.EventHandle is not 64-bit compatible and has been deprecated. Use EventHandleIntPtr instead.")] public int EventHandle { get { return EventHandleIntPtr.ToInt32(); } diff --git a/src/libraries/System.Speech/ref/System.Speech.cs b/src/libraries/System.Speech/ref/System.Speech.cs index 65fa54c3647476..6f08ed783ab8a6 100644 --- a/src/libraries/System.Speech/ref/System.Speech.cs +++ b/src/libraries/System.Speech/ref/System.Speech.cs @@ -32,11 +32,11 @@ public partial class SpeechAudioFormatInfo public SpeechAudioFormatInfo(int samplesPerSecond, System.Speech.AudioFormat.AudioBitsPerSample bitsPerSample, System.Speech.AudioFormat.AudioChannel channel) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public SpeechAudioFormatInfo(System.Speech.AudioFormat.EncodingFormat encodingFormat, int samplesPerSecond, int bitsPerSample, int channelCount, int averageBytesPerSecond, int blockAlign, byte[] formatSpecificData) { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public int AverageBytesPerSecond { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public int BitsPerSample { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public int BlockAlign { get { throw null; } } public int ChannelCount { get { throw null; } } public System.Speech.AudioFormat.EncodingFormat EncodingFormat { get { throw null; } } @@ -337,14 +337,14 @@ public SpeechRecognitionEngine(string recognizerId) { } public int AudioLevel { get { throw null; } } public System.TimeSpan AudioPosition { get { throw null; } } public System.Speech.Recognition.AudioState AudioState { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.TimeSpan BabbleTimeout { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.TimeSpan EndSilenceTimeout { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.TimeSpan EndSilenceTimeoutAmbiguous { get { throw null; } set { } } public System.Collections.ObjectModel.ReadOnlyCollection Grammars { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.TimeSpan InitialSilenceTimeout { get { throw null; } set { } } public int MaxAlternates { get { throw null; } set { } } public System.TimeSpan RecognizerAudioPosition { get { throw null; } } @@ -909,7 +909,7 @@ public enum VoiceGender public partial class VoiceInfo { internal VoiceInfo() { } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.Collections.Generic.IDictionary AdditionalInfo { get { throw null; } } public System.Speech.Synthesis.VoiceAge Age { get { throw null; } } public System.Globalization.CultureInfo Culture { get { throw null; } } @@ -917,7 +917,7 @@ internal VoiceInfo() { } public System.Speech.Synthesis.VoiceGender Gender { get { throw null; } } public string Id { get { throw null; } } public string Name { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] public System.Collections.ObjectModel.ReadOnlyCollection SupportedAudioFormats { get { throw null; } } public override bool Equals(object obj) { throw null; } public override int GetHashCode() { throw null; } From a04d826c33103613bbde37deeb52954e642355ac Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Mon, 25 Apr 2022 12:16:08 -0700 Subject: [PATCH 4/6] Update API compat baselines for the shared framework. --- ...iCompatBaseline.NetCoreAppLatestStable.txt | 9 +- .../ApiCompatBaseline.netstandard2.0.txt | 401 +++++++++++++++++- .../ApiCompatBaseline.netstandard2.1.txt | 136 +++++- 3 files changed, 543 insertions(+), 3 deletions(-) diff --git a/src/libraries/apicompat/ApiCompatBaseline.NetCoreAppLatestStable.txt b/src/libraries/apicompat/ApiCompatBaseline.NetCoreAppLatestStable.txt index c00a7b08e06e07..0fbd06ca148419 100644 --- a/src/libraries/apicompat/ApiCompatBaseline.NetCoreAppLatestStable.txt +++ b/src/libraries/apicompat/ApiCompatBaseline.NetCoreAppLatestStable.txt @@ -1,4 +1,5 @@ Compat issues with assembly mscorlib: +CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.RequiresPreviewFeaturesAttribute' exists on 'System.String System.Runtime.CompilerServices.RuntimeFeature.VirtualStaticsInInterfaces' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' exists on 'System.Security.Cryptography.Aes' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' exists on 'System.Security.Cryptography.AsymmetricKeyExchangeDeformatter' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' exists on 'System.Security.Cryptography.AsymmetricKeyExchangeFormatter' in the contract but not the implementation. @@ -30,6 +31,7 @@ CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatfo Compat issues with assembly netstandard: CannotChangeAttribute : Attribute 'System.Runtime.Versioning.SupportedOSPlatformAttribute' on 'System.Diagnostics.Process.MaxWorkingSet.set(System.IntPtr)' changed from '[SupportedOSPlatformAttribute("freebsd")]' in the contract to '[SupportedOSPlatformAttribute("freebsd")]' in the implementation. CannotChangeAttribute : Attribute 'System.Runtime.Versioning.SupportedOSPlatformAttribute' on 'System.Diagnostics.Process.MinWorkingSet.set(System.IntPtr)' changed from '[SupportedOSPlatformAttribute("freebsd")]' in the contract to '[SupportedOSPlatformAttribute("freebsd")]' in the implementation. +CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.Net.Http.HttpClientHandler.Proxy' changed from '[UnsupportedOSPlatformAttribute("browser")]' in the contract to '[UnsupportedOSPlatformAttribute("browser")]' in the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.CopyTo(System.Span)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.CopyTo(System.Span)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.CopyTo(T[])' in the contract but not the implementation. @@ -43,6 +45,7 @@ CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAtt CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.ToString(System.String, System.IFormatProvider)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.TryCopyTo(System.Span)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.TryCopyTo(System.Span)' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.RequiresPreviewFeaturesAttribute' exists on 'System.String System.Runtime.CompilerServices.RuntimeFeature.VirtualStaticsInInterfaces' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' exists on 'System.Security.Cryptography.Aes' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' exists on 'System.Security.Cryptography.AsymmetricKeyExchangeDeformatter' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' exists on 'System.Security.Cryptography.AsymmetricKeyExchangeFormatter' in the contract but not the implementation. @@ -89,6 +92,8 @@ CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatfo Compat issues with assembly System.Diagnostics.Process: CannotChangeAttribute : Attribute 'System.Runtime.Versioning.SupportedOSPlatformAttribute' on 'System.Diagnostics.Process.MaxWorkingSet.set(System.IntPtr)' changed from '[SupportedOSPlatformAttribute("freebsd")]' in the contract to '[SupportedOSPlatformAttribute("freebsd")]' in the implementation. CannotChangeAttribute : Attribute 'System.Runtime.Versioning.SupportedOSPlatformAttribute' on 'System.Diagnostics.Process.MinWorkingSet.set(System.IntPtr)' changed from '[SupportedOSPlatformAttribute("freebsd")]' in the contract to '[SupportedOSPlatformAttribute("freebsd")]' in the implementation. +Compat issues with assembly System.Net.Http: +CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.Net.Http.HttpClientHandler.Proxy' changed from '[UnsupportedOSPlatformAttribute("browser")]' in the contract to '[UnsupportedOSPlatformAttribute("browser")]' in the implementation. Compat issues with assembly System.Net.Security: CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' exists on 'System.Net.Security.SslCertificateTrust.CreateForX509Collection(System.Security.Cryptography.X509Certificates.X509Certificate2Collection, System.Boolean)' in the contract but not the implementation. Compat issues with assembly System.Numerics.Vectors: @@ -105,6 +110,8 @@ CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAtt CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.ToString(System.String, System.IFormatProvider)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.TryCopyTo(System.Span)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.TryCopyTo(System.Span)' in the contract but not the implementation. +Compat issues with assembly System.Runtime: +CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.RequiresPreviewFeaturesAttribute' exists on 'System.String System.Runtime.CompilerServices.RuntimeFeature.VirtualStaticsInInterfaces' in the contract but not the implementation. Compat issues with assembly System.Runtime.Intrinsics: MembersMustExist : Member 'public System.Runtime.Intrinsics.Vector128 System.Runtime.Intrinsics.Vector128.As(System.Runtime.Intrinsics.Vector128)' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'public System.Runtime.Intrinsics.Vector256 System.Runtime.Intrinsics.Vector256.As(System.Runtime.Intrinsics.Vector256)' does not exist in the implementation but it does exist in the contract. @@ -144,4 +151,4 @@ CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatfo CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' exists on 'System.Security.Cryptography.TripleDES' in the contract but not the implementation. Compat issues with assembly System.Security.Cryptography.X509Certificates: CannotChangeAttribute : Attribute 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' on 'System.Security.Cryptography.X509Certificates.PublicKey.GetDSAPublicKey()' changed from '[UnsupportedOSPlatformAttribute("ios")]' in the contract to '[UnsupportedOSPlatformAttribute("browser")]' in the implementation. -Total Issues: 136 +Total Issues: 141 diff --git a/src/libraries/apicompat/ApiCompatBaseline.netstandard2.0.txt b/src/libraries/apicompat/ApiCompatBaseline.netstandard2.0.txt index 64a79cd3476c11..455440e0b1c646 100644 --- a/src/libraries/apicompat/ApiCompatBaseline.netstandard2.0.txt +++ b/src/libraries/apicompat/ApiCompatBaseline.netstandard2.0.txt @@ -11,12 +11,17 @@ TypeCannotChangeClassification : Type 'System.RuntimeArgumentHandle' is a 'ref s TypeCannotChangeClassification : Type 'System.TypedReference' is a 'ref struct' in the implementation but is a 'struct' in the contract. CannotRemoveAttribute : Attribute 'System.Runtime.InteropServices.DispIdAttribute' exists on 'System.Collections.IEnumerable.GetEnumerator()' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.BackgroundWorker.CancellationPending' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.BackgroundWorker.IsBusy' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.ComponentModel.BackgroundWorker.WorkerReportsProgress' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.ComponentModel.BackgroundWorker.WorkerSupportsCancellation' in the contract but not the implementation. CannotSealType : Type 'System.ComponentModel.BaseNumberConverter' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'protected void System.ComponentModel.BaseNumberConverter..ctor()' does not exist in the implementation but it does exist in the contract. CannotMakeMemberNonVirtual : Member 'public System.Boolean System.ComponentModel.BaseNumberConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Type)' is non-virtual in the implementation but is virtual in the contract. CannotMakeMemberNonVirtual : Member 'public System.Boolean System.ComponentModel.BaseNumberConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Type)' is non-virtual in the implementation but is virtual in the contract. CannotMakeMemberNonVirtual : Member 'public System.Object System.ComponentModel.BaseNumberConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)' is non-virtual in the implementation but is virtual in the contract. CannotMakeMemberNonVirtual : Member 'public System.Object System.ComponentModel.BaseNumberConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object, System.Type)' is non-virtual in the implementation but is virtual in the contract. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.RunWorkerCompletedEventArgs.UserState' in the contract but not the implementation. CannotSealType : Type 'System.Data.Constraint' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'protected void System.Data.Constraint..ctor()' does not exist in the implementation but it does exist in the contract. CannotMakeMemberNonVirtual : Member 'public System.String System.Data.Constraint.ConstraintName' is non-virtual in the implementation but is virtual in the contract. @@ -29,8 +34,130 @@ CannotMakeMemberNonVirtual : Member 'public System.String System.Data.Constraint CannotMakeMemberNonVirtual : Member 'protected System.Data.DataSet System.Data.Constraint._DataSet.get()' is non-virtual in the implementation but is virtual in the contract. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.BasePriority' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.Process.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ExitCode' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ExitCode' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ExitTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ExitTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Handle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Handle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.HandleCount' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.HasExited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.HasExited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Id' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.MachineName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MachineName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.MainModule' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainModule' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainWindowHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainWindowTitle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MaxWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MinWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Modules' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Modules' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.NonpagedSystemMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.NonpagedSystemMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedSystemMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedSystemMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakPagedMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakPagedMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakVirtualMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakVirtualMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakWorkingSet64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PriorityBoostEnabled' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PriorityClass' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivateMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivateMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivilegedProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ProcessName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ProcessorAffinity' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Responding' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.SafeHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.SafeHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.SessionId' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StartInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StartInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StartTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.Process.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Threads' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Threads' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.TotalProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.UserProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.VirtualMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.VirtualMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.WorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.WorkingSet64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ErrorDataReceived' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Diagnostics.Process.Exited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.OutputDataReceived' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessModule.FileVersionInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.CreateNoWindow' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.CreateNoWindow' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Domain' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialog' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialog' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialogParentHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialogParentHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.LoadUserProfile' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.PasswordInClearText' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.PasswordInClearText' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UserName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UseShellExecute' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UseShellExecute' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verb' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verbs' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verbs' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WindowStyle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessThread.IdealProcessor' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessThread.ProcessorAffinity' in the contract but not the implementation. CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.Filter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.IO.FileSystemWatcher.Filter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.IncludeSubdirectories' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.InternalBufferSize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.InternalBufferSize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.NotifyFilter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.Path' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.IO.FileSystemWatcher.Path' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.Site' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.Error' in the contract but not the implementation. CannotSealType : Type 'System.Linq.EnumerableExecutor' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'protected void System.Linq.EnumerableExecutor..ctor()' does not exist in the implementation but it does exist in the contract. CannotSealType : Type 'System.Linq.EnumerableQuery' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. @@ -39,6 +166,14 @@ CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProces CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.InsertAt(System.Int32, System.Char)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.RemoveAt(System.Int32)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.SetAt(System.Int32, System.Char)' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.Runtime.Serialization.OptionalFieldAttribute' exists on 'System.TimeSpan System.Text.RegularExpressions.Regex.internalMatchTimeout' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.AutoReset' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Enabled' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Timers.Timer.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Elapsed' in the contract but not the implementation. CannotSealType : Type 'System.Xml.Schema.XmlSchemaDatatype' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'protected void System.Xml.Schema.XmlSchemaDatatype..ctor()' does not exist in the implementation but it does exist in the contract. CannotMakeMemberNonVirtual : Member 'public System.Xml.XmlTokenizedType System.Xml.Schema.XmlSchemaDatatype.TokenizedType' is non-virtual in the implementation but is virtual in the contract. @@ -59,18 +194,158 @@ CannotMakeMemberNonVirtual : Member 'public System.Xml.Schema.XmlSchemaObjectCol CannotMakeMemberNonVirtual : Member 'public System.Xml.Schema.XmlSchemaObjectCollection System.Xml.Schema.XmlSchemaGroupBase.Items.get()' is non-virtual in the implementation but is virtual in the contract. Compat issues with assembly System: CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.BackgroundWorker.CancellationPending' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.BackgroundWorker.IsBusy' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.ComponentModel.BackgroundWorker.WorkerReportsProgress' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.ComponentModel.BackgroundWorker.WorkerSupportsCancellation' in the contract but not the implementation. CannotSealType : Type 'System.ComponentModel.BaseNumberConverter' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'protected void System.ComponentModel.BaseNumberConverter..ctor()' does not exist in the implementation but it does exist in the contract. CannotMakeMemberNonVirtual : Member 'public System.Boolean System.ComponentModel.BaseNumberConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Type)' is non-virtual in the implementation but is virtual in the contract. CannotMakeMemberNonVirtual : Member 'public System.Boolean System.ComponentModel.BaseNumberConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Type)' is non-virtual in the implementation but is virtual in the contract. CannotMakeMemberNonVirtual : Member 'public System.Object System.ComponentModel.BaseNumberConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)' is non-virtual in the implementation but is virtual in the contract. CannotMakeMemberNonVirtual : Member 'public System.Object System.ComponentModel.BaseNumberConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object, System.Type)' is non-virtual in the implementation but is virtual in the contract. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.RunWorkerCompletedEventArgs.UserState' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.BasePriority' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.Process.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ExitCode' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ExitCode' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ExitTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ExitTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Handle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Handle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.HandleCount' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.HasExited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.HasExited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Id' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.MachineName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MachineName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.MainModule' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainModule' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainWindowHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainWindowTitle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MaxWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MinWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Modules' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Modules' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.NonpagedSystemMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.NonpagedSystemMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedSystemMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedSystemMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakPagedMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakPagedMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakVirtualMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakVirtualMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakWorkingSet64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PriorityBoostEnabled' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PriorityClass' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivateMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivateMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivilegedProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ProcessName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ProcessorAffinity' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Responding' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.SafeHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.SafeHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.SessionId' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StartInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StartInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StartTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.Process.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Threads' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Threads' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.TotalProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.UserProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.VirtualMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.VirtualMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.WorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.WorkingSet64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ErrorDataReceived' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Diagnostics.Process.Exited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.OutputDataReceived' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessModule.FileVersionInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.CreateNoWindow' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.CreateNoWindow' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Domain' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialog' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialog' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialogParentHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialogParentHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.LoadUserProfile' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.PasswordInClearText' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.PasswordInClearText' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UserName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UseShellExecute' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UseShellExecute' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verb' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verbs' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verbs' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WindowStyle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessThread.IdealProcessor' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessThread.ProcessorAffinity' in the contract but not the implementation. CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]' in the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.Filter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.IO.FileSystemWatcher.Filter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.IncludeSubdirectories' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.InternalBufferSize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.InternalBufferSize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.NotifyFilter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.Path' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.IO.FileSystemWatcher.Path' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.Site' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.Error' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.Runtime.Serialization.OptionalFieldAttribute' exists on 'System.TimeSpan System.Text.RegularExpressions.Regex.internalMatchTimeout' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.AutoReset' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Enabled' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Timers.Timer.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Elapsed' in the contract but not the implementation. Compat issues with assembly System.ComponentModel.EventBasedAsync: CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.BackgroundWorker.CancellationPending' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.BackgroundWorker.IsBusy' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.ComponentModel.BackgroundWorker.WorkerReportsProgress' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.ComponentModel.BackgroundWorker.WorkerSupportsCancellation' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.RunWorkerCompletedEventArgs.UserState' in the contract but not the implementation. Compat issues with assembly System.ComponentModel.TypeConverter: CannotSealType : Type 'System.ComponentModel.BaseNumberConverter' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'protected void System.ComponentModel.BaseNumberConverter..ctor()' does not exist in the implementation but it does exist in the contract. @@ -97,8 +372,130 @@ CannotMakeMemberNonVirtual : Member 'protected System.Data.DataSet System.Data.C Compat issues with assembly System.Diagnostics.Process: CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.BasePriority' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.Process.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ExitCode' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ExitCode' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ExitTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ExitTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Handle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Handle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.HandleCount' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.HasExited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.HasExited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Id' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.MachineName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MachineName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.MainModule' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainModule' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainWindowHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainWindowTitle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MaxWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MinWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Modules' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Modules' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.NonpagedSystemMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.NonpagedSystemMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedSystemMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedSystemMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakPagedMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakPagedMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakVirtualMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakVirtualMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakWorkingSet64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PriorityBoostEnabled' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PriorityClass' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivateMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivateMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivilegedProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ProcessName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ProcessorAffinity' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Responding' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.SafeHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.SafeHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.SessionId' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StartInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StartInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StartTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.Process.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Threads' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Threads' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.TotalProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.UserProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.VirtualMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.VirtualMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.WorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.WorkingSet64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ErrorDataReceived' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Diagnostics.Process.Exited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.OutputDataReceived' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessModule.FileVersionInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.CreateNoWindow' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.CreateNoWindow' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Domain' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialog' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialog' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialogParentHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialogParentHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.LoadUserProfile' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.PasswordInClearText' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.PasswordInClearText' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UserName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UseShellExecute' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UseShellExecute' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verb' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verbs' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verbs' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WindowStyle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessThread.IdealProcessor' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessThread.ProcessorAffinity' in the contract but not the implementation. Compat issues with assembly System.IO.FileSystem.Watcher: CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.Filter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.IO.FileSystemWatcher.Filter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.IncludeSubdirectories' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.InternalBufferSize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.InternalBufferSize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.NotifyFilter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.Path' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.IO.FileSystemWatcher.Path' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.Site' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.Error' in the contract but not the implementation. Compat issues with assembly System.Linq.Queryable: CannotSealType : Type 'System.Linq.EnumerableExecutor' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'protected void System.Linq.EnumerableExecutor..ctor()' does not exist in the implementation but it does exist in the contract. @@ -111,6 +508,8 @@ CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProces CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.InsertAt(System.Int32, System.Char)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.RemoveAt(System.Int32)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.SetAt(System.Int32, System.Char)' in the contract but not the implementation. +Compat issues with assembly System.Text.RegularExpressions: +CannotRemoveAttribute : Attribute 'System.Runtime.Serialization.OptionalFieldAttribute' exists on 'System.TimeSpan System.Text.RegularExpressions.Regex.internalMatchTimeout' in the contract but not the implementation. Compat issues with assembly System.Xml: CannotSealType : Type 'System.Xml.Schema.XmlSchemaDatatype' is effectively (has a private constructor) sealed in the implementation but not sealed in the contract. MembersMustExist : Member 'protected void System.Xml.Schema.XmlSchemaDatatype..ctor()' does not exist in the implementation but it does exist in the contract. @@ -130,4 +529,4 @@ CannotSealType : Type 'System.Xml.Schema.XmlSchemaGroupBase' is effectively (has MembersMustExist : Member 'protected void System.Xml.Schema.XmlSchemaGroupBase..ctor()' does not exist in the implementation but it does exist in the contract. CannotMakeMemberNonVirtual : Member 'public System.Xml.Schema.XmlSchemaObjectCollection System.Xml.Schema.XmlSchemaGroupBase.Items' is non-virtual in the implementation but is virtual in the contract. CannotMakeMemberNonVirtual : Member 'public System.Xml.Schema.XmlSchemaObjectCollection System.Xml.Schema.XmlSchemaGroupBase.Items.get()' is non-virtual in the implementation but is virtual in the contract. -Total Issues: 119 +Total Issues: 517 diff --git a/src/libraries/apicompat/ApiCompatBaseline.netstandard2.1.txt b/src/libraries/apicompat/ApiCompatBaseline.netstandard2.1.txt index d631bc5d15235b..23cb3764dd968f 100644 --- a/src/libraries/apicompat/ApiCompatBaseline.netstandard2.1.txt +++ b/src/libraries/apicompat/ApiCompatBaseline.netstandard2.1.txt @@ -1,8 +1,135 @@ Compat issues with assembly netstandard: CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.ComponentModel.BackgroundWorker' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.BackgroundWorker.CancellationPending' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.BackgroundWorker.IsBusy' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.ComponentModel.BackgroundWorker.WorkerReportsProgress' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.ComponentModel.BackgroundWorker.WorkerSupportsCancellation' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.ComponentModel.RunWorkerCompletedEventArgs.UserState' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultPropertyAttribute' exists on 'System.Diagnostics.Process' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.BasePriority' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.Process.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ExitCode' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ExitCode' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ExitTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ExitTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Handle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Handle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.HandleCount' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.HasExited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.HasExited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Id' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.MachineName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MachineName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.MainModule' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainModule' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainWindowHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MainWindowTitle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MaxWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.MinWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Modules' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Modules' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.NonpagedSystemMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.NonpagedSystemMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedSystemMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PagedSystemMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakPagedMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakPagedMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakVirtualMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakVirtualMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakWorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PeakWorkingSet64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PriorityBoostEnabled' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PriorityClass' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivateMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivateMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.PrivilegedProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ProcessName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.ProcessorAffinity' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Responding' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.SafeHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.SafeHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.SessionId' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.StartInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StartInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.StartTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.Process.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.Threads' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.Threads' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.TotalProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.UserProcessorTime' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.VirtualMemorySize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.VirtualMemorySize64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.WorkingSet' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.Process.WorkingSet64' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.ErrorDataReceived' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Diagnostics.Process.Exited' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.Process.OutputDataReceived' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessModule.FileVersionInfo' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Arguments' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.CreateNoWindow' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.CreateNoWindow' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Domain' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Environment' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.EnvironmentVariables' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialog' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialog' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialogParentHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.ErrorDialogParentHandle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.FileName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.LoadUserProfile' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.PasswordInClearText' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.PasswordInClearText' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardError' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardInput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.RedirectStandardOutput' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UserName' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UseShellExecute' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.UseShellExecute' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verb' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verbs' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DesignerSerializationVisibilityAttribute' exists on 'System.Diagnostics.ProcessStartInfo.Verbs' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WindowStyle' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.NotifyParentPropertyAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Diagnostics.ProcessStartInfo.WorkingDirectory' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessThread.IdealProcessor' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Diagnostics.ProcessThread.ProcessorAffinity' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultEventAttribute' exists on 'System.IO.FileSystemWatcher' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.EnableRaisingEvents' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.Filter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.IO.FileSystemWatcher.Filter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.IncludeSubdirectories' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.InternalBufferSize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.InternalBufferSize' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.NotifyFilter' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.Path' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.IO.FileSystemWatcher.Path' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.Site' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.IO.FileSystemWatcher.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.IO.FileSystemWatcher.Error' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.CopyTo(T[])' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.CopyTo(T[], System.Int32)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.CompilerServices.IsReadOnlyAttribute' exists on 'System.Numerics.Vector.Equals(System.Numerics.Vector)' in the contract but not the implementation. @@ -18,6 +145,13 @@ CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProces CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.InsertAt(System.Int32, System.Char)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.RemoveAt(System.Int32)' in the contract but not the implementation. CannotRemoveAttribute : Attribute 'System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute' exists on 'System.Security.SecureString.SetAt(System.Int32, System.Char)' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.AutoReset' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Enabled' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.DefaultValueAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.SettingsBindableAttribute' exists on 'System.Timers.Timer.Interval' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.BrowsableAttribute' exists on 'System.Timers.Timer.SynchronizingObject' in the contract but not the implementation. +CannotRemoveAttribute : Attribute 'System.ComponentModel.CategoryAttribute' exists on 'System.Timers.Timer.Elapsed' in the contract but not the implementation. CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Xml.Serialization.XmlAnyAttributeAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple=false)]' in the implementation. CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Xml.Serialization.XmlNamespaceDeclarationsAttribute' changed from '[AttributeUsageAttribute(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple=false)]' in the implementation. -Total Issues: 21 +Total Issues: 155 From a7231c0ae2cdca58f3ad2aec0df6a5792e6b425f Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Tue, 26 Apr 2022 09:22:55 -0700 Subject: [PATCH 5/6] Temporarily suppress ApiCompat baseline validation This will allow us to ensure the codebase is ready to ingest the arcade fix to ApiCompat. --- src/libraries/apicompat/ApiCompat.proj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/libraries/apicompat/ApiCompat.proj b/src/libraries/apicompat/ApiCompat.proj index 62db3205f3c30a..d5741785ac1ad1 100644 --- a/src/libraries/apicompat/ApiCompat.proj +++ b/src/libraries/apicompat/ApiCompat.proj @@ -7,6 +7,8 @@ true true + + false $(MSBuildThisFileDirectory)ApiCompatBaseline.netstandard2.0.txt $(MSBuildThisFileDirectory)ApiCompatBaseline.netstandard2.1.txt @@ -55,7 +57,7 @@ ExcludeAttributes="@(ApiCompatExcludeAttributesFile)" ImplementationDirectories="$(LibrariesAllRefArtifactsPath)" BaselineFiles="$(ApiCompatNetStandard21BaselineFile)" - ValidateBaseline="true" + ValidateBaseline="$(ValidateBaseline)" OutFilePath="$(ApiCompatNetStandard21OutputFile)" DisableAssemblyResolveTraceListener="true" IgnoreExitCode="true"> @@ -68,7 +70,7 @@ ExcludeAttributes="@(ApiCompatExcludeAttributesFile)" ImplementationDirectories="$(LibrariesAllRefArtifactsPath)" BaselineFiles="$(ApiCompatNetStandard20BaselineFile)" - ValidateBaseline="true" + ValidateBaseline="$(ValidateBaseline)" OutFilePath="$(ApiCompatNetStandard20OutputFile)" DisableAssemblyResolveTraceListener="true" IgnoreExitCode="true"> @@ -81,7 +83,7 @@ ExcludeAttributes="@(ApiCompatExcludeAttributesFile)" ImplementationDirectories="$(LibrariesAllRefArtifactsPath)" BaselineFiles="$(ApiCompatNetCoreAppLatestStableBaselineFile)" - ValidateBaseline="true" + ValidateBaseline="$(ValidateBaseline)" OutFilePath="$(ApiCompatNetCoreAppLatestStableOutputFile)" DisableAssemblyResolveTraceListener="true" IgnoreExitCode="true"> From 260e5e3e6b70f9f62d2b48f83ddca5b5d9f10b68 Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Fri, 29 Apr 2022 08:37:46 -0700 Subject: [PATCH 6/6] Fix usage of obsolete API in Data.Common tests --- .../System.Data.Common/tests/System/Data/DataSetTest.cs | 4 ++++ .../System.Data.Common/tests/System/Data/DataTableTest.cs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/libraries/System.Data.Common/tests/System/Data/DataSetTest.cs b/src/libraries/System.Data.Common/tests/System/Data/DataSetTest.cs index f2d1e31e09095f..ceac4f97d4acac 100644 --- a/src/libraries/System.Data.Common/tests/System/Data/DataSetTest.cs +++ b/src/libraries/System.Data.Common/tests/System/Data/DataSetTest.cs @@ -1585,7 +1585,9 @@ public void WriteXmlEscapeName() public void SerializationFormat_Binary_does_not_work_by_default() { DataSet ds = new DataSet(); +#pragma warning disable SYSLIB0038 Assert.Throws(() => ds.RemotingFormat = SerializationFormat.Binary); +#pragma warning restore SYSLIB0038 } [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] @@ -1602,7 +1604,9 @@ static void RunTest() DataColumn dc = new DataColumn("dc", typeof(int)); dt.Columns.Add(dc); ds.Tables.Add(dt); +#pragma warning disable SYSLIB0038 ds.RemotingFormat = SerializationFormat.Binary; +#pragma warning restore SYSLIB0038 DataSet dsDeserialized; using (MemoryStream ms = new MemoryStream()) diff --git a/src/libraries/System.Data.Common/tests/System/Data/DataTableTest.cs b/src/libraries/System.Data.Common/tests/System/Data/DataTableTest.cs index ffade744bc731b..51c75fe39efcda 100644 --- a/src/libraries/System.Data.Common/tests/System/Data/DataTableTest.cs +++ b/src/libraries/System.Data.Common/tests/System/Data/DataTableTest.cs @@ -381,7 +381,9 @@ public void SelectOperators() public void SerializationFormat_Binary_does_not_work_by_default() { DataTable dt = new DataTable("MyTable"); +#pragma warning disable SYSLIB0038 Assert.Throws(() => dt.RemotingFormat = SerializationFormat.Binary); +#pragma warning restore SYSLIB0038 } [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] @@ -396,7 +398,9 @@ static void RunTest() DataTable dt = new DataTable("MyTable"); DataColumn dc = new DataColumn("dc", typeof(int)); dt.Columns.Add(dc); +#pragma warning disable SYSLIB0038 dt.RemotingFormat = SerializationFormat.Binary; +#pragma warning restore SYSLIB0038 DataTable dtDeserialized; using (MemoryStream ms = new MemoryStream())