Skip to content

ILLink analyzer crashes with MissingMethodException #123503

Closed

Description

@jjonescz

Using ILLink analyzer on latest SDKs fails with MissingMethodException

CSC : error AD0001: Analyzer 'ILLink.RoslynAnalyzer.DynamicallyAccessedMembersAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'Method not found: 'Microsoft.CodeAnalysis.IParameterSymbol Microsoft.CodeAnalysis.ITypeSymbol.get_ExtensionParameter()'.'.

That's because it uses an API that was changed (that API was in preview): dotnet/roslyn#80230

(Note: the api was temporarily re-added to fix source build in dotnet/roslyn#80279 but then removed again recently in dotnet/roslyn#80281.)

Should be backported to 10.0.1xx probably otherwise users on newer VS would get errors with 10.0.1xx versions of the SDK I think.

Activity

  1. added
    area-Tools-ILLink
    on Jan 22, 2026
  2. added theissue type on Jan 22, 2026
  3. added
    untriaged
    on Jan 22, 2026
  4. dotnet-policy-service commented on Jan 22, 2026

    @dotnet-policy-service
    Contributor

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

  5. self-assigned this
    on Jan 22, 2026
  6. added this to the 10.0.x milestone on Jan 22, 2026
  7. removed
    untriaged
    on Jan 22, 2026
  8. sbomer commented on Jun 23, 2026

    @sbomer
    Member

    This was fixed by dotnet/roslyn#82192.

  9. locked and limited conversation to collaborators on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Tools-ILLink

Type

Projects

  • Status
    No status

Relationships

None yet

Development

No branches or pull requests

Issue actions