Skip to content

Commit 1110a81

Browse files
committed
1 parent 7f329db commit 1110a81

File tree

7 files changed

+8
-11
lines changed

7 files changed

+8
-11
lines changed

build/common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<Authors>Exceptionless</Authors>
1212
<NoWarn>$(NoWarn);CS1591;NU1701</NoWarn>
1313
<WarningsAsErrors>true</WarningsAsErrors>
14-
<LangVersion>preview</LangVersion>
14+
<LangVersion>9.0</LangVersion>
1515
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1616
<PackageOutputPath>$(SolutionDir)artifacts</PackageOutputPath>
1717
<PackageIcon>exceptionless-icon.png</PackageIcon>

samples/Exceptionless.SampleAspNetCore/Exceptionless.SampleAspNetCore.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
32
<PropertyGroup>
43
<TargetFramework>net6.0</TargetFramework>
54
</PropertyGroup>

samples/Exceptionless.SampleHosting/Exceptionless.SampleHosting.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
32
<PropertyGroup>
43
<TargetFramework>net6.0</TargetFramework>
54
</PropertyGroup>

samples/Exceptionless.SampleLambda/Exceptionless.SampleLambda.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net6.0</TargetFramework>
44
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
5-
<LangVersion>latest</LangVersion>
65
<AWSProjectType>Lambda</AWSProjectType>
76

87
<!-- This property makes the build directory similar to a publish directory and helps the AWS .NET Lambda Mock Test Tool find project dependencies. -->

samples/Exceptionless.SampleMvc/Web.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
</handlers></system.webServer>
7070
<system.codedom>
7171
<compilers>
72-
<compiler extension=".cs" language="c#;cs;csharp" warningLevel="4" compilerOptions="/langversion:7.3 /nowarn:1659;1699;1701;612;618" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
72+
<compiler extension=".cs" language="c#;cs;csharp" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701;612;618" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
7373
<compiler extension=".vb" language="vb;vbs;visualbasic;vbscript" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008,40000,40008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
7474
</compilers>
7575
</system.codedom>

src/Exceptionless/Submission/SettingsResponse.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace Exceptionless.Submission {
55
public class SettingsResponse {
6-
internal static SettingsResponse NotModified { get; } = new(success: false, message: "Settings have not been modified.");
7-
internal static SettingsResponse InvalidConfig { get; } = new(success: false, message: "Invalid configuration settings.");
8-
internal static SettingsResponse InvalidClientConfig { get; } = new(success: false, message: "Invalid client configuration settings.");
6+
internal static SettingsResponse NotModified { get; } = new SettingsResponse(success: false, message: "Settings have not been modified.");
7+
internal static SettingsResponse InvalidConfig { get; } = new SettingsResponse(success: false, message: "Invalid configuration settings.");
8+
internal static SettingsResponse InvalidClientConfig { get; } = new SettingsResponse(success: false, message: "Invalid client configuration settings.");
99

1010
public SettingsResponse(bool success, SettingsDictionary settings = null, int settingsVersion = -1, Exception exception = null, string message = null) {
1111
Success = success;

src/Exceptionless/Submission/SubmissionResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
namespace Exceptionless.Submission {
55
public class SubmissionResponse {
6-
internal static SubmissionResponse Ok200 { get; } = new(200, "OK");
7-
internal static SubmissionResponse InvalidClientConfig500 { get; } = new(500, "Invalid client configuration settings");
6+
internal static SubmissionResponse Ok200 { get; } = new SubmissionResponse(200, "OK");
7+
internal static SubmissionResponse InvalidClientConfig500 { get; } = new SubmissionResponse(500, "Invalid client configuration settings");
88

99
public SubmissionResponse(int statusCode, string message = null, Exception exception = null) {
1010
StatusCode = statusCode;

0 commit comments

Comments
 (0)