Some improvements #230
Annotations
4 errors and 10 warnings
Build & Test in Release Mode:
src/CommonUtilities.FileSystem/test/DirectoryInfoExtensionsTest.cs#L177
Assert.False() Failure
Expected: False
Actual: True
|
Build & Test in Release Mode:
src/CommonUtilities.FileSystem/test/DirectoryInfoExtensionsTest.cs#L27
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.IO.IOException)
|
Build & Test in Release Mode:
src/CommonUtilities.FileSystem/test/DirectoryInfoExtensionsTest.cs#L289
Assert.False() Failure
Expected: False
Actual: True
|
Build & Test in Release Mode
Process completed with exit code 1.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L17
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L36
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/Collections/INonModifyingEnumerableTestSuite.cs#L371
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/Collections/INonModifyingEnumerableTestSuite.cs#L372
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
|
Build & Test in Release Mode:
src/CommonUtilities.TestingUtilities/Collections/IReadOnlyListTestSuite.cs#L43
Theory method 'From_IEnumerable' on test class 'IReadOnlyListTestSuite' does not use parameter '__'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
|
Build & Test in Release Mode:
src/CommonUtilities/test/Extensions/EncodingExtensionsTest.cs#L252
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Loading