e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
22 lines
729 B
C#
22 lines
729 B
C#
using System;
|
|
|
|
namespace System.Diagnostics.CodeAnalysis
|
|
{
|
|
/// <summary>
|
|
/// Specifies that the attributed code should be excluded from code coverage
|
|
/// collection. Placing this attribute on a class/struct excludes all
|
|
/// enclosed methods and properties from code coverage collection.
|
|
/// </summary>
|
|
[AttributeUsage(
|
|
AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event,
|
|
Inherited = false,
|
|
AllowMultiple = false
|
|
)]
|
|
public sealed class ExcludeFromCodeCoverageAttribute : Attribute
|
|
{
|
|
public ExcludeFromCodeCoverageAttribute()
|
|
{
|
|
}
|
|
}
|
|
}
|