< Summary - PropertyGridHelpers Code Coverage

Line coverage
21%
Covered lines: 212
Uncovered lines: 785
Coverable lines: 997
Total lines: 6615
Line coverage: 21.2%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 1/10/2026 - 4:46:27 PM Line coverage: 21.2% (212/997) Total lines: 6615 Tag: PropertyGridHelpers Build_2026.1.10.1_#579

Metrics

MethodBlocks covered Blocks not covered
File 1: Assert()02
File 1: Equals(...)02
File 1: ReferenceEquals(...)02
File 1: SafeGetGenericTypeDefinition(...)07
File 2: False(...)30
File 2: False(...)02
File 2: False(...)30
File 2: False(...)52
File 2: True(...)30
File 2: True(...)02
File 2: True(...)30
File 2: True(...)52
File 3: All<T>(...)06
File 3: All<T>(...)026
File 3: AllAsync()015
File 3: Collection<T>(...)034
File 3: Contains<T>(...)52
File 3: Contains<T>(...)114
File 3: Contains<T>(...)204
File 3: Distinct<T>(...)03
File 3: Distinct<T>(...)025
File 3: DoesNotContain<T>(...)07
File 3: DoesNotContain<T>(...)026
File 3: DoesNotContain<T>(...)025
File 3: Empty(...)113
File 3: Equal<T>(...)03
File 3: Equal<T>(...)04
File 3: Equal<T>(...)03
File 3: NotEmpty(...)103
File 3: NotEqual<T>(...)03
File 3: NotEqual<T>(...)04
File 3: NotEqual<T>(...)03
File 3: Single(...)04
File 3: Single(...)07
File 3: Single<T>(...)03
File 3: Single<T>(...)04
File 3: GetSingleResult<T>(...)035
File 4: GetEqualityComparer<T>(...)20
File 4: GetRangeComparer<T>()02
File 5: Contains<TKey, TValue>(...)010
File 5: Contains<TKey, TValue>(...)010
File 5: Contains<TKey, TValue>(...)02
File 5: Contains<TKey, TValue>(...)02
File 5: Contains<TKey, TValue>(...)02
File 5: DoesNotContain<TKey, TValue>(...)010
File 5: DoesNotContain<TKey, TValue>(...)010
File 5: DoesNotContain<TKey, TValue>(...)02
File 5: DoesNotContain<TKey, TValue>(...)02
File 5: DoesNotContain<TKey, TValue>(...)02
File 6: Assert()290
File 6: Equal<T>(...)30
File 6: Equal<T>(...)03
File 6: Equal<T>(...)30145
File 6: Equal(...)016
File 6: Equal(...)016
File 6: Equal(...)020
File 6: Equal(...)016
File 6: Equal(...)016
File 6: Equal(...)020
File 6: Equal(...)011
File 6: Equal(...)02
File 6: Equal(...)015
File 6: Equal(...)02
File 6: Equal(...)015
File 6: NotEqual<T>(...)30
File 6: NotEqual<T>(...)03
File 6: NotEqual<T>(...)16160
File 6: NotEqual(...)013
File 6: NotEqual(...)013
File 6: NotEqual(...)020
File 6: NotEqual(...)013
File 6: NotEqual(...)013
File 6: NotEqual(...)020
File 6: NotEqual(...)011
File 6: NotStrictEqual<T>(...)08
File 6: StrictEqual<T>(...)08
File 7: Equivalent(...)04
File 8: Raises(...)05
File 8: Raises<T>(...)018
File 8: Raises<T>(...)018
File 8: Raises<T>(...)018
File 8: RaisesAny(...)06
File 8: RaisesAny<T>(...)06
File 8: RaisesAny<T>(...)06
File 8: RaisesInternal(...)09
File 8: RaisesInternal(...)010
File 8: RaisesInternal<T>(...)07
File 8: RaisesInternal<T>(...)06
File 8: RaisesInternal<T>(...)09
File 8: RaisedEvent(...)02
File 8: RaisedEvent(...)02
File 9: Throws(...)64
File 9: Throws(...)03
File 9: Throws(...)03
File 9: Throws(...)02
File 9: Throws<T>(...)40
File 9: Throws<T>(...)40
File 9: Throws<T>(...)02
File 9: Throws<T>(...)09
File 9: Throws<T>(...)09
File 9: Throws<T>(...)02
File 9: ThrowsAny(...)012
File 9: ThrowsAny<T>(...)04
File 9: ThrowsAny<T>(...)04
File 9: ThrowsAny<T>(...)02
File 10: Fail(...)02
File 11: GuardArgumentNotNull<T>(...)23
File 12: NotSame(...)04
File 12: Same(...)06
File 13: Multiple(...)022
File 14: NotNull(...)22
File 14: NotNull<T>(...)07
File 14: Null(...)22
File 14: Null<T>(...)06
File 15: PropertyChanged(...)014
File 15: PropertyChanged(...)02
File 16: InRange<T>(...)03
File 16: InRange<T>(...)011
File 16: NotInRange<T>(...)03
File 16: NotInRange<T>(...)011
File 17: RecordException(...)51
File 17: RecordException(...)57
File 17: RecordException(...)02
File 18: Contains<T>(...)08
File 18: Contains<T>(...)02
File 18: Contains<T>(...)02
File 18: DoesNotContain<T>(...)08
File 18: DoesNotContain<T>(...)02
File 18: DoesNotContain<T>(...)02
File 18: ProperSubset<T>(...)012
File 18: ProperSuperset<T>(...)012
File 18: Subset<T>(...)012
File 18: Superset<T>(...)012
File 19: Assert()290
File 19: Contains(...)20
File 19: Contains(...)52
File 19: DoesNotContain(...)02
File 19: DoesNotContain(...)07
File 19: DoesNotMatch(...)012
File 19: DoesNotMatch(...)013
File 19: Empty(...)42
File 19: EndsWith(...)02
File 19: EndsWith(...)07
File 19: Equal(...)20
File 19: Equal(...)1940
File 19: Matches(...)07
File 19: Matches(...)08
File 19: StartsWith(...)20
File 19: StartsWith(...)52
File 19: SkipLineEnding(...)09
File 19: SkipWhitespace(...)09
File 20: IsAssignableFrom<T>(...)03
File 20: IsAssignableFrom(...)010
File 20: IsNotAssignableFrom<T>(...)03
File 20: IsNotAssignableFrom(...)010
File 20: IsNotType<T>(...)03
File 20: IsNotType<T>(...)03
File 20: IsNotType(...)02
File 20: IsNotType(...)019
File 20: IsType<T>(...)30
File 20: IsType<T>(...)03
File 20: IsType(...)02
File 20: IsType(...)735

File(s)

/_/src/xunit.assert/Asserts/Assert.cs

File '/_/src/xunit.assert/Asserts/Assert.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/BooleanAsserts.cs

File '/_/src/xunit.assert/Asserts/BooleanAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/CollectionAsserts.cs

File '/_/src/xunit.assert/Asserts/CollectionAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/Comparers.cs

File '/_/src/xunit.assert/Asserts/Comparers.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/DictionaryAsserts.cs

File '/_/src/xunit.assert/Asserts/DictionaryAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/EqualityAsserts.cs

File '/_/src/xunit.assert/Asserts/EqualityAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/EquivalenceAsserts.cs

File '/_/src/xunit.assert/Asserts/EquivalenceAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/EventAsserts.cs

File '/_/src/xunit.assert/Asserts/EventAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/ExceptionAsserts.cs

File '/_/src/xunit.assert/Asserts/ExceptionAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/FailAsserts.cs

File '/_/src/xunit.assert/Asserts/FailAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/Guards.cs

File '/_/src/xunit.assert/Asserts/Guards.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/IdentityAsserts.cs

File '/_/src/xunit.assert/Asserts/IdentityAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/MultipleAsserts.cs

File '/_/src/xunit.assert/Asserts/MultipleAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/NullAsserts.cs

File '/_/src/xunit.assert/Asserts/NullAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/PropertyAsserts.cs

File '/_/src/xunit.assert/Asserts/PropertyAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/RangeAsserts.cs

File '/_/src/xunit.assert/Asserts/RangeAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/Record.cs

File '/_/src/xunit.assert/Asserts/Record.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/SetAsserts.cs

File '/_/src/xunit.assert/Asserts/SetAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/StringAsserts.cs

File '/_/src/xunit.assert/Asserts/StringAsserts.cs' does not exist (any more).

/_/src/xunit.assert/Asserts/TypeAsserts.cs

File '/_/src/xunit.assert/Asserts/TypeAsserts.cs' does not exist (any more).

Methods/Properties

Assert()
Equals(object, object)
ReferenceEquals(object, object)
SafeGetGenericTypeDefinition(System.Type)
False(bool)
False(System.Nullable<bool>)
False(bool, string)
False(System.Nullable<bool>, string)
True(bool)
True(System.Nullable<bool>)
True(bool, string)
True(System.Nullable<bool>, string)
All<T>(System.Collections.Generic.IEnumerable<T>, System.Action<T>)
All<T>(System.Collections.Generic.IEnumerable<T>, System.Action<T, int>)
AllAsync()
Collection<T>(System.Collections.Generic.IEnumerable<T>, System.Action<T>[])
Contains<T>(T, System.Collections.Generic.IEnumerable<T>)
Contains<T>(T, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEqualityComparer<T>)
Contains<T>(System.Collections.Generic.IEnumerable<T>, System.Predicate<T>)
Distinct<T>(System.Collections.Generic.IEnumerable<T>)
Distinct<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEqualityComparer<T>)
DoesNotContain<T>(T, System.Collections.Generic.IEnumerable<T>)
DoesNotContain<T>(T, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEqualityComparer<T>)
DoesNotContain<T>(System.Collections.Generic.IEnumerable<T>, System.Predicate<T>)
Empty(System.Collections.IEnumerable)
Equal<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>)
Equal<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEqualityComparer<T>)
Equal<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>, System.Func<T, T, bool>)
NotEmpty(System.Collections.IEnumerable)
NotEqual<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>)
NotEqual<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEqualityComparer<T>)
NotEqual<T>(System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerable<T>, System.Func<T, T, bool>)
Single(System.Collections.IEnumerable)
Single(System.Collections.IEnumerable, object)
Single<T>(System.Collections.Generic.IEnumerable<T>)
Single<T>(System.Collections.Generic.IEnumerable<T>, System.Predicate<T>)
GetSingleResult<T>(System.Collections.Generic.IEnumerable<T>, System.Predicate<T>, string)
GetEqualityComparer<T>(System.Collections.IEqualityComparer)
GetRangeComparer<T>()
Contains<TKey, TValue>(TKey, System.Collections.Generic.IDictionary<TKey, TValue>)
Contains<TKey, TValue>(TKey, System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>)
Contains<TKey, TValue>(TKey, System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue>)
Contains<TKey, TValue>(TKey, System.Collections.Generic.Dictionary<TKey, TValue>)
Contains<TKey, TValue>(TKey, System.Collections.ObjectModel.ReadOnlyDictionary<TKey, TValue>)
DoesNotContain<TKey, TValue>(TKey, System.Collections.Generic.IDictionary<TKey, TValue>)
DoesNotContain<TKey, TValue>(TKey, System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>)
DoesNotContain<TKey, TValue>(TKey, System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue>)
DoesNotContain<TKey, TValue>(TKey, System.Collections.Generic.Dictionary<TKey, TValue>)
DoesNotContain<TKey, TValue>(TKey, System.Collections.ObjectModel.ReadOnlyDictionary<TKey, TValue>)
Assert()
Equal<T>(T, T)
Equal<T>(T, T, System.Func<T, T, bool>)
Equal<T>(T, T, System.Collections.Generic.IEqualityComparer<T>)
Equal(double, double, int)
Equal(double, double, int, System.MidpointRounding)
Equal(double, double, double)
Equal(float, float, int)
Equal(float, float, int, System.MidpointRounding)
Equal(float, float, float)
Equal(decimal, decimal, int)
Equal(System.DateTime, System.DateTime)
Equal(System.DateTime, System.DateTime, System.TimeSpan)
Equal(System.DateTimeOffset, System.DateTimeOffset)
Equal(System.DateTimeOffset, System.DateTimeOffset, System.TimeSpan)
NotEqual<T>(T, T)
NotEqual<T>(T, T, System.Func<T, T, bool>)
NotEqual<T>(T, T, System.Collections.Generic.IEqualityComparer<T>)
NotEqual(double, double, int)
NotEqual(double, double, int, System.MidpointRounding)
NotEqual(double, double, double)
NotEqual(float, float, int)
NotEqual(float, float, int, System.MidpointRounding)
NotEqual(float, float, float)
NotEqual(decimal, decimal, int)
NotStrictEqual<T>(T, T)
StrictEqual<T>(T, T)
Equivalent(object, object, bool)
Raises(System.Action<System.Action>, System.Action<System.Action>, System.Action)
Raises<T>(System.Action<System.Action<T>>, System.Action<System.Action<T>>, System.Action)
Raises<T>(System.Action<System.EventHandler<T>>, System.Action<System.EventHandler<T>>, System.Action)
Raises<T>(System.Func<Xunit.Assert.RaisedEvent<T>>, System.Action, System.Action, System.Action)
RaisesAny(System.Action<System.EventHandler>, System.Action<System.EventHandler>, System.Action)
RaisesAny<T>(System.Action<System.Action<T>>, System.Action<System.Action<T>>, System.Action)
RaisesAny<T>(System.Action<System.EventHandler<T>>, System.Action<System.EventHandler<T>>, System.Action)
RaisesInternal(System.Action<System.Action>, System.Action<System.Action>, System.Action)
RaisesInternal(System.Action<System.EventHandler>, System.Action<System.EventHandler>, System.Action)
RaisesInternal<T>(System.Action<System.Action<T>>, System.Action<System.Action<T>>, System.Action)
RaisesInternal<T>(System.Action<System.EventHandler<T>>, System.Action<System.EventHandler<T>>, System.Action)
RaisesInternal<T>(System.Func<Xunit.Assert.RaisedEvent<T>>, System.Action, System.Action, System.Action)
RaisedEvent(T)
RaisedEvent(object, T)
Throws(System.Type, System.Exception)
Throws(System.Type, System.Action)
Throws(System.Type, System.Func<object>)
Throws(System.Type, System.Func<System.Threading.Tasks.Task>)
Throws<T>(System.Action)
Throws<T>(System.Func<object>)
Throws<T>(System.Func<System.Threading.Tasks.Task>)
Throws<T>(string, System.Action)
Throws<T>(string, System.Func<object>)
Throws<T>(string, System.Func<System.Threading.Tasks.Task>)
ThrowsAny(System.Type, System.Exception)
ThrowsAny<T>(System.Action)
ThrowsAny<T>(System.Func<object>)
ThrowsAny<T>(System.Func<System.Threading.Tasks.Task>)
Fail(string)
GuardArgumentNotNull<T>(string, T)
NotSame(object, object)
Same(object, object)
Multiple(System.Action[])
NotNull(object)
NotNull<T>(System.Nullable<T>)
Null(object)
Null<T>(System.Nullable<T>)
PropertyChanged(System.ComponentModel.INotifyPropertyChanged, string, System.Action)
PropertyChanged(System.ComponentModel.INotifyPropertyChanged, string, System.Func<System.Threading.Tasks.Task>)
InRange<T>(T, T, T)
InRange<T>(T, T, T, System.Collections.Generic.IComparer<T>)
NotInRange<T>(T, T, T)
NotInRange<T>(T, T, T, System.Collections.Generic.IComparer<T>)
RecordException(System.Action)
RecordException(System.Func<object>, string)
RecordException(System.Func<System.Threading.Tasks.Task>)
Contains<T>(T, System.Collections.Generic.ISet<T>)
Contains<T>(T, System.Collections.Generic.HashSet<T>)
Contains<T>(T, System.Collections.Generic.SortedSet<T>)
DoesNotContain<T>(T, System.Collections.Generic.ISet<T>)
DoesNotContain<T>(T, System.Collections.Generic.HashSet<T>)
DoesNotContain<T>(T, System.Collections.Generic.SortedSet<T>)
ProperSubset<T>(System.Collections.Generic.ISet<T>, System.Collections.Generic.ISet<T>)
ProperSuperset<T>(System.Collections.Generic.ISet<T>, System.Collections.Generic.ISet<T>)
Subset<T>(System.Collections.Generic.ISet<T>, System.Collections.Generic.ISet<T>)
Superset<T>(System.Collections.Generic.ISet<T>, System.Collections.Generic.ISet<T>)
Assert()
Contains(string, string)
Contains(string, string, System.StringComparison)
DoesNotContain(string, string)
DoesNotContain(string, string, System.StringComparison)
DoesNotMatch(string, string)
DoesNotMatch(System.Text.RegularExpressions.Regex, string)
Empty(string)
EndsWith(string, string)
EndsWith(string, string, System.StringComparison)
Equal(string, string)
Equal(string, string, bool, bool, bool, bool)
Matches(string, string)
Matches(System.Text.RegularExpressions.Regex, string)
StartsWith(string, string)
StartsWith(string, string, System.StringComparison)
SkipLineEnding(string, int)
SkipWhitespace(string, int)
IsAssignableFrom<T>(object)
IsAssignableFrom(System.Type, object)
IsNotAssignableFrom<T>(object)
IsNotAssignableFrom(System.Type, object)
IsNotType<T>(object)
IsNotType<T>(object, bool)
IsNotType(System.Type, object)
IsNotType(System.Type, object, bool)
IsType<T>(object)
IsType<T>(object, bool)
IsType(System.Type, object)
IsType(System.Type, object, bool)