2 writes to TypeParameterNames
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Utilities\DocumentationComment.cs (2)
86
TypeParameterNames
= [];
160
_comment.
TypeParameterNames
= _typeParameterNamesBuilder == null ? [] : _typeParameterNamesBuilder.ToImmutable();
11 references to TypeParameterNames
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.DocCommentFormatter.cs (1)
68
var typeParameterNames = docComment.
TypeParameterNames
;
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
UtilityTest\DocumentationCommentTests.cs (8)
45
Assert.Equal("T", comment.
TypeParameterNames
[0]);
73
Assert.Equal("T", comment.
TypeParameterNames
[0]);
136
Assert.Equal("z", comment.
TypeParameterNames
[0]);
137
Assert.Equal("a", comment.
TypeParameterNames
[1]);
138
Assert.Equal("b", comment.
TypeParameterNames
[2]);
226
Assert.Equal(1, comment.
TypeParameterNames
.Length);
227
Assert.Equal("a", comment.
TypeParameterNames
[0]);
267
Assert.Equal(0, comment.
TypeParameterNames
.Length);
Microsoft.VisualStudio.LanguageServices (2)
Library\ObjectBrowser\AbstractDescriptionBuilder.cs (2)
309
if (documentationComment.
TypeParameterNames
.Length > 0)
319
foreach (var typeParameterName in documentationComment.
TypeParameterNames
)