dotnet / dotnet/docs

Title: BaseExpressionTypeClauseSyntax appears in official docs but is no longer part of Roslyn (4.13.0)

Open
#47,518 1 comment 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-roslyn-api/svc microsoft.codeanalysis/subsvc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

### Type of issue

Other (describe below)

### Description

The CSharpSyntaxNode documentation page lists BaseExpressionTypeClauseSyntax as a derived type. However, this type no longer exists in Roslyn as of version 4.0+ and is not present in the Roslyn repo source for 4.13.0.
It appears to be a legacy or experimental syntax node that was removed, but it still shows up in API documentation—possibly due to outdated metadata or automated doc generation.
Steps to reproduce:
- Open the CSharpSyntaxNode documentation
- Scroll to the “Derived” section
- Observe that BaseExpressionTypeClauseSyntax is listed
Expected behavior: That type should not appear in the current API docs for Roslyn 4.13.0, as it is no longer valid.
Additional context: This issue may lead to confusion for developers relying on the documentation for analyzer or generator development.

### Page URL

https://learn.microsoft.com/zh-tw/dotnet/api/microsoft.codeanalysis.csharp.csharpsyntaxnode?view=roslyn-dotnet-4.13.0

[Related Issues](https://github.com/dotnet/docs/issues?q=is%3Aissue+is%3Aopen+70295590-ba09-a577-16b6-6af9917abde0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.