Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hanna <jon@hackcraft.net>2017-01-19 01:04:42 +0300
committerJon Hanna <jon@hackcraft.net>2017-01-19 01:54:47 +0300
commit6290362355648cf2c034eac81d85db71d0641bb1 (patch)
tree85d89aa3c3b8546022f3311467479141cdb0e19c /src/System.Runtime
parentd6c9db64c52b1c4cf6b64976341136bc77bb8ad9 (diff)
ExcludeFromCodeCoverageAssemblyAttribute for excluding assemblies
Treated like ExcludeFromCodeCoverageAttribute by OpenCover but doesn't clash with the public form of that attribute in being allowed on assemblies. Fixes #14488
Diffstat (limited to 'src/System.Runtime')
-rw-r--r--src/System.Runtime/tests/TestAssembly/AssemblyAttributes.cs2
-rw-r--r--src/System.Runtime/tests/TestAssembly/TestAssembly.csproj6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/System.Runtime/tests/TestAssembly/AssemblyAttributes.cs b/src/System.Runtime/tests/TestAssembly/AssemblyAttributes.cs
index 42582dccfb..c1a414fe42 100644
--- a/src/System.Runtime/tests/TestAssembly/AssemblyAttributes.cs
+++ b/src/System.Runtime/tests/TestAssembly/AssemblyAttributes.cs
@@ -2,4 +2,4 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-[assembly: System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
+[assembly: System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAssembly]
diff --git a/src/System.Runtime/tests/TestAssembly/TestAssembly.csproj b/src/System.Runtime/tests/TestAssembly/TestAssembly.csproj
index 668f8ad485..73129c214b 100644
--- a/src/System.Runtime/tests/TestAssembly/TestAssembly.csproj
+++ b/src/System.Runtime/tests/TestAssembly/TestAssembly.csproj
@@ -16,8 +16,8 @@
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' != 'net46'">
<Compile Include="AssemblyAttributes.cs" />
- <Compile Include="$(CommonPath)\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAttribute.cs">
- <Link>Common\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAttribute.cs</Link>
+ <Compile Include="$(CommonPath)\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAssemblyAttribute.cs">
+ <Link>Common\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAssemblyAttribute.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'net46'">
@@ -29,4 +29,4 @@
<None Include="project.json" />
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-</Project> \ No newline at end of file
+</Project>