Robuta

https://learn.microsoft.com/zh-cn/dotnet/api/microsoft.codeanalysis.syntaxnode.containsdiagnostics?view=roslyn-dotnet-5.0.0 SyntaxNode.ContainsDiagnostics Property (Microsoft.CodeAnalysis) | Microsoft Learn Determines whether this node or any of its descendant nodes, tokens or trivia have any diagnostics on them. propertymicrosoftlearn