Skip to content

Commit 5922e65

Browse files
authored
Upgrade SDK to 2022.3.0
* Upgrade SDK to 2022.3.0-eap02 * Update SDK to EAP05 * Update SDK to EAP07 * Update SDK to 2022.3 * Update build dependencies * Upgrade SDK
1 parent de7d4b0 commit 5922e65

15 files changed

+23
-19
lines changed

Directory.Build.props

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
23
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
34
<PropertyGroup>
4-
<SdkVersion>2022.2.3</SdkVersion>
5+
<SdkVersion>2022.3.1</SdkVersion>
56
</PropertyGroup>
67
<!-- https://jetbrains.slack.com/archives/CBZ36NH7C/p1628090127002200 -->
78
<PropertyGroup>
8-
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);MSB3277</MSBuildWarningsAsMessages>
9+
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);MSB3277;MSB3270</MSBuildWarningsAsMessages>
910
</PropertyGroup>
1011
</Project>

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ build_script:
1515
build.cmd upload-rider-artifact --configuration Release --is-rider-host
1616
1717
build.cmd sonar --configuration Release
18-
test: off
18+
test: false
1919

2020
cache:
2121
- '%USERPROFILE%\.sonar\cache'

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'org.jetbrains.kotlin.jvm' version '1.6.21'
3-
id 'org.jetbrains.intellij' version '1.9.0'
3+
id 'org.jetbrains.intellij' version '1.11.0'
44
}
55

66
sourceCompatibility = 1.8

build/Build.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using Nuke.Common;
44
using Nuke.Common.CI;
55
using Nuke.Common.CI.AppVeyor;
6-
using Nuke.Common.Execution;
76
using Nuke.Common.IO;
87
using Nuke.Common.ProjectModel;
98
using Nuke.Common.Tooling;
@@ -19,7 +18,6 @@
1918
using static Nuke.Common.Tools.SonarScanner.SonarScannerTasks;
2019
using static Nuke.Common.Tools.NuGet.NuGetTasks;
2120

22-
[CheckBuildProjectConfigurations]
2321
[ShutdownDotNetAfterServerBuild]
2422
class Build : NukeBuild
2523
{

build/_build.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<RootNamespace></RootNamespace>
77
<NoWarn>CS0649;CS0169</NoWarn>
88
<NukeRootDirectory>..</NukeRootDirectory>
@@ -15,9 +15,9 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<PackageDownload Include="dotnet-sonarscanner" Version="[5.5.3]" />
19-
<PackageDownload Include="NuGet.CommandLine" Version="[6.0.0]" />
20-
<PackageDownload Include="NUnit.ConsoleRunner" Version="[3.15.0]" />
18+
<PackageDownload Include="dotnet-sonarscanner" Version="[5.9.1]" />
19+
<PackageDownload Include="NuGet.CommandLine" Version="[6.3.1]" />
20+
<PackageDownload Include="NUnit.ConsoleRunner" Version="[3.16.0]" />
2121
</ItemGroup>
2222

2323
</Project>

src/ReSharper.Structured.Logging/Analyzer/CompileTimeConstantTemplateAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using JetBrains.ReSharper.Feature.Services.Daemon;
22
using JetBrains.ReSharper.Psi.CodeAnnotations;
33
using JetBrains.ReSharper.Psi.CSharp.Tree;
4-
using JetBrains.ReSharper.Psi.Tree;
54

65
using ReSharper.Structured.Logging.Caching;
76
using ReSharper.Structured.Logging.Extensions;

src/ReSharper.Structured.Logging/Analyzer/ComplexObjectDestructureAnalyzer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ private void CheckComplexObjectInTemplate(IInvocationExpression element, IHighli
109109
}
110110
}
111111

112+
// ReSharper disable once CognitiveComplexity
112113
private static bool CheckIfDestructureNeeded(ICSharpArgument argument)
113114
{
114115
bool CheckIfBaseToStringUsed(IType type, bool initialCheck = true)

src/ReSharper.Structured.Logging/Analyzer/ContextualLoggerConstructorAnalyzer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace ReSharper.Structured.Logging.Analyzer
1212
[ElementProblemAnalyzer(typeof(IConstructorDeclaration))]
1313
public class ContextualLoggerConstructorAnalyzer : ElementProblemAnalyzer<IConstructorDeclaration>
1414
{
15+
// ReSharper disable once CognitiveComplexity
1516
protected override void Run(IConstructorDeclaration element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
1617
{
1718
if (element.Params?.ParameterDeclarations == null)

src/ReSharper.Structured.Logging/Analyzer/CorrectExceptionPassingAnalyzer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public CorrectExceptionPassingAnalyzer(CodeAnnotationsCache codeAnnotationsCache
2222
_templateParameterNameAttributeProvider = codeAnnotationsCache.GetProvider<TemplateParameterNameAttributeProvider>();
2323
}
2424

25+
// ReSharper disable once CognitiveComplexity
2526
protected override void Run(
2627
IInvocationExpression element,
2728
ElementProblemAnalyzerData data,

src/ReSharper.Structured.Logging/Analyzer/PropertiesNamingAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private void CheckPropertiesInContext(
100100
}
101101

102102
var propertyArgument = element.ArgumentList.Arguments[0];
103-
var propertyName = propertyArgument.Value.ConstantValue.Value as string;
103+
var propertyName = propertyArgument.Value?.ConstantValue.StringValue;
104104
if (string.IsNullOrEmpty(propertyName))
105105
{
106106
return;

0 commit comments

Comments
 (0)