Skip to content

Commit 391e97b

Browse files
committed
Avoid initializing SymbolLocations
1 parent 8847075 commit 391e97b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/PortToTripleSlash/src/libraries/ToTripleSlashPorter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ private static void FindLocationsOfSymbolInResolvedProject(DocsType docsType, Co
252252
// Next, filter types that match the current docsType
253253
IEnumerable<ISymbol> currentTypeSymbols = visitor.AllTypesSymbols.Where(s => s != null && s.GetDocumentationCommentId() == docsType.DocId);
254254

255-
docsType.SymbolLocations ??= new();
256255
foreach (ISymbol symbol in currentTypeSymbols)
257256
{
258257
GetSymbolLocations(docsType.SymbolLocations, compilation, symbol);

0 commit comments

Comments
 (0)