mirror of https://github.com/icsharpcode/ILSpy.git
17 changed files with 160 additions and 153 deletions
@ -0,0 +1,21 @@ |
|||||||
|
#region Using directives
|
||||||
|
|
||||||
|
using System.Diagnostics.CodeAnalysis; |
||||||
|
using System.Reflection; |
||||||
|
using System.Runtime.InteropServices; |
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
[assembly: AssemblyTrademark("")] |
||||||
|
[assembly: AssemblyCulture("")] |
||||||
|
|
||||||
|
// This sets the default COM visibility of types in the assembly to invisible.
|
||||||
|
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
||||||
|
[assembly: ComVisible(false)] |
||||||
|
|
||||||
|
[assembly: AssemblyVersion(DecompilerVersionInfo.Major + "." + DecompilerVersionInfo.Minor + "." + DecompilerVersionInfo.Build + "." + DecompilerVersionInfo.Revision)] |
||||||
|
[assembly: AssemblyInformationalVersion(DecompilerVersionInfo.FullVersionWithCommitHash)] |
||||||
|
|
||||||
|
[assembly: SuppressMessage("Microsoft.Usage", "CA2243:AttributeStringLiteralsShouldParseCorrectly", |
||||||
|
Justification = "AssemblyInformationalVersion does not need to be a parsable version")] |
||||||
|
|
||||||
@ -0,0 +1,11 @@ |
|||||||
|
# We disable some of the rules that don't make sense in our test |
||||||
|
[*.cs] |
||||||
|
dotnet_diagnostic.CA1060.severity = none |
||||||
|
dotnet_diagnostic.CA1063.severity = none |
||||||
|
dotnet_diagnostic.CA1065.severity = none |
||||||
|
dotnet_diagnostic.CA1401.severity = none |
||||||
|
dotnet_diagnostic.CA1821.severity = none |
||||||
|
dotnet_diagnostic.CA2002.severity = none |
||||||
|
dotnet_diagnostic.CA2101.severity = none |
||||||
|
dotnet_diagnostic.CA2241.severity = none |
||||||
|
dotnet_diagnostic.CA2263.severity = none # disable because it's choking on our test code in UndocumentedExpressions.cs |
||||||
@ -0,0 +1,21 @@ |
|||||||
|
#region Using directives
|
||||||
|
|
||||||
|
using System.Diagnostics.CodeAnalysis; |
||||||
|
using System.Reflection; |
||||||
|
using System.Runtime.InteropServices; |
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
[assembly: AssemblyTrademark("")] |
||||||
|
[assembly: AssemblyCulture("")] |
||||||
|
|
||||||
|
// This sets the default COM visibility of types in the assembly to invisible.
|
||||||
|
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
||||||
|
[assembly: ComVisible(false)] |
||||||
|
|
||||||
|
[assembly: AssemblyVersion(DecompilerVersionInfo.Major + "." + DecompilerVersionInfo.Minor + "." + DecompilerVersionInfo.Build + "." + DecompilerVersionInfo.Revision)] |
||||||
|
[assembly: AssemblyInformationalVersion(DecompilerVersionInfo.FullVersionWithCommitHash)] |
||||||
|
|
||||||
|
[assembly: SuppressMessage("Microsoft.Usage", "CA2243:AttributeStringLiteralsShouldParseCorrectly", |
||||||
|
Justification = "AssemblyInformationalVersion does not need to be a parsable version")] |
||||||
|
|
||||||
@ -1,85 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<RuleSet Name="Rules for ICSharpCode.Decompiler" Description="Code analysis rules for ICSharpCode.Decompiler.csproj." ToolsVersion="15.0"> |
|
||||||
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed"> |
|
||||||
<Rule Id="CA1001" Action="Warning" /> |
|
||||||
<Rule Id="CA1009" Action="Warning" /> |
|
||||||
<Rule Id="CA1016" Action="Warning" /> |
|
||||||
<Rule Id="CA1033" Action="Warning" /> |
|
||||||
<Rule Id="CA1049" Action="Warning" /> |
|
||||||
<Rule Id="CA1060" Action="Warning" /> |
|
||||||
<Rule Id="CA1061" Action="Warning" /> |
|
||||||
<Rule Id="CA1063" Action="Warning" /> |
|
||||||
<Rule Id="CA1065" Action="Warning" /> |
|
||||||
<Rule Id="CA1301" Action="Warning" /> |
|
||||||
<Rule Id="CA1400" Action="Warning" /> |
|
||||||
<Rule Id="CA1401" Action="Warning" /> |
|
||||||
<Rule Id="CA1403" Action="Warning" /> |
|
||||||
<Rule Id="CA1404" Action="Warning" /> |
|
||||||
<Rule Id="CA1405" Action="Warning" /> |
|
||||||
<Rule Id="CA1410" Action="Warning" /> |
|
||||||
<Rule Id="CA1415" Action="Warning" /> |
|
||||||
<Rule Id="CA1821" Action="Warning" /> |
|
||||||
<Rule Id="CA1900" Action="Warning" /> |
|
||||||
<Rule Id="CA1901" Action="Warning" /> |
|
||||||
<Rule Id="CA2002" Action="Warning" /> |
|
||||||
<Rule Id="CA2100" Action="Warning" /> |
|
||||||
<Rule Id="CA2101" Action="Warning" /> |
|
||||||
<Rule Id="CA2108" Action="Warning" /> |
|
||||||
<Rule Id="CA2111" Action="Warning" /> |
|
||||||
<Rule Id="CA2112" Action="Warning" /> |
|
||||||
<Rule Id="CA2114" Action="Warning" /> |
|
||||||
<Rule Id="CA2116" Action="Warning" /> |
|
||||||
<Rule Id="CA2117" Action="Warning" /> |
|
||||||
<Rule Id="CA2122" Action="Warning" /> |
|
||||||
<Rule Id="CA2123" Action="Warning" /> |
|
||||||
<Rule Id="CA2124" Action="Warning" /> |
|
||||||
<Rule Id="CA2126" Action="Warning" /> |
|
||||||
<Rule Id="CA2131" Action="Warning" /> |
|
||||||
<Rule Id="CA2132" Action="Warning" /> |
|
||||||
<Rule Id="CA2133" Action="Warning" /> |
|
||||||
<Rule Id="CA2134" Action="Warning" /> |
|
||||||
<Rule Id="CA2137" Action="Warning" /> |
|
||||||
<Rule Id="CA2138" Action="Warning" /> |
|
||||||
<Rule Id="CA2140" Action="Warning" /> |
|
||||||
<Rule Id="CA2141" Action="Warning" /> |
|
||||||
<Rule Id="CA2146" Action="Warning" /> |
|
||||||
<Rule Id="CA2147" Action="Warning" /> |
|
||||||
<Rule Id="CA2149" Action="Warning" /> |
|
||||||
<Rule Id="CA2200" Action="Warning" /> |
|
||||||
<Rule Id="CA2202" Action="Warning" /> |
|
||||||
<Rule Id="CA2207" Action="Warning" /> |
|
||||||
<Rule Id="CA2212" Action="Warning" /> |
|
||||||
<Rule Id="CA2213" Action="Warning" /> |
|
||||||
<Rule Id="CA2214" Action="Warning" /> |
|
||||||
<Rule Id="CA2216" Action="Warning" /> |
|
||||||
<Rule Id="CA2220" Action="Warning" /> |
|
||||||
<Rule Id="CA2229" Action="Warning" /> |
|
||||||
<Rule Id="CA2231" Action="Warning" /> |
|
||||||
<Rule Id="CA2232" Action="Warning" /> |
|
||||||
<Rule Id="CA2235" Action="Warning" /> |
|
||||||
<Rule Id="CA2236" Action="Warning" /> |
|
||||||
<Rule Id="CA2237" Action="Warning" /> |
|
||||||
<Rule Id="CA2238" Action="Warning" /> |
|
||||||
<Rule Id="CA2240" Action="Warning" /> |
|
||||||
<Rule Id="CA2241" Action="Warning" /> |
|
||||||
<Rule Id="CA2242" Action="Warning" /> |
|
||||||
</Rules> |
|
||||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.Features" RuleNamespace="Microsoft.CodeAnalysis.CSharp.Features"> |
|
||||||
<Rule Id="IDE0017" Action="None" /> |
|
||||||
</Rules> |
|
||||||
<Rules AnalyzerId="RefactoringEssentials" RuleNamespace="RefactoringEssentials"> |
|
||||||
<Rule Id="CS0126ReturnMustBeFollowedByAnyExpression" Action="None" /> |
|
||||||
<Rule Id="CS0169FieldIsNeverUsedAnalyzer" Action="None" /> |
|
||||||
<Rule Id="CS0183ExpressionIsAlwaysOfProvidedTypeAnalyzer" Action="None" /> |
|
||||||
<Rule Id="CS0618UsageOfObsoleteMemberAnalyzer" Action="None" /> |
|
||||||
<Rule Id="CS1573ParameterHasNoMatchingParamTagAnalyzer" Action="None" /> |
|
||||||
<Rule Id="CS1717AssignmentMadeToSameVariableAnalyzer" Action="None" /> |
|
||||||
<Rule Id="CS1729TypeHasNoConstructorWithNArgumentsAnalyzer" Action="None" /> |
|
||||||
<Rule Id="InconsistentNaming" Action="None" /> |
|
||||||
<Rule Id="ProhibitedModifiersAnalyzer" Action="None" /> |
|
||||||
<Rule Id="RECS0001" Action="Info" /> |
|
||||||
</Rules> |
|
||||||
<Rules AnalyzerId="TomsToolbox.Composition.Analyzer" RuleNamespace="TomsToolbox.Composition.Analyzer"> |
|
||||||
<Rule Id="MEF006" Action="Hidden" /> |
|
||||||
</Rules> |
|
||||||
</RuleSet> |
|
||||||
Loading…
Reference in new issue