Skip to content

Commit

Permalink
fix: fix #3497. make internalsdkutils trim compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrsongg committed Oct 8, 2024
1 parent b5c10d5 commit 43f0364
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"core": {
"changeLogMessages": [
"Fix #3497, make InternalSDKUtils aot compatible."
],
"type": "patch",
"updateMinimum": true
}
}
4 changes: 4 additions & 0 deletions sdk/src/Core/Amazon.Util/Internal/InternalSDKUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@
using Amazon.Runtime.Internal.Util;
using Amazon.Util.Internal.PlatformServices;
using System.Text;
using System.Diagnostics.CodeAnalysis;

namespace Amazon.Util.Internal
{
#if NET8_0_OR_GREATER
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)]
#endif
public static partial class InternalSDKUtils
{
#region UserAgent
Expand Down

0 comments on commit 43f0364

Please sign in to comment.