Skip to content

Commit 2a48db6

Browse files
authored
[Version 11.0] update example templates (#1592)
* require v11 compiler * require v11 compiler * require v11 compiler * require v11 compiler * require v11 compiler * require v11 compiler * require v11 compiler * require v11 compiler * require v11 compiler
1 parent 76f9312 commit 2a48db6

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

tools/example-templates/code-in-class-lib-without-using/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyName>$example-name</AssemblyName>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<Nullable>annotations</Nullable>
8-
<LangVersion>10</LangVersion>
8+
<LangVersion>11</LangVersion>
99
</PropertyGroup>
1010

1111
</Project>

tools/example-templates/code-in-class-lib/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyName>$example-name</AssemblyName>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<Nullable>annotations</Nullable>
8-
<LangVersion>10</LangVersion>
8+
<LangVersion>11</LangVersion>
99
</PropertyGroup>
1010

1111
</Project>

tools/example-templates/code-in-main-without-using/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Nullable>annotations</Nullable>
77
<AssemblyName>$example-name</AssemblyName>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9-
<LangVersion>10</LangVersion>
9+
<LangVersion>11</LangVersion>
1010
</PropertyGroup>
1111

1212
</Project>

tools/example-templates/code-in-main/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Nullable>annotations</Nullable>
77
<AssemblyName>$example-name</AssemblyName>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9-
<LangVersion>10</LangVersion>
9+
<LangVersion>11</LangVersion>
1010
</PropertyGroup>
1111

1212
</Project>

tools/example-templates/code-in-partial-class/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AssemblyName>$example-name</AssemblyName>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<Nullable>annotations</Nullable>
9-
<LangVersion>10</LangVersion>
9+
<LangVersion>11</LangVersion>
1010
</PropertyGroup>
1111

1212
</Project>

tools/example-templates/standalone-console-without-using/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>net6.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>disable</Nullable>
8-
<LangVersion>10</LangVersion>
8+
<LangVersion>11</LangVersion>
99
<AssemblyName>$example-name</AssemblyName>
1010
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1111
<Nullable>annotations</Nullable>

tools/example-templates/standalone-console/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>net6.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>disable</Nullable>
8-
<LangVersion>10</LangVersion>
8+
<LangVersion>11</LangVersion>
99
<AssemblyName>$example-name</AssemblyName>
1010
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1111
<Nullable>annotations</Nullable>

tools/example-templates/standalone-lib-without-using/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<AssemblyName>$example-name</AssemblyName>
7-
<LangVersion>10</LangVersion>
7+
<LangVersion>11</LangVersion>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
<Nullable>annotations</Nullable>
1010
</PropertyGroup>

tools/example-templates/standalone-lib/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyName>$example-name</AssemblyName>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<Nullable>annotations</Nullable>
8-
<LangVersion>10</LangVersion>
8+
<LangVersion>11</LangVersion>
99
</PropertyGroup>
1010

1111
</Project>

0 commit comments

Comments
 (0)