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
RS1035: The symbol is banned for use by analyzers.
The violations occur in the following two projects. System.IO.* APIs are flagged as banned for use in analyzers and source generators. We need to either keep the suppression introduced in #5370 or fix the issues.
Note, the outcome of this might just be "we keep suppressing since there's no alternative". Unless there's a way to emit these reports from the generator via MSBuild, or some other method introduced from Roslyn team.
I checked and tried different solutions with SourceGenerator, IIncrementalGenerator, also I haven't found anything useful for MSBuild. There would be an option to somehow go with reflection instead of Generators but most likely it would not work in build time.
I suggest to close this issue or mark it as blocked.
The violations occur in the following two projects. System.IO.* APIs are flagged as banned for use in analyzers and source generators. We need to either keep the suppression introduced in #5370 or fix the issues.
See dotnet/roslyn#63290
The text was updated successfully, but these errors were encountered: