Skip to content

IsReferenceAssembly needs to be false if we found the implementation assembly #82241

@KirillOsenkov

Description

@KirillOsenkov

Here, if we successfully found the implementation assembly, isReferenceAssembly needs to be set back to false:

var isReferenceAssembly = MetadataAsSourceHelpers.IsReferenceAssembly(containingAssembly);
if (assemblyLocation is not null &&
isReferenceAssembly &&
!_implementationAssemblyLookupService.TryFindImplementationAssemblyPath(assemblyLocation, out assemblyLocation))

Otherwise we won't show method bodies even if we have them.

@davidwengier

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions