File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/Shared/PropertyHelper Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ public static PropertyHelper[] GetVisibleProperties(
187
187
}
188
188
189
189
[ RequiresUnreferencedCode ( "This API is not trimmer safe." ) ]
190
+ [ UnconditionalSuppressMessage ( "AOT" , "IL3050:RequiresDynamicCode" , Justification = "Guarded by RuntimeFeature.IsDynamicCodeSupported" ) ]
190
191
private static Func < object , object ? > MakeFastPropertyGetter (
191
192
PropertyInfo propertyInfo ,
192
193
MethodInfo propertyGetterWrapperMethod ,
@@ -269,6 +270,7 @@ public static PropertyHelper[] GetVisibleProperties(
269
270
/// same speed. This only works for reference types.
270
271
/// </remarks>
271
272
[ RequiresUnreferencedCode ( "This API is not trimmer safe." ) ]
273
+ [ UnconditionalSuppressMessage ( "AOT" , "IL3050:RequiresDynamicCode" , Justification = "Guarded by RuntimeFeature.IsDynamicCodeSupported" ) ]
272
274
public static Action < object , object ? > MakeFastPropertySetter ( PropertyInfo propertyInfo )
273
275
{
274
276
Debug . Assert ( propertyInfo != null ) ;
You can’t perform that action at this time.
0 commit comments