We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50b064a commit 2324f13Copy full SHA for 2324f13
src/Docfx.Dotnet/ManagedReference/Visitors/SymbolVisitorAdapter.cs
@@ -46,7 +46,7 @@ public override MetadataItem DefaultVisit(ISymbol symbol)
46
DisplayNames = new SortedList<SyntaxLanguage, string>(),
47
DisplayNamesWithType = new SortedList<SyntaxLanguage, string>(),
48
DisplayQualifiedNames = new SortedList<SyntaxLanguage, string>(),
49
- Source = VisitorHelper.GetSourceDetail(symbol, _compilation),
+ Source = _config.DisableGitFeatures ? null : VisitorHelper.GetSourceDetail(symbol, _compilation),
50
};
51
var assemblyName = symbol.ContainingAssembly?.Name;
52
item.AssemblyNameList = string.IsNullOrEmpty(assemblyName) || assemblyName is "?" ? null : new List<string> { assemblyName };
0 commit comments