Age | Commit message (Collapse) | Author |
|
from mscorlib in netfx" (#19784)
This reverts commit 4fb001d431e0f44df15709f02f776e565fec14c7.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
mscorlib in netfx
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
To help with maintaining compatibility when implementing types like SocketsHttpHandler, this ctor allows for constructing a TaskCanceledException with the same inputs as an OperationCanceledException.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
ViktorHofer/SerializationExceptions (#4743)
Make coreclr exceptions serializable and add typeforwards
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Changes to throw PlatformNotSupportedException from ISerializable.GetObjectData and serialization constructors on non-Serializable types. Also removes private serialization constructors and some unneeded code that was used to support serializing non-serializable types. A few tests testing GetObjectData implementations are also removed. For Exception types, we call base instead of throwing from GetObjectData to be consistent with the many Exceptions that don't override GetObjectData
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Removes SerializableAttribute from CoreCLR types not intended to be serializable as well as adding special handling to MulticastDelegate to prevent serializing delegates (which can't be correctly serialized cross platform/runtime).
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|