Skip to content

Commit

Permalink
Update DynamicallyAccessedMembersAttribute.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 30, 2023
1 parent 43ae56d commit 99c6115
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Polyfill/Trimming/DynamicallyAccessedMembersAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ namespace System.Diagnostics.CodeAnalysis;
[ExcludeFromCodeCoverage]
[DebuggerNonUserCode]
[AttributeUsage(
validOn: Targets.Field |
Targets.ReturnValue |
validOn: Targets.Class |
Targets.Field |
Targets.GenericParameter |
Targets.Interface |
Targets.Method |
Targets.Parameter |
Targets.Property |
Targets.Method,
Targets.ReturnValue |
Targets.Struct,
Inherited = false)]
#if PolyPublic
public
Expand Down

0 comments on commit 99c6115

Please sign in to comment.