56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json.schemastore.org/sarif-1.0.0",
|
|
"version": "1.0.0",
|
|
"runs": [
|
|
{
|
|
"tool": {
|
|
"name": "Microsoft (R) Visual C# Compiler",
|
|
"version": "5.3.0.0",
|
|
"fileVersion": "5.3.0-2.26153.122 (4d3023de605a78ba3e59e50c657eed70f125c68a)",
|
|
"semanticVersion": "5.3.0",
|
|
"language": "en-RS"
|
|
},
|
|
"results": [
|
|
{
|
|
"ruleId": "S6966",
|
|
"level": "warning",
|
|
"message": "Await RunAsync instead.",
|
|
"locations": [
|
|
{
|
|
"resultFile": {
|
|
"uri": "file:///Users/bobanlapcevic/Desktop/theInterfacePro/MySimpleUI/Program.cs",
|
|
"region": {
|
|
"startLine": 6,
|
|
"startColumn": 1,
|
|
"endLine": 6,
|
|
"endColumn": 10
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"properties": {
|
|
"warningLevel": 1
|
|
}
|
|
}
|
|
],
|
|
"rules": {
|
|
"S6966": {
|
|
"id": "S6966",
|
|
"shortDescription": "Awaitable method should be used",
|
|
"fullDescription": "In an async method, any blocking operations should be avoided.",
|
|
"defaultLevel": "warning",
|
|
"properties": {
|
|
"category": "Major Code Smell",
|
|
"isEnabledByDefault": true,
|
|
"tags": [
|
|
"C#",
|
|
"MainSourceScope",
|
|
"TestSourceScope",
|
|
"SonarWay"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |