<PackageReference Include="System.Diagnostics.EventLog" Version="8.0.0-preview.2.23128.3" />

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.