Skip to content

Commit 66c3595

Browse files
author
Marc Sallin
committed
Added custom code analysis ruleset.
1 parent 9c31692 commit 66c3595

File tree

2 files changed

+240
-1
lines changed

2 files changed

+240
-1
lines changed

SQLite.CodeFirst.sln

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
4-
VisualStudioVersion = 14.0.24720.0
4+
VisualStudioVersion = 14.0.25123.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLite.CodeFirst", "SQLite.CodeFirst\SQLite.CodeFirst.csproj", "{50A32FE4-0E13-4213-A373-72523CDF34D9}"
77
EndProject
@@ -30,6 +30,7 @@ EndProject
3030
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{1F6D4E0E-5D07-4889-961A-A6AFC0ECD7C7}"
3131
ProjectSection(SolutionItems) = preProject
3232
Shared\AssemblySharedInfo.cs = Shared\AssemblySharedInfo.cs
33+
Shared\SQLite.CodeFirst.ruleset = Shared\SQLite.CodeFirst.ruleset
3334
Shared\SQLite.CodeFirst.StrongNameKey.snk = Shared\SQLite.CodeFirst.StrongNameKey.snk
3435
EndProjectSection
3536
EndProject

Shared/SQLite.CodeFirst.ruleset

Lines changed: 238 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,238 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RuleSet Name="Rules for SQLite.CodeFirst" Description="Code analysis rules for SQLite.CodeFirst.csproj." ToolsVersion="14.0">
3+
<IncludeAll Action="Warning" />
4+
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
5+
<Rule Id="CA1000" Action="Warning" />
6+
<Rule Id="CA1001" Action="Warning" />
7+
<Rule Id="CA1002" Action="Warning" />
8+
<Rule Id="CA1003" Action="Warning" />
9+
<Rule Id="CA1004" Action="Warning" />
10+
<Rule Id="CA1005" Action="Warning" />
11+
<Rule Id="CA1006" Action="Warning" />
12+
<Rule Id="CA1007" Action="Warning" />
13+
<Rule Id="CA1008" Action="Warning" />
14+
<Rule Id="CA1009" Action="Warning" />
15+
<Rule Id="CA1010" Action="Warning" />
16+
<Rule Id="CA1011" Action="Warning" />
17+
<Rule Id="CA1012" Action="Warning" />
18+
<Rule Id="CA1013" Action="Warning" />
19+
<Rule Id="CA1014" Action="Warning" />
20+
<Rule Id="CA1016" Action="Warning" />
21+
<Rule Id="CA1017" Action="Warning" />
22+
<Rule Id="CA1018" Action="Warning" />
23+
<Rule Id="CA1019" Action="Warning" />
24+
<Rule Id="CA1020" Action="Warning" />
25+
<Rule Id="CA1021" Action="Warning" />
26+
<Rule Id="CA1023" Action="Warning" />
27+
<Rule Id="CA1024" Action="Warning" />
28+
<Rule Id="CA1025" Action="Warning" />
29+
<Rule Id="CA1026" Action="Warning" />
30+
<Rule Id="CA1027" Action="Warning" />
31+
<Rule Id="CA1028" Action="Warning" />
32+
<Rule Id="CA1030" Action="Warning" />
33+
<Rule Id="CA1031" Action="Warning" />
34+
<Rule Id="CA1032" Action="Warning" />
35+
<Rule Id="CA1033" Action="Warning" />
36+
<Rule Id="CA1034" Action="Warning" />
37+
<Rule Id="CA1035" Action="Warning" />
38+
<Rule Id="CA1036" Action="Warning" />
39+
<Rule Id="CA1038" Action="Warning" />
40+
<Rule Id="CA1039" Action="Warning" />
41+
<Rule Id="CA1040" Action="Warning" />
42+
<Rule Id="CA1041" Action="Warning" />
43+
<Rule Id="CA1043" Action="Warning" />
44+
<Rule Id="CA1044" Action="Warning" />
45+
<Rule Id="CA1045" Action="Warning" />
46+
<Rule Id="CA1046" Action="Warning" />
47+
<Rule Id="CA1047" Action="Warning" />
48+
<Rule Id="CA1048" Action="Warning" />
49+
<Rule Id="CA1049" Action="Warning" />
50+
<Rule Id="CA1050" Action="Warning" />
51+
<Rule Id="CA1051" Action="Warning" />
52+
<Rule Id="CA1052" Action="Warning" />
53+
<Rule Id="CA1053" Action="Warning" />
54+
<Rule Id="CA1054" Action="Warning" />
55+
<Rule Id="CA1055" Action="Warning" />
56+
<Rule Id="CA1056" Action="Warning" />
57+
<Rule Id="CA1057" Action="Warning" />
58+
<Rule Id="CA1058" Action="Warning" />
59+
<Rule Id="CA1059" Action="Warning" />
60+
<Rule Id="CA1060" Action="Warning" />
61+
<Rule Id="CA1061" Action="Warning" />
62+
<Rule Id="CA1062" Action="Warning" />
63+
<Rule Id="CA1063" Action="Warning" />
64+
<Rule Id="CA1064" Action="Warning" />
65+
<Rule Id="CA1065" Action="Warning" />
66+
<Rule Id="CA1300" Action="Warning" />
67+
<Rule Id="CA1301" Action="Warning" />
68+
<Rule Id="CA1302" Action="Warning" />
69+
<Rule Id="CA1303" Action="Warning" />
70+
<Rule Id="CA1304" Action="Warning" />
71+
<Rule Id="CA1305" Action="Warning" />
72+
<Rule Id="CA1306" Action="Warning" />
73+
<Rule Id="CA1307" Action="Warning" />
74+
<Rule Id="CA1308" Action="Warning" />
75+
<Rule Id="CA1309" Action="Warning" />
76+
<Rule Id="CA1400" Action="Warning" />
77+
<Rule Id="CA1401" Action="Warning" />
78+
<Rule Id="CA1402" Action="Warning" />
79+
<Rule Id="CA1403" Action="Warning" />
80+
<Rule Id="CA1404" Action="Warning" />
81+
<Rule Id="CA1405" Action="Warning" />
82+
<Rule Id="CA1406" Action="Warning" />
83+
<Rule Id="CA1407" Action="Warning" />
84+
<Rule Id="CA1408" Action="Warning" />
85+
<Rule Id="CA1409" Action="Warning" />
86+
<Rule Id="CA1410" Action="Warning" />
87+
<Rule Id="CA1411" Action="Warning" />
88+
<Rule Id="CA1412" Action="Warning" />
89+
<Rule Id="CA1413" Action="Warning" />
90+
<Rule Id="CA1414" Action="Warning" />
91+
<Rule Id="CA1415" Action="Warning" />
92+
<Rule Id="CA1500" Action="Warning" />
93+
<Rule Id="CA1501" Action="Warning" />
94+
<Rule Id="CA1502" Action="Warning" />
95+
<Rule Id="CA1504" Action="Warning" />
96+
<Rule Id="CA1505" Action="Warning" />
97+
<Rule Id="CA1506" Action="Warning" />
98+
<Rule Id="CA1600" Action="Warning" />
99+
<Rule Id="CA1601" Action="Warning" />
100+
<Rule Id="CA1700" Action="Warning" />
101+
<Rule Id="CA1701" Action="Warning" />
102+
<Rule Id="CA1702" Action="Warning" />
103+
<Rule Id="CA1703" Action="Warning" />
104+
<Rule Id="CA1704" Action="Warning" />
105+
<Rule Id="CA1707" Action="Warning" />
106+
<Rule Id="CA1708" Action="Warning" />
107+
<Rule Id="CA1709" Action="Warning" />
108+
<Rule Id="CA1710" Action="Warning" />
109+
<Rule Id="CA1711" Action="Warning" />
110+
<Rule Id="CA1712" Action="Warning" />
111+
<Rule Id="CA1713" Action="Warning" />
112+
<Rule Id="CA1714" Action="Warning" />
113+
<Rule Id="CA1715" Action="Warning" />
114+
<Rule Id="CA1716" Action="Warning" />
115+
<Rule Id="CA1717" Action="Warning" />
116+
<Rule Id="CA1719" Action="Warning" />
117+
<Rule Id="CA1720" Action="Warning" />
118+
<Rule Id="CA1721" Action="Warning" />
119+
<Rule Id="CA1722" Action="Warning" />
120+
<Rule Id="CA1724" Action="Warning" />
121+
<Rule Id="CA1725" Action="Warning" />
122+
<Rule Id="CA1726" Action="Warning" />
123+
<Rule Id="CA1800" Action="Warning" />
124+
<Rule Id="CA1801" Action="Warning" />
125+
<Rule Id="CA1802" Action="Warning" />
126+
<Rule Id="CA1804" Action="Warning" />
127+
<Rule Id="CA1806" Action="Warning" />
128+
<Rule Id="CA1809" Action="Warning" />
129+
<Rule Id="CA1810" Action="Warning" />
130+
<Rule Id="CA1811" Action="Warning" />
131+
<Rule Id="CA1812" Action="Warning" />
132+
<Rule Id="CA1813" Action="Warning" />
133+
<Rule Id="CA1814" Action="Warning" />
134+
<Rule Id="CA1815" Action="Warning" />
135+
<Rule Id="CA1816" Action="Warning" />
136+
<Rule Id="CA1819" Action="Warning" />
137+
<Rule Id="CA1820" Action="Warning" />
138+
<Rule Id="CA1821" Action="Warning" />
139+
<Rule Id="CA1822" Action="Warning" />
140+
<Rule Id="CA1823" Action="Warning" />
141+
<Rule Id="CA1824" Action="Warning" />
142+
<Rule Id="CA1900" Action="Warning" />
143+
<Rule Id="CA1901" Action="Warning" />
144+
<Rule Id="CA1903" Action="Warning" />
145+
<Rule Id="CA2000" Action="Warning" />
146+
<Rule Id="CA2001" Action="Warning" />
147+
<Rule Id="CA2002" Action="Warning" />
148+
<Rule Id="CA2003" Action="Warning" />
149+
<Rule Id="CA2004" Action="Warning" />
150+
<Rule Id="CA2006" Action="Warning" />
151+
<Rule Id="CA2100" Action="Warning" />
152+
<Rule Id="CA2101" Action="Warning" />
153+
<Rule Id="CA2102" Action="Warning" />
154+
<Rule Id="CA2103" Action="Warning" />
155+
<Rule Id="CA2104" Action="Warning" />
156+
<Rule Id="CA2105" Action="Warning" />
157+
<Rule Id="CA2106" Action="Warning" />
158+
<Rule Id="CA2107" Action="Warning" />
159+
<Rule Id="CA2108" Action="Warning" />
160+
<Rule Id="CA2109" Action="Warning" />
161+
<Rule Id="CA2111" Action="Warning" />
162+
<Rule Id="CA2112" Action="Warning" />
163+
<Rule Id="CA2114" Action="Warning" />
164+
<Rule Id="CA2115" Action="Warning" />
165+
<Rule Id="CA2116" Action="Warning" />
166+
<Rule Id="CA2117" Action="Warning" />
167+
<Rule Id="CA2118" Action="Warning" />
168+
<Rule Id="CA2119" Action="Warning" />
169+
<Rule Id="CA2120" Action="Warning" />
170+
<Rule Id="CA2121" Action="Warning" />
171+
<Rule Id="CA2122" Action="Warning" />
172+
<Rule Id="CA2123" Action="Warning" />
173+
<Rule Id="CA2124" Action="Warning" />
174+
<Rule Id="CA2126" Action="Warning" />
175+
<Rule Id="CA2130" Action="Warning" />
176+
<Rule Id="CA2131" Action="Warning" />
177+
<Rule Id="CA2132" Action="Warning" />
178+
<Rule Id="CA2133" Action="Warning" />
179+
<Rule Id="CA2134" Action="Warning" />
180+
<Rule Id="CA2135" Action="Warning" />
181+
<Rule Id="CA2136" Action="Warning" />
182+
<Rule Id="CA2137" Action="Warning" />
183+
<Rule Id="CA2138" Action="Warning" />
184+
<Rule Id="CA2139" Action="Warning" />
185+
<Rule Id="CA2140" Action="Warning" />
186+
<Rule Id="CA2141" Action="Warning" />
187+
<Rule Id="CA2142" Action="Warning" />
188+
<Rule Id="CA2143" Action="Warning" />
189+
<Rule Id="CA2144" Action="Warning" />
190+
<Rule Id="CA2145" Action="Warning" />
191+
<Rule Id="CA2146" Action="Warning" />
192+
<Rule Id="CA2147" Action="Warning" />
193+
<Rule Id="CA2149" Action="Warning" />
194+
<Rule Id="CA2151" Action="Warning" />
195+
<Rule Id="CA2200" Action="Warning" />
196+
<Rule Id="CA2201" Action="Warning" />
197+
<Rule Id="CA2202" Action="Warning" />
198+
<Rule Id="CA2204" Action="Warning" />
199+
<Rule Id="CA2205" Action="Warning" />
200+
<Rule Id="CA2207" Action="Warning" />
201+
<Rule Id="CA2208" Action="Warning" />
202+
<Rule Id="CA2210" Action="Warning" />
203+
<Rule Id="CA2211" Action="Warning" />
204+
<Rule Id="CA2212" Action="Warning" />
205+
<Rule Id="CA2213" Action="Warning" />
206+
<Rule Id="CA2214" Action="Warning" />
207+
<Rule Id="CA2215" Action="Warning" />
208+
<Rule Id="CA2216" Action="Warning" />
209+
<Rule Id="CA2217" Action="Warning" />
210+
<Rule Id="CA2218" Action="Warning" />
211+
<Rule Id="CA2219" Action="Warning" />
212+
<Rule Id="CA2220" Action="Warning" />
213+
<Rule Id="CA2221" Action="Warning" />
214+
<Rule Id="CA2222" Action="Warning" />
215+
<Rule Id="CA2223" Action="Warning" />
216+
<Rule Id="CA2224" Action="Warning" />
217+
<Rule Id="CA2225" Action="Warning" />
218+
<Rule Id="CA2226" Action="Warning" />
219+
<Rule Id="CA2227" Action="Warning" />
220+
<Rule Id="CA2228" Action="Warning" />
221+
<Rule Id="CA2229" Action="Warning" />
222+
<Rule Id="CA2230" Action="Warning" />
223+
<Rule Id="CA2231" Action="Warning" />
224+
<Rule Id="CA2232" Action="Warning" />
225+
<Rule Id="CA2233" Action="Warning" />
226+
<Rule Id="CA2234" Action="Warning" />
227+
<Rule Id="CA2235" Action="Warning" />
228+
<Rule Id="CA2236" Action="Warning" />
229+
<Rule Id="CA2237" Action="Warning" />
230+
<Rule Id="CA2238" Action="Warning" />
231+
<Rule Id="CA2239" Action="Warning" />
232+
<Rule Id="CA2240" Action="Warning" />
233+
<Rule Id="CA2241" Action="Warning" />
234+
<Rule Id="CA2242" Action="Warning" />
235+
<Rule Id="CA2243" Action="Warning" />
236+
<Rule Id="CA5122" Action="Warning" />
237+
</Rules>
238+
</RuleSet>

0 commit comments

Comments
 (0)