diff --git a/eng/CodeAnalysis.src.globalconfig b/eng/CodeAnalysis.src.globalconfig index 3569479b9ae045..1b8a0ddb567f42 100644 --- a/eng/CodeAnalysis.src.globalconfig +++ b/eng/CodeAnalysis.src.globalconfig @@ -1178,7 +1178,7 @@ dotnet_diagnostic.SA1013.severity = none dotnet_diagnostic.SA1014.severity = warning # SA1015: Closing generic bracket should not be followed by a space -dotnet_diagnostic.SA1015.severity = none +dotnet_diagnostic.SA1015.severity = warning # SA1018: Nullable type symbol should not be preceded by a space dotnet_diagnostic.SA1018.severity = warning diff --git a/src/tasks/MonoTargetsTasks/JsonToItemsTaskFactory/JsonToItemsTaskFactory.cs b/src/tasks/MonoTargetsTasks/JsonToItemsTaskFactory/JsonToItemsTaskFactory.cs index 4cbe5e6f831f8d..77d29123742a73 100644 --- a/src/tasks/MonoTargetsTasks/JsonToItemsTaskFactory/JsonToItemsTaskFactory.cs +++ b/src/tasks/MonoTargetsTasks/JsonToItemsTaskFactory/JsonToItemsTaskFactory.cs @@ -370,7 +370,7 @@ public override JsonModelItem Read(ref Utf8JsonReader reader, Type typeToConvert var dict = JsonSerializer.Deserialize>(ref reader, options); if (dict == null) return null!; - var idict = new Dictionary (dict, StringComparer.OrdinalIgnoreCase); + var idict = new Dictionary(dict, StringComparer.OrdinalIgnoreCase); if (!idict.TryGetValue("Identity", out var identity) || string.IsNullOrEmpty(identity)) throw new JsonException ("deserialized json dictionary item did not have a non-empty Identity metadata"); else diff --git a/src/tasks/WorkloadBuildTasks/InstallWorkloadFromArtifacts.cs b/src/tasks/WorkloadBuildTasks/InstallWorkloadFromArtifacts.cs index ae0aa55c4e15f2..097be0d8484045 100644 --- a/src/tasks/WorkloadBuildTasks/InstallWorkloadFromArtifacts.cs +++ b/src/tasks/WorkloadBuildTasks/InstallWorkloadFromArtifacts.cs @@ -232,7 +232,7 @@ private bool InstallPacks(InstallWorkloadRequest req, string nugetConfigContents Path.Combine(req.TargetPath, "dotnet"), $"workload install --skip-manifest-update --skip-sign-check --configfile \"{nugetConfigPath}\" --temp-dir \"{_tempDir}/workload-install-temp\" {ExtraWorkloadInstallCommandArguments} {req.WorkloadId}", workingDir: _tempDir, - envVars: new Dictionary () { + envVars: new Dictionary() { ["NUGET_PACKAGES"] = _nugetCachePath }, logStdErrAsMessage: req.IgnoreErrors, diff --git a/src/tools/illink/.editorconfig b/src/tools/illink/.editorconfig index 22971f0d78c1e1..328b42c0c20934 100644 --- a/src/tools/illink/.editorconfig +++ b/src/tools/illink/.editorconfig @@ -42,6 +42,9 @@ file_header_template = Copyright (c) .NET Foundation and contributors. All right # Spacing around keywords dotnet_diagnostic.SA1000.severity = none +# Closing generic bracket should not be followed by a space +dotnet_diagnostic.SA1015.severity = none + # Access modifier must be declared dotnet_diagnostic.SA1400.severity = none