Open rotanov opened 5 months ago
Same here.
Most .NET 8.0 projects are fine, except for the one which uses ref readonly
parameters introduced in C#12, which give 'Syntax node is not within syntax tree'.
Identical when using .NET Framework 4.8
.
I have a .NET8 project, the analyzer throws an exception:
warning: AD0001: Analyzer 'ErrorProne.NET.StructAnalyzers.MakeStructMemberReadOnlyAnalyzer' threw an exception of type 'System.ArgumentException' with message 'Syntax node is not within syntax tree'.
I tried
0.4.0-beta.1
and0.6.1-beta.1
.I understand that's not enough information to get to the cause. Is there any way to debug it locally?