Add .NET 8 support, drop .NET 6 (#183) #588
Annotations
1 error and 30 warnings
build (macOS-latest)
Process completed with exit code 1.
|
build (macOS-latest):
src/SheepTools/SheepToolsExceptions.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (macOS-latest):
src/SheepTools/SheepToolsExceptions.cs#L20
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (macOS-latest):
tests/SheepTools.XUnit.Test/AsssertTest.cs#L30
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build (macOS-latest):
tests/SheepTools.XUnit.Test/AsssertTest.cs#L31
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build (macOS-latest):
tests/SheepTools.Test/Extensions/CollectionExtensionsTest.cs#L20
Comparing an instance of System.Collections.Generic.List<int> with an instance of System.Collections.Generic.HashSet<int> has undefined results, because the order of items in the set is not predictable. Create a stable order for the set (i.e., by using OrderBy from Linq). (https://xunit.net/xunit.analyzers/rules/xUnit2027)
|
build (macOS-latest):
tests/SheepTools.Test/Extensions/CollectionExtensionsTest.cs#L65
Comparing an instance of System.Collections.Generic.List<int> with an instance of System.Collections.Generic.HashSet<int> has undefined results, because the order of items in the set is not predictable. Create a stable order for the set (i.e., by using OrderBy from Linq). (https://xunit.net/xunit.analyzers/rules/xUnit2027)
|
build (macOS-latest):
src/SheepTools/SheepToolsExceptions.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (macOS-latest):
src/SheepTools/SheepToolsExceptions.cs#L20
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (macOS-latest):
tests/SheepTools.XUnit.Test/AsssertTest.cs#L30
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build (macOS-latest):
tests/SheepTools.XUnit.Test/AsssertTest.cs#L31
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build (ubuntu-latest):
src/SheepTools/SheepToolsExceptions.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (ubuntu-latest):
src/SheepTools/SheepToolsExceptions.cs#L20
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (ubuntu-latest):
tests/SheepTools.XUnit.Test/AsssertTest.cs#L30
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build (ubuntu-latest):
tests/SheepTools.XUnit.Test/AsssertTest.cs#L31
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build (ubuntu-latest):
tests/SheepTools.Test/Extensions/CollectionExtensionsTest.cs#L20
Comparing an instance of System.Collections.Generic.List<int> with an instance of System.Collections.Generic.HashSet<int> has undefined results, because the order of items in the set is not predictable. Create a stable order for the set (i.e., by using OrderBy from Linq). (https://xunit.net/xunit.analyzers/rules/xUnit2027)
|
build (ubuntu-latest):
tests/SheepTools.Test/Extensions/CollectionExtensionsTest.cs#L65
Comparing an instance of System.Collections.Generic.List<int> with an instance of System.Collections.Generic.HashSet<int> has undefined results, because the order of items in the set is not predictable. Create a stable order for the set (i.e., by using OrderBy from Linq). (https://xunit.net/xunit.analyzers/rules/xUnit2027)
|
build (ubuntu-latest):
src/SheepTools/SheepToolsExceptions.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (ubuntu-latest):
src/SheepTools/SheepToolsExceptions.cs#L20
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (ubuntu-latest):
tests/SheepTools.XUnit.Test/AsssertTest.cs#L30
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build (ubuntu-latest):
tests/SheepTools.XUnit.Test/AsssertTest.cs#L31
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
|
build (windows-latest):
src/SheepTools/SheepToolsExceptions.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (windows-latest):
src/SheepTools/SheepToolsExceptions.cs#L20
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build (windows-latest):
src/SheepTools/LinearInterpolation.cs#L9
Do not check floating point equality with exact values, use a range instead. (https://rules.sonarsource.com/csharp/RSPEC-1244)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L51
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L51
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L105
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L120
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
build (windows-latest):
src/SheepTools/Ensure.cs#L133
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
build (windows-latest):
src/SheepTools/Extensions/DateTimeExtensions.cs#L30
Provide the "DateTimeKind" when creating this object. (https://rules.sonarsource.com/csharp/RSPEC-6562)
|
build (windows-latest):
src/SheepTools/Extensions/DateTimeExtensions.cs#L30
Use "DateTime.UnixEpoch" instead of creating DateTime instances that point to the unix epoch time (https://rules.sonarsource.com/csharp/RSPEC-6588)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
SheepTools-ci-588
Expired
|
79.9 KB |
|
SheepTools-coverage-ci-588
Expired
|
1.14 MB |
|