diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2008-02-11 00:21:54 +0300 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2008-02-11 00:21:54 +0300 |
commit | 1533acd67dc4c032b6dbf391e96d22ad0fe0aaaa (patch) | |
tree | 88b0e2077e408bc893785cef040bbc29644c65ac /gendarme/rules | |
parent | 9ed40bcaa62f73096ae44eb10c990d4f6b9c6d36 (diff) |
so, count did not match. this should be better
svn path=/trunk/mono-tools/; revision=95410
Diffstat (limited to 'gendarme/rules')
4 files changed, 323 insertions, 0 deletions
diff --git a/gendarme/rules/Gendarme.Rules.Design/Gendarme.Rules.Design.csproj b/gendarme/rules/Gendarme.Rules.Design/Gendarme.Rules.Design.csproj new file mode 100755 index 00000000..4494e1ef --- /dev/null +++ b/gendarme/rules/Gendarme.Rules.Design/Gendarme.Rules.Design.csproj @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{FC889577-F51A-469C-9F30-E967504E9E24}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Gendarme.Rules.Design</RootNamespace>
+ <AssemblyName>Gendarme.Rules.Design</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="AbstractTypesShouldNotHavePublicConstructorsRule.cs" />
+ <Compile Include="AttributeArgumentsShouldHaveAccessorsRule.cs" />
+ <Compile Include="AvoidPropertiesWithoutGetAccessorRule.cs" />
+ <Compile Include="AvoidPublicInstanceFieldsRule.cs" />
+ <Compile Include="ConsiderConvertingMethodToPropertyRule.cs" />
+ <Compile Include="DefineAZeroValueRule.cs" />
+ <Compile Include="DisposableFieldsShouldBeDisposedRule.cs" />
+ <Compile Include="DisposableTypesShouldHaveFinalizerRule.cs" />
+ <Compile Include="DontDeclareProtectedFieldsInSealedClassRule.cs" />
+ <Compile Include="AvoidEmptyInterfaceRule.cs" />
+ <Compile Include="EnsureSymmetryForOverloadedOperatorsRule.cs" />
+ <Compile Include="EnumsShouldDefineAZeroValueRule.cs" />
+ <Compile Include="FinalizersShouldBeProtectedRule.cs" />
+ <Compile Include="FinalizersShouldCallBaseClassFinalizerRule.cs" />
+ <Compile Include="FlagsShouldNotDefineAZeroValueRule.cs" />
+ <Compile Include="MainShouldNotBePublicRule.cs" />
+ <Compile Include="MissingAttributeUsageOnCustomAttributeRule.cs" />
+ <Compile Include="OperatorEqualsShouldBeOverloadedRule.cs" />
+ <Compile Include="OverrideEqualsMethodRule.cs" />
+ <Compile Include="ProvideAlternativeNamesForOperatorOverloadsRule.cs" />
+ <Compile Include="TypesShouldBeInsideNamespacesRule.cs" />
+ <Compile Include="TypesWithDisposableFieldsShouldBeDisposableRule.cs" />
+ <Compile Include="TypesWithNativeFieldsShouldBeDisposableRule.cs" />
+ <Compile Include="UsingCloneWithoutImplementingICloneableRule.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\cecil\lib\Mono.Cecil.csproj">
+ <Project>{D8F63DFF-5230-43E4-9AB2-DA6E721A1FAE}</Project>
+ <Name>Mono.Cecil</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\framework\Gendarme.Framework.csproj">
+ <Project>{CD6818D5-B398-486C-B180-92A07B143AFD}</Project>
+ <Name>Gendarme.Framework</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Properties\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + -->
+</Project>
\ No newline at end of file diff --git a/gendarme/rules/Gendarme.Rules.Design/Test/Tests.Rules.Design.csproj b/gendarme/rules/Gendarme.Rules.Design/Test/Tests.Rules.Design.csproj new file mode 100755 index 00000000..02906741 --- /dev/null +++ b/gendarme/rules/Gendarme.Rules.Design/Test/Tests.Rules.Design.csproj @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{BC57A292-B4FC-415F-BF9A-714A5E62E0E1}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Test</RootNamespace>
+ <AssemblyName>Test</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="nunit.framework, Version=2.4.3.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
+ <Reference Include="System" />
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="AbstractTypesShouldNotHavePublicConstructorsTest.cs" />
+ <Compile Include="AttributeArgumentsShouldHaveAccessorsTest.cs" />
+ <Compile Include="AvoidPropertiesWithoutGetAccessorTest.cs" />
+ <Compile Include="AvoidPublicInstanceFieldsTest.cs" />
+ <Compile Include="ConsiderConvertingMethodToPropertyTest.cs" />
+ <Compile Include="DisposableFieldsShouldBeDisposedTest.cs" />
+ <Compile Include="DisposableTypesShouldHaveFinalizerTest.cs" />
+ <Compile Include="DontDeclareProtectedFieldsInSealedClassTest.cs" />
+ <Compile Include="AvoidEmptyInterfaceTest.cs" />
+ <Compile Include="EnsureSymmetryForOverloadedOperatorsTest.cs" />
+ <Compile Include="EnumsShouldDefineAZeroValueTest.cs" />
+ <Compile Include="FinalizersShouldBeProtectedTest.cs" />
+ <Compile Include="FinalizersShouldCallBaseClassFinalizerTest.cs" />
+ <Compile Include="FlagsShouldNotDefineAZeroValueTest.cs" />
+ <Compile Include="MainShouldNotBePublicTest.cs" />
+ <Compile Include="MissingAttributeUsageOnCustomAttributeTest.cs" />
+ <Compile Include="ObsoleteMessagesShouldNeverBeEmptyTest.cs" />
+ <Compile Include="OperatorEqualsShouldBeOverloadedTest.cs" />
+ <Compile Include="OverrideEqualsMethodTest.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="ProvideAlternativeNamesForOperatorOverloadsTest.cs" />
+ <Compile Include="TypesShouldBeInsideNamespacesTest.cs" />
+ <Compile Include="TypesWithDisposableFieldsShouldBeDisposableTest.cs" />
+ <Compile Include="TypesWithNativeFieldsShouldBeDisposableTest.cs" />
+ <Compile Include="UsingCloneWithoutImplementingICloneableTest.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\lib\Mono.Cecil.csproj">
+ <Project>{D8F63DFF-5230-43E4-9AB2-DA6E721A1FAE}</Project>
+ <Name>Mono.Cecil</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\framework\Gendarme.Framework.csproj">
+ <Project>{CD6818D5-B398-486C-B180-92A07B143AFD}</Project>
+ <Name>Gendarme.Framework</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Gendarme.Rules.Design.csproj">
+ <Project>{FC889577-F51A-469C-9F30-E967504E9E24}</Project>
+ <Name>Gendarme.Rules.Design</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + -->
+</Project>
\ No newline at end of file diff --git a/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.csproj b/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.csproj new file mode 100755 index 00000000..a4f551d3 --- /dev/null +++ b/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.csproj @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{C57E2A54-3BBF-49D7-B3E5-688EE1F63250}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Gendarme.Rules.Naming</RootNamespace>
+ <AssemblyName>Gendarme.Rules.Naming</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="DetectNonAlphaNumericsInTypeNamesRule.cs" />
+ <Compile Include="DoNotPrefixValuesWithEnumNameRule.cs" />
+ <Compile Include="DoNotUseReservedInEnumValueNamesRule.cs" />
+ <Compile Include="EnumNotEndsWithEnumOrFlagsSuffixRule.cs" />
+ <Compile Include="ParameterNamesShouldMatchOverridenMethodRule.cs" />
+ <Compile Include="UseCorrectCasingRule.cs" />
+ <Compile Include="UseCorrectPrefixRule.cs" />
+ <Compile Include="UseCorrectSuffixRule.cs" />
+ <Compile Include="UsePluralNameInEnumFlagsRule.cs" />
+ <Compile Include="UsePreferredTermsRule.cs" />
+ <Compile Include="UseSingularNameInEnumsUnlessAreFlagsRule.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\cecil\lib\Mono.Cecil.csproj">
+ <Project>{D8F63DFF-5230-43E4-9AB2-DA6E721A1FAE}</Project>
+ <Name>Mono.Cecil</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\framework\Gendarme.Framework.csproj">
+ <Project>{CD6818D5-B398-486C-B180-92A07B143AFD}</Project>
+ <Name>Gendarme.Framework</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Properties\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + -->
+</Project>
\ No newline at end of file diff --git a/gendarme/rules/Gendarme.Rules.Naming/Test/Tests.Rules.Naming.csproj b/gendarme/rules/Gendarme.Rules.Naming/Test/Tests.Rules.Naming.csproj new file mode 100755 index 00000000..e960f8e2 --- /dev/null +++ b/gendarme/rules/Gendarme.Rules.Naming/Test/Tests.Rules.Naming.csproj @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{B4E97DE7-FF30-485E-A2D8-7A0C596E6851}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Test</RootNamespace>
+ <AssemblyName>Test</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="nunit.framework, Version=2.4.3.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="DetectNonAlphaNumericsInTypeNamesTest.cs" />
+ <Compile Include="DoNotPrefixValuesWithEnumNameTest.cs" />
+ <Compile Include="DoNotUseReservedInEnumValueNamesTest.cs" />
+ <Compile Include="EnumNotEndsWithEnumOrFlagsSuffixTest.cs" />
+ <Compile Include="ParameterNamesShouldMatchOverridenMethodTest.cs" />
+ <Compile Include="UseCorrectCasingTest.cs" />
+ <Compile Include="UseCorrectPrefixTest.cs" />
+ <Compile Include="UseCorrectSuffixTest.cs" />
+ <Compile Include="UsePluralNameInEnumFlagsTest.cs" />
+ <Compile Include="UsePreferredTermsTest.cs" />
+ <Compile Include="UseSingularNameInEnumsUnlessAreFlagsTest.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\..\cecil\lib\Mono.Cecil.csproj">
+ <Project>{D8F63DFF-5230-43E4-9AB2-DA6E721A1FAE}</Project>
+ <Name>Mono.Cecil</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\framework\Gendarme.Framework.csproj">
+ <Project>{CD6818D5-B398-486C-B180-92A07B143AFD}</Project>
+ <Name>Gendarme.Framework</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Gendarme.Rules.Naming.csproj">
+ <Project>{C57E2A54-3BBF-49D7-B3E5-688EE1F63250}</Project>
+ <Name>Gendarme.Rules.Naming</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Properties\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + -->
+</Project>
\ No newline at end of file |