Skip to content

Commit

Permalink
Merge pull request #3 from Cysharp/hadashiA/fix-test-target
Browse files Browse the repository at this point in the history
Fix test targetframework for CI
  • Loading branch information
neuecc authored Nov 16, 2023
2 parents 1497912 + 00f2746 commit 3be7e5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
11 changes: 2 additions & 9 deletions src/Utf8StringInterpolation/ArrayBufferWriter.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
#if NET6_0_OR_GREATER || NETSTANDARD2_1

using System.Runtime.CompilerServices;
[assembly: TypeForwardedTo(typeof(System.Buffers.ArrayBufferWriter<>))]

#else

#if !NET6_0_OR_GREATER && !NETSTANDARD2_1_OR_GREATER
using System;
using System.Diagnostics;

Expand Down Expand Up @@ -252,5 +246,4 @@ private static void ThrowOutOfMemoryException(uint capacity)
}
}
}

#endif
#endif
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net48;net5.0;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net48</TargetFrameworks>
<TargetFrameworks>$(TargetFrameworks);net5.0;net6.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>11.0</LangVersion>
<LangVersion>12.0</LangVersion>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
Expand Down

0 comments on commit 3be7e5a

Please sign in to comment.