Related to #71879
https://github.com/dotnet/roslyn/blob/main/docs/features/interceptors.md
Temporarily, for compatibility purposes, when the initial matching strategy outlined above fails to match any syntax trees, we will fall back to a "compat" matching strategy which works in the following way:
- A mapped path of each syntax tree is determined by applying
/pathmap substitution to SyntaxTree.FilePath.
- For a given
[InterceptsLocation] usage, the filePath argument value is compared to the mapped path of each syntax tree using ordinal string comparison. If exactly one syntax tree matches under this comparison, that is the referenced syntax tree. Otherwise, an error occurs.
Support for the "compat" strategy will be dropped prior to stable release.
Note: this issue is referenced in src/doc
Related to #71879
https://github.com/dotnet/roslyn/blob/main/docs/features/interceptors.md
Note: this issue is referenced in src/doc