Merge pull request #51 from AppCoreNet/ensure-oftype-value #58
Annotations
10 warnings
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.
|
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'.
|
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'.
|
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.
|
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.
|
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.
|
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'.
|
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'.
|
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'.
|
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'.
|
The logs for this run have expired and are no longer available.
Loading