forked from AndreasSummer/lokad-shared-libraries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lokad.Shared.FxCop
122 lines (122 loc) · 7.68 KB
/
Lokad.Shared.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
<?xml version="1.0" encoding="utf-8"?>
<FxCopProject Version="1.36" Name="Lokad Safety Stock Calculator Project">
<ProjectOptions>
<SharedProject>True</SharedProject>
<Stylesheet Apply="False">Resource\Tool\FxCop\Xml\FxCopReport.xsl</Stylesheet>
<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>False</SearchGlobalAssemblyCache>
<DeadlockDetectionTimeout>120</DeadlockDetectionTimeout>
<IgnoreGeneratedCode>False</IgnoreGeneratedCode>
</ProjectOptions>
<Targets>
<Target Name="$(ProjectDir)/Build/Stack/Lokad.Quality.dll" Analyze="True" AnalyzeAllChildren="True" />
<Target Name="$(ProjectDir)/Build/Stack/Lokad.Shared.dll" Analyze="True" AnalyzeAllChildren="True" />
<Target Name="$(ProjectDir)/Build/Stack/Lokad.Stack.dll" Analyze="True" AnalyzeAllChildren="True" />
</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="AvoidNamespacesWithFewTypes" 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="MarkAssembliesWithClsCompliant" Enabled="True" />
<Rule Name="MarkAssembliesWithComVisible" 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="UseGenericEventHandlerInstances" Enabled="True" />
<Rule Name="UseGenericsWhereAppropriate" Enabled="True" />
<Rule Name="UseIntegralOrStringArgumentForIndexers" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\GlobalizationRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\InteroperabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\MobilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\NamingRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\PerformanceRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="AvoidExcessiveLocals" Enabled="True" />
<Rule Name="AvoidUncalledPrivateCode" Enabled="True" />
<Rule Name="AvoidUnsealedAttributes" Enabled="True" />
<Rule Name="AvoidUnusedPrivateFields" Enabled="True" />
<Rule Name="DoNotCastUnnecessarily" Enabled="True" />
<Rule Name="DoNotInitializeUnnecessarily" Enabled="True" />
<Rule Name="InitializeReferenceTypeStaticFieldsInline" Enabled="True" />
<Rule Name="MarkAssembliesWithNeutralResourcesLanguage" Enabled="True" />
<Rule Name="MarkMembersAsStatic" Enabled="True" />
<Rule Name="OverrideEqualsAndOperatorEqualsOnValueTypes" Enabled="True" />
<Rule Name="PreferJaggedArraysOverMultidimensional" Enabled="True" />
<Rule Name="PropertiesShouldNotReturnArrays" Enabled="True" />
<Rule Name="RemoveEmptyFinalizers" Enabled="True" />
<Rule Name="RemoveUnusedLocals" Enabled="True" />
<Rule Name="TestForEmptyStringsUsingStringLength" Enabled="True" />
<Rule Name="UseLiteralsWhereAppropriate" Enabled="True" />
</RuleFile>
<RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
</RuleFiles>
<Groups />
<Settings />
</Rules>
<FxCopReport Version="1.36" />
</FxCopProject>