Skip to content

Analyzer proposal: Missing GetInstance for ICustomMarshalers #46521

Open

Description

@Youssef1313

Types that implement ICustomMarshaler must have a GetInstance method with correct signature.

@mavasani I opened this here instead of roslyn-analyzers as it's related to API usage. Feel free to move the issue if this fits more in roslyn-analyzers repo.

Activity

  1. added
    untriaged
    on Jan 3, 2021
  2. added
    code-analyzer
    and removed on Jan 3, 2021
  3. removed
    untriaged
    on Jan 6, 2021
  4. added this to the Future milestone on Jan 6, 2021
  5. added
    api-suggestion
    on Jul 10, 2023
  6. dotnet-policy-service commented on Apr 13, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/interop-contrib
    See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-suggestionarea-Interop-coreclrcode-analyzer

    Type

    No type

    Projects

    • Status
      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions