You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The filepath-line-column scheme will be completely removed when support for .NET 8 is dropped, which means this compat workaround will also be removed at that time. #72855
Related to #71879
https://github.com/dotnet/roslyn/blob/main/docs/features/interceptors.md
Note: this issue is referenced in src/doc
The text was updated successfully, but these errors were encountered: