12 references to GetFirstSymbolForDeclarationId
Microsoft.CodeAnalysis (1)
DocumentationCommentId.cs (1)
246return GetFirstSymbolForDeclarationId(id, compilation);
Microsoft.CodeAnalysis.Features (2)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
453var symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(crefAttribute.Value, semanticModel.Compilation); 502var symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(crefValue, semanticModel.Compilation);
Microsoft.CodeAnalysis.UnitTests (6)
Symbols\DocumentationCommentIdTests.cs (6)
135Assert.NotNull(DocumentationCommentId.GetFirstSymbolForDeclarationId("M:N.C.M``1(``0[])", comp)); 136Assert.Null(DocumentationCommentId.GetFirstSymbolForDeclarationId("M:N.C.M``1(`0[])", comp)); 137Assert.Null(DocumentationCommentId.GetFirstSymbolForDeclarationId("M:N.C.M``1(``1[])", comp)); 154Assert.NotNull(DocumentationCommentId.GetFirstSymbolForDeclarationId("M:N.C.M``1(``0[])", comp)); 155Assert.Null(DocumentationCommentId.GetFirstSymbolForDeclarationId("M:N.C.M``1(`0[])", comp)); 156Assert.Null(DocumentationCommentId.GetFirstSymbolForDeclarationId("M:N.C.M``1(``1[])", comp));
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Extensions\ISymbolExtensions.cs (1)
370symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(crefValue, compilation);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
UtilityTest\DocumentationCommentIdTests.cs (2)
28var sym = DocumentationCommentId.GetFirstSymbolForDeclarationId(id, compilation); 35var symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(expectedId, compilation);