Skip to content

Commit 382f2ad

Browse files
[Tests] Bump language used in the mac binding tests. (dotnet#8348)
* [Tests] Bump language used in the mac binding tests. They broke with nullability, we need to use the latests lang version. Fixes: dotnet#8346
1 parent a2f57b3 commit 382f2ad

6 files changed

+6
-0
lines changed

tests/mac-binding-project/MobileBinding/MobileBinding_dynamic.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ErrorReport>prompt</ErrorReport>
2121
<WarningLevel>4</WarningLevel>
2222
<ConsolePause>false</ConsolePause>
23+
<LangVersion>latest</LangVersion>
2324
</PropertyGroup>
2425
<ItemGroup>
2526
<Reference Include="System" />

tests/mac-binding-project/MobileBinding/MobileBinding_dynamic_newstyle.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ErrorReport>prompt</ErrorReport>
2121
<WarningLevel>4</WarningLevel>
2222
<ConsolePause>false</ConsolePause>
23+
<LangVersion>latest</LangVersion>
2324
</PropertyGroup>
2425
<ItemGroup>
2526
<Reference Include="System" />

tests/mac-binding-project/MobileBinding/MobileBinding_dynamic_spaces.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ErrorReport>prompt</ErrorReport>
2121
<WarningLevel>4</WarningLevel>
2222
<ConsolePause>false</ConsolePause>
23+
<LangVersion>latest</LangVersion>
2324
</PropertyGroup>
2425
<ItemGroup>
2526
<Reference Include="System" />

tests/mac-binding-project/MobileBinding/MobileBinding_framework.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ErrorReport>prompt</ErrorReport>
2121
<WarningLevel>4</WarningLevel>
2222
<ConsolePause>false</ConsolePause>
23+
<LangVersion>latest</LangVersion>
2324
</PropertyGroup>
2425
<ItemGroup>
2526
<Reference Include="System" />

tests/mac-binding-project/MobileBinding/MobileBinding_static.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ErrorReport>prompt</ErrorReport>
2121
<WarningLevel>4</WarningLevel>
2222
<ConsolePause>false</ConsolePause>
23+
<LangVersion>latest</LangVersion>
2324
</PropertyGroup>
2425
<ItemGroup>
2526
<Reference Include="System" />

tests/mac-binding-project/MobileBinding/MobileBinding_static_newstyle.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ErrorReport>prompt</ErrorReport>
2121
<WarningLevel>4</WarningLevel>
2222
<ConsolePause>false</ConsolePause>
23+
<LangVersion>latest</LangVersion>
2324
</PropertyGroup>
2425
<ItemGroup>
2526
<Reference Include="System" />

0 commit comments

Comments
 (0)