Add AOT Markup #2515
Annotations
10 warnings
build / build:
src/Splat.Tests/ServiceLocation/BaseDependencyResolverTests.cs#L210
Prefer the generic overload 'Splat.ResolverMixins.RegisterConstantAnd<T>(Splat.IMutableDependencyResolver, T, string?)' instead of 'Splat.ResolverMixins.RegisterConstantAnd(Splat.IMutableDependencyResolver, object, System.Type, string?)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
build / build:
src/Splat.Tests/ServiceLocation/BaseDependencyResolverTests.cs#L197
Prefer the generic overload 'Splat.ResolverMixins.RegisterConstantAnd<T>(Splat.IMutableDependencyResolver, T, string?)' instead of 'Splat.ResolverMixins.RegisterConstantAnd(Splat.IMutableDependencyResolver, object, System.Type, string?)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
build / build:
src/Splat.Drawing/Platforms/ReflectionStubs.cs#L24
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Reflection.TypeInfo.GetDeclaredMethod(String)'. The parameter 'value' of method 'Splat.ReflectionStubs.GetMethod(Type, String, BindingFlags)' 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.
|
build / build:
src/Splat.Drawing/Platforms/ReflectionStubs.cs#L15
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields' in call to 'System.Reflection.TypeInfo.GetDeclaredField(String)'. The parameter 'value' of method 'Splat.ReflectionStubs.GetField(Type, String, BindingFlags)' 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.
|
build / build:
src/Splat.Drawing/Platforms/ReflectionStubs.cs#L33
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Reflection.TypeInfo.GetDeclaredProperty(String)'. The parameter 'value' of method 'Splat.ReflectionStubs.GetProperty(Type, String, BindingFlags)' 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.
|
build / build:
src/Splat.Drawing/Platforms/ReflectionStubs.cs#L18
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields' in call to 'System.Type.GetField(String, BindingFlags)'. The return value of method 'System.Type.BaseType.get' 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.
|
build / build:
src/Splat.Drawing/Platforms/ReflectionStubs.cs#L36
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The return value of method 'System.Type.BaseType.get' 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.
|
build / build:
src/Splat.Drawing/Platforms/ReflectionStubs.cs#L27
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags)'. The return value of method 'System.Type.BaseType.get' 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.
|
build / build:
src/Splat.Drawing/Platforms/ReflectionStubs.cs#L48
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Reflection.TypeInfo.DeclaredProperties.get'. The parameter 'value' of method 'Splat.ReflectionStubs.GetProperties(Type)' 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.
|
build / build:
src/Splat.Drawing/Platforms/ReflectionStubs.cs#L50
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields' in call to 'System.Reflection.TypeInfo.DeclaredFields.get'. The parameter 'value' of method 'Splat.ReflectionStubs.GetFields(Type)' 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.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
nuget
|
3.41 MB |
|