We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ce8c5 commit d053d06Copy full SHA for d053d06
src/Compilers/CSharp/Portable/Compiler/DocumentationCommentCompiler.cs
@@ -258,13 +258,7 @@ public override void DefaultVisit(Symbol symbol)
258
bool shouldSkipPartialDefinitionComments = false;
259
if (symbol.IsPartialDefinition())
260
{
261
- Symbol? implementationPart = symbol switch
262
- {
263
- MethodSymbol method => method.PartialImplementationPart,
264
- SourcePropertySymbol property => property.PartialImplementationPart,
265
- _ => null
266
- };
267
-
+ Symbol? implementationPart = symbol.GetPartialImplementationPart();
268
if (implementationPart is not null)
269
270
Visit(implementationPart);
0 commit comments