File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/Microsoft.OpenApi/Any
test/Microsoft.OpenApi.Trimming.Tests Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public static IOpenApiAny CloneFromCopyConstructor(IOpenApiAny obj)
4141 /// </summary>
4242 /// <param name="obj">The object instance.</param>
4343 /// <returns>A clone copy or the object itself.</returns>
44- public static IOpenApiAny CloneFromCopyConstructor < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . PublicConstructors ) ] T > ( T obj ) where T : IOpenApiAny
44+ public static T CloneFromCopyConstructor < [ DynamicallyAccessedMembers ( DynamicallyAccessedMemberTypes . PublicConstructors ) ] T > ( T obj ) where T : IOpenApiAny
4545 {
4646 if ( obj != null )
4747 {
Original file line number Diff line number Diff line change 44 <TargetFramework >net8.0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
7- <PublishTrimmed >true</PublishTrimmed >
7+ <PublishAot >true</PublishAot >
8+ <TrimmerSingleWarn >false</TrimmerSingleWarn >
89 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
910 <IsPackable >false</IsPackable >
1011 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments