41 references to CreateDeclarationId
Metrics (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Metrics.Legacy (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Microsoft.AspNetCore.OpenApi.SourceGenerators (3)
XmlCommentGenerator.Parser.cs (3)
81
if (DocumentationCommentId.
CreateDeclarationId
(type) is string name &&
90
if (DocumentationCommentId.
CreateDeclarationId
(property) is string name &&
104
if (DocumentationCommentId.
CreateDeclarationId
(method) is string name &&
Microsoft.CodeAnalysis (1)
DocumentationCommentId.cs (1)
82
var result =
CreateDeclarationId
(symbol);
Microsoft.CodeAnalysis.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs (1)
103
var docCommentId = DocumentationCommentId.
CreateDeclarationId
(resolvedSymbol);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\ExtensionTests2.cs (14)
34049
AssertEx.Equal("T:E.<G>$BA41CFE2B5EDAEB8C1B9062F59ED4D69.<M>$531E7AC45D443AE2243E7FFAB9455D60", DocumentationCommentId.
CreateDeclarationId
(extension));
34053
var found = (INamedTypeSymbol)DocumentationCommentId.GetSymbolsForDeclarationId(DocumentationCommentId.
CreateDeclarationId
(extension), comp).Single();
34062
var declarationId = DocumentationCommentId.
CreateDeclarationId
(m);
34069
declarationId = DocumentationCommentId.
CreateDeclarationId
(mImplementation);
34099
AssertEx.Equal("M:E.<G>$8048A6C8BE30A622530249B904B537EB`1.M", DocumentationCommentId.
CreateDeclarationId
(method));
34105
DocumentationCommentId.
CreateDeclarationId
(extension));
34133
AssertEx.Equal("T:E.<G>$8048A6C8BE30A622530249B904B537EB`1.<M>$D1693D81A12E8DED4ED68FE22D9E856F", DocumentationCommentId.
CreateDeclarationId
(extension));
34137
var found = (INamedTypeSymbol)DocumentationCommentId.GetSymbolsForDeclarationId(DocumentationCommentId.
CreateDeclarationId
(extension), comp).Single();
34149
var declarationId = DocumentationCommentId.
CreateDeclarationId
(m);
34156
declarationId = DocumentationCommentId.
CreateDeclarationId
(mImplementation);
34234
AssertEx.Equal("T:E.GroupingType`1.MarkerType", DocumentationCommentId.
CreateDeclarationId
(extension));
34238
var found = (INamedTypeSymbol)DocumentationCommentId.GetSymbolsForDeclarationId(DocumentationCommentId.
CreateDeclarationId
(extension), comp).Single();
34247
var declarationId = DocumentationCommentId.
CreateDeclarationId
(m);
34254
declarationId = DocumentationCommentId.
CreateDeclarationId
(mImplementation);
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
377
=> "~" + DocumentationCommentId.
CreateDeclarationId
(targetSymbol);
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.cs (1)
103
var docCommentId = DocumentationCommentId.
CreateDeclarationId
(resolvedSymbol);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Microsoft.CodeAnalysis.UnitTests (5)
Symbols\DocumentationCommentIdTests.cs (5)
39
var actualDocId = DocumentationCommentId.
CreateDeclarationId
(symbol);
69
var actualDocId = DocumentationCommentId.
CreateDeclarationId
(symbol);
89
var actualDocId = DocumentationCommentId.
CreateDeclarationId
(symbol);
113
var actualDocId = DocumentationCommentId.
CreateDeclarationId
(symbol);
184
var id = DocumentationCommentId.
CreateDeclarationId
(symbol!);
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SymbolEditor.cs (1)
98
var symbolId = DocumentationCommentId.
CreateDeclarationId
(symbol);
FindSymbols\FindReferences\Finders\AbstractReferenceFinder_GlobalSuppressions.cs (1)
26
documentationCommentId = DocumentationCommentId.
CreateDeclarationId
(symbol);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
UtilityTest\DocumentationCommentIdTests.cs (2)
25
var id = DocumentationCommentId.
CreateDeclarationId
(symbol);
47
var id = DocumentationCommentId.
CreateDeclarationId
(symbol);
Roslyn.Diagnostics.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];
Test.Utilities (1)
SymbolNamesWithValueOption.cs (1)
344
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)[2..];
Text.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
347
var declarationIdWithoutPrefix = DocumentationCommentId.
CreateDeclarationId
(symbol)![2..];