-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Codefixer should not use CultureInfo.CurrentUICulture
#104802
Comments
I created https://github.com/dotnet/linker/issues/3197 to track the removal of this once we can.
Analyzers are strongly suggested to get their UI from the compiler switch by using Fixers are not executed in the context of the compiler. They're executed in the context of a UI like Visual Studio or VS Code. As such, using |
/fyi: @sbomer |
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas |
We are following the guidance, so this issue only tracks removing this suppression for RS1035 once it is no longer produced for code fixers: runtime/src/tools/illink/src/ILLink.CodeFix/UnconditionalSuppressMessageCodeFixProvider.cs Lines 47 to 49 in 9550d3b
|
This is all about dotnet/roslyn#66566.
Once there's the right API to use, the code fixer should switch to it.
The text was updated successfully, but these errors were encountered: