-
-
Notifications
You must be signed in to change notification settings - Fork 194
Expand file tree
/
Copy pathroslyn-analyzers-report.sarif
More file actions
109 lines (109 loc) · 2.68 KB
/
Copy pathroslyn-analyzers-report.sarif
File metadata and controls
109 lines (109 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "Microsoft.NetCore.Analyzers"
}
},
"results": [
{
"ruleId": "CA1822",
"level": "warning",
"message": {
"text": "Mark members as static"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Program.cs"
},
"region": {
"startLine": 12,
"endLine": 12,
"startColumn": 9,
"endColumn": 18
}
}
}
]
},
{
"ruleId": "CA2000",
"level": "error",
"message": {
"text": "Dispose objects before losing scope"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "file:///C:/work/analysis-model/src/Helpers.cs"
},
"region": {
"startLine": 7,
"endLine": 7,
"startColumn": 13,
"endColumn": 20
}
}
}
]
},
{
"ruleId": "CA1303",
"level": "warning",
"message": {
"text": "Do not pass literals as localized parameters"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Localization.cs"
},
"region": {
"startLine": 18,
"endLine": 18,
"startColumn": 17,
"endColumn": 29
}
}
}
],
"suppressions": [
{
"state": "accepted",
"justification": "Covered by legacy suppression"
}
]
},
{
"ruleId": "IDE0051",
"level": "note",
"message": {
"text": "Remove unused private members"
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": "src/Utilities/Formatting.cs"
},
"region": {
"startLine": 25,
"endLine": 25,
"startColumn": 5,
"endColumn": 15
}
}
}
]
}
]
}
]
}