diff --git a/pkg/Microsoft.Private.PackageBaseline/packageIndex.json b/pkg/Microsoft.Private.PackageBaseline/packageIndex.json index bada0938e58e..a7420f4c7aaa 100644 --- a/pkg/Microsoft.Private.PackageBaseline/packageIndex.json +++ b/pkg/Microsoft.Private.PackageBaseline/packageIndex.json @@ -187,7 +187,9 @@ "AssemblyVersionInPackageVersion": { "4.0.0.0": "4.4.0", "4.0.2.0": "4.3.0", - "4.0.3.0": "4.4.0" + "4.0.3.0": "4.4.0", + "4.0.1.0": "4.4.0", + "4.1.0.0": "4.4.0" } }, "runtime.any.System.Runtime": { @@ -351,7 +353,8 @@ ], "BaselineVersion": "4.4.0", "AssemblyVersionInPackageVersion": { - "4.0.0.0": "4.4.0" + "4.0.0.0": "4.4.0", + "4.1.0.0": "4.4.0" } }, "runtime.aot.System.Runtime": { diff --git a/src/Common/src/System/SystemException.cs b/src/Common/src/System/SystemException.cs new file mode 100644 index 000000000000..c06cc94ea104 --- /dev/null +++ b/src/Common/src/System/SystemException.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; +using System.Runtime.Serialization; + +// TODO: remove this stub once System.SystemException is added to UWP +namespace System { + + [Serializable] + [System.Runtime.InteropServices.ComVisible(true)] + public class SystemException : Exception + { + public SystemException() + : base("System error.") { + } + + public SystemException(String message) + : base(message) { + } + + public SystemException(String message, Exception innerException) + : base(message, innerException) { + } + + protected SystemException(SerializationInfo info, StreamingContext context) : base(info, context) { + } + } +} \ No newline at end of file diff --git a/src/System.Globalization/ref/4.0.10/System.Globalization.depproj b/src/System.Globalization/ref/4.0.10/System.Globalization.depproj deleted file mode 100644 index 547b7a6af42b..000000000000 --- a/src/System.Globalization/ref/4.0.10/System.Globalization.depproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - 4.0.10.0 - Library - netstandard1.3 - .NETStandard,Version=v1.3 - - - - - - \ No newline at end of file diff --git a/src/System.Globalization/ref/4.0.10/project.json b/src/System.Globalization/ref/4.0.10/project.json deleted file mode 100644 index 9d06e6724a43..000000000000 --- a/src/System.Globalization/ref/4.0.10/project.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "dependencies": { - "System.Globalization": "4.0.10" - }, - "frameworks": { - "netstandard1.3": { - "imports": [ - "dotnet5.1" - ] - } - } -} \ No newline at end of file diff --git a/src/System.Globalization/ref/System.Globalization.csproj b/src/System.Globalization/ref/System.Globalization.csproj index 261bf668d848..5cc2afcb6702 100644 --- a/src/System.Globalization/ref/System.Globalization.csproj +++ b/src/System.Globalization/ref/System.Globalization.csproj @@ -2,7 +2,6 @@ - 4.1.0.0 Library .NETStandard,Version=v1.7 netstandard1.7;uap10.1 diff --git a/src/System.Globalization/src/ApiCompatBaseline.uap101aot.txt b/src/System.Globalization/src/ApiCompatBaseline.uap101aot.txt index c74d9861849a..bc33a6000335 100644 --- a/src/System.Globalization/src/ApiCompatBaseline.uap101aot.txt +++ b/src/System.Globalization/src/ApiCompatBaseline.uap101aot.txt @@ -66,4 +66,5 @@ MembersMustExist : Member 'System.Globalization.TextInfo.LCID.get()' does not ex MembersMustExist : Member 'System.Globalization.TextInfo.MacCodePage.get()' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.Globalization.TextInfo.OEMCodePage.get()' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.Globalization.TextInfo.ReadOnly(System.Globalization.TextInfo)' does not exist in the implementation but it does exist in the contract. -MembersMustExist : Member 'System.Globalization.TextInfo.ToTitleCase(System.String)' does not exist in the implementation but it does exist in the contract. \ No newline at end of file +MembersMustExist : Member 'System.Globalization.TextInfo.ToTitleCase(System.String)' does not exist in the implementation but it does exist in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.Globalization.CultureNotFoundException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. \ No newline at end of file diff --git a/src/System.Globalization/src/System.Globalization.csproj b/src/System.Globalization/src/System.Globalization.csproj index 9a4691d64211..35a07fbbcdbd 100644 --- a/src/System.Globalization/src/System.Globalization.csproj +++ b/src/System.Globalization/src/System.Globalization.csproj @@ -3,7 +3,6 @@ System.Globalization - ../ref/4.0.10/System.Globalization.depproj true .NETStandard,Version=v1.7 netstandard1.7;uap10.1 diff --git a/src/System.Globalization/src/project.json b/src/System.Globalization/src/project.json index 39a7a5f4084b..e71371a75af0 100644 --- a/src/System.Globalization/src/project.json +++ b/src/System.Globalization/src/project.json @@ -15,7 +15,7 @@ }, "net463": { "dependencies": { - "Microsoft.TargetingPack.NETFramework.v4.6": "1.0.1" + "Microsoft.TargetingPack.NETFramework.v4.6.2": "1.0.1" } } } diff --git a/src/System.IO/ref/System.IO.cs b/src/System.IO/ref/System.IO.cs index c34350888f1c..de56137bae6f 100644 --- a/src/System.IO/ref/System.IO.cs +++ b/src/System.IO/ref/System.IO.cs @@ -163,7 +163,7 @@ public EndOfStreamException() { } public EndOfStreamException(string message) { } public EndOfStreamException(string message, System.Exception innerException) { } } - public sealed partial class InvalidDataException : System.Exception + public sealed partial class InvalidDataException : System.SystemException { public InvalidDataException() { } public InvalidDataException(string message) { } diff --git a/src/System.IO/src/ApiCompatBaseline.uap101aot.txt b/src/System.IO/src/ApiCompatBaseline.uap101aot.txt index 2796c5fd4da0..f3586acfe8a4 100644 --- a/src/System.IO/src/ApiCompatBaseline.uap101aot.txt +++ b/src/System.IO/src/ApiCompatBaseline.uap101aot.txt @@ -6,4 +6,7 @@ MembersMustExist : Member 'System.IO.Stream.CreateWaitHandle()' does not exist i MembersMustExist : Member 'System.IO.Stream.ObjectInvariant()' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.IO.Stream.Synchronized(System.IO.Stream)' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.IO.TextReader.Synchronized(System.IO.TextReader)' does not exist in the implementation but it does exist in the contract. -MembersMustExist : Member 'System.IO.TextWriter.Synchronized(System.IO.TextWriter)' does not exist in the implementation but it does exist in the contract. \ No newline at end of file +MembersMustExist : Member 'System.IO.TextWriter.Synchronized(System.IO.TextWriter)' does not exist in the implementation but it does exist in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IO.EndOfStreamException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IO.FileNotFoundException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IO.IOException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. diff --git a/src/System.IO/src/System.IO.csproj b/src/System.IO/src/System.IO.csproj index 5e6d41abe980..79956fbb75ed 100644 --- a/src/System.IO/src/System.IO.csproj +++ b/src/System.IO/src/System.IO.csproj @@ -68,6 +68,7 @@ + Common\System\HResults.cs diff --git a/src/System.IO/src/System/IO/InvalidDataException.cs b/src/System.IO/src/System/IO/InvalidDataException.cs index 8466af36076d..0d2f4e5a7e00 100644 --- a/src/System.IO/src/System/IO/InvalidDataException.cs +++ b/src/System.IO/src/System/IO/InvalidDataException.cs @@ -4,7 +4,7 @@ namespace System.IO { - public sealed class InvalidDataException : Exception + public sealed class InvalidDataException : SystemException { public InvalidDataException() : base(SR.GenericInvalidData) diff --git a/src/System.Net.Security/ref/System.Net.Security.cs b/src/System.Net.Security/ref/System.Net.Security.cs index aef648358f78..5998b854c0ee 100644 --- a/src/System.Net.Security/ref/System.Net.Security.cs +++ b/src/System.Net.Security/ref/System.Net.Security.cs @@ -142,7 +142,7 @@ public override void Write(byte[] buffer, int offset, int count) { } } namespace System.Security.Authentication { - public partial class AuthenticationException : System.Exception + public partial class AuthenticationException : System.SystemException { public AuthenticationException() { } public AuthenticationException(string message) { } diff --git a/src/System.Net.Security/src/System/Security/Authentication/AuthenticationException.cs b/src/System.Net.Security/src/System/Security/Authentication/AuthenticationException.cs index 7df2b03c8796..bbededf32961 100644 --- a/src/System.Net.Security/src/System/Security/Authentication/AuthenticationException.cs +++ b/src/System.Net.Security/src/System/Security/Authentication/AuthenticationException.cs @@ -9,7 +9,7 @@ namespace System.Security.Authentication /// The authentication process can be retried with different parameters subject to /// remote party willingness of accepting that. /// - public class AuthenticationException : Exception + public class AuthenticationException : SystemException { public AuthenticationException() { } public AuthenticationException(string message) : base(message) { } diff --git a/src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/SerializationException.cs b/src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/SerializationException.cs index fea87b382b83..0709cd6d4af1 100644 --- a/src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/SerializationException.cs +++ b/src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/SerializationException.cs @@ -6,7 +6,7 @@ namespace System.Runtime.Serialization { - public class SerializationException : Exception + public class SerializationException : SystemException { public SerializationException() { } diff --git a/src/System.Resources.ResourceManager/ref/System.Resources.ResourceManager.csproj b/src/System.Resources.ResourceManager/ref/System.Resources.ResourceManager.csproj index e900f953015d..fae72be0de8c 100644 --- a/src/System.Resources.ResourceManager/ref/System.Resources.ResourceManager.csproj +++ b/src/System.Resources.ResourceManager/ref/System.Resources.ResourceManager.csproj @@ -4,7 +4,7 @@ Library .NETStandard,Version=v1.7 - netstandard1.7;uap10.1 + netstandard1.7;uap10.1 diff --git a/src/System.Resources.ResourceManager/src/System/Resources/MissingManifestResourceException.cs b/src/System.Resources.ResourceManager/src/System/Resources/MissingManifestResourceException.cs index 9dc8bf9b7dd1..f8c99369297e 100644 --- a/src/System.Resources.ResourceManager/src/System/Resources/MissingManifestResourceException.cs +++ b/src/System.Resources.ResourceManager/src/System/Resources/MissingManifestResourceException.cs @@ -4,7 +4,7 @@ namespace System.Resources { - public class MissingManifestResourceException : Exception + public class MissingManifestResourceException : SystemException { public MissingManifestResourceException() : base(SR.Arg_MissingManifestResourceException) diff --git a/src/System.Resources.ResourceManager/src/project.json b/src/System.Resources.ResourceManager/src/project.json index 659946a6cf6f..242771f38015 100644 --- a/src/System.Resources.ResourceManager/src/project.json +++ b/src/System.Resources.ResourceManager/src/project.json @@ -5,23 +5,22 @@ "Microsoft.TargetingPack.Private.CoreCLR": "1.2.0-beta-24617-03" } }, - "net463": { - "dependencies": { - "Microsoft.TargetingPack.NETFramework.v4.6": "1.0.1" - } - }, "uap10.1": { "dependencies": { "Microsoft.NETCore.Platforms": "1.0.1", "Microsoft.TargetingPack.Private.NETNative": "1.1.0-beta-24607-01", "Microsoft.TargetingPack.Private.WinRT": "1.0.1", - "System.Diagnostics.Debug": "4.0.0", - "System.Diagnostics.Tools": "4.0.0", - "System.Diagnostics.Tracing": "4.0.0", - "System.Globalization": "4.0.0", - "System.Reflection": "4.0.10", - "System.Runtime": "4.0.20", - "System.Threading": "4.0.10" + "System.Diagnostics.Debug": "4.4.0-beta-24617-03", + "System.Diagnostics.Tools": "4.4.0-beta-24617-03", + "System.Diagnostics.Tracing": "4.4.0-beta-24617-03", + "System.Reflection": "4.4.0-beta-24617-03", + "System.Runtime": "4.4.0-beta-24617-03", + "System.Threading": "4.4.0-beta-24617-03" + } + }, + "net463": { + "dependencies": { + "Microsoft.TargetingPack.NETFramework.v4.6.2": "1.0.1" } } } diff --git a/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs b/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs index 69f8f767b60b..de58f6409db1 100644 --- a/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs +++ b/src/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs @@ -12,7 +12,7 @@ namespace System { - public sealed partial class DataMisalignedException : System.Exception + public sealed partial class DataMisalignedException : System.SystemException { public DataMisalignedException() { } public DataMisalignedException(string message) { } @@ -426,13 +426,13 @@ public InterfaceTypeAttribute(short interfaceType) { } public InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType interfaceType) { } public System.Runtime.InteropServices.ComInterfaceType Value { get { throw null; } } } - public partial class InvalidComObjectException : System.Exception + public partial class InvalidComObjectException : System.SystemException { public InvalidComObjectException() { } public InvalidComObjectException(string message) { } public InvalidComObjectException(string message, System.Exception inner) { } } - public partial class InvalidOleVariantTypeException : System.Exception + public partial class InvalidOleVariantTypeException : System.SystemException { public InvalidOleVariantTypeException() { } public InvalidOleVariantTypeException(string message) { } @@ -761,7 +761,7 @@ public MarshalAsAttribute(short unmanagedType) { } public MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType unmanagedType) { } public System.Runtime.InteropServices.UnmanagedType Value { get { throw null; } } } - public partial class MarshalDirectiveException : System.Exception + public partial class MarshalDirectiveException : System.SystemException { public MarshalDirectiveException() { } public MarshalDirectiveException(string message) { } @@ -777,13 +777,13 @@ public sealed partial class PreserveSigAttribute : System.Attribute { public PreserveSigAttribute() { } } - public partial class SafeArrayRankMismatchException : System.Exception + public partial class SafeArrayRankMismatchException : System.SystemException { public SafeArrayRankMismatchException() { } public SafeArrayRankMismatchException(string message) { } public SafeArrayRankMismatchException(string message, System.Exception inner) { } } - public partial class SafeArrayTypeMismatchException : System.Exception + public partial class SafeArrayTypeMismatchException : System.SystemException { public SafeArrayTypeMismatchException() { } public SafeArrayTypeMismatchException(string message) { } diff --git a/src/System.Runtime.Serialization.Primitives/src/ApiCompatBaseline.uap101aot.txt b/src/System.Runtime.Serialization.Primitives/src/ApiCompatBaseline.uap101aot.txt new file mode 100644 index 000000000000..e45d9fd2e305 --- /dev/null +++ b/src/System.Runtime.Serialization.Primitives/src/ApiCompatBaseline.uap101aot.txt @@ -0,0 +1 @@ +CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.Serialization.SerializationException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. \ No newline at end of file diff --git a/src/System.Runtime.Serialization.Primitives/src/System.Runtime.Serialization.Primitives.csproj b/src/System.Runtime.Serialization.Primitives/src/System.Runtime.Serialization.Primitives.csproj index 92799b1939cc..13872b817896 100644 --- a/src/System.Runtime.Serialization.Primitives/src/System.Runtime.Serialization.Primitives.csproj +++ b/src/System.Runtime.Serialization.Primitives/src/System.Runtime.Serialization.Primitives.csproj @@ -56,6 +56,10 @@ + + + + diff --git a/src/System.Runtime/ref/System.Runtime.cs b/src/System.Runtime/ref/System.Runtime.cs index 9222babfbcf7..8db02060e137 100644 --- a/src/System.Runtime/ref/System.Runtime.cs +++ b/src/System.Runtime/ref/System.Runtime.cs @@ -153,7 +153,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf public void Handle(System.Func predicate) { } public override string ToString() { throw null; } } - public partial class ArgumentException : System.Exception, System.Runtime.Serialization.ISerializable + public partial class ArgumentException : System.SystemException, System.Runtime.Serialization.ISerializable { public ArgumentException() { } public ArgumentException(string message) { } @@ -185,7 +185,7 @@ protected ArgumentOutOfRangeException(System.Runtime.Serialization.Serialization public override string Message { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } - public partial class ArithmeticException : System.Exception + public partial class ArithmeticException : System.SystemException { public ArithmeticException() { } public ArithmeticException(string message) { } @@ -338,7 +338,7 @@ void System.Collections.Generic.IList.Insert(int index, T item) { } void System.Collections.Generic.IList.RemoveAt(int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public partial class ArrayTypeMismatchException : System.Exception + public partial class ArrayTypeMismatchException : System.SystemException { public ArrayTypeMismatchException() { } public ArrayTypeMismatchException(string message) { } @@ -416,7 +416,7 @@ public AttributeUsageAttribute(System.AttributeTargets validOn) { } public bool Inherited { get { throw null; } set { } } public System.AttributeTargets ValidOn { get { throw null; } } } - public partial class BadImageFormatException : System.Exception + public partial class BadImageFormatException : System.SystemException { public BadImageFormatException() { } public BadImageFormatException(string message) { } @@ -1159,7 +1159,7 @@ public partial class FlagsAttribute : System.Attribute { public FlagsAttribute() { } } - public partial class FormatException : System.Exception + public partial class FormatException : System.SystemException { public FormatException() { } public FormatException(string message) { } @@ -1311,13 +1311,13 @@ public partial interface IFormattable { string ToString(string format, System.IFormatProvider formatProvider); } - public sealed partial class IndexOutOfRangeException : System.Exception + public sealed partial class IndexOutOfRangeException : System.SystemException { public IndexOutOfRangeException() { } public IndexOutOfRangeException(string message) { } public IndexOutOfRangeException(string message, System.Exception innerException) { } } - public sealed partial class InsufficientExecutionStackException : System.Exception + public sealed partial class InsufficientExecutionStackException : System.SystemException { public InsufficientExecutionStackException() { } public InsufficientExecutionStackException(string message) { } @@ -1481,7 +1481,7 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public override string ToString() { throw null; } public string ToString(string format) { throw null; } } - public partial class InvalidCastException : System.Exception + public partial class InvalidCastException : System.SystemException { public InvalidCastException() { } public InvalidCastException(string message) { } @@ -1489,14 +1489,14 @@ public InvalidCastException(string message, System.Exception innerException) { } public InvalidCastException(string message, int errorCode) { } protected InvalidCastException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } } - public partial class InvalidOperationException : System.Exception + public partial class InvalidOperationException : System.SystemException { public InvalidOperationException() { } public InvalidOperationException(string message) { } public InvalidOperationException(string message, System.Exception innerException) { } protected InvalidOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } } - public sealed partial class InvalidProgramException : System.Exception + public sealed partial class InvalidProgramException : System.SystemException { public InvalidProgramException() { } public InvalidProgramException(string message) { } @@ -1552,7 +1552,7 @@ public Lazy(System.Func valueFactory, TMetadata metadata, bool isThreadSafe) public Lazy(System.Func valueFactory, TMetadata metadata, System.Threading.LazyThreadSafetyMode mode) { } public TMetadata Metadata { get { throw null; } } } - public partial class MemberAccessException : System.Exception + public partial class MemberAccessException : System.SystemException { public MemberAccessException() { } public MemberAccessException(string message) { } @@ -1648,14 +1648,14 @@ public NonSerializedAttribute() { } } - public partial class NotImplementedException : System.Exception + public partial class NotImplementedException : System.SystemException { public NotImplementedException() { } public NotImplementedException(string message) { } public NotImplementedException(string message, System.Exception inner) { } protected NotImplementedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } } - public partial class NotSupportedException : System.Exception + public partial class NotSupportedException : System.SystemException { public NotSupportedException() { } public NotSupportedException(string message) { } @@ -1682,7 +1682,7 @@ public partial struct Nullable where T : struct public static implicit operator System.Nullable(T value) { throw null; } public override string ToString() { throw null; } } - public partial class NullReferenceException : System.Exception + public partial class NullReferenceException : System.SystemException { public NullReferenceException() { } public NullReferenceException(string message) { } @@ -1720,7 +1720,7 @@ public ObsoleteAttribute(string message, bool error) { } public bool IsError { get { throw null; } } public string Message { get { throw null; } } } - public partial class OutOfMemoryException : System.Exception + public partial class OutOfMemoryException : System.SystemException { public OutOfMemoryException() { } public OutOfMemoryException(string message) { } @@ -1745,7 +1745,7 @@ public PlatformNotSupportedException(string message, System.Exception inner) { } protected PlatformNotSupportedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } } public delegate bool Predicate(T obj); - public partial class RankException : System.Exception + public partial class RankException : System.SystemException { public RankException() { } public RankException(string message) { } @@ -2082,7 +2082,7 @@ public partial class ThreadStaticAttribute : System.Attribute { public ThreadStaticAttribute() { } } - public partial class TimeoutException : System.Exception + public partial class TimeoutException : System.SystemException { public TimeoutException() { } public TimeoutException(string message) { } @@ -2588,13 +2588,13 @@ public enum TypeCode UInt32 = 10, UInt64 = 12, } - public sealed partial class TypeInitializationException : System.Exception + public sealed partial class TypeInitializationException : System.SystemException { public TypeInitializationException(string fullTypeName, System.Exception innerException) { } public string TypeName { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } - public partial class TypeLoadException : System.Exception, System.Runtime.Serialization.ISerializable + public partial class TypeLoadException : System.SystemException, System.Runtime.Serialization.ISerializable { public TypeLoadException() { } public TypeLoadException(string message) { } @@ -2778,7 +2778,7 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public uint ToUInt32() { throw null; } public ulong ToUInt64() { throw null; } } - public partial class UnauthorizedAccessException : System.Exception + public partial class UnauthorizedAccessException : System.SystemException { public UnauthorizedAccessException() { } public UnauthorizedAccessException(string message) { } @@ -4420,7 +4420,7 @@ public enum HandleInheritability Inheritable = 1, None = 0, } - public partial class IOException : System.Exception + public partial class IOException : System.SystemException { public IOException() { } public IOException(string message) { } @@ -6022,7 +6022,7 @@ public struct SerializationEntry public Type ObjectType { get { throw null; } } public object Value { get { throw null; } } } - public partial class SerializationException : System.Exception + public partial class SerializationException : System.SystemException { public SerializationException() { } public SerializationException(string message) { } diff --git a/src/System.Runtime/src/ApiCompatBaseline.uap101aot.txt b/src/System.Runtime/src/ApiCompatBaseline.uap101aot.txt index 48a0561df35d..f328bef99144 100644 --- a/src/System.Runtime/src/ApiCompatBaseline.uap101aot.txt +++ b/src/System.Runtime/src/ApiCompatBaseline.uap101aot.txt @@ -250,7 +250,6 @@ MembersMustExist : Member 'System.String.ToString(System.IFormatProvider)' does MembersMustExist : Member 'System.String.ToUpper(System.Globalization.CultureInfo)' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.StringComparison System.StringComparison.InvariantCulture' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.StringComparison System.StringComparison.InvariantCultureIgnoreCase' does not exist in the implementation but it does exist in the contract. -TypesMustExist : Type 'System.SystemException' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.TimeoutException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.TimeSpan.CompareTo(System.Object)' does not exist in the implementation but it does exist in the contract. CannotRemoveBaseTypeOrInterface : Type 'System.TimeZoneInfo' does not implement interface 'System.Runtime.Serialization.ISerializable' in the implementation but it does in the contract. @@ -532,4 +531,48 @@ CannotRemoveBaseTypeOrInterface : Type 'System.Threading.Tasks.Task' does not im MembersMustExist : Member 'System.Threading.Tasks.Task.Dispose()' does not exist in the implementation but it does exist in the contract. MembersMustExist : Member 'System.Threading.Tasks.Task.Dispose(System.Boolean)' does not exist in the implementation but it does exist in the contract. CannotRemoveBaseTypeOrInterface : Type 'System.Threading.Tasks.Task' does not implement interface 'System.IDisposable' in the implementation but it does in the contract. -Total Issues: 533 +CannotRemoveBaseTypeOrInterface : Type 'System.ArgumentException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.ArgumentNullException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.ArgumentOutOfRangeException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.ArithmeticException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.ArrayTypeMismatchException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.BadImageFormatException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.DivideByZeroException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.FieldAccessException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.FormatException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IndexOutOfRangeException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.InsufficientExecutionStackException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.InvalidCastException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.InvalidOperationException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.InvalidProgramException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.MemberAccessException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.MethodAccessException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.MissingFieldException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.MissingMemberException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.MissingMethodException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.NotImplementedException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.NotSupportedException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.NullReferenceException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.ObjectDisposedException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.OutOfMemoryException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.OverflowException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.PlatformNotSupportedException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.RankException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.TimeoutException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.TypeAccessException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.TypeInitializationException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.TypeLoadException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.UnauthorizedAccessException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.UriFormatException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.Collections.Generic.KeyNotFoundException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.Globalization.CultureNotFoundException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IO.DirectoryNotFoundException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IO.FileLoadException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IO.FileNotFoundException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IO.IOException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.IO.PathTooLongException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.Reflection.CustomAttributeFormatException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.Runtime.Serialization.SerializationException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.Text.DecoderFallbackException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.Text.EncoderFallbackException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +Total Issues: 578 diff --git a/src/System.Runtime/src/System.Runtime.csproj b/src/System.Runtime/src/System.Runtime.csproj index 7514ffcd0ab2..4043ec5abc83 100644 --- a/src/System.Runtime/src/System.Runtime.csproj +++ b/src/System.Runtime/src/System.Runtime.csproj @@ -43,6 +43,9 @@ + + + Windows_NT diff --git a/src/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs b/src/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs index 3d16b625a224..86556f70aea5 100644 --- a/src/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs +++ b/src/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs @@ -24,7 +24,7 @@ public enum CipherMode CTS = 5, ECB = 2, } - public partial class CryptographicException : System.Exception + public partial class CryptographicException : System.SystemException { public CryptographicException() { } public CryptographicException(int hr) { } diff --git a/src/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/CryptographicException.cs b/src/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/CryptographicException.cs index 9de4dff1e9b8..62613c98b7a6 100644 --- a/src/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/CryptographicException.cs +++ b/src/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/CryptographicException.cs @@ -7,7 +7,7 @@ namespace System.Security.Cryptography { - public class CryptographicException : Exception + public class CryptographicException : SystemException { public CryptographicException() : base(SR.Arg_CryptographyException) diff --git a/src/System.Security.Cryptography.Primitives/src/project.json b/src/System.Security.Cryptography.Primitives/src/project.json index 46cbd4616cf9..b6c1ee3c962a 100644 --- a/src/System.Security.Cryptography.Primitives/src/project.json +++ b/src/System.Security.Cryptography.Primitives/src/project.json @@ -10,14 +10,11 @@ "System.Runtime": "4.4.0-beta-24617-03", "System.Threading": "4.4.0-beta-24617-03", "System.Threading.Tasks": "4.4.0-beta-24617-03" - }, - "imports": [ - "dotnet5.8" - ] + } }, "net463": { "dependencies": { - "Microsoft.TargetingPack.NETFramework.v4.6": "1.0.1" + "Microsoft.TargetingPack.NETFramework.v4.6.2": "1.0.1" } } } diff --git a/src/System.Security.Principal.Windows/pkg/System.Security.Principal.Windows.pkgproj b/src/System.Security.Principal.Windows/pkg/System.Security.Principal.Windows.pkgproj index c25a812c12ae..7a6067538e88 100644 --- a/src/System.Security.Principal.Windows/pkg/System.Security.Principal.Windows.pkgproj +++ b/src/System.Security.Principal.Windows/pkg/System.Security.Principal.Windows.pkgproj @@ -4,7 +4,7 @@ - net46;netcore50;netcoreapp1.0 + net463;netcoreapp1.1 diff --git a/src/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.cs b/src/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.cs index a0673c98c9b8..97f1e3d67a6c 100644 --- a/src/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.cs +++ b/src/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.cs @@ -20,7 +20,7 @@ public sealed partial class SafeAccessTokenHandle : System.Runtime.InteropServic } namespace System.Security.Principal { - public sealed partial class IdentityNotMappedException : System.Exception + public sealed partial class IdentityNotMappedException : System.SystemException { public IdentityNotMappedException() { } public IdentityNotMappedException(string message) { } diff --git a/src/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.csproj b/src/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.csproj index 5217078ff847..cdf4360289e1 100644 --- a/src/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.csproj +++ b/src/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.csproj @@ -3,7 +3,7 @@ Library - .NETStandard,Version=v1.3 + .NETStandard,Version=v1.7 diff --git a/src/System.Security.Principal.Windows/ref/project.json b/src/System.Security.Principal.Windows/ref/project.json index 4531d2603b81..2bfd458b974a 100644 --- a/src/System.Security.Principal.Windows/ref/project.json +++ b/src/System.Security.Principal.Windows/ref/project.json @@ -1,15 +1,11 @@ { "dependencies": { - "System.Runtime": "4.0.0", - "System.Runtime.Handles": "4.0.0", - "System.Security.Claims": "4.0.0", - "System.Security.Principal": "4.0.0" + "System.Runtime": "4.4.0-beta-24617-03", + "System.Runtime.Handles": "4.4.0-beta-24617-03", + "System.Security.Claims": "4.4.0-beta-24617-03", + "System.Security.Principal": "4.4.0-beta-24617-03" }, "frameworks": { - "netstandard1.3": { - "imports": [ - "dotnet5.4" - ] - } + "netstandard1.7": {} } } diff --git a/src/System.Security.Principal.Windows/src/System.Security.Principal.Windows.builds b/src/System.Security.Principal.Windows/src/System.Security.Principal.Windows.builds index 0fae90886e13..e25a9a21e5a1 100644 --- a/src/System.Security.Principal.Windows/src/System.Security.Principal.Windows.builds +++ b/src/System.Security.Principal.Windows/src/System.Security.Principal.Windows.builds @@ -9,7 +9,7 @@ Unix - net46 + net463 diff --git a/src/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj b/src/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj index 874d17b136a6..03c65c54083d 100644 --- a/src/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj +++ b/src/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj @@ -8,17 +8,17 @@ {F9E9894E-2513-4085-9046-311AD49D8AE6} System.Security.Principal.Windows true - true - None + true + None true - .NETStandard,Version=v1.3 + .NETStandard,Version=v1.7 - - - + + + @@ -174,17 +174,14 @@ Common\Interop\Windows\SecurityBase\Interop.AllocateLocallyUniqueId.cs - - Common\Microsoft\Win32\SafeHandlres\SafeHandleZeroOrMinusOneIsInvalid.cs - - Common\Microsoft\Win32\SafeHandlres\SafeLocalAllocHandle.cs + Common\Microsoft\Win32\SafeHandles\SafeLocalAllocHandle.cs - Common\Microsoft\Win32\SafeHandlres\SafeLsaHandle.cs + Common\Microsoft\Win32\SafeHandles\SafeLsaHandle.cs - + diff --git a/src/System.Security.Principal.Windows/src/System/Security/Principal/IdentityNotMappedException.cs b/src/System.Security.Principal.Windows/src/System/Security/Principal/IdentityNotMappedException.cs index 6d9f465cb178..f8f272769282 100644 --- a/src/System.Security.Principal.Windows/src/System/Security/Principal/IdentityNotMappedException.cs +++ b/src/System.Security.Principal.Windows/src/System/Security/Principal/IdentityNotMappedException.cs @@ -4,7 +4,7 @@ namespace System.Security.Principal { - public sealed class IdentityNotMappedException : Exception + public sealed class IdentityNotMappedException : SystemException { private IdentityReferenceCollection _unmappedIdentities; diff --git a/src/System.Security.Principal.Windows/src/project.json b/src/System.Security.Principal.Windows/src/project.json index 5677955e3848..d30145ede43e 100644 --- a/src/System.Security.Principal.Windows/src/project.json +++ b/src/System.Security.Principal.Windows/src/project.json @@ -1,30 +1,29 @@ { "frameworks": { - "netstandard1.3": { + "netstandard1.7": { "dependencies": { "Microsoft.NETCore.Platforms": "1.2.0-beta-24617-03", - "Microsoft.Win32.Primitives": "4.0.0", - "System.Collections": "4.0.0", - "System.Diagnostics.Contracts": "4.0.0", - "System.Globalization": "4.0.0", - "System.Reflection": "4.0.10", - "System.Resources.ResourceManager": "4.0.0", - "System.Runtime": "4.0.20", - "System.Runtime.Extensions": "4.0.0", - "System.Runtime.Handles": "4.0.0", - "System.Runtime.InteropServices": "4.0.20", - "System.Security.Claims": "4.0.0", - "System.Security.Principal": "4.0.0", - "System.Text.Encoding": "4.0.10", - "System.Threading": "4.0.10" - }, - "imports": [ - "dotnet5.4" - ] + "Microsoft.Win32.Primitives": "4.4.0-beta-24617-03", + "System.Collections": "4.4.0-beta-24617-03", + "System.Diagnostics.Contracts": "4.4.0-beta-24617-03", + "System.Diagnostics.Debug": "4.4.0-beta-24617-03", + "System.Globalization": "4.4.0-beta-24617-03", + "System.Reflection": "4.4.0-beta-24617-03", + "System.Resources.ResourceManager": "4.4.0-beta-24617-03", + "System.Runtime": "4.4.0-beta-24617-03", + "System.Runtime.Extensions": "4.4.0-beta-24617-03", + "System.Runtime.Handles": "4.4.0-beta-24617-03", + "System.Runtime.InteropServices": "4.4.0-beta-24617-03", + "System.Security.Claims": "4.4.0-beta-24617-03", + "System.Security.Principal": "4.4.0-beta-24617-03", + "System.Text.Encoding": "4.4.0-beta-24617-03", + "System.Threading": "4.4.0-beta-24617-03", + "System.Threading.Tasks": "4.4.0-beta-24617-03" + } }, - "net46": { + "net463": { "dependencies": { - "Microsoft.TargetingPack.NETFramework.v4.6": "1.0.1" + "Microsoft.TargetingPack.NETFramework.v4.6.2": "1.0.1" } } } diff --git a/src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.builds b/src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.builds index 7e0b2d319f2b..ec4ae7216bba 100644 --- a/src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.builds +++ b/src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.builds @@ -4,7 +4,7 @@ Windows_NT - netcore50;netcoreapp1.0;net46 + netcore50;netcoreapp1.0;net46;netcoreapp1.1;net463 diff --git a/src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.csproj b/src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.csproj index ffa5e6821d04..59620cb19059 100644 --- a/src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.csproj +++ b/src/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.csproj @@ -11,7 +11,7 @@ System.Security.Principal.Windows.Tests System.Security.Principal.Windows.Tests {6C36F3AC-54A1-4021-9F5D-CDEFF7347277} - .NETStandard,Version=v1.3 + .NETStandard,Version=v1.7 diff --git a/src/System.Security.Principal.Windows/tests/project.json b/src/System.Security.Principal.Windows/tests/project.json index f8e02d8a416d..14eb60557643 100644 --- a/src/System.Security.Principal.Windows/tests/project.json +++ b/src/System.Security.Principal.Windows/tests/project.json @@ -15,14 +15,10 @@ "Microsoft.DotNet.BuildTools.TestSuite": "1.0.0-prerelease-00830-02" }, "frameworks": { - "netstandard1.3": {} + "netstandard1.7": {} }, "supports": { - "coreFx.Test.netcore50": {}, - "coreFx.Test.netcoreapp1.0": {}, - "coreFx.Test.net46": {}, - "coreFx.Test.net461": {}, - "coreFx.Test.net462": {}, + "coreFx.Test.netcoreapp1.1": {}, "coreFx.Test.net463": {} } } diff --git a/src/System.Threading.Tasks/ref/System.Threading.Tasks.cs b/src/System.Threading.Tasks/ref/System.Threading.Tasks.cs index c0e034dc445d..638206d58f28 100644 --- a/src/System.Threading.Tasks/ref/System.Threading.Tasks.cs +++ b/src/System.Threading.Tasks/ref/System.Threading.Tasks.cs @@ -28,7 +28,7 @@ namespace System { - public partial class OperationCanceledException : System.Exception + public partial class OperationCanceledException : System.SystemException { public OperationCanceledException() { } public OperationCanceledException(string message) { } diff --git a/src/System.Threading.Tasks/src/ApiCompatBaseline.uap101aot.txt b/src/System.Threading.Tasks/src/ApiCompatBaseline.uap101aot.txt index effe814d6334..802a222636cb 100644 --- a/src/System.Threading.Tasks/src/ApiCompatBaseline.uap101aot.txt +++ b/src/System.Threading.Tasks/src/ApiCompatBaseline.uap101aot.txt @@ -5,4 +5,6 @@ MembersMustExist : Member 'System.Threading.Tasks.Task.Dispose()' does not exist MembersMustExist : Member 'System.Threading.Tasks.Task.Dispose(System.Boolean)' does not exist in the implementation but it does exist in the contract. CannotRemoveBaseTypeOrInterface : Type 'System.Threading.Tasks.Task' does not implement interface 'System.IDisposable' in the implementation but it does in the contract. MembersMustExist : Member 'System.Threading.Tasks.TaskCanceledException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract. -MembersMustExist : Member 'System.Threading.Tasks.TaskSchedulerException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract. \ No newline at end of file +MembersMustExist : Member 'System.Threading.Tasks.TaskSchedulerException..ctor(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)' does not exist in the implementation but it does exist in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.OperationCanceledException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. +CannotRemoveBaseTypeOrInterface : Type 'System.Threading.Tasks.TaskCanceledException' does not inherit from base type 'System.SystemException' in the implementation but it does in the contract. \ No newline at end of file diff --git a/src/System.Threading.Thread/ref/System.Threading.Thread.cs b/src/System.Threading.Thread/ref/System.Threading.Thread.cs index d1da736b12a4..eae1d29b845c 100644 --- a/src/System.Threading.Thread/ref/System.Threading.Thread.cs +++ b/src/System.Threading.Thread/ref/System.Threading.Thread.cs @@ -48,7 +48,7 @@ protected ThreadInterruptedException(System.Runtime.Serialization.SerializationI } [System.Runtime.InteropServices.ComVisibleAttribute(true)] public delegate void ThreadStart(); - public sealed partial class ThreadStartException : System.Exception + public sealed partial class ThreadStartException : System.SystemException { internal ThreadStartException() { } } @@ -68,7 +68,7 @@ public enum ThreadState WaitSleepJoin = 32, } [System.Runtime.InteropServices.ComVisibleAttribute(true)] - public partial class ThreadStateException : System.Exception + public partial class ThreadStateException : System.SystemException { public ThreadStateException() { } public ThreadStateException(string message) { } diff --git a/src/System.Threading/ref/System.Threading.cs b/src/System.Threading/ref/System.Threading.cs index 421096c10138..addbd3e30285 100644 --- a/src/System.Threading/ref/System.Threading.cs +++ b/src/System.Threading/ref/System.Threading.cs @@ -8,7 +8,7 @@ namespace System.Threading { - public partial class AbandonedMutexException : System.Exception + public partial class AbandonedMutexException : System.SystemException { public AbandonedMutexException() { } public AbandonedMutexException(int location, System.Threading.WaitHandle handle) { } @@ -257,7 +257,7 @@ public Semaphore(int initialCount, int maximumCount, string name) { } public int Release(int releaseCount) { throw null; } public static bool TryOpenExisting(string name, out System.Threading.Semaphore result) { throw null; } } - public partial class SemaphoreFullException : System.Exception + public partial class SemaphoreFullException : System.SystemException { public SemaphoreFullException() { } public SemaphoreFullException(string message) { } @@ -325,7 +325,7 @@ public virtual void Send(System.Threading.SendOrPostCallback d, object state) { [System.Security.SecurityCriticalAttribute] public static void SetSynchronizationContext(System.Threading.SynchronizationContext syncContext) { } } - public partial class SynchronizationLockException : System.Exception + public partial class SynchronizationLockException : System.SystemException { public SynchronizationLockException() { } public SynchronizationLockException(string message) { } diff --git a/src/System.Threading/src/System.Threading.builds b/src/System.Threading/src/System.Threading.builds index 8e917c46acbe..ff841102f7da 100644 --- a/src/System.Threading/src/System.Threading.builds +++ b/src/System.Threading/src/System.Threading.builds @@ -6,11 +6,6 @@ net463 -