-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.FxCop
142 lines (142 loc) · 8.85 KB
/
Settings.FxCop
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0" encoding="utf-8"?>
<FxCopProject Version="10.0" Name="SPSF FxCop Project Settings File">
<ProjectOptions>
<SharedProject>True</SharedProject>
<Stylesheet Apply="False" />
<SaveMessages>
<Project Status="Active, Excluded" NewOnly="False" />
<Report Status="Active" NewOnly="False" />
</SaveMessages>
<ProjectFile Compress="True" DefaultTargetCheck="True" DefaultRuleCheck="True" SaveByRuleGroup="" Deterministic="True" />
<EnableMultithreadedLoad>True</EnableMultithreadedLoad>
<EnableMultithreadedAnalysis>True</EnableMultithreadedAnalysis>
<SourceLookup>True</SourceLookup>
<AnalysisExceptionsThreshold>10</AnalysisExceptionsThreshold>
<RuleExceptionsThreshold>1</RuleExceptionsThreshold>
<Spelling Locale="en-US" />
<OverrideRuleVisibilities>False</OverrideRuleVisibilities>
<CustomDictionaries SearchFxCopDir="True" SearchUserProfile="True" SearchProjectDir="True" />
<SearchGlobalAssemblyCache>True</SearchGlobalAssemblyCache>
<DeadlockDetectionTimeout>120</DeadlockDetectionTimeout>
<IgnoreGeneratedCode>True</IgnoreGeneratedCode>
</ProjectOptions>
<Targets />
<Rules>
<RuleFiles>
<RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="AbstractTypesShouldNotHaveConstructors" Enabled="True" />
<Rule Name="AssembliesShouldHaveValidStrongNames" Enabled="True" />
<Rule Name="AvoidEmptyInterfaces" Enabled="True" />
<Rule Name="AvoidExcessiveParametersOnGenericTypes" Enabled="True" />
<Rule Name="AvoidOutParameters" Enabled="True" />
<Rule Name="CollectionsShouldImplementGenericInterface" Enabled="True" />
<Rule Name="ConsiderPassingBaseTypesAsParameters" Enabled="True" />
<Rule Name="DeclareEventHandlersCorrectly" Enabled="True" />
<Rule Name="DeclareTypesInNamespaces" Enabled="True" />
<Rule Name="DefaultParametersShouldNotBeUsed" Enabled="True" />
<Rule Name="DefineAccessorsForAttributeArguments" Enabled="True" />
<Rule Name="DoNotCatchGeneralExceptionTypes" Enabled="True" />
<Rule Name="DoNotDeclareProtectedMembersInSealedTypes" Enabled="True" />
<Rule Name="DoNotDeclareStaticMembersOnGenericTypes" Enabled="True" />
<Rule Name="DoNotDeclareVirtualMembersInSealedTypes" Enabled="True" />
<Rule Name="DoNotDeclareVisibleInstanceFields" Enabled="True" />
<Rule Name="DoNotExposeGenericLists" Enabled="True" />
<Rule Name="DoNotHideBaseClassMethods" Enabled="True" />
<Rule Name="DoNotNestGenericTypesInMemberSignatures" Enabled="True" />
<Rule Name="DoNotOverloadOperatorEqualsOnReferenceTypes" Enabled="True" />
<Rule Name="DoNotPassTypesByReference" Enabled="True" />
<Rule Name="DoNotRaiseExceptionsInUnexpectedLocations" Enabled="True" />
<Rule Name="EnumeratorsShouldBeStronglyTyped" Enabled="True" />
<Rule Name="EnumsShouldHaveZeroValue" Enabled="True" />
<Rule Name="EnumStorageShouldBeInt32" Enabled="True" />
<Rule Name="ExceptionsShouldBePublic" Enabled="True" />
<Rule Name="GenericMethodsShouldProvideTypeParameter" Enabled="True" />
<Rule Name="ICollectionImplementationsHaveStronglyTypedMembers" Enabled="True" />
<Rule Name="ImplementIDisposableCorrectly" Enabled="True" />
<Rule Name="ImplementStandardExceptionConstructors" Enabled="True" />
<Rule Name="IndexersShouldNotBeMultidimensional" Enabled="True" />
<Rule Name="InterfaceMethodsShouldBeCallableByChildTypes" Enabled="True" />
<Rule Name="ListsAreStronglyTyped" Enabled="True" />
<Rule Name="MarkAssembliesWithAssemblyVersion" Enabled="True" />
<Rule Name="MarkAttributesWithAttributeUsage" Enabled="True" />
<Rule Name="MarkEnumsWithFlags" Enabled="True" />
<Rule Name="MembersShouldNotExposeCertainConcreteTypes" Enabled="True" />
<Rule Name="MovePInvokesToNativeMethodsClass" Enabled="True" />
<Rule Name="NestedTypesShouldNotBeVisible" Enabled="True" />
<Rule Name="OverloadOperatorEqualsOnOverloadingAddAndSubtract" Enabled="True" />
<Rule Name="OverrideMethodsOnComparableTypes" Enabled="True" />
<Rule Name="PropertiesShouldNotBeWriteOnly" Enabled="True" />
<Rule Name="ProvideObsoleteAttributeMessage" Enabled="True" />
<Rule Name="ReplaceRepetitiveArgumentsWithParamsArray" Enabled="True" />
<Rule Name="StaticHolderTypesShouldBeSealed" Enabled="True" />
<Rule Name="StaticHolderTypesShouldNotHaveConstructors" Enabled="True" />
<Rule Name="StringUriOverloadsCallSystemUriOverloads" Enabled="True" />
<Rule Name="TypesShouldNotExtendCertainBaseTypes" Enabled="True" />
<Rule Name="TypesThatOwnDisposableFieldsShouldBeDisposable" Enabled="True" />
<Rule Name="TypesThatOwnNativeResourcesShouldBeDisposable" Enabled="True" />
<Rule Name="UriParametersShouldNotBeStrings" Enabled="True" />
<Rule Name="UriPropertiesShouldNotBeStrings" Enabled="True" />
<Rule Name="UriReturnValuesShouldNotBeStrings" Enabled="True" />
<Rule Name="UseEventsWhereAppropriate" Enabled="True" />
<Rule Name="UseGenericsWhereAppropriate" Enabled="True" />
<Rule Name="UseIntegralOrStringArgumentForIndexers" Enabled="True" />
<Rule Name="UsePropertiesWhereAppropriate" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\GlobalizationRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\InteroperabilityRules.dll" Enabled="False" AllRulesEnabled="False" />
<RuleFile Name="$(FxCopDir)\Rules\MobilityRules.dll" Enabled="False" AllRulesEnabled="False" />
<RuleFile Name="$(FxCopDir)\Rules\NamingRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="CompoundWordsShouldBeCasedCorrectly" Enabled="True" />
<Rule Name="DoNotNameEnumValuesReserved" Enabled="True" />
<Rule Name="DoNotPrefixEnumValuesWithTypeName" Enabled="True" />
<Rule Name="EventsShouldNotHaveBeforeOrAfterPrefix" Enabled="True" />
<Rule Name="FlagsEnumsShouldHavePluralNames" Enabled="True" />
<Rule Name="IdentifiersShouldBeCasedCorrectly" Enabled="True" />
<Rule Name="IdentifiersShouldBeSpelledCorrectly" Enabled="True" />
<Rule Name="IdentifiersShouldDifferByMoreThanCase" Enabled="True" />
<Rule Name="IdentifiersShouldHaveCorrectPrefix" Enabled="True" />
<Rule Name="IdentifiersShouldHaveCorrectSuffix" Enabled="True" />
<Rule Name="IdentifiersShouldNotContainTypeNames" Enabled="True" />
<Rule Name="IdentifiersShouldNotHaveIncorrectPrefix" Enabled="True" />
<Rule Name="IdentifiersShouldNotHaveIncorrectSuffix" Enabled="True" />
<Rule Name="IdentifiersShouldNotMatchKeywords" Enabled="True" />
<Rule Name="OnlyFlagsEnumsShouldHavePluralNames" Enabled="True" />
<Rule Name="ParameterNamesShouldMatchBaseDeclaration" Enabled="True" />
<Rule Name="ParameterNamesShouldNotMatchMemberNames" Enabled="True" />
<Rule Name="PropertyNamesShouldNotMatchGetMethods" Enabled="True" />
<Rule Name="ResourceStringCompoundWordsShouldBeCasedCorrectly" Enabled="True" />
<Rule Name="ResourceStringsShouldBeSpelledCorrectly" Enabled="True" />
<Rule Name="TypeNamesShouldNotMatchNamespaces" Enabled="True" />
<Rule Name="UsePreferredTerms" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\PerformanceRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="UseOnlyApiFromTargetedFramework" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="ArrayFieldsShouldNotBeReadOnly" Enabled="True" />
<Rule Name="CallGCKeepAliveWhenUsingNativeResources" Enabled="True" />
<Rule Name="CatchNonClsCompliantExceptionsInGeneralHandlers" Enabled="True" />
<Rule Name="DoNotDeclareReadOnlyMutableReferenceTypes" Enabled="True" />
<Rule Name="DoNotIndirectlyExposeMethodsWithLinkDemands" Enabled="True" />
<Rule Name="MethodSecurityShouldBeASupersetOfType" Enabled="True" />
<Rule Name="PointersShouldNotBeVisible" Enabled="True" />
<Rule Name="ReviewDeclarativeSecurityOnValueTypes" Enabled="True" />
<Rule Name="ReviewDenyAndPermitOnlyUsage" Enabled="True" />
<Rule Name="ReviewImperativeSecurity" Enabled="True" />
<Rule Name="ReviewSuppressUnmanagedCodeSecurityUsage" Enabled="True" />
<Rule Name="SealMethodsThatSatisfyPrivateInterfaces" Enabled="True" />
<Rule Name="SecureAsserts" Enabled="True" />
<Rule Name="SecuredTypesShouldNotExposeFields" Enabled="True" />
<Rule Name="SecureSerializationConstructors" Enabled="True" />
<Rule Name="StaticConstructorsShouldBePrivate" Enabled="True" />
<Rule Name="TypeLinkDemandsRequireInheritanceDemands" Enabled="True" />
<Rule Name="WrapVulnerableFinallyClausesInOuterTry" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
</RuleFiles>
<Groups />
<Settings />
</Rules>
<FxCopReport Version="10.0" />
</FxCopProject>