Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FL0014 spuriously triggers when used with interpolated string handlers #88

Open
StephenCleary opened this issue Mar 8, 2023 · 0 comments

Comments

@StephenCleary
Copy link
Contributor

E.g., FL0014 fires for this code if it is targeting C# 10 and .NET 6:

var result = false;
Debug.Assert(result, $"Assertion was {result}");

This is likely due to the Debug.AssertInterpolatedStringHandler added in .NET 6.0 along with the interpolated string handler support added in C# 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant