-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPodcastUtilities.FxCop
171 lines (171 loc) · 7.89 KB
/
PodcastUtilities.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<?xml version="1.0" encoding="utf-8"?>
<FxCopProject Version="10.0" Name="PodcastUtilities">
<ProjectOptions>
<SharedProject>True</SharedProject>
<Stylesheet Apply="False">$(FxCopDir)\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)/PodcastUtilities.Common/bin/Debug/PodcastUtilities.Common.dll" Analyze="True" AnalyzeAllChildren="True" />
<Target Name="$(ProjectDir)/PodcastUtilities.Ioc/bin/Debug/PodcastUtilities.Ioc.dll" Analyze="True" AnalyzeAllChildren="True" />
<Target Name="$(ProjectDir)/PodcastUtilities.Presentation/bin/Debug/PodcastUtilities.Presentation.dll" Analyze="True" AnalyzeAllChildren="True" />
</Targets>
<Rules>
<RuleFiles>
<RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="True" />
<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="True" />
<RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\SecurityTransparencyRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
</RuleFiles>
<Groups />
<Settings />
</Rules>
<FxCopReport Version="10.0">
<Namespaces>
<Namespace Name="PodcastUtilities.Presentation">
<Messages>
<Message TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020" Created="2011-08-26 16:22:44Z">
<Issue>
<Item>PodcastUtilities.Presentation</Item>
</Issue>
</Message>
</Messages>
</Namespace>
<Namespace Name="PodcastUtilities.Presentation.Services">
<Messages>
<Message TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020" Created="2011-08-26 16:22:44Z">
<Issue>
<Item>PodcastUtilities.Presentation.Services</Item>
</Issue>
</Message>
</Messages>
</Namespace>
<Namespace Name="PodcastUtilities.Presentation.ViewModels">
<Messages>
<Message TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020" Created="2011-08-26 16:22:44Z">
<Issue>
<Item>PodcastUtilities.Presentation.ViewModels</Item>
</Issue>
</Message>
</Messages>
</Namespace>
</Namespaces>
<Targets>
<Target Name="$(ProjectDir)/PodcastUtilities.Presentation/bin/Debug/PodcastUtilities.Presentation.dll">
<Modules>
<Module Name="podcastutilities.presentation.dll">
<Namespaces>
<Namespace Name="PodcastUtilities.Presentation">
<Types>
<Type Name="DelegateCommand">
<Members>
<Member Name="#RaiseCanExecuteChanged(System.Object)">
<Messages>
<Message TypeName="UseEventsWhereAppropriate" Category="Microsoft.Design" CheckId="CA1030" Created="2011-08-26 16:22:44Z">
<Issue>
<Item>'DelegateCommand.RaiseCanExecuteChanged(object)'</Item>
</Issue>
</Message>
</Messages>
</Member>
</Members>
</Type>
</Types>
</Namespace>
<Namespace Name="PodcastUtilities.Presentation.Services">
<Types>
<Type Name="IClipboardService">
<Members>
<Member Name="#GetText()">
<Messages>
<Message TypeName="UsePropertiesWhereAppropriate" Category="Microsoft.Design" CheckId="CA1024" Created="2011-08-26 16:22:44Z">
<Issue Certainty="50">
<Item>'IClipboardService.GetText()'</Item>
</Issue>
</Message>
</Messages>
</Member>
</Members>
</Type>
</Types>
</Namespace>
<Namespace Name="PodcastUtilities.Presentation.ViewModels">
<Types>
<Type Name="PodcastViewModel">
<Members>
<Member Name="#Error">
<Accessors>
<Accessor Name="#get_Error()">
<Messages>
<Message TypeName="DoNotRaiseExceptionsInUnexpectedLocations" Category="Microsoft.Design" CheckId="CA1065" Created="2011-08-26 16:22:44Z" FixCategory="Breaking">
<Issue Name="PropertyGetter" Level="Warning">
<Item>'PodcastViewModel.Error.get()'</Item>
<Item>'NotImplementedException'</Item>
</Issue>
</Message>
</Messages>
</Accessor>
</Accessors>
</Member>
</Members>
</Type>
<Type Name="ViewModel">
<Members>
<Member Name="#SetProperty`1(!!0&,!!0,System.String)">
<Messages>
<Message Id="0#" TypeName="DoNotPassTypesByReference" Category="Microsoft.Design" CheckId="CA1045" Created="2011-08-26 16:22:44Z">
<Issue Level="CriticalWarning">
<Item>'property'</Item>
</Issue>
</Message>
</Messages>
</Member>
</Members>
</Type>
</Types>
</Namespace>
</Namespaces>
</Module>
</Modules>
</Target>
</Targets>
<Rules>
<Rule TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020">
<Resolution Name="Default">Consider merging the types defined in '{0}' with another namespace.</Resolution>
</Rule>
<Rule TypeName="DoNotPassTypesByReference" Category="Microsoft.Design" CheckId="CA1045">
<Resolution Name="Default">Consider a design that does not require that {0} be a reference parameter.</Resolution>
</Rule>
<Rule TypeName="DoNotRaiseExceptionsInUnexpectedLocations" Category="Microsoft.Design" CheckId="CA1065">
<Resolution Name="PropertyGetter">{0} creates an exception of type {1}, an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception.</Resolution>
</Rule>
<Rule TypeName="UseEventsWhereAppropriate" Category="Microsoft.Design" CheckId="CA1030">
<Resolution Name="Default">Consider making {0} an event.</Resolution>
</Rule>
<Rule TypeName="UsePropertiesWhereAppropriate" Category="Microsoft.Design" CheckId="CA1024">
<Resolution Name="Default">Change {0} to a property if appropriate.</Resolution>
</Rule>
</Rules>
</FxCopReport>
</FxCopProject>