Uh oh!
There was an error while loading. Please reload this page.
forked from IronLanguages/ironpython2
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIronPython.ruleset
More file actions
Latest commit
90 lines (90 loc) · 6.85 KB
/
Copy pathIronPython.ruleset
File metadata and controls
90 lines (90 loc) · 6.85 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
<?xml version="1.0" encoding="utf-8"?>
<RuleSetName="IronPython.ruleset"ToolsVersion="16.0">
<IncludeAllAction="Warning" />
<RulesAnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis"RuleNamespace="Microsoft.Rules.Managed">
<RuleId="CA1000"Action="None" /> <!-- Do not declare static members on generic types -->
<RuleId="CA1001"Action="None" /> <!-- Non disposable class owns disposable fields -->
<RuleId="CA1010"Action="None" /> <!-- Collections should implement generic interface -->
<RuleId="CA1018"Action="Info" />
<RuleId="CA1028"Action="None" /> <!-- Enum storage should be Int32 -->
<RuleId="CA1030"Action="None" /> <!-- Use events where appropriate -->
<RuleId="CA1031"Action="None" /> <!-- Do not catch general exception types -->
<RuleId="CA1032"Action="None" /> <!-- Implement standard exception constructors -->
<RuleId="CA1034"Action="None" /> <!-- Nested types should not be visible -->
<RuleId="CA1036"Action="None" /> <!-- Overload comparison operators when implementing System.IComparable -->
<RuleId="CA1041"Action="None" /> <!-- Provide ObsoleteAttribute message -->
<RuleId="CA1043"Action="None" /> <!-- Use integral or string argument for indexers -->
<RuleId="CA1044"Action="None" /> <!-- Properties should not be write only -->
<RuleId="CA1051"Action="None" /> <!-- Do not declare visible instance fields -->
<RuleId="CA1052"Action="None" /> <!-- Static holder types should be sealed -->
<RuleId="CA1054"Action="None" /> <!-- URI parameters should not be strings -->
<RuleId="CA1055"Action="None" /> <!-- URI return values should not be strings -->
<RuleId="CA1056"Action="None" /> <!-- URI properties should not be strings -->
<RuleId="CA1058"Action="None" /> <!-- Types should not extend certain base types -->
<RuleId="CA1061"Action="None" /> <!-- Do not hide base class methods -->
<RuleId="CA1062"Action="None" /> <!-- Validate arguments of public methods -->
<RuleId="CA1063"Action="None" /> <!-- Implement IDisposable correctly -->
<RuleId="CA1064"Action="None" /> <!-- Exceptions should be public -->
<RuleId="CA1065"Action="None" /> <!-- Do not raise exceptions in unexpected locations -->
<RuleId="CA1066"Action="None" /> <!-- Type should implement IEquatable -->
<RuleId="CA1067"Action="None" /> <!-- Override Object.Equals(object) when implementing IEquatable -->
<RuleId="CA1068"Action="None" /> <!-- CancellationToken parameters must come last -->
<RuleId="CA1200"Action="Info" />
<RuleId="CA1303"Action="None" /> <!-- Do not pass literals as localized parameters -->
<RuleId="CA1304"Action="None" /> <!-- Specify CultureInfo -->
<RuleId="CA1305"Action="None" /> <!-- Specify IFormatProvider -->
<RuleId="CA1307"Action="None" /> <!-- Specify StringComparison -->
<RuleId="CA1308"Action="None" /> <!-- Normalize strings to upper case -->
<RuleId="CA1507"Action="Info" />
<RuleId="CA1707"Action="None" /> <!-- Identifers should not contain underscores -->
<RuleId="CA1710"Action="None" /> <!-- Identifers should have correct suffix -->
<RuleId="CA1712"Action="None" /> <!-- Do not prefix enum values with type name -->
<RuleId="CA1714"Action="None" /> <!-- Flags enums should have plural names -->
<RuleId="CA1715"Action="None" /> <!-- Type parameters names should be prefixed with T -->
<RuleId="CA1716"Action="None" /> <!-- Identifiers should not match keywords -->
<RuleId="CA1717"Action="None" /> <!-- Only FlagsAttribute enums should have plural names -->
<RuleId="CA1720"Action="None" /> <!-- Identifier contains type name -->
<RuleId="CA1721"Action="None" /> <!-- Property names should not match get methods -->
<RuleId="CA1724"Action="None" /> <!-- Type names should not match namespaces -->
<RuleId="CA1801"Action="None" /> <!-- Review unused parameters -->
<RuleId="CA1802"Action="Info" />
<RuleId="CA1806"Action="None" /> <!-- Do not ignore method results -->
<RuleId="CA1810"Action="Info" />
<RuleId="CA1812"Action="None" /> <!-- Avoid uninstantiated internal classes -->
<RuleId="CA1814"Action="None" /> <!-- Prefer jagged arrays over multidimensional -->
<RuleId="CA1815"Action="None" /> <!-- Override equals and operator equals on value types -->
<RuleId="CA1816"Action="None" /> <!-- Dispose methods should call SuppressFinalize -->
<RuleId="CA1819"Action="None" /> <!-- Properties should not return arrays -->
<RuleId="CA1820"Action="None" /> <!-- Test for empty strings using string length -->
<RuleId="CA1822"Action="None" /> <!-- Mark members as static -->
<RuleId="CA1823"Action="Info" />
<RuleId="CA1825"Action="None" />
<RuleId="CA1827"Action="None" /> <!-- Do not use Count() when Any() can be used -->
<RuleId="CA2000"Action="None" /> <!-- Dispose objects before losing scope -->
<RuleId="CA2010"Action="None" /> <!-- Always consume the value returned by methods marked with PreserveSigAttribute -->
<RuleId="CA2100"Action="None" /> <!-- Review SQL queries for security vulnerabilities -->
<RuleId="CA2101"Action="None" /> <!-- Specify marshaling for P/Invoke string arguments -->
<RuleId="CA2119"Action="None" /> <!-- Seal methods that satisfy private interfaces -->
<RuleId="CA2200"Action="Info" />
<RuleId="CA2208"Action="None" /> <!-- Instantiate exception arguments correctly -->
<RuleId="CA2211"Action="None" /> <!-- Non-constant fields should not be visible -->
<RuleId="CA2213"Action="None" /> <!-- Disposable Fields should be disposed -->
<RuleId="CA2214"Action="None" /> <!-- Do not call overridable methods in constructors -->
<RuleId="CA2216"Action="None" /> <!-- Disposable types should declare finalizer -->
<RuleId="CA2219"Action="None" /> <!-- Do not raise exceptions in finally clauses -->
<RuleId="CA2225"Action="None" /> <!-- Operator overloads have named alternates -->
<RuleId="CA2227"Action="None" /> <!-- Collection properties should be read only -->
<RuleId="CA2229"Action="Info" />
<RuleId="CA2231"Action="None" /> <!-- Overload operator equals when overriding ValueType.Equals -->
<RuleId="CA2235"Action="None" /> <!-- Serializable type has non serializable field -->
<RuleId="CA2237"Action="None" /> <!-- Add [Serializable] to types that implement ISerializable -->
<RuleId="CA3075"Action="Info" />
<RuleId="CA5350"Action="None" />
<RuleId="CA5351"Action="None" />
<RuleId="CA5359"Action="Info" />
<RuleId="CA5366"Action="None" /> <!-- Use XmlReader For DataSet Read Xml -->
<RuleId="CA5369"Action="None" /> <!-- Use XmlReader For Deserialize -->
<RuleId="CA5371"Action="None" /> <!-- Use XmlReader For Schema Read -->
<RuleId="CA5372"Action="None" /> <!-- Use XmlReader For XPathDocument -->
</Rules>
</RuleSet>