diff options
Diffstat (limited to 'src/SMAPI.ModBuildConfig.Analyzer.Tests')
3 files changed, 3 insertions, 2 deletions
diff --git a/src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs b/src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs index 6f8c8b9b..85a77d15 100644 --- a/src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs +++ b/src/SMAPI.ModBuildConfig.Analyzer.Tests/NetFieldAnalyzerTests.cs @@ -11,7 +11,7 @@ namespace SMAPI.ModBuildConfig.Analyzer.Tests public class NetFieldAnalyzerTests : DiagnosticVerifier { /********* - ** Properties + ** Fields *********/ /// <summary>Sample C# mod code, with a {{test-code}} placeholder for the code in the Entry method to test.</summary> const string SampleProgram = @" diff --git a/src/SMAPI.ModBuildConfig.Analyzer.Tests/ObsoleteFieldAnalyzerTests.cs b/src/SMAPI.ModBuildConfig.Analyzer.Tests/ObsoleteFieldAnalyzerTests.cs index 102a80d1..fa9235a3 100644 --- a/src/SMAPI.ModBuildConfig.Analyzer.Tests/ObsoleteFieldAnalyzerTests.cs +++ b/src/SMAPI.ModBuildConfig.Analyzer.Tests/ObsoleteFieldAnalyzerTests.cs @@ -11,7 +11,7 @@ namespace SMAPI.ModBuildConfig.Analyzer.Tests public class ObsoleteFieldAnalyzerTests : DiagnosticVerifier { /********* - ** Properties + ** Fields *********/ /// <summary>Sample C# mod code, with a {{test-code}} placeholder for the code in the Entry method to test.</summary> const string SampleProgram = @" diff --git a/src/SMAPI.ModBuildConfig.Analyzer.Tests/SMAPI.ModBuildConfig.Analyzer.Tests.csproj b/src/SMAPI.ModBuildConfig.Analyzer.Tests/SMAPI.ModBuildConfig.Analyzer.Tests.csproj index 4d93df73..26065ec2 100644 --- a/src/SMAPI.ModBuildConfig.Analyzer.Tests/SMAPI.ModBuildConfig.Analyzer.Tests.csproj +++ b/src/SMAPI.ModBuildConfig.Analyzer.Tests/SMAPI.ModBuildConfig.Analyzer.Tests.csproj @@ -2,6 +2,7 @@ <PropertyGroup> <TargetFramework>netcoreapp2.0</TargetFramework> + <LangVersion>latest</LangVersion> </PropertyGroup> <ItemGroup> |