Open
Description
opened on Jan 26, 2024
I just tried turning on trimming for my app, and noticed some warnings coming from DotNext.Metaprogramming:
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(166,17): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.<>c__DisplayClass16_0.<StructuralPattern>b__0(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(184,88): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.<>c__DisplayClass18_0.<Case>b__0(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(196,113): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.<>c__DisplayClass19_0.<Case>b__0(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(196,113): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.<>c__DisplayClass19_0.<Case>b__0(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(210,142): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.<>c__DisplayClass20_0.<Case>b__0(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(210,142): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.<>c__DisplayClass20_0.<Case>b__0(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(210,142): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.<>c__DisplayClass20_0.<Case>b__0(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/CollectionAccessExpression.cs(87,32): Trim analysis error IL2067: DotNext.Linq.Expressions.CollectionAccessExpression.<GetIndexers>d__5.MoveNext(): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.TypeExtensions.GetBaseTypes(Type, Boolean, Boolean)'. The parameter 'collection' of method 'DotNext.Linq.Expressions.CollectionAccessExpression.GetIndexers(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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/CollectionAccessExpression.cs(92,13): Trim analysis error IL2075: DotNext.Linq.Expressions.CollectionAccessExpression.<GetIndexers>d__5.MoveNext(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.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.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(226,34): Trim analysis error IL2075: DotNext.Metaprogramming.MatchBuilder.<GetProperties>d__22.MoveNext(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties(BindingFlags)'. 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/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(232,31): Trim analysis error IL2075: DotNext.Metaprogramming.MatchBuilder.<GetProperties>d__22.MoveNext(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetFields(BindingFlags)'. 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/DotNext.Metaprogramming/Linq/Expressions/SliceExpression.cs(74,32): Trim analysis error IL2067: DotNext.Linq.Expressions.SliceExpression.<GetSliceMethods>d__3.MoveNext(): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.TypeExtensions.GetBaseTypes(Type, Boolean, Boolean)'. The parameter 'collection' of method 'DotNext.Linq.Expressions.SliceExpression.GetSliceMethods(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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/SliceExpression.cs(76,36): Trim analysis error IL2075: DotNext.Linq.Expressions.SliceExpression.<GetSliceMethods>d__3.MoveNext(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.All' in call to 'System.Type.FindMembers(MemberTypes, BindingFlags, MemberFilter, Object)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.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.
/_/src/DotNext.Metaprogramming/Metaprogramming/AsyncLambdaExpression.cs(23,9): Trim analysis error IL2091: DotNext.Metaprogramming.AsyncLambdaExpression<TDelegate>.AsyncLambdaExpression`1(Boolean): 'TDelegate' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in 'DotNext.Reflection.DelegateType.GetInvokeMethod<TDelegate>()'. The generic parameter 'TDelegate' of 'DotNext.Metaprogramming.AsyncLambdaExpression<TDelegate>' 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/DotNext.Metaprogramming/Linq/Expressions/AsyncResultExpression.cs(91,9): Trim analysis error IL2075: DotNext.Linq.Expressions.AsyncResultExpression.Reduce(ParameterExpression, LabelTarget): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachine.cs(166,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.AsyncStateMachine<TState>.MoveNext<TAwaiter>(TAwaiter&, UInt32): 'TAwaiter' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'DotNext.Runtime.CompilerServices.Awaiter<TAwaiter>'. The generic parameter 'TAwaiter' of 'DotNext.Runtime.CompilerServices.AsyncStateMachine<TState>.MoveNext<TAwaiter>(TAwaiter&, UInt32)' 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/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachine.cs(166,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.AsyncStateMachine<TState>.MoveNext<TAwaiter>(TAwaiter&, UInt32): 'TAwaiter' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'DotNext.Runtime.CompilerServices.Awaiter<TAwaiter>.IsCompletedGetter'. The generic parameter 'TAwaiter' of 'DotNext.Runtime.CompilerServices.AsyncStateMachine<TState>.MoveNext<TAwaiter>(TAwaiter&, UInt32)' 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/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachine.cs(351,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.AsyncStateMachine<TState,TResult>.MoveNext<TAwaiter>(TAwaiter&, UInt32): 'TAwaiter' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'DotNext.Runtime.CompilerServices.Awaiter<TAwaiter>'. The generic parameter 'TAwaiter' of 'DotNext.Runtime.CompilerServices.AsyncStateMachine<TState,TResult>.MoveNext<TAwaiter>(TAwaiter&, UInt32)' 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/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachine.cs(351,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.AsyncStateMachine<TState,TResult>.MoveNext<TAwaiter>(TAwaiter&, UInt32): 'TAwaiter' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'DotNext.Runtime.CompilerServices.Awaiter<TAwaiter>.IsCompletedGetter'. The generic parameter 'TAwaiter' of 'DotNext.Runtime.CompilerServices.AsyncStateMachine<TState,TResult>.MoveNext<TAwaiter>(TAwaiter&, UInt32)' 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/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(444,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.AsyncStateMachineBuilder`1(IReadOnlyList<ParameterExpression>): 'TDelegate' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in 'DotNext.Reflection.DelegateType.GetInvokeMethod<TDelegate>()'. The generic parameter 'TDelegate' of 'DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>' 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/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(495,9): Trim analysis error IL2075: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.Build(LambdaExpression): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(449,12): Trim analysis error IL2067: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.BuildTransitionDelegate(Type): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.TypeExtensions.GetGenericArguments(Type, Type)'. The parameter 'stateMachineType' of method 'DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.BuildTransitionDelegate(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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(449,12): Trim analysis error IL2055: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.BuildTransitionDelegate(Type): Call to 'System.Type.MakeGenericType(Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
/_/src/DotNext.Metaprogramming/Linq/Expressions/AwaitExpression.cs(38,13): Trim analysis error IL2075: DotNext.Linq.Expressions.AwaitExpression.AwaitExpression(Expression, Boolean): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/AwaitExpression.cs(44,9): Trim analysis error IL2075: DotNext.Linq.Expressions.AwaitExpression.AwaitExpression(Expression, Boolean): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/AwaitExpression.cs(46,9): Trim analysis error IL2075: DotNext.Linq.Expressions.AwaitExpression.AwaitExpression(Expression, Boolean): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(573,17): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.MatchByThreeMembersStatement.CaseStatementBuilder.DotNext.ISupplier<System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.Expression>.Invoke(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(529,17): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.MatchByTwoMembersStatement.CaseStatementBuilder.DotNext.ISupplier<System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.Expression>.Invoke(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(488,17): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.MatchByMemberStatement.CaseStatementBuilder.DotNext.ISupplier<System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.Expression>.Invoke(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(529,17): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.MatchByTwoMembersStatement.CaseStatementBuilder.DotNext.ISupplier<System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.Expression>.Invoke(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(573,17): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.MatchByThreeMembersStatement.CaseStatementBuilder.DotNext.ISupplier<System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.Expression>.Invoke(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/MatchBuilder.cs(573,17): Trim analysis error IL2026: DotNext.Metaprogramming.MatchBuilder.MatchByThreeMembersStatement.CaseStatementBuilder.DotNext.ISupplier<System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.Expression>.Invoke(ParameterExpression): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/ClosureAnalyzer.cs(29,13): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.ClosureAnalyzer.Visit(Expression): Using member 'System.Linq.Expressions.Expression.Field(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/CollectionAccessExpression.cs(117,13): Trim analysis error IL2072: DotNext.Linq.Expressions.CollectionAccessExpression.Type.get: 'collectionType' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.CollectionType.GetItemType(Type)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/CollectionAccessExpression.cs(72,32): Trim analysis error IL2067: DotNext.Linq.Expressions.CollectionAccessExpression.GetCountProperty(Type): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.TypeExtensions.GetBaseTypes(Type, Boolean, Boolean)'. The parameter 'collection' of method 'DotNext.Linq.Expressions.CollectionAccessExpression.GetCountProperty(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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/CollectionAccessExpression.cs(74,13): Trim analysis error IL2075: DotNext.Linq.Expressions.CollectionAccessExpression.GetCountProperty(Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/CollectionAccessExpression.cs(77,13): Trim analysis error IL2075: DotNext.Linq.Expressions.CollectionAccessExpression.GetCountProperty(Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The return value of method 'System.Collections.Generic.IEnumerator<T>.Current.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1461,9): Trim analysis error IL2075: DotNext.Linq.Expressions.ExpressionBuilder.AsResult(Expression): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructor(Type[])'. The return value of method 'System.Reflection.MemberInfo.DeclaringType.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(747,9): Trim analysis error IL2070: DotNext.Linq.Expressions.ExpressionBuilder.Call(Expression, Type, String, Expression[]): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, Type[])'. The parameter 'interfaceType' of method 'DotNext.Linq.Expressions.ExpressionBuilder.Call(Expression, Type, String, Expression[])' 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/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(761,9): Trim analysis error IL2070: DotNext.Linq.Expressions.ExpressionBuilder.CallStatic(Type, String, Expression[]): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])'. The parameter 'type' of method 'DotNext.Linq.Expressions.ExpressionBuilder.CallStatic(Type, String, Expression[])' 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/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(943,13): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.Count(Expression): Using member 'System.Linq.Expressions.Expression.Property(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(944,9): Trim analysis error IL2072: DotNext.Linq.Expressions.ExpressionBuilder.Count(Expression): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.CollectionType.GetImplementedCollection(Type)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(945,9): Trim analysis error IL2072: DotNext.Linq.Expressions.ExpressionBuilder.Count(Expression): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Linq.Expressions.Expression.Property(Expression, Type, String)'. The return value of method 'DotNext.Reflection.CollectionType.GetImplementedCollection(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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(876,12): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.Field(Expression, String): Using member 'System.Linq.Expressions.Expression.Field(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1479,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.MakeIndex(Expression, Expression[]): Using member 'System.Linq.Expressions.Expression.Property(Expression, String, Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1142,13): Trim analysis error IL2067: DotNext.Linq.Expressions.ExpressionBuilder.New(Type, Expression[]): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Linq.Expressions.Expression.New(Type)'. The parameter 'type' of method 'DotNext.Linq.Expressions.ExpressionBuilder.New(Type, Expression[])' 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/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, Object[])' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo, Object[])' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstance(String, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, Object[], Object[])' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstance(String, String, Object[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, Boolean)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1144,9): Trim analysis error IL2070: DotNext.Linq.Expressions.ExpressionBuilder.New(Type, Expression[]): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructor(Type[])'. The parameter 'type' of method 'DotNext.Linq.Expressions.ExpressionBuilder.New(Type, Expression[])' 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/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstance(String, String, Object[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo, Object[])' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstanceFrom(String, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, Boolean)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstance(String, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Using member 'System.Activator.CreateInstanceFrom(String, String, Object[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Type and its constructor could be removed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, Object[], Object[])' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(1209,9): Trim analysis error IL2111: DotNext.Linq.Expressions.ExpressionBuilder.New(Expression, Expression[]): Method 'System.Activator.CreateInstance(Type, Object[])' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(838,12): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.Property(Expression, String): Using member 'System.Linq.Expressions.Expression.Property(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(823,9): Trim analysis error IL2070: DotNext.Linq.Expressions.ExpressionBuilder.Property(Expression, Type, String, Expression, Expression[]): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The parameter 'interfaceType' of method 'DotNext.Linq.Expressions.ExpressionBuilder.Property(Expression, Type, String, Expression, Expression[])' 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/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(804,9): Trim analysis error IL2070: DotNext.Linq.Expressions.ExpressionBuilder.Property(Expression, Type, String): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The parameter 'interfaceType' of method 'DotNext.Linq.Expressions.ExpressionBuilder.Property(Expression, Type, String)' 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/DotNext.Metaprogramming/Linq/Expressions/ExpressionBuilder.cs(852,12): Trim analysis error IL2026: DotNext.Linq.Expressions.ExpressionBuilder.Property(Expression, String, Expression, Expression[]): Using member 'System.Linq.Expressions.Expression.Property(Expression, String, Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ForEachExpression.cs(70,9): Trim analysis error IL2072: DotNext.Linq.Expressions.ForEachExpression.ForEachExpression(Expression, Expression, Boolean, LabelTarget, LabelTarget): 'collectionType' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.CollectionType.GetItemType(Type, Type&)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ForEachExpression.cs(41,9): Trim analysis error IL2072: DotNext.Linq.Expressions.ForEachExpression.ForEachExpression(Expression, LabelTarget, LabelTarget): 'collectionType' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.CollectionType.GetItemType(Type, Type&)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ForEachExpression.cs(47,13): Trim analysis error IL2075: DotNext.Linq.Expressions.ForEachExpression.ForEachExpression(Expression, LabelTarget, LabelTarget): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, Type[])'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ForEachExpression.cs(49,13): Trim analysis error IL2026: DotNext.Linq.Expressions.ForEachExpression.ForEachExpression(Expression, LabelTarget, LabelTarget): Using member 'System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ForEachExpression.cs(87,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ForEachExpression.ForEachExpression(Expression, Expression, Boolean, LabelTarget, LabelTarget): Using member 'System.Linq.Expressions.Expression.Property(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ForEachExpression.cs(62,9): Trim analysis error IL2026: DotNext.Linq.Expressions.ForEachExpression.ForEachExpression(Expression, LabelTarget, LabelTarget): Using member 'System.Linq.Expressions.Expression.Property(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ForEachExpression.cs(213,13): Trim analysis error IL2072: DotNext.Linq.Expressions.ForEachExpression.Reduce(): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'DotNext.Reflection.DisposableType.GetDisposeAsyncMethod(Type)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ForEachExpression.cs(219,13): Trim analysis error IL2072: DotNext.Linq.Expressions.ForEachExpression.Reduce(): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'DotNext.Reflection.DisposableType.GetDisposeMethod(Type)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/InterpolatedStringTemplateBuilder.cs(175,9): Trim analysis error IL2075: DotNext.Runtime.CompilerServices.InterpolatedStringTemplateBuilder.Build(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructor(Type[])'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/InterpolatedStringTemplateBuilder.cs(177,9): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.InterpolatedStringTemplateBuilder.Build(): Using member 'System.Linq.Expressions.Expression.Property(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/InterpolatedStringTemplateBuilder.cs(184,9): Trim analysis error IL2075: DotNext.Runtime.CompilerServices.InterpolatedStringTemplateBuilder.Build(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Type.GetConstructor(Type[])'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/InterpolatedStringTemplateBuilder.cs(205,9): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.InterpolatedStringTemplateBuilder.Build(): Using member 'System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/InterpolatedStringTemplateBuilder.cs(209,9): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.InterpolatedStringTemplateBuilder.Build(): Using member 'System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/ItemIndexExpression.cs(68,12): Trim analysis error IL2026: DotNext.Linq.Expressions.ItemIndexExpression.GetOffset(Expression, Expression): Using member 'System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Metaprogramming/LambdaExpression.cs(59,9): Trim analysis error IL2091: DotNext.Metaprogramming.LambdaExpression<TDelegate>.LambdaExpression`1(Boolean): 'TDelegate' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in 'DotNext.Reflection.DelegateType.GetInvokeMethod<TDelegate>()'. The generic parameter 'TDelegate' of 'DotNext.Metaprogramming.LambdaExpression<TDelegate>' 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/DotNext.Metaprogramming/Linq/Expressions/MemberBindings.cs(28,9): Trim analysis error IL2070: DotNext.Linq.Expressions.MemberBindings.Bind(Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.All' in call to 'System.Type.FindMembers(MemberTypes, BindingFlags, MemberFilter, Object)'. The parameter 'target' of method 'DotNext.Linq.Expressions.MemberBindings.Bind(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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/MetaExpression.cs(18,5): Trim analysis error IL2026: DotNext.Linq.Expressions.MetaExpression..cctor(): Using member 'System.Linq.Expressions.Expression.PropertyOrField(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/MoveNextExpression.cs(34,9): Trim analysis error IL2075: DotNext.Runtime.CompilerServices.MoveNextExpression.Reduce(ParameterExpression): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, Int32, BindingFlags, Binder, Type[], ParameterModifier[])'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/MoveNextExpression.cs(34,9): Trim analysis error IL2060: DotNext.Runtime.CompilerServices.MoveNextExpression.Reduce(ParameterExpression): Call to 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/MutationExpression.cs(34,17): Trim analysis error IL2075: DotNext.Linq.Expressions.MutationExpression.MutationExpression(Expression, IReadOnlyList<MemberAssignment>): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Type[])'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachine.Pooling.cs(166,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.PoolingAsyncStateMachine<TState>.MoveNext<TAwaiter>(TAwaiter&, UInt32): 'TAwaiter' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'DotNext.Runtime.CompilerServices.Awaiter<TAwaiter>'. The generic parameter 'TAwaiter' of 'DotNext.Runtime.CompilerServices.PoolingAsyncStateMachine<TState>.MoveNext<TAwaiter>(TAwaiter&, UInt32)' 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/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachine.Pooling.cs(166,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.PoolingAsyncStateMachine<TState>.MoveNext<TAwaiter>(TAwaiter&, UInt32): 'TAwaiter' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'DotNext.Runtime.CompilerServices.Awaiter<TAwaiter>.IsCompletedGetter'. The generic parameter 'TAwaiter' of 'DotNext.Runtime.CompilerServices.PoolingAsyncStateMachine<TState>.MoveNext<TAwaiter>(TAwaiter&, UInt32)' 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/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachine.Pooling.cs(351,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.PoolingAsyncStateMachine<TState,TResult>.MoveNext<TAwaiter>(TAwaiter&, UInt32): 'TAwaiter' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'DotNext.Runtime.CompilerServices.Awaiter<TAwaiter>'. The generic parameter 'TAwaiter' of 'DotNext.Runtime.CompilerServices.PoolingAsyncStateMachine<TState,TResult>.MoveNext<TAwaiter>(TAwaiter&, UInt32)' 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/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachine.Pooling.cs(351,9): Trim analysis error IL2091: DotNext.Runtime.CompilerServices.PoolingAsyncStateMachine<TState,TResult>.MoveNext<TAwaiter>(TAwaiter&, UInt32): 'TAwaiter' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in 'DotNext.Runtime.CompilerServices.Awaiter<TAwaiter>.IsCompletedGetter'. The generic parameter 'TAwaiter' of 'DotNext.Runtime.CompilerServices.PoolingAsyncStateMachine<TState,TResult>.MoveNext<TAwaiter>(TAwaiter&, UInt32)' 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/DotNext.Metaprogramming/Linq/Expressions/RangeExpression.cs(41,12): Trim analysis error IL2026: DotNext.Linq.Expressions.RangeExpression.GetOffsetAndLength(Expression, Expression): Using member 'System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/RangeExpression.cs(47,9): Trim analysis error IL2026: DotNext.Linq.Expressions.RangeExpression.GetOffsetAndLength(Expression, Expression, ParameterExpression&, MemberExpression&, MemberExpression&): Using member 'System.Linq.Expressions.Expression.Field(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/RangeExpression.cs(48,9): Trim analysis error IL2026: DotNext.Linq.Expressions.RangeExpression.GetOffsetAndLength(Expression, Expression, ParameterExpression&, MemberExpression&, MemberExpression&): Using member 'System.Linq.Expressions.Expression.Field(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/RecoverFromExceptionExpression.cs(24,9): Trim analysis error IL2075: DotNext.Runtime.CompilerServices.RecoverFromExceptionExpression.Reduce(ParameterExpression): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/RecoverFromExceptionExpression.cs(26,9): Trim analysis error IL2060: DotNext.Runtime.CompilerServices.RecoverFromExceptionExpression.Reduce(ParameterExpression): Call to 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/InterpolatedStringTemplateBuilder.cs(50,17): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.InterpolatedStringTemplateBuilder.Segment.WriteStatement(IList<Expression>, ParameterExpression, ParameterExpression, ParameterExpression&): Using member 'System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/InterpolatedStringTemplateBuilder.cs(59,17): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.InterpolatedStringTemplateBuilder.Segment.WriteStatement(IList<Expression>, ParameterExpression, ParameterExpression, ParameterExpression&): Using member 'System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/SliceExpression.cs(102,9): Trim analysis error IL2111: DotNext.Linq.Expressions.SliceExpression.SubArray(Expression, Expression): Method 'System.Runtime.CompilerServices.RuntimeHelpers.GetUninitializedObject(Type)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
/_/src/DotNext.Metaprogramming/Linq/Expressions/SliceExpression.cs(102,9): Trim analysis error IL2026: DotNext.Linq.Expressions.SliceExpression.SubArray(Expression, Expression): Using member 'System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Trimmer can't guarantee existence of class constructor.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(523,17): Trim analysis error IL2070: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Type.MakeGenericType(Type[])'. The parameter 'stateType' of method 'DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(523,17): Trim analysis error IL2070: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Type.MakeGenericType(Type[])'. The parameter 'stateType' of method 'DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(528,17): Trim analysis error IL2070: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Type.MakeGenericType(Type[])'. The parameter 'stateType' of method 'DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(528,17): Trim analysis error IL2070: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Type.MakeGenericType(Type[])'. The parameter 'stateType' of method 'DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(528,17): Trim analysis error IL2055: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(Type): Call to 'System.Type.MakeGenericType(Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/AsyncStateMachineBuilder.cs(528,17): Trim analysis error IL2055: DotNext.Runtime.CompilerServices.AsyncStateMachineBuilder<TDelegate>.StateMachineBuilder.Build(Type): Call to 'System.Type.MakeGenericType(Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/TaskType.cs(40,13): Trim analysis error IL2067: DotNext.Runtime.CompilerServices.TaskType.TaskType(Type): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.TypeExtensions.IsGenericInstanceOf(Type, Type)'. The parameter 'taskType' of method 'DotNext.Runtime.CompilerServices.TaskType.TaskType(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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/TaskType.cs(41,17): Trim analysis error IL2067: DotNext.Runtime.CompilerServices.TaskType.TaskType(Type): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'DotNext.Reflection.TypeExtensions.GetGenericArguments(Type, Type)'. The parameter 'taskType' of method 'DotNext.Runtime.CompilerServices.TaskType.TaskType(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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/TaskType.cs(48,12): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.TaskType.AdjustTaskType(MethodCallExpression): Using member 'System.Linq.Expressions.Expression.Call(Expression, String, Type[], Expression[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Linq/Expressions/UsingExpression.cs(29,9): Trim analysis error IL2072: DotNext.Linq.Expressions.UsingExpression.UsingExpression(Expression): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'DotNext.Reflection.DisposableType.GetDisposeMethod(Type)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Linq/Expressions/UsingExpression.cs(43,9): Trim analysis error IL2072: DotNext.Linq.Expressions.UsingExpression.UsingExpression(Expression, Boolean): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'DotNext.Reflection.DisposableType.GetDisposeAsyncMethod(Type)'. The return value of method 'System.Linq.Expressions.Expression.Type.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.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/ValueTupleBuilder.cs(42,13): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.ValueTupleBuilder.Build(Expression, Span<MemberExpression>): Using member 'System.Linq.Expressions.Expression.Field(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/ValueTupleBuilder.cs(45,13): Trim analysis error IL2026: DotNext.Runtime.CompilerServices.ValueTupleBuilder.Build(Expression, Span<MemberExpression>): Using member 'System.Linq.Expressions.Expression.Field(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
/_/src/DotNext.Metaprogramming/Runtime/CompilerServices/ValueTupleBuilder.cs(36,14): Trim analysis error IL2075: DotNext.Runtime.CompilerServices.ValueTupleBuilder.Build(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Type.MakeGenericType(Type[])'. The return value of method 'DotNext.Runtime.CompilerServices.ValueTupleBuilder.Build()' 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.
At first glance, it seems like most of these can be fixed by plumbing the right attributes through.
Metadata
Labels
Type
Projects
Status
Opened
Activity