Search Issue Tracker
By Design
Votes
0
Found in
2020.3
2021.2
2021.2.10f1
2022.1
2022.2
Issue ID
1403559
Regression
No
Suppressed warning is logged to the Console when using Roslyn DiagnosticSuppression
How to reproduce:
1. Open the user's attached project
2. At the top of the Editor, go to Compilation -> Run
3. Observe the Console
Expected result: no warning is logged to the Console
Actual result: warning CS0649 is logged to the Console
Reproducible with: 2020.3.30f1, 2021.2.13f1, 2022.1.0b9, 2022.2.0a5
Could not test with: 2019.4.36f1 (error CS0117: 'ScriptCompilationSettings' does not contain a definition for 'extraScriptingDefines')
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (2022.2.X):
https://github.com/dotnet/roslyn/blob/main/docs/compilers/Rule%20Set%20Format.md
Setting the SuppressionDescriptor to "None" will basically overrule it, and it will basically become disabled.