bin/netstandard2.0/Citrix.CloudUpload.dll.RoslynCA.json
{ "$schema": "http://json.schemastore.org/sarif-1.0.0", "version": "1.0.0", "runs": [ { "tool": { "name": "Microsoft (R) Visual C# Compiler", "version": "3.7.0.0", "fileVersion": "3.7.0-6.20570.4 (dc3f4eef)", "semanticVersion": "3.7.0", "language": "" }, "results": [ { "ruleId": "S112", "level": "warning", "message": "'System.Exception' should not be thrown by user code.", "locations": [ { "resultFile": { "uri": "file:///home/jenkins/agent/workspace/loud_Services_cloudupload_master/src/CopyToGcpDisk.cs", "region": { "startLine": 300, "startColumn": 23, "endLine": 300, "endColumn": 59 } } } ], "properties": { "warningLevel": 1 } } ], "rules": { "S112": { "id": "S112", "shortDescription": "General exceptions should never be thrown", "fullDescription": "Throwing such general exceptions as Exception, SystemException, ApplicationException, IndexOutOfRangeException, NullReferenceException, OutOfMemoryException and ExecutionEngineException prevents calling methods from handling true, system-generated exceptions differently than application-generated errors. ", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-112", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope" ] } } } } ] } |