Skip to content

Merge pull request #51 from AppCoreNet/ensure-oftype-value #58

Merge pull request #51 from AppCoreNet/ensure-oftype-value

Merge pull request #51 from AppCoreNet/ensure-oftype-value #58

Triggered via push May 22, 2025 17:56
Status Success
Total duration 3m 8s
Artifacts 4

build-test.yaml

on: push
Matrix: .NET Build
Deploy Testing
19s
Deploy Testing
Deploy Production
0s
Deploy Production
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (macOS-latest): test/AppCoreNet.Diagnostics.Tests/EnsureTests.Arg.cs#L238
'value' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)'. The return value of method 'AppCoreNet.Diagnostics.EnsureTests.Arg.ExpectedArgType.ExpectedArgType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (macOS-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (ubuntu-latest): test/AppCoreNet.Diagnostics.Tests/EnsureTests.Arg.cs#L238
'value' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)'. The return value of method 'AppCoreNet.Diagnostics.EnsureTests.Arg.ExpectedArgType.ExpectedArgType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (ubuntu-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (windows-latest): test/AppCoreNet.Diagnostics.Tests/EnsureTests.Arg.cs#L238
'value' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)'. The return value of method 'AppCoreNet.Diagnostics.EnsureTests.Arg.ExpectedArgType.ExpectedArgType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L360
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Type, Type, String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L374
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType<TExpected>(Object, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
.NET Build (windows-latest): src/AppCoreNet.Diagnostics.Sources/Ensure.Arg.cs#L352
Parameter 'value' of method 'AppCoreNet.Diagnostics.Ensure.Arg.OfGenericType(Object, Type, String)' has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.

Artifacts

Produced during runtime
Name Size Digest
artifacts Expired
30.8 KB
sha256:720c8e6be80fd3acb63de704ad6fc2444145718d1887e3e6b93ecbbeedf58bfb
test-results-macOS-latest Expired
43.8 KB
sha256:610f3b5eaa5ee9ff5840a4a477bbb56d5989ae27f76d5ae3ad94d063e1edf389
test-results-ubuntu-latest Expired
44 KB
sha256:3e278a618f93c2ccc394c2c67edb85c5de0c665773a02e1a4c8e9bef53a56017
test-results-windows-latest Expired
63.1 KB
sha256:1aaf3086a156d9e0bcdcb91f14967ede20b5a45933c70d0485b38b543f6780e9