Skip to content

Commit

Permalink
fix: PDB symbol link respect disable git features (#9490)
Browse files Browse the repository at this point in the history
fix: PDB symbol link respect disable git features
  • Loading branch information
yufeih authored Nov 29, 2023
1 parent 50b064a commit 2324f13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public override MetadataItem DefaultVisit(ISymbol symbol)
DisplayNames = new SortedList<SyntaxLanguage, string>(),
DisplayNamesWithType = new SortedList<SyntaxLanguage, string>(),
DisplayQualifiedNames = new SortedList<SyntaxLanguage, string>(),
Source = VisitorHelper.GetSourceDetail(symbol, _compilation),
Source = _config.DisableGitFeatures ? null : VisitorHelper.GetSourceDetail(symbol, _compilation),
};
var assemblyName = symbol.ContainingAssembly?.Name;
item.AssemblyNameList = string.IsNullOrEmpty(assemblyName) || assemblyName is "?" ? null : new List<string> { assemblyName };
Expand Down

0 comments on commit 2324f13

Please sign in to comment.