<PackageReference Include="System.Diagnostics.EventLog" Version="7.0.0-preview.3.22175.4" />

DynamicallyAccessedMembersAttribute

Indicates that certain members on a specified Type are accessed dynamically, for example through Reflection.

Gets the DynamicallyAccessedMemberTypes which specifies the type of members dynamically accessed.

Initializes a new instance of the DynamicallyAccessedMembersAttribute class with the specified member types.