mirror of
https://github.com/digital-jellyfish/Virtu.git
synced 2024-05-31 15:41:33 +00:00
acd7892436
Fixed some code analysis warnings. Dropped Extended Strongly Typed Resource Generator dependency. --HG-- extra : convert_revision : svn%3Affd33b8c-2492-42e0-bdc5-587b920b7d6d/trunk%4035615
192 lines
9.0 KiB
XML
192 lines
9.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FxCopProject Version="1.36" Name="My FxCop Project">
|
|
<ProjectOptions>
|
|
<SharedProject>True</SharedProject>
|
|
<Stylesheet Apply="False">c:\program files\microsoft fxcop 1.36\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>True</SearchGlobalAssemblyCache>
|
|
<DeadlockDetectionTimeout>120</DeadlockDetectionTimeout>
|
|
<IgnoreGeneratedCode>True</IgnoreGeneratedCode>
|
|
<TargetFrameworkVersion>3.5</TargetFrameworkVersion>
|
|
</ProjectOptions>
|
|
<Targets>
|
|
<Target Name="$(ProjectDir)/Wpf/bin/Jellyfish.Virtu.exe" Analyze="True" AnalyzeAllChildren="True" />
|
|
<Target Name="$(ProjectDir)/Xna/bin/Jellyfish.Virtu.exe" 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\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
|
|
</RuleFiles>
|
|
<Groups />
|
|
<Settings />
|
|
</Rules>
|
|
<FxCopReport Version="1.36">
|
|
<Targets>
|
|
<Target Name="$(ProjectDir)/Wpf/bin/Jellyfish.Virtu.exe">
|
|
<Modules>
|
|
<Module Name="jellyfish.virtu.exe">
|
|
<Namespaces>
|
|
<Namespace Name="Jellyfish.Virtu">
|
|
<Types>
|
|
<Type Name="DiskDsk">
|
|
<Members>
|
|
<Member Name="#Read3Nibbles(System.Byte,System.Byte,System.Byte,System.Int32)">
|
|
<Messages>
|
|
<Message Id="nibble" TypeName="RemoveUnusedLocals" Category="Microsoft.Performance" CheckId="CA1804" Created="2009-12-11 09:07:49Z">
|
|
<Issue>
|
|
<Item>'DiskDsk.Read3Nibbles(byte, byte, byte, int)'</Item>
|
|
<Item>'nibble'</Item>
|
|
<Item>'byte'</Item>
|
|
</Issue>
|
|
</Message>
|
|
</Messages>
|
|
</Member>
|
|
<Member Name="#WriteTrack(System.Int32,System.Int32,System.Byte[])">
|
|
<Messages>
|
|
<Message TypeName="DoNotRaiseReservedExceptionTypes" Category="Microsoft.Usage" CheckId="CA2201" Created="2009-12-11 09:07:49Z">
|
|
<Issue Name="TooGeneric">
|
|
<Item>'DiskDsk.WriteTrack(int, int, byte[])'</Item>
|
|
<Item>'Exception'</Item>
|
|
</Issue>
|
|
</Message>
|
|
<Message Id="readVolume" TypeName="RemoveUnusedLocals" Category="Microsoft.Performance" CheckId="CA1804" Created="2009-12-11 09:07:49Z">
|
|
<Issue>
|
|
<Item>'DiskDsk.WriteTrack(int, int, byte[])'</Item>
|
|
<Item>'readVolume'</Item>
|
|
<Item>'int'</Item>
|
|
</Issue>
|
|
</Message>
|
|
</Messages>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|
|
<Type Name="MainWindow">
|
|
<Members>
|
|
<Member Name="#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)">
|
|
<Messages>
|
|
<Message TypeName="DoNotCastUnnecessarily" Category="Microsoft.Performance" CheckId="CA1800" Created="2009-12-11 09:07:49Z">
|
|
<Issue Name="Parameter">
|
|
<Item>'target'</Item>
|
|
<Item>'Button'</Item>
|
|
<Item>'MainWindow.IComponentConnector.Connect(int, object)'</Item>
|
|
<Item>castclass</Item>
|
|
</Issue>
|
|
</Message>
|
|
</Messages>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|
|
<Type Name="Video">
|
|
<Members>
|
|
<Member Name="#ReadFloatingBus()">
|
|
<Messages>
|
|
<Message TypeName="MarkMembersAsStatic" Category="Microsoft.Performance" CheckId="CA1822" Created="2009-12-11 09:07:49Z" FixCategory="DependsOnFix">
|
|
<Issue>
|
|
<Item>'Video.ReadFloatingBus()'</Item>
|
|
</Issue>
|
|
</Message>
|
|
</Messages>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|
|
</Types>
|
|
</Namespace>
|
|
</Namespaces>
|
|
</Module>
|
|
</Modules>
|
|
</Target>
|
|
<Target Name="$(ProjectDir)/Xna/bin/Jellyfish.Virtu.exe">
|
|
<Modules>
|
|
<Module Name="jellyfish.virtu.exe">
|
|
<Namespaces>
|
|
<Namespace Name="Jellyfish.Virtu">
|
|
<Types>
|
|
<Type Name="DiskDsk">
|
|
<Members>
|
|
<Member Name="#Read3Nibbles(System.Byte,System.Byte,System.Byte,System.Int32)">
|
|
<Messages>
|
|
<Message Id="nibble" TypeName="RemoveUnusedLocals" Category="Microsoft.Performance" CheckId="CA1804" Created="2009-12-11 09:07:49Z">
|
|
<Issue>
|
|
<Item>'DiskDsk.Read3Nibbles(byte, byte, byte, int)'</Item>
|
|
<Item>'nibble'</Item>
|
|
<Item>'byte'</Item>
|
|
</Issue>
|
|
</Message>
|
|
</Messages>
|
|
</Member>
|
|
<Member Name="#WriteTrack(System.Int32,System.Int32,System.Byte[])">
|
|
<Messages>
|
|
<Message TypeName="DoNotRaiseReservedExceptionTypes" Category="Microsoft.Usage" CheckId="CA2201" Created="2009-12-11 09:07:49Z">
|
|
<Issue Name="TooGeneric">
|
|
<Item>'DiskDsk.WriteTrack(int, int, byte[])'</Item>
|
|
<Item>'Exception'</Item>
|
|
</Issue>
|
|
</Message>
|
|
<Message Id="readVolume" TypeName="RemoveUnusedLocals" Category="Microsoft.Performance" CheckId="CA1804" Created="2009-12-11 09:07:49Z">
|
|
<Issue>
|
|
<Item>'DiskDsk.WriteTrack(int, int, byte[])'</Item>
|
|
<Item>'readVolume'</Item>
|
|
<Item>'int'</Item>
|
|
</Issue>
|
|
</Message>
|
|
</Messages>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|
|
<Type Name="Video">
|
|
<Members>
|
|
<Member Name="#ReadFloatingBus()">
|
|
<Messages>
|
|
<Message TypeName="MarkMembersAsStatic" Category="Microsoft.Performance" CheckId="CA1822" Created="2009-04-13 00:02:55Z" FixCategory="DependsOnFix">
|
|
<Issue>
|
|
<Item>'Video.ReadFloatingBus()'</Item>
|
|
</Issue>
|
|
</Message>
|
|
</Messages>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|
|
</Types>
|
|
</Namespace>
|
|
</Namespaces>
|
|
</Module>
|
|
</Modules>
|
|
</Target>
|
|
</Targets>
|
|
<Rules>
|
|
<Rule TypeName="DoNotCastUnnecessarily" Category="Microsoft.Performance" CheckId="CA1800">
|
|
<Resolution Name="Parameter">{0}, a parameter, is cast to type {1} multiple times in method {2}. Cache the result of the 'as' operator or direct cast in order to eliminate the redundant {3} instruction.</Resolution>
|
|
</Rule>
|
|
<Rule TypeName="DoNotRaiseReservedExceptionTypes" Category="Microsoft.Usage" CheckId="CA2201">
|
|
<Resolution Name="TooGeneric">{0} creates an exception of type {1}, an exception type that is not sufficiently specific and should never be raised by user code. If this exception instance might be thrown, use a different exception type.</Resolution>
|
|
</Rule>
|
|
<Rule TypeName="MarkMembersAsStatic" Category="Microsoft.Performance" CheckId="CA1822">
|
|
<Resolution Name="Default">The 'this' parameter (or 'Me' in Visual Basic) of {0} is never used. Mark the member as static (or Shared in Visual Basic) or use 'this'/'Me' in the method body or at least one property accessor, if appropriate.</Resolution>
|
|
</Rule>
|
|
<Rule TypeName="RemoveUnusedLocals" Category="Microsoft.Performance" CheckId="CA1804">
|
|
<Resolution Name="Default">{0} declares a variable, {1}, of type {2}, which is never used or is only assigned to. Use this variable or remove it.</Resolution>
|
|
</Rule>
|
|
</Rules>
|
|
</FxCopReport>
|
|
</FxCopProject>
|