Skip to content

Port some missing exceptions and serialization constructors #18865

Closed
dotnet/corefx
#13235

Description

@danmoseley

These guys are missing entirely

T:System.TypeUnloadedException
M:System.TypeUnloadedException.#ctor
M:System.TypeUnloadedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.TypeUnloadedException.#ctor(System.String)
M:System.TypeUnloadedException.#ctor(System.String,System.Exception)

T:System.DuplicateWaitObjectException
M:System.DuplicateWaitObjectException.#ctor
M:System.DuplicateWaitObjectException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.DuplicateWaitObjectException.#ctor(System.String)
M:System.DuplicateWaitObjectException.#ctor(System.String,System.Exception)
M:System.DuplicateWaitObjectException.#ctor(System.String,System.String)

also these exceptions exist but are not serializable.


M:System.DllNotFoundException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.OperationCanceledException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.OutOfMemoryException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
M:System.OverflowException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)

Note - for testing serialization, take a look at the mechanism in dotnet/corefx@e66576a. You can probably just list the types there.

Activity

  1. danmoseley commented on Oct 5, 2016

    @danmoseley
    ContributorAuthor

    And some exceptions that exist but with missing members

    M:System.MissingFieldException.#ctor(System.String,System.String)
    
    F:System.MissingMemberException.ClassName
    F:System.MissingMemberException.MemberName
    F:System.MissingMemberException.Signature
    M:System.MissingMemberException.#ctor(System.String,System.String)
    M:System.MissingMethodException.#ctor(System.String,System.String)
    
    P:System.BadImageFormatException.FusionLog
    M:System.BadImageFormatException.get_FusionLog
    M:System.BadImageFormatException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
    
    
  2. added a commit that references this issue on Nov 2, 2016
  3. transferred this issue fromdotnet/corefxon Jan 31, 2020
  4. added this to the 2.0.0 milestone on Jan 31, 2020
  5. ghost locked as resolved and limited conversation to collaborators on Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions