Skip to content

Commit

Permalink
Changed FxCop rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Oct 7, 2015
1 parent 1e2f438 commit cc02a32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -201,3 +201,5 @@ tools/fxcop-report.html
tools/FxCop-badge.svg
FxCop-badge.svg
tools/dupFinderReport.xml
tools/stylecop-report.violations.xml
tools/stylecop-report.xml
13 changes: 0 additions & 13 deletions src/SampleProject.FxCop
Expand Up @@ -35,7 +35,6 @@
<RuleFiles>
<RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="False">
<Rule Name="AbstractTypesShouldNotHaveConstructors" Enabled="True" />
<Rule Name="AvoidEmptyInterfaces" Enabled="True" />
<Rule Name="AvoidExcessiveParametersOnGenericTypes" Enabled="True" />
<Rule Name="AvoidOutParameters" Enabled="True" />
<Rule Name="CollectionsShouldImplementGenericInterface" Enabled="True" />
Expand Down Expand Up @@ -148,15 +147,6 @@
<Namespaces>
<Namespace Name="SampleProject.Domain.Accounts">
<Types>
<Type Name="IPermissionService">
<Messages>
<Message TypeName="AvoidEmptyInterfaces" Category="Microsoft.Design" CheckId="CA1040" Created="2015-10-01 11:18:32Z">
<Issue>
<Item>'IPermissionService'</Item>
</Issue>
</Message>
</Messages>
</Type>
<Type Name="IUserPasswordService">
<Members>
<Member Name="#GetPasswordResetTokensNotSent()">
Expand Down Expand Up @@ -745,9 +735,6 @@
</Target>
</Targets>
<Rules>
<Rule TypeName="AvoidEmptyInterfaces" Category="Microsoft.Design" CheckId="CA1040">
<Resolution Name="Default">Define a custom attribute to replace {0}.</Resolution>
</Rule>
<Rule TypeName="CollectionPropertiesShouldBeReadOnly" Category="Microsoft.Usage" CheckId="CA2227">
<Resolution Name="Default">Change {0} to be read-only by removing the property setter.</Resolution>
</Rule>
Expand Down

0 comments on commit cc02a32

Please sign in to comment.