Skip to content

Commit 09d88da

Browse files
committed
Excluded ConfigFileException(SerializationInfo info, StreamingContext context) from code coverage
1 parent ddcc864 commit 09d88da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/Celerik.NetCore.Util/Exceptions/ConfigFileException.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Diagnostics.CodeAnalysis;
23
using System.Runtime.Serialization;
34

45
namespace Celerik.NetCore.Util
@@ -43,6 +44,7 @@ public ConfigFileException(string message, Exception innerException)
4344
/// holds the serialized object data about the exception being thrown.</param>
4445
/// <param name="context">The StreamingContext that contains contextual
4546
/// information about the source or destination.</param>
47+
[ExcludeFromCodeCoverage]
4648
protected ConfigFileException(SerializationInfo info, StreamingContext context)
4749
: base(info, context)
4850
{

0 commit comments

Comments
 (0)