55 references to DocumentationCommentId
GenerateDocumentationAndConfigFiles (5)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
408var matchingSymbols = DocumentationCommentId.GetSymbolsForDeclarationId(genericInterfaceFullName, compilation);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
202foreach (var symbol in DocumentationCommentId.GetSymbolsForDeclarationId(nameWithPrefix, compilation)) 347var declarationIdWithoutPrefix = DocumentationCommentId.CreateDeclarationId(symbol)![2..];
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol)); 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);
Microsoft.AspNetCore.App.CodeFixes (1)
Http\HeaderDictionaryAddFixer.cs (1)
72var annotation = new SyntaxAnnotation("SymbolId", DocumentationCommentId.CreateReferenceId(wellKnownTypes.Get(WellKnownType.Microsoft_AspNetCore_Http_HeaderDictionaryExtensions)));
Microsoft.AspNetCore.OpenApi.SourceGenerators (6)
XmlCommentGenerator.Parser.cs (4)
81if (DocumentationCommentId.CreateDeclarationId(type) is string name && 90if (DocumentationCommentId.CreateDeclarationId(property) is string name && 104if (DocumentationCommentId.CreateDeclarationId(method) is string name && 121if (DocumentationCommentId.GetFirstSymbolForDeclarationId(name, compilation) is ISymbol symbol &&
XmlComments\XmlComment.cs (1)
196var symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(cref, compilation);
XmlComments\XmlComment.InheritDoc.cs (1)
170symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(crefValue, compilation);
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (2)
63/// <param name="resolvedWithDocCommentIdFormat">Indicates if resolved "Target" argument is in Roslyn's <see cref="DocumentationCommentId"/> format.</param> 75var docIdResults = DocumentationCommentId.GetSymbolsForDeclarationId(nameWithoutPrefix, _compilation);
Microsoft.CodeAnalysis.Analyzers (6)
src\roslyn\src\RoslynAnalyzers\Microsoft.CodeAnalysis.BannedApiAnalyzers\Core\SymbolIsBannedAnalyzerBase.cs (1)
515() => DocumentationCommentId.GetSymbolsForDeclarationId(DeclarationId, compilation)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
408var matchingSymbols = DocumentationCommentId.GetSymbolsForDeclarationId(genericInterfaceFullName, compilation);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
202foreach (var symbol in DocumentationCommentId.GetSymbolsForDeclarationId(nameWithPrefix, compilation)) 347var declarationIdWithoutPrefix = DocumentationCommentId.CreateDeclarationId(symbol)![2..];
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol)); 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
408var matchingSymbols = DocumentationCommentId.GetSymbolsForDeclarationId(genericInterfaceFullName, compilation);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
202foreach (var symbol in DocumentationCommentId.GetSymbolsForDeclarationId(nameWithPrefix, compilation)) 347var declarationIdWithoutPrefix = DocumentationCommentId.CreateDeclarationId(symbol)![2..];
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol)); 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);
Microsoft.CodeAnalysis.CodeStyle (5)
src\roslyn\src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs (1)
103var docCommentId = DocumentationCommentId.CreateDeclarationId(resolvedSymbol);
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (2)
63/// <param name="resolvedWithDocCommentIdFormat">Indicates if resolved "Target" argument is in Roslyn's <see cref="DocumentationCommentId"/> format.</param> 75var docIdResults = DocumentationCommentId.GetSymbolsForDeclarationId(nameWithoutPrefix, _compilation);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol)); 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (1)
330? DocumentationCommentId.GetSymbolsForDeclarationId(documentation.CompletionListCref, compilation).OfType<INamedTypeSymbol>().FirstOrDefault()
Microsoft.CodeAnalysis.Features (6)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
377=> "~" + DocumentationCommentId.CreateDeclarationId(targetSymbol);
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
470var symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(crefAttribute.Value, semanticModel.Compilation); 519var symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(crefValue, semanticModel.Compilation);
src\roslyn\src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs (1)
103var docCommentId = DocumentationCommentId.CreateDeclarationId(resolvedSymbol);
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (2)
63/// <param name="resolvedWithDocCommentIdFormat">Indicates if resolved "Target" argument is in Roslyn's <see cref="DocumentationCommentId"/> format.</param> 75var docIdResults = DocumentationCommentId.GetSymbolsForDeclarationId(nameWithoutPrefix, _compilation);
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
408var matchingSymbols = DocumentationCommentId.GetSymbolsForDeclarationId(genericInterfaceFullName, compilation);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
202foreach (var symbol in DocumentationCommentId.GetSymbolsForDeclarationId(nameWithPrefix, compilation)) 347var declarationIdWithoutPrefix = DocumentationCommentId.CreateDeclarationId(symbol)![2..];
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol)); 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\CompletionListTagCompletionProvider.vb (1)
74Dim crefType = DocumentationCommentId.GetSymbolsForDeclarationId(documentation.CompletionListCref, compilation) _
Microsoft.CodeAnalysis.Workspaces (7)
Editing\SymbolEditor.cs (2)
98var symbolId = DocumentationCommentId.CreateDeclarationId(symbol); 154var symbols = DocumentationCommentId.GetSymbolsForDeclarationId(symbolId, comp).ToList();
FindSymbols\FindReferences\Finders\AbstractReferenceFinder_GlobalSuppressions.cs (1)
26documentationCommentId = DocumentationCommentId.CreateDeclarationId(symbol);
Shared\Extensions\ISymbolExtensions.cs (1)
369symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(crefValue, compilation);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol)); 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);
Utilities\Documentation\DeferredDocumentationProvider.cs (1)
33var symbol = DocumentationCommentId.GetFirstSymbolForDeclarationId(documentationMemberID, _compilation);
Roslyn.Diagnostics.Analyzers (5)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
408var matchingSymbols = DocumentationCommentId.GetSymbolsForDeclarationId(genericInterfaceFullName, compilation);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (2)
202foreach (var symbol in DocumentationCommentId.GetSymbolsForDeclarationId(nameWithPrefix, compilation)) 347var declarationIdWithoutPrefix = DocumentationCommentId.CreateDeclarationId(symbol)![2..];
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
18=> new(Kind, DocumentationCommentId.CreateReferenceId(symbol)); 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);