dotnet/roslyn

Can't diagnose analyzer error related to generated file.

オープン

#50,166 opened on 2020/12/29

 (3 件のコメント) (0 件のリアクション) (1 人の担当者)C# (4,257 件のフォーク)batch import
Area-AnalyzersBugFeature - Source Generatorshelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

Running build.cmd -a on roslyn, i get:

C:\github\roslyn\src\Compilers\CSharp\Portable\CSharpSyntaxGenerator\CSharpSyntaxGenerator.SourceGenerator\Syntax.xml.Main.Generated.cs(4565,44): error RS0016: Symbol 'UsingDirective' is not part of the declared API [C:\github\roslyn\sr
c\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj]
C:\github\roslyn\src\Compilers\CSharp\Portable\CSharpSyntaxGenerator\CSharpSyntaxGenerator.SourceGenerator\Syntax.xml.Main.Generated.cs(4574,44): error RS0016: Symbol 'UsingDirective' is not part of the declared API [C:\github\roslyn\sr
c\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj]
C:\github\roslyn\src\Compilers\CSharp\Portable\CSharpSyntaxGenerator\CSharpSyntaxGenerator.SourceGenerator\Syntax.xml.Main.Generated.cs(4578,44): error RS0016: Symbol 'UsingDirective' is not part of the declared API [C:\github\roslyn\sr
c\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj]

However, when i go to try to open those files to look at those lines so i can see what is being complained about, i don't see those files on disk at the path the error message specifies. So i can't figure out what's gone wrong or how to fix it.

コントリビューターガイド