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
Here, if we successfully found the implementation assembly, isReferenceAssembly needs to be set back to false:
roslyn/src/Features/Core/Portable/MetadataAsSource/DecompilationMetadataAsSourceFileProvider.cs
Lines 243 to 247 in 6436e57
Otherwise we won't show method bodies even if we have them.
@davidwengier