Skip to content

Commit 2252f23

Browse files
committed
Fix trimming annotation
1 parent e38ed29 commit 2252f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validation/gen/Emitters/ValidationsGenerator.Emitter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public GeneratedValidatableTypeInfo(
8686
Type = type;
8787
}
8888
89-
[global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties | global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
89+
[global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(global::System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
9090
internal global::System.Type Type { get; }
9191
9292
protected override global::System.ComponentModel.DataAnnotations.ValidationAttribute[] GetValidationAttributes()

0 commit comments

Comments
 (0)