Some improvements #230
Annotations
4 errors and 20 warnings
AnakinRaW.CommonUtilities.FileSystem.Test.DirectoryInfoExtensionsTest.Test_MoveToEx_CannotDeleteSource:
src/CommonUtilities.FileSystem/test/DirectoryInfoExtensionsTest.cs#L177
Assert.False() Failure
Expected: False
Actual: True
|
AnakinRaW.CommonUtilities.FileSystem.Test.DirectoryInfoExtensionsTest.Test_DeleteWithRetry:
src/CommonUtilities.FileSystem/test/DirectoryInfoExtensionsTest.cs#L27
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.IO.IOException)
|
AnakinRaW.CommonUtilities.FileSystem.Test.DirectoryInfoExtensionsTest.Test_MoveToAsync_CannotDeleteSource:
src/CommonUtilities.FileSystem/test/DirectoryInfoExtensionsTest.cs#L289
Assert.False() Failure
Expected: False
Actual: True
|
Build & Test (ubuntu-latest)
Process completed with exit code 1.
|
Build & Test (ubuntu-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L17
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
|
Build & Test (ubuntu-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
|
Build & Test (ubuntu-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
|
Build & Test (ubuntu-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L36
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
|
Build & Test (ubuntu-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
|
Build & Test (ubuntu-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
|
Build & Test (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
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 (ubuntu-latest):
src/CommonUtilities/test/Extensions/EncodingExtensionsTest.cs#L252
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build & Test (windows-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L17
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
|
Build & Test (windows-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
|
Build & Test (windows-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
|
Build & Test (windows-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L36
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
|
Build & Test (windows-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
|
Build & Test (windows-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
|
Build & Test (windows-latest):
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 (windows-latest):
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 (windows-latest):
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 (windows-latest):
src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
|