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": "S2933", "level": "warning", "message": "Make 'emptyBuffers' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///home/jenkins/agent/workspace/loud_Services_cloudupload_master/src/CopyToAwsDisk.cs", "region": { "startLine": 42, "startColumn": 49, "endLine": 42, "endColumn": 61 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S2933", "level": "warning", "message": "Make 'fullBuffers' 'readonly'.", "locations": [ { "resultFile": { "uri": "file:///home/jenkins/agent/workspace/loud_Services_cloudupload_master/src/CopyToAwsDisk.cs", "region": { "startLine": 43, "startColumn": 49, "endLine": 43, "endColumn": 60 } } } ], "properties": { "warningLevel": 1 } }, { "ruleId": "S1116", "level": "warning", "message": "Remove this empty statement.", "locations": [ { "resultFile": { "uri": "file:///home/jenkins/agent/workspace/loud_Services_cloudupload_master/src/CopyToAwsDisk.cs", "region": { "startLine": 86, "startColumn": 18, "endLine": 86, "endColumn": 19 } } } ], "properties": { "warningLevel": 1 } }, { "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": 304, "startColumn": 23, "endLine": 304, "endColumn": 59 } } } ], "properties": { "warningLevel": 1 } }, { "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/CopyToAwsDisk.cs", "region": { "startLine": 203, "startColumn": 23, "endLine": 203, "endColumn": 96 } } } ], "properties": { "warningLevel": 1 } }, { "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/CopyToAwsDisk.cs", "region": { "startLine": 254, "startColumn": 31, "endLine": 254, "endColumn": 100 } } } ], "properties": { "warningLevel": 1 } }, { "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/CopyToAwsDisk.cs", "region": { "startLine": 272, "startColumn": 31, "endLine": 272, "endColumn": 83 } } } ], "properties": { "warningLevel": 1 } }, { "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/CopyToAwsDisk.cs", "region": { "startLine": 289, "startColumn": 23, "endLine": 289, "endColumn": 132 } } } ], "properties": { "warningLevel": 1 } }, { "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/CopyToAwsDisk.cs", "region": { "startLine": 296, "startColumn": 27, "endLine": 296, "endColumn": 152 } } } ], "properties": { "warningLevel": 1 } }, { "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/CopyToAwsDisk.cs", "region": { "startLine": 300, "startColumn": 27, "endLine": 300, "endColumn": 138 } } } ], "properties": { "warningLevel": 1 } }, { "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/CopyToAwsDisk.cs", "region": { "startLine": 316, "startColumn": 19, "endLine": 316, "endColumn": 109 } } } ], "properties": { "warningLevel": 1 } }, { "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/CopyToAwsDisk.cs", "region": { "startLine": 324, "startColumn": 23, "endLine": 324, "endColumn": 122 } } } ], "properties": { "warningLevel": 1 } } ], "rules": { "S1116": { "id": "S1116", "shortDescription": "Empty statements should be removed", "fullDescription": "Empty statements, i.e. ;, are usually introduced by mistake, for example because:", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1116", "properties": { "category": "Minor Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } }, "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" ] } }, "S2933": { "id": "S2933", "shortDescription": "Fields that are only assigned in the constructor should be \"readonly\"", "fullDescription": "readonly fields can only be assigned in a class constructor. If a class has a field that's not marked readonly but is only set in the constructor, it could cause confusion about the field's intended use. To avoid confusion, such fields should be marked readonly to make their intended use explicit, and to prevent future maintainers from inadvertently changing their use.", "defaultLevel": "warning", "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2933", "properties": { "category": "Major Code Smell", "isEnabledByDefault": true, "tags": [ "C#", "SonarWay", "MainSourceScope", "TestSourceScope" ] } } } } ] } |