Skip to content

Commit

Permalink
Remove unnecessary trimming annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Nov 26, 2023
1 parent 38a732b commit ece1500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WinRT.Runtime/ObjectReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public ObjectReference<T> As<

public unsafe ObjectReference<T> As<
#if NET
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.NonPublicConstructors | DynamicallyAccessedMemberTypes.PublicFields)]
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.NonPublicConstructors)]
#endif
T>(Guid iid)
{
Expand Down Expand Up @@ -173,7 +173,7 @@ public int TryAs<

public virtual unsafe int TryAs<
#if NET
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.NonPublicConstructors | DynamicallyAccessedMemberTypes.PublicFields)]
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.NonPublicConstructors)]
#endif
T>(Guid iid, out ObjectReference<T> objRef)
{
Expand Down

0 comments on commit ece1500

Please sign in to comment.