Skip to content

refactor: standardize MethodImplOptions with named constants #49

refactor: standardize MethodImplOptions with named constants

refactor: standardize MethodImplOptions with named constants #49

Triggered via pull request February 14, 2026 10:44
Status Success
Total duration 6m 4s
Artifacts 3

build-and-release.yml

on: pull_request
Matrix: test
build-nuget
build-nuget
create-release
create-release
publish-nuget
publish-nuget
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
test (macos-latest): src/NumSharp.Core/RandomSampling/Randomizer.cs#L78
'Randomizer.Sample()': new protected member declared in sealed type
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L272
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L272
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L272
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/APIs/np.tofile.cs#L5
'NDArray' defines operator == or operator != but does not override Object.GetHashCode()
test (windows-latest): src/NumSharp.Core/APIs/np.tofile.cs#L5
'NDArray' overrides Object.Equals(object o) but does not override Object.GetHashCode()
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L164
The member 'NDArray<TDType>.this[params int[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/RandomSampling/Randomizer.cs#L78
'Randomizer.Sample()': new protected member declared in sealed type
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L272
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/RandomSampling/Randomizer.cs#L78
'Randomizer.Sample()': new protected member declared in sealed type
test (ubuntu-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L164
The member 'NDArray<TDType>.this[params int[]]' does not hide an accessible member. The new keyword is not required.

Artifacts

Produced during runtime
Name Size Digest
test-results-macos-latest Expired
379 KB
sha256:87acacceb9c0da2cde82199ab8dded16ba47f2aa0d3d04597efb3176e0e79862
test-results-ubuntu-latest Expired
381 KB
sha256:c9b8152c3d05e27ac471871f3fe271fc545a04016e1153c99373db017c98a8ac
test-results-windows-latest Expired
383 KB
sha256:53518ebcae95dfeac1cad9bfad716b4c4f77cc3a581cd8f0e21f4655fad0ab6a