Skip to content

Commit

Permalink
Fix #3173 trim warning for constantclass.intern
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrsongg committed Sep 4, 2024
1 parent 391116f commit 55d00a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/src/Core/Amazon.Runtime/ConstantClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ namespace Amazon.Runtime
/// <summary>
/// Base class for constant class that holds the value that will be sent to AWS for the static constants.
/// </summary>
#if NET8_0_OR_GREATER
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)]
#endif
public class ConstantClass
{
static readonly object staticFieldsLock = new object();
Expand Down

0 comments on commit 55d00a1

Please sign in to comment.