mirror of
				https://github.com/Ryujinx/Opentk.git
				synced 2025-11-04 15:05:07 +00:00 
			
		
		
		
	Enabled StyleCop inspections for all projects. This replaces AllRules.
This commit is contained in:
		
							parent
							
								
									2fd5486735
								
							
						
					
					
						commit
						b72c04bb3d
					
				| 
						 | 
				
			
			@ -41,6 +41,8 @@
 | 
			
		|||
    <UseApplicationTrust>false</UseApplicationTrust>
 | 
			
		||||
    <BootstrapperEnabled>true</BootstrapperEnabled>
 | 
			
		||||
    <Deterministic>true</Deterministic>
 | 
			
		||||
    <RunCodeAnalysis>true</RunCodeAnalysis>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
			
		||||
    <BaseAddress>285212672</BaseAddress>
 | 
			
		||||
| 
						 | 
				
			
			@ -54,7 +56,6 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugType>full</DebugType>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 | 
			
		||||
| 
						 | 
				
			
			@ -68,7 +69,6 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugType>none</DebugType>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
| 
						 | 
				
			
			@ -239,6 +239,10 @@
 | 
			
		|||
      <SubType>Designer</SubType>
 | 
			
		||||
    </None>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.json" Link="stylecop.json" />
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset" Link="stylecop.ruleset" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <PreBuildEvent>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -40,6 +40,8 @@
 | 
			
		|||
    <UseApplicationTrust>false</UseApplicationTrust>
 | 
			
		||||
    <BootstrapperEnabled>true</BootstrapperEnabled>
 | 
			
		||||
    <Deterministic>true</Deterministic>
 | 
			
		||||
    <RunCodeAnalysis>true</RunCodeAnalysis>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
			
		||||
    <BaseAddress>285212672</BaseAddress>
 | 
			
		||||
| 
						 | 
				
			
			@ -53,7 +55,6 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugType>full</DebugType>
 | 
			
		||||
    <Commandlineparameters>-p:gl -v:4.5 -t:xml -o:../../../Source/Bind/Specifications/GL2/signatures.xml https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml</Commandlineparameters>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
| 
						 | 
				
			
			@ -68,7 +69,6 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugType>none</DebugType>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
| 
						 | 
				
			
			@ -111,6 +111,10 @@
 | 
			
		|||
    <Content Include="README.md" />
 | 
			
		||||
    <Compile Include="GLXmlParser.cs" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.json" Link="stylecop.json" />
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset" Link="stylecop.ruleset" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <PreBuildEvent>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,8 @@
 | 
			
		|||
    <ErrorReport>prompt</ErrorReport>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <Commandlineparameters>../../OpenTK/Debug/OpenTK.dll ../../../OpenTK.snk -debug</Commandlineparameters>
 | 
			
		||||
    <RunCodeAnalysis>true</RunCodeAnalysis>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 | 
			
		||||
    <PlatformTarget>AnyCPU</PlatformTarget>
 | 
			
		||||
| 
						 | 
				
			
			@ -63,6 +65,10 @@
 | 
			
		|||
    </None>
 | 
			
		||||
    <None Include="paket.references" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.json" Link="stylecop.json" />
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset" Link="stylecop.ruleset" />
 | 
			
		||||
  </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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,6 +41,7 @@
 | 
			
		|||
    <UseApplicationTrust>false</UseApplicationTrust>
 | 
			
		||||
    <BootstrapperEnabled>true</BootstrapperEnabled>
 | 
			
		||||
    <Deterministic>true</Deterministic>
 | 
			
		||||
    <RunCodeAnalysis>true</RunCodeAnalysis>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
			
		||||
    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
 | 
			
		||||
| 
						 | 
				
			
			@ -56,7 +57,7 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugType>full</DebugType>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 | 
			
		||||
| 
						 | 
				
			
			@ -72,7 +73,7 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugType>pdbonly</DebugType>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
| 
						 | 
				
			
			@ -159,6 +160,10 @@
 | 
			
		|||
    <None Include="paket.references" />
 | 
			
		||||
    <None Include="paket.template" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.json" Link="stylecop.json" />
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset" Link="stylecop.ruleset" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <PreBuildEvent>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -43,6 +43,7 @@
 | 
			
		|||
    <TargetFrameworkProfile />
 | 
			
		||||
    <Deterministic>true</Deterministic>
 | 
			
		||||
    <LangVersion>6</LangVersion>
 | 
			
		||||
    <RunCodeAnalysis>true</RunCodeAnalysis>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
			
		||||
    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
 | 
			
		||||
| 
						 | 
				
			
			@ -58,7 +59,7 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugType>full</DebugType>
 | 
			
		||||
    <Prefer32Bit>false</Prefer32Bit>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
| 
						 | 
				
			
			@ -75,7 +76,7 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugType>pdbonly</DebugType>
 | 
			
		||||
    <Prefer32Bit>false</Prefer32Bit>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
| 
						 | 
				
			
			@ -112,7 +113,7 @@
 | 
			
		|||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.json" Link="stylecop.json" />
 | 
			
		||||
    <AdditionalFiles Include="..\stylecop.ruleset" />
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset" Link="stylecop.ruleset" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
 | 
			
		||||
  <Choose>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,6 +16,8 @@
 | 
			
		|||
    <AndroidUseLatestPlatformSdk>False</AndroidUseLatestPlatformSdk>
 | 
			
		||||
    <AssemblyName>OpenTK</AssemblyName>
 | 
			
		||||
    <Deterministic>true</Deterministic>
 | 
			
		||||
    <RunCodeAnalysis>true</RunCodeAnalysis>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
			
		||||
    <DebugSymbols>true</DebugSymbols>
 | 
			
		||||
| 
						 | 
				
			
			@ -238,6 +240,10 @@
 | 
			
		|||
    </None>
 | 
			
		||||
    <None Include="paket.references" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.json" Link="stylecop.json" />
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset" Link="stylecop.ruleset" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,6 +41,8 @@
 | 
			
		|||
    <UseApplicationTrust>false</UseApplicationTrust>
 | 
			
		||||
    <BootstrapperEnabled>true</BootstrapperEnabled>
 | 
			
		||||
    <Deterministic>true</Deterministic>
 | 
			
		||||
    <RunCodeAnalysis>true</RunCodeAnalysis>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
			
		||||
    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
 | 
			
		||||
| 
						 | 
				
			
			@ -55,7 +57,6 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugSymbols>True</DebugSymbols>
 | 
			
		||||
    <DebugType>full</DebugType>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
| 
						 | 
				
			
			@ -72,7 +73,6 @@
 | 
			
		|||
    <RegisterForComInterop>False</RegisterForComInterop>
 | 
			
		||||
    <RemoveIntegerChecks>False</RemoveIntegerChecks>
 | 
			
		||||
    <WarningLevel>4</WarningLevel>
 | 
			
		||||
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
    <DebugSymbols>True</DebugSymbols>
 | 
			
		||||
    <DebugType>pdbonly</DebugType>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
| 
						 | 
				
			
			@ -777,6 +777,10 @@
 | 
			
		|||
    <None Include="paket.references" />
 | 
			
		||||
    <Compile Include="Platform\MacOS\Cocoa\NSDragOperation.cs" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.json" Link="stylecop.json" />
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset" Link="stylecop.ruleset" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
 | 
			
		||||
  <PropertyGroup>
 | 
			
		||||
    <PreBuildEvent>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,6 +12,8 @@
 | 
			
		|||
    <ProductVersion>8.0.30703</ProductVersion>
 | 
			
		||||
    <SchemaVersion>2.0</SchemaVersion>
 | 
			
		||||
    <Deterministic>true</Deterministic>
 | 
			
		||||
    <RunCodeAnalysis>true</RunCodeAnalysis>
 | 
			
		||||
    <CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
 | 
			
		||||
    <DebugSymbols>true</DebugSymbols>
 | 
			
		||||
| 
						 | 
				
			
			@ -24,6 +26,7 @@
 | 
			
		|||
    <ConsolePause>false</ConsolePause>
 | 
			
		||||
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
 | 
			
		||||
    <DocumentationFile>bin\Debug\iOS\OpenTK.xml</DocumentationFile>
 | 
			
		||||
    xed
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
 | 
			
		||||
    <DebugType>pdbonly</DebugType>
 | 
			
		||||
| 
						 | 
				
			
			@ -227,6 +230,10 @@
 | 
			
		|||
    <None Include="OpenTK.iOS.csproj.paket.template" />
 | 
			
		||||
    <None Include="paket.references" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.json" Link="stylecop.json" />
 | 
			
		||||
    <AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset" Link="stylecop.ruleset" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue