diff --git a/qodana.sarif.json b/qodana.sarif.json index 8b408d7cd..2768618be 100644 --- a/qodana.sarif.json +++ b/qodana.sarif.json @@ -93514,27 +93514,27 @@ ] }, { - "id": "JSCheckFunctionSignatures", + "id": "ConstantOnLHSOfComparisonJS", "shortDescription": { - "text": "Signature mismatch" + "text": "Constant on left side of comparison" }, "fullDescription": { - "text": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types. TypeScript code is ignored.", - "markdown": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types.\n\nTypeScript code is ignored." + "text": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons.", + "markdown": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons." }, "defaultConfiguration": { - "enabled": true, - "level": "note", + "enabled": false, + "level": "warning", "parameters": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate" + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" } }, "relationships": [ { "target": { - "id": "JavaScript and TypeScript/General", - "index": 16, + "id": "JavaScript and TypeScript/Code style issues", + "index": 69, "toolComponent": { "name": "QDNET" } @@ -93546,27 +93546,27 @@ ] }, { - "id": "ConstantOnLHSOfComparisonJS", + "id": "JSCheckFunctionSignatures", "shortDescription": { - "text": "Constant on left side of comparison" + "text": "Signature mismatch" }, "fullDescription": { - "text": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons.", - "markdown": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons." + "text": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types. TypeScript code is ignored.", + "markdown": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types.\n\nTypeScript code is ignored." }, "defaultConfiguration": { - "enabled": false, - "level": "warning", + "enabled": true, + "level": "note", "parameters": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" } }, "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Code style issues", - "index": 69, + "id": "JavaScript and TypeScript/General", + "index": 16, "toolComponent": { "name": "QDNET" } @@ -94506,16 +94506,16 @@ ] }, { - "id": "ES6UnusedImports", + "id": "InnerHTMLJS", "shortDescription": { - "text": "Unused import" + "text": "Use of 'innerHTML' property" }, "fullDescription": { - "text": "Reports a redundant 'import' statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import 'import 'packageName'' instead of the regular one.", - "markdown": "Reports a redundant `import` statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import `import 'packageName'` instead of the regular one." + "text": "Reports a JavaScript access to DOM nodes as text using the 'innerHTML' property. Most usages of 'innerHTML' are performed better with explicit DOM calls, such as 'getElementByID()' and 'createElement()'. Additionally, 'innerHTML' will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs.", + "markdown": "Reports a JavaScript access to DOM nodes as text using the `innerHTML` property. Most usages of `innerHTML` are performed better with explicit DOM calls, such as `getElementByID()` and `createElement()`. Additionally, `innerHTML` will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs." }, "defaultConfiguration": { - "enabled": true, + "enabled": false, "level": "warning", "parameters": { "ideaSeverity": "WARNING", @@ -94525,8 +94525,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/Imports and dependencies", - "index": 104, + "id": "JavaScript and TypeScript/DOM issues", + "index": 45, "toolComponent": { "name": "QDNET" } @@ -94538,16 +94538,16 @@ ] }, { - "id": "InnerHTMLJS", + "id": "ES6UnusedImports", "shortDescription": { - "text": "Use of 'innerHTML' property" + "text": "Unused import" }, "fullDescription": { - "text": "Reports a JavaScript access to DOM nodes as text using the 'innerHTML' property. Most usages of 'innerHTML' are performed better with explicit DOM calls, such as 'getElementByID()' and 'createElement()'. Additionally, 'innerHTML' will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs.", - "markdown": "Reports a JavaScript access to DOM nodes as text using the `innerHTML` property. Most usages of `innerHTML` are performed better with explicit DOM calls, such as `getElementByID()` and `createElement()`. Additionally, `innerHTML` will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs." + "text": "Reports a redundant 'import' statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import 'import 'packageName'' instead of the regular one.", + "markdown": "Reports a redundant `import` statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import `import 'packageName'` instead of the regular one." }, "defaultConfiguration": { - "enabled": false, + "enabled": true, "level": "warning", "parameters": { "ideaSeverity": "WARNING", @@ -94557,8 +94557,8 @@ "relationships": [ { "target": { - "id": "JavaScript and TypeScript/DOM issues", - "index": 45, + "id": "JavaScript and TypeScript/Imports and dependencies", + "index": 104, "toolComponent": { "name": "QDNET" } @@ -101454,27 +101454,27 @@ ] }, { - "id": "SqlCallNotationInspection", + "id": "MysqlParsingInspection", "shortDescription": { - "text": "Using of named and positional arguments" + "text": "Unsupported syntax in pre-8.0 versions" }, "fullDescription": { - "text": "Reports calls in which positional arguments go after the named ones. Works in PostgreSQL, Oracle, and Db2. Example (In PostgreSQL): 'CREATE FUNCTION foo(a int, b int, c int) RETURNS int\n LANGUAGE plpgsql AS\n$$\nBEGIN\n RETURN a + b + c;\nEND\n$$;\nSELECT foo(a => 1, b => 2, c => 3);\n -- `3` goes after the named argument\nSELECT foo(1, b => 2, 3);\n -- `1` and `3` go after the named argument\nSELECT foo(b => 2, 1, 3);'", - "markdown": "Reports calls in which positional arguments go after the named ones. Works in PostgreSQL, Oracle, and Db2.\n\nExample (In PostgreSQL):\n\n CREATE FUNCTION foo(a int, b int, c int) RETURNS int\n LANGUAGE plpgsql AS\n $$\n BEGIN\n RETURN a + b + c;\n END\n $$;\n SELECT foo(a => 1, b => 2, c => 3);\n -- `3` goes after the named argument\n SELECT foo(1, b => 2, 3);\n -- `1` and `3` go after the named argument\n SELECT foo(b => 2, 1, 3);\n" + "text": "Reports invalid usages of UNION in queries. The inspection works in MySQL versions that are earlier than 8.0. Example (MySQL): 'SELECT * FROM (SELECT 1 UNION (SELECT 1 UNION SELECT 2)) a;'", + "markdown": "Reports invalid usages of UNION in queries.\n\nThe inspection works in MySQL versions that are earlier than 8.0.\n\nExample (MySQL):\n\n\n SELECT * FROM (SELECT 1 UNION (SELECT 1 UNION SELECT 2)) a;\n" }, "defaultConfiguration": { "enabled": false, - "level": "error", + "level": "warning", "parameters": { - "ideaSeverity": "ERROR", - "qodanaSeverity": "Critical" + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" } }, "relationships": [ { "target": { - "id": "SQL", - "index": 23, + "id": "MySQL", + "index": 115, "toolComponent": { "name": "QDNET" } @@ -101486,27 +101486,27 @@ ] }, { - "id": "MysqlParsingInspection", + "id": "SqlCallNotationInspection", "shortDescription": { - "text": "Unsupported syntax in pre-8.0 versions" + "text": "Using of named and positional arguments" }, "fullDescription": { - "text": "Reports invalid usages of UNION in queries. The inspection works in MySQL versions that are earlier than 8.0. Example (MySQL): 'SELECT * FROM (SELECT 1 UNION (SELECT 1 UNION SELECT 2)) a;'", - "markdown": "Reports invalid usages of UNION in queries.\n\nThe inspection works in MySQL versions that are earlier than 8.0.\n\nExample (MySQL):\n\n\n SELECT * FROM (SELECT 1 UNION (SELECT 1 UNION SELECT 2)) a;\n" + "text": "Reports calls in which positional arguments go after the named ones. Works in PostgreSQL, Oracle, and Db2. Example (In PostgreSQL): 'CREATE FUNCTION foo(a int, b int, c int) RETURNS int\n LANGUAGE plpgsql AS\n$$\nBEGIN\n RETURN a + b + c;\nEND\n$$;\nSELECT foo(a => 1, b => 2, c => 3);\n -- `3` goes after the named argument\nSELECT foo(1, b => 2, 3);\n -- `1` and `3` go after the named argument\nSELECT foo(b => 2, 1, 3);'", + "markdown": "Reports calls in which positional arguments go after the named ones. Works in PostgreSQL, Oracle, and Db2.\n\nExample (In PostgreSQL):\n\n CREATE FUNCTION foo(a int, b int, c int) RETURNS int\n LANGUAGE plpgsql AS\n $$\n BEGIN\n RETURN a + b + c;\n END\n $$;\n SELECT foo(a => 1, b => 2, c => 3);\n -- `3` goes after the named argument\n SELECT foo(1, b => 2, 3);\n -- `1` and `3` go after the named argument\n SELECT foo(b => 2, 1, 3);\n" }, "defaultConfiguration": { "enabled": false, - "level": "warning", + "level": "error", "parameters": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High" + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" } }, "relationships": [ { "target": { - "id": "MySQL", - "index": 115, + "id": "SQL", + "index": 23, "toolComponent": { "name": "QDNET" } @@ -104611,7 +104611,7 @@ "markdown": "Reports the Qodana service messages such as suspending a particular inspection due to a large number of reported problems." }, "defaultConfiguration": { - "enabled": false, + "enabled": true, "level": "error", "parameters": { "ideaSeverity": "ERROR", @@ -104742,11 +104742,11 @@ "language": "en-US", "versionControlProvenance": [ { - "repositoryUri": "https://github.com/nuke-build/nuke.git", - "revisionId": "9e59736edf7e167bd6f98abf87709688ee695fd1", + "repositoryUri": "ssh://git@github.com/nuke-build/nuke", + "revisionId": "1f58195dbff00a53a8873eb822a3daeeb1da25dc", "branch": "develop", "properties": { - "repoUrl": "https://github.com/nuke-build/nuke.git", + "repoUrl": "", "lastAuthorName": "Matthias Koch", "vcsType": "Git", "lastAuthorEmail": "ithrowexceptions@gmail.com" @@ -104754,62 +104754,6 @@ } ], "results": [ - { - "ruleId": "UseAwaitUsing", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'await using'", - "markdown": "Use 'await using'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 138, - "startColumn": 13, - "charOffset": 5959, - "charLength": 5, - "snippet": { - "text": "using" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 136, - "startColumn": 1, - "charOffset": 5897, - "charLength": 270, - "snippet": { - "text": "\n outputPath.Parent.CreateDirectory();\n using var fileStream = File.Open(outputPath, FileMode.Create);\n await downloadStream.CopyToAsync(fileStream);\n Log.Information(\"Signed artifact downloaded to: {OutputPath}\", outputPath);" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Common", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "731e10f59f9a6d6f67b087d9eeff71881c1752a834069f524a0d0ba767e162c4" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, { "ruleId": "UseAwaitUsing", "kind": "fail", @@ -104856,7 +104800,6 @@ "partialFingerprints": { "equalIndicator/v1": "299d39ef40d01215291cb09130c64f53dc1b847b1ba56fa658df5b90f5e88aad" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -104867,52 +104810,51 @@ } }, { - "ruleId": "RedundantArrayCreationExpression", + "ruleId": "UseAwaitUsing", "kind": "fail", "level": "note", "message": { - "text": "Redundant array creation expression", - "markdown": "Redundant array creation expression" + "text": "Use 'await using'", + "markdown": "Use 'await using'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 201, - "startColumn": 60, - "charOffset": 8260, + "startLine": 138, + "startColumn": 13, + "charOffset": 5959, "charLength": 5, "snippet": { - "text": "new[]" + "text": "using" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 199, + "startLine": 136, "startColumn": 1, - "charOffset": 8125, - "charLength": 363, + "charOffset": 5897, + "charLength": 270, "snippet": { - "text": " public readonly Configuration Configuration = Configuration.Debug;\n\n [Parameter] public readonly string[] StringArray = new[] { \"first\", \"second\" };\n [Parameter] public readonly int[] IntegerArray = new[] { 1, 2 };\n [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };" + "text": "\n outputPath.Parent.CreateDirectory();\n using var fileStream = File.Open(outputPath, FileMode.Create);\n await downloadStream.CopyToAsync(fileStream);\n Log.Information(\"Signed artifact downloaded to: {OutputPath}\", outputPath);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2ccc2f5654c6c3d17caa97b712825994ca3849ac71df4a25d7819f50c36169a3" + "equalIndicator/v1": "731e10f59f9a6d6f67b087d9eeff71881c1752a834069f524a0d0ba767e162c4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -104923,52 +104865,51 @@ } }, { - "ruleId": "RedundantArrayCreationExpression", + "ruleId": "ConvertIfStatementToSwitchStatement", "kind": "fail", "level": "note", "message": { - "text": "Redundant array creation expression", - "markdown": "Redundant array creation expression" + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Common/Tools/DotNet/DotNetTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 202, - "startColumn": 58, - "charOffset": 8346, - "charLength": 5, + "startLine": 54, + "startColumn": 13, + "charOffset": 1288, + "charLength": 2, "snippet": { - "text": "new[]" + "text": "if" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 200, + "startLine": 52, "startColumn": 1, - "charOffset": 8200, - "charLength": 289, + "charOffset": 1261, + "charLength": 120, "snippet": { - "text": "\n [Parameter] public readonly string[] StringArray = new[] { \"first\", \"second\" };\n [Parameter] public readonly int[] IntegerArray = new[] { 1, 2 };\n [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };\n" + "text": " }\n\n if (i >= 4 &&\n 'e' == output[i - 4] &&\n 'r' == output[i - 3] &&" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d26b8da2179894da4d4368625599802e8d0aa4c8a52fdbe75525f2a7a09fec36" + "equalIndicator/v1": "4e064482f4fad823772f7e2a37e71a552613e447968c62bf80e8bde1014b391e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -104979,52 +104920,51 @@ } }, { - "ruleId": "RedundantArrayCreationExpression", + "ruleId": "ConvertIfStatementToSwitchStatement", "kind": "fail", "level": "note", "message": { - "text": "Redundant array creation expression", - "markdown": "Redundant array creation expression" + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 203, - "startColumn": 74, - "charOffset": 8435, - "charLength": 5, + "startLine": 60, + "startColumn": 18, + "charOffset": 1954, + "charLength": 2, "snippet": { - "text": "new[]" + "text": "if" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 201, + "startLine": 58, "startColumn": 1, - "charOffset": 8201, - "charLength": 361, + "charOffset": 1812, + "charLength": 303, "snippet": { - "text": " [Parameter] public readonly string[] StringArray = new[] { \"first\", \"second\" };\n [Parameter] public readonly int[] IntegerArray = new[] { 1, 2 };\n [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };\n\n public AbsolutePath OutputDirectory => RootDirectory / \"output\";" + "text": " || new[] { '.', '/', '\\\\', '_', '-' }.Any(x => x == key.KeyChar))\n input.Append(key.KeyChar);\n else if (key.Key == ConsoleKey.Backspace && input.Length > 0)\n input.Remove(input.Length - 1, length: 1);\n else if (key.Key == InterruptKey)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fe04c75607792591a0a1681cceae44ad9ce4bad215840e8a2889e504efdfc166" + "equalIndicator/v1": "a32a29aa50e3c87864e89e0bdc1f48e42f60157197e122a7b7ee288c02d32dc1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105046,13 +104986,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/DotNet/DotNetTasks.cs", + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 54, + "startLine": 94, "startColumn": 13, - "charOffset": 1288, + "charOffset": 3257, "charLength": 2, "snippet": { "text": "if" @@ -105060,27 +105000,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 52, + "startLine": 92, "startColumn": 1, - "charOffset": 1261, - "charLength": 120, + "charOffset": 3188, + "charLength": 178, "snippet": { - "text": " }\n\n if (i >= 4 &&\n 'e' == output[i - 4] &&\n 'r' == output[i - 3] &&" + "text": "\n key = Console.ReadKey(intercept: true).Key;\n if (key == ConsoleKey.UpArrow)\n selection--;\n else if (key == ConsoleKey.DownArrow)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4e064482f4fad823772f7e2a37e71a552613e447968c62bf80e8bde1014b391e" + "equalIndicator/v1": "31306390c6008678271f03da7f8bf0c7d363b7ede0feb2ab02da65e062dd1acc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105102,13 +105041,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Build/Host.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 60, - "startColumn": 18, - "charOffset": 1954, + "startLine": 183, + "startColumn": 13, + "charOffset": 6456, "charLength": 2, "snippet": { "text": "if" @@ -105116,12 +105055,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 58, + "startLine": 181, "startColumn": 1, - "charOffset": 1812, - "charLength": 303, + "charOffset": 6390, + "charLength": 233, "snippet": { - "text": " || new[] { '.', '/', '\\\\', '_', '-' }.Any(x => x == key.KeyChar))\n input.Append(key.KeyChar);\n else if (key.Key == ConsoleKey.Backspace && input.Length > 0)\n input.Remove(input.Length - 1, length: 1);\n else if (key.Key == InterruptKey)" + "text": " public void Emit(LogEvent logEvent)\n {\n if (logEvent.Level == LogEventLevel.Warning)\n _host.ReportWarning(logEvent.RenderMessage());\n else if (logEvent.Level == LogEventLevel.Error)" } } }, @@ -105134,9 +105073,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a32a29aa50e3c87864e89e0bdc1f48e42f60157197e122a7b7ee288c02d32dc1" + "equalIndicator/v1": "6ba6c39e1ce8cabd22f9998ad4f0ea8e80e8c4cd23a895dc5f6dbdc1fdd1f3de" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105151,20 +105089,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" + "text": "Convert 'if' statement into 'switch'", + "markdown": "Convert 'if' statement into 'switch'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 94, + "startLine": 42, "startColumn": 13, - "charOffset": 3257, + "charOffset": 1347, "charLength": 2, "snippet": { "text": "if" @@ -105172,27 +105110,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 92, + "startLine": 40, "startColumn": 1, - "charOffset": 3188, - "charLength": 178, + "charOffset": 1215, + "charLength": 226, "snippet": { - "text": "\n key = Console.ReadKey(intercept: true).Key;\n if (key == ConsoleKey.UpArrow)\n selection--;\n else if (key == ConsoleKey.DownArrow)" + "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n return HasPathRoot(stringValue)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "31306390c6008678271f03da7f8bf0c7d363b7ede0feb2ab02da65e062dd1acc" + "equalIndicator/v1": "5afcda287550fc8aa6efc6bbda0d739f887fb3f0762c1d90dd3516959bbadb13" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105202,6 +105139,61 @@ ] } }, + { + "ruleId": "ConvertIfStatementToSwitchStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert 'if' statement into 'switch'", + "markdown": "Convert 'if' statement into 'switch'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 42, + "startColumn": 13, + "charOffset": 1347, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 40, + "startColumn": 1, + "charOffset": 1215, + "charLength": 226, + "snippet": { + "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n return HasPathRoot(stringValue)" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7bd0926acee5470b4262f22c186ca6363d475f030554e8865dd9dcfaa36cf213" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, { "ruleId": "ConvertIfStatementToSwitchStatement", "kind": "fail", @@ -105246,15 +105238,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "3e15234a19dabe01e5a88ec2d56ceaaa5f23051d7af584be23cb63ff7a2d285a" + "equalIndicator/v1": "4f9a51eb5664d8008603e7390ca59afa959f4c59eff8fcbd1f9bd9dd74befc03" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -105302,15 +105293,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "4f9a51eb5664d8008603e7390ca59afa959f4c59eff8fcbd1f9bd9dd74befc03" + "equalIndicator/v1": "3e15234a19dabe01e5a88ec2d56ceaaa5f23051d7af584be23cb63ff7a2d285a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -105326,13 +105316,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Utilities/ArgumentParser.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 183, - "startColumn": 13, - "charOffset": 6456, + "startLine": 38, + "startColumn": 21, + "charOffset": 991, "charLength": 2, "snippet": { "text": "if" @@ -105340,27 +105330,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 181, + "startLine": 36, "startColumn": 1, - "charOffset": 6390, - "charLength": 233, + "charOffset": 912, + "charLength": 183, "snippet": { - "text": " public void Emit(LogEvent logEvent)\n {\n if (logEvent.Level == LogEventLevel.Warning)\n _host.ReportWarning(logEvent.RenderMessage());\n else if (logEvent.Level == LogEventLevel.Error)" + "text": " return arguments.Split((c, _) =>\n {\n if (c == '\\\"' && !inSingleQuotes && !escaped)\n inDoubleQuotes = !inDoubleQuotes;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6ba6c39e1ce8cabd22f9998ad4f0ea8e80e8c4cd23a895dc5f6dbdc1fdd1f3de" + "equalIndicator/v1": "3bea2b817c4ee57d1b91038ac00a2abfabd411879f811ff925babda01657088d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105382,13 +105371,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Secrets.cs", + "uri": "source/Nuke.Utilities/ArgumentParser.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 75, - "startColumn": 17, - "charOffset": 3010, + "startLine": 38, + "startColumn": 21, + "charOffset": 991, "charLength": 2, "snippet": { "text": "if" @@ -105396,33 +105385,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 73, + "startLine": 36, "startColumn": 1, - "charOffset": 2963, - "charLength": 147, + "charOffset": 912, + "charLength": 183, "snippet": { - "text": " else\n {\n if (choice == SaveAndExit)\n SaveSecrets(addedSecrets, password, parametersFile);\n" + "text": " return arguments.Split((c, _) =>\n {\n if (c == '\\\"' && !inSingleQuotes && !escaped)\n inDoubleQuotes = !inDoubleQuotes;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3a0d226d122a01f05512dd9ee3259e4de389cfb58f07ef2e1a34e58f73a4f048" + "equalIndicator/v1": "1ade858c08db16a16e6985a3554ec92839760d119e8973c6e71178ad45e5843a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -105472,7 +105460,6 @@ "partialFingerprints": { "equalIndicator/v1": "6687cf8e883711e2ac772fde80ceee9ab134641d1c60f9984c2c1816003b2c5a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105528,7 +105515,6 @@ "partialFingerprints": { "equalIndicator/v1": "e86e6871c4934613166ed58ed597643f7f19907cc0f07f7982eff495be945784" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105543,20 +105529,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" + "text": "Convert 'if' statement into 'switch'", + "markdown": "Convert 'if' statement into 'switch'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/ArgumentParser.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/CodeAnalysisExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 38, - "startColumn": 21, - "charOffset": 991, + "startLine": 102, + "startColumn": 9, + "charOffset": 3752, "charLength": 2, "snippet": { "text": "if" @@ -105564,33 +105550,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 36, + "startLine": 100, "startColumn": 1, - "charOffset": 912, - "charLength": 183, + "charOffset": 3657, + "charLength": 216, "snippet": { - "text": " return arguments.Split((c, _) =>\n {\n if (c == '\\\"' && !inSingleQuotes && !escaped)\n inDoubleQuotes = !inDoubleQuotes;\n" + "text": " public static TypeSyntax GetExpressionType(this ExpressionSyntax expression)\n {\n if (expression is LiteralExpressionSyntax literalExpression)\n {\n return literalExpression.Kind() switch" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1ade858c08db16a16e6985a3554ec92839760d119e8973c6e71178ad45e5843a" + "equalIndicator/v1": "992ba780ad338cc23e05fdd23c55d9e5cd7293e74c508c958b55163d37a4ffdd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -105606,13 +105591,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/ArgumentParser.cs", + "uri": "source/Nuke.GlobalTool/Program.Secrets.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 38, - "startColumn": 21, - "charOffset": 991, + "startLine": 75, + "startColumn": 17, + "charOffset": 3010, "charLength": 2, "snippet": { "text": "if" @@ -105620,27 +105605,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 36, + "startLine": 73, "startColumn": 1, - "charOffset": 912, - "charLength": 183, + "charOffset": 2963, + "charLength": 147, "snippet": { - "text": " return arguments.Split((c, _) =>\n {\n if (c == '\\\"' && !inSingleQuotes && !escaped)\n inDoubleQuotes = !inDoubleQuotes;\n" + "text": " else\n {\n if (choice == SaveAndExit)\n SaveSecrets(addedSecrets, password, parametersFile);\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3bea2b817c4ee57d1b91038ac00a2abfabd411879f811ff925babda01657088d" + "equalIndicator/v1": "3a0d226d122a01f05512dd9ee3259e4de389cfb58f07ef2e1a34e58f73a4f048" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105651,52 +105635,51 @@ } }, { - "ruleId": "ConvertIfStatementToSwitchStatement", + "ruleId": "RedundantArrayCreationExpression", "kind": "fail", "level": "note", "message": { - "text": "Convert 'if' statement into 'switch'", - "markdown": "Convert 'if' statement into 'switch'" + "text": "Redundant array creation expression", + "markdown": "Redundant array creation expression" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/CodeAnalysisExtensions.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 102, - "startColumn": 9, - "charOffset": 3752, - "charLength": 2, + "startLine": 201, + "startColumn": 60, + "charOffset": 8260, + "charLength": 5, "snippet": { - "text": "if" + "text": "new[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 100, + "startLine": 199, "startColumn": 1, - "charOffset": 3657, - "charLength": 216, + "charOffset": 8125, + "charLength": 363, "snippet": { - "text": " public static TypeSyntax GetExpressionType(this ExpressionSyntax expression)\n {\n if (expression is LiteralExpressionSyntax literalExpression)\n {\n return literalExpression.Kind() switch" + "text": " public readonly Configuration Configuration = Configuration.Debug;\n\n [Parameter] public readonly string[] StringArray = new[] { \"first\", \"second\" };\n [Parameter] public readonly int[] IntegerArray = new[] { 1, 2 };\n [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "992ba780ad338cc23e05fdd23c55d9e5cd7293e74c508c958b55163d37a4ffdd" + "equalIndicator/v1": "2ccc2f5654c6c3d17caa97b712825994ca3849ac71df4a25d7819f50c36169a3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105707,108 +105690,106 @@ } }, { - "ruleId": "ConvertIfStatementToSwitchStatement", + "ruleId": "RedundantArrayCreationExpression", "kind": "fail", "level": "note", "message": { - "text": "Convert 'if' statement into 'switch'", - "markdown": "Convert 'if' statement into 'switch'" + "text": "Redundant array creation expression", + "markdown": "Redundant array creation expression" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 42, - "startColumn": 13, - "charOffset": 1347, - "charLength": 2, + "startLine": 202, + "startColumn": 58, + "charOffset": 8346, + "charLength": 5, "snippet": { - "text": "if" + "text": "new[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 40, + "startLine": 200, "startColumn": 1, - "charOffset": 1215, - "charLength": 226, + "charOffset": 8200, + "charLength": 289, "snippet": { - "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n return HasPathRoot(stringValue)" + "text": "\n [Parameter] public readonly string[] StringArray = new[] { \"first\", \"second\" };\n [Parameter] public readonly int[] IntegerArray = new[] { 1, 2 };\n [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7bd0926acee5470b4262f22c186ca6363d475f030554e8865dd9dcfaa36cf213" + "equalIndicator/v1": "d26b8da2179894da4d4368625599802e8d0aa4c8a52fdbe75525f2a7a09fec36" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "ConvertIfStatementToSwitchStatement", + "ruleId": "RedundantArrayCreationExpression", "kind": "fail", "level": "note", "message": { - "text": "Convert 'if' statement into 'switch'", - "markdown": "Convert 'if' statement into 'switch'" + "text": "Redundant array creation expression", + "markdown": "Redundant array creation expression" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 42, - "startColumn": 13, - "charOffset": 1347, - "charLength": 2, + "startLine": 203, + "startColumn": 74, + "charOffset": 8435, + "charLength": 5, "snippet": { - "text": "if" + "text": "new[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 40, + "startLine": 201, "startColumn": 1, - "charOffset": 1215, - "charLength": 226, + "charOffset": 8201, + "charLength": 361, "snippet": { - "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n return HasPathRoot(stringValue)" + "text": " [Parameter] public readonly string[] StringArray = new[] { \"first\", \"second\" };\n [Parameter] public readonly int[] IntegerArray = new[] { 1, 2 };\n [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };\n\n public AbsolutePath OutputDirectory => RootDirectory / \"output\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5afcda287550fc8aa6efc6bbda0d739f887fb3f0762c1d90dd3516959bbadb13" + "equalIndicator/v1": "fe04c75607792591a0a1681cceae44ad9ce4bad215840e8a2889e504efdfc166" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105830,13 +105811,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultCertificate.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVault.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 9, + "startLine": 16, "startColumn": 1, - "charOffset": 212, + "charOffset": 441, "charLength": 1, "snippet": { "text": "{" @@ -105844,12 +105825,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 7, + "startLine": 14, "startColumn": 1, - "charOffset": 169, - "charLength": 92, + "charOffset": 398, + "charLength": 91, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n public class AzureKeyVaultCertificate\n {" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n [PublicAPI]\n public class AzureKeyVault" } } }, @@ -105862,9 +105843,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "32ea48e74174b98dc32e550fc8ee6f1076eb8eab0117a58f09385b74166d259d" + "equalIndicator/v1": "59c22480c7b587d5b59d11d04db6634d162cd109eaa2962f4b015c89da9249d5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105886,7 +105866,7 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultSecretAttribute.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { @@ -105903,9 +105883,9 @@ "startLine": 9, "startColumn": 1, "charOffset": 223, - "charLength": 202, + "charLength": 209, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Attribute to obtain a secret from the Azure KeyVault defined by .\n [PublicAPI]" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Attribute to obtain the KeyVault defined by to retrieve multiple items.\n [PublicAPI]" } } }, @@ -105918,9 +105898,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ea06e7a698282558f46dfdd41268bec4a0b33b9a086e7f1278283ce18d3c3aef" + "equalIndicator/v1": "dcb36242f2a3e13ec2f6dbb9dc3e7e4e784e9d8a22ce44a0cb82af013562638a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105942,13 +105921,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultConfigurationAttribute.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultAttributeBase.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, + "startLine": 11, "startColumn": 1, - "charOffset": 315, + "charOffset": 271, "charLength": 1, "snippet": { "text": "{" @@ -105956,12 +105935,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 9, "startColumn": 1, - "charOffset": 272, - "charLength": 142, + "charOffset": 228, + "charLength": 124, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Defines where the KeyVault login details can be found.\n [PublicAPI]" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n public abstract class AzureKeyVaultAttributeBase : ParameterAttribute\n {" } } }, @@ -105974,9 +105953,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "246dcc3a13b5514e7eeca3a1006f69129a3bec4cf4acb49280211936d4d050ed" + "equalIndicator/v1": "ad5d3d84238e29d6a5e858706c87425bb7f01607116986d5d424c58d1c351d95" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -105998,13 +105976,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVault.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultCertificate.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 9, "startColumn": 1, - "charOffset": 441, + "charOffset": 212, "charLength": 1, "snippet": { "text": "{" @@ -106012,12 +105990,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 7, "startColumn": 1, - "charOffset": 398, - "charLength": 91, + "charOffset": 169, + "charLength": 92, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n [PublicAPI]\n public class AzureKeyVault" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n public class AzureKeyVaultCertificate\n {" } } }, @@ -106030,9 +106008,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "59c22480c7b587d5b59d11d04db6634d162cd109eaa2962f4b015c89da9249d5" + "equalIndicator/v1": "32ea48e74174b98dc32e550fc8ee6f1076eb8eab0117a58f09385b74166d259d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106054,13 +106031,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultKey.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultCertificateAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 10, + "startLine": 11, "startColumn": 1, - "charOffset": 248, + "charOffset": 266, "charLength": 1, "snippet": { "text": "{" @@ -106068,12 +106045,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 8, + "startLine": 9, "startColumn": 1, - "charOffset": 205, - "charLength": 84, + "charOffset": 223, + "charLength": 214, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n public class AzureKeyVaultKey\n {" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Attribute to obtain a certificates from from the Azure KeyVault defined by .\n [PublicAPI]" } } }, @@ -106086,9 +106063,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "60e847d9328a099e564730d20a9c7f3e17356ad6866ff63580dfb72d9617702e" + "equalIndicator/v1": "e7ca777651180801303eca314666551feb42ef372c69065e23d4da8242cd638c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106110,13 +106086,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultTasks.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultKey.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 10, "startColumn": 1, - "charOffset": 241, + "charOffset": 248, "charLength": 1, "snippet": { "text": "{" @@ -106126,10 +106102,10 @@ "contextRegion": { "startLine": 8, "startColumn": 1, - "charOffset": 198, - "charLength": 103, + "charOffset": 205, + "charLength": 84, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n [PublicAPI]\n public static class AzureKeyVaultTasks" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n public class AzureKeyVaultKey\n {" } } }, @@ -106142,9 +106118,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "73566e6b101bc2225be94abfc186bf1228a883a341ffc8b16f1e04c5a74ccef6" + "equalIndicator/v1": "60e847d9328a099e564730d20a9c7f3e17356ad6866ff63580dfb72d9617702e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106166,7 +106141,7 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultCertificateAttribute.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultKeyAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { @@ -106183,9 +106158,9 @@ "startLine": 9, "startColumn": 1, "charOffset": 223, - "charLength": 214, + "charLength": 204, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Attribute to obtain a certificates from from the Azure KeyVault defined by .\n [PublicAPI]" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Attribute to obtain a key from from the Azure KeyVault defined by .\n [PublicAPI]" } } }, @@ -106198,9 +106173,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e7ca777651180801303eca314666551feb42ef372c69065e23d4da8242cd638c" + "equalIndicator/v1": "4915e36ccb117ece51e618248bb5ba16a668abd2bafc0ac8d788bcda145e420d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106222,7 +106196,7 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultKeyAttribute.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultSecretAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { @@ -106239,9 +106213,9 @@ "startLine": 9, "startColumn": 1, "charOffset": 223, - "charLength": 204, + "charLength": 202, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Attribute to obtain a key from from the Azure KeyVault defined by .\n [PublicAPI]" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Attribute to obtain a secret from the Azure KeyVault defined by .\n [PublicAPI]" } } }, @@ -106254,9 +106228,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "4915e36ccb117ece51e618248bb5ba16a668abd2bafc0ac8d788bcda145e420d" + "equalIndicator/v1": "ea06e7a698282558f46dfdd41268bec4a0b33b9a086e7f1278283ce18d3c3aef" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106278,13 +106251,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultAttribute.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultConfigurationAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, + "startLine": 13, "startColumn": 1, - "charOffset": 266, + "charOffset": 315, "charLength": 1, "snippet": { "text": "{" @@ -106292,12 +106265,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 11, "startColumn": 1, - "charOffset": 223, - "charLength": 209, + "charOffset": 272, + "charLength": 142, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Attribute to obtain the KeyVault defined by to retrieve multiple items.\n [PublicAPI]" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n /// Defines where the KeyVault login details can be found.\n [PublicAPI]" } } }, @@ -106310,9 +106283,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "dcb36242f2a3e13ec2f6dbb9dc3e7e4e784e9d8a22ce44a0cb82af013562638a" + "equalIndicator/v1": "246dcc3a13b5514e7eeca3a1006f69129a3bec4cf4acb49280211936d4d050ed" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106334,13 +106306,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultAttributeBase.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, + "startLine": 10, "startColumn": 1, - "charOffset": 271, + "charOffset": 241, "charLength": 1, "snippet": { "text": "{" @@ -106348,12 +106320,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 8, "startColumn": 1, - "charOffset": 228, - "charLength": 124, + "charOffset": 198, + "charLength": 103, "snippet": { - "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n public abstract class AzureKeyVaultAttributeBase : ParameterAttribute\n {" + "text": "\nnamespace Nuke.Common.Tools.AzureKeyVault\n{\n [PublicAPI]\n public static class AzureKeyVaultTasks" } } }, @@ -106366,9 +106338,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ad5d3d84238e29d6a5e858706c87425bb7f01607116986d5d424c58d1c351d95" + "equalIndicator/v1": "73566e6b101bc2225be94abfc186bf1228a883a341ffc8b16f1e04c5a74ccef6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106424,7 +106395,6 @@ "partialFingerprints": { "equalIndicator/v1": "c9adc2a5fc7d24ae41e4df8505fe3eee7dac0271b3addb130e259b6f29b71843" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -106446,13 +106416,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Quoting.cs", + "uri": "source/Nuke.Tooling/Enumeration.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, + "startLine": 73, "startColumn": 9, - "charOffset": 997, + "charOffset": 1886, "charLength": 2, "snippet": { "text": "if" @@ -106460,27 +106430,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 71, "startColumn": 1, - "charOffset": 964, - "charLength": 88, + "charOffset": 1813, + "charLength": 172, "snippet": { - "text": " return str;\n\n if (!str.Contains(disallowed))\n return str;\n" + "text": " if (ReferenceEquals(this, obj))\n return true;\n if (obj.GetType() != GetType())\n return false;\n return Equals((Enumeration) obj);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "04bdf87b18bac919ecfdcf984051c1f41f7d2d879de93115e959b45e79da9d71" + "equalIndicator/v1": "65afae1557994af1f2774adfb5959118e05abf757ea11701b6307190a9851dd9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106502,13 +106471,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Quoting.cs", + "uri": "source/Nuke.Tooling/Enumeration.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 70, + "startLine": 73, "startColumn": 9, - "charOffset": 2081, + "charOffset": 1886, "charLength": 2, "snippet": { "text": "if" @@ -106516,33 +106485,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 68, + "startLine": 71, "startColumn": 1, - "charOffset": 2048, - "charLength": 88, + "charOffset": 1813, + "charLength": 172, "snippet": { - "text": " return str;\n\n if (!str.Contains(disallowed))\n return str;\n" + "text": " if (ReferenceEquals(this, obj))\n return true;\n if (obj.GetType() != GetType())\n return false;\n return Equals((Enumeration) obj);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c99bec1d06726eaf5d000bc2cea65db008b3fc57b799f84dc9c4865f38e6f171" + "equalIndicator/v1": "4ae1ad4f75d01a6dafc36fe9310c7b905fb64ef6d13f33c82c10c252cb6b58a0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -106558,13 +106526,68 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Quoting.cs", + "uri": "source/Nuke.Tooling/ToolResolver.cs", "uriBaseId": "SRCROOT" }, "region": { + "startLine": 36, + "startColumn": 9, + "charOffset": 1089, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { "startLine": 34, + "startColumn": 1, + "charOffset": 972, + "charLength": 164, + "snippet": { + "text": " {\n var toolPath = ToolPathResolver.TryGetEnvironmentExecutable($\"{name.ToUpperInvariant()}_EXE\");\n if (toolPath == null)\n return null;\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5b2d23877d070c5e870eadb3ace4216ee554d749c8a4c135e9e09bc1d4d62c28" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ToolResolver.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 36, "startColumn": 9, - "charOffset": 997, + "charOffset": 1089, "charLength": 2, "snippet": { "text": "if" @@ -106572,27 +106595,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 34, "startColumn": 1, - "charOffset": 964, - "charLength": 88, + "charOffset": 972, + "charLength": 164, "snippet": { - "text": " return str;\n\n if (!str.Contains(disallowed))\n return str;\n" + "text": " {\n var toolPath = ToolPathResolver.TryGetEnvironmentExecutable($\"{name.ToUpperInvariant()}_EXE\");\n if (toolPath == null)\n return null;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ce4d94365ed59f31b34b9f9ac6459eda752e29ddf3f43aa3ed6092a96418ebc1" + "equalIndicator/v1": "745290234775d72ecd724135517dc431649f371852da1bdcf0a726ee6e6e67e0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106614,13 +106636,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Quoting.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 70, - "startColumn": 9, - "charOffset": 2081, + "startLine": 295, + "startColumn": 13, + "charOffset": 13517, "charLength": 2, "snippet": { "text": "if" @@ -106628,27 +106650,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 68, + "startLine": 293, "startColumn": 1, - "charOffset": 2048, - "charLength": 88, + "charOffset": 13394, + "charLength": 244, "snippet": { - "text": " return str;\n\n if (!str.Contains(disallowed))\n return str;\n" + "text": " if (member.GetMemberType() == typeof(bool))\n return TeamCityParameterType.Checkbox;\n if (valueSet != null)\n return TeamCityParameterType.Select;\n return TeamCityParameterType.Text;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0688e7ddd37af2c99fd42dbfd8b137c8c1657600a4b996b3b515615e8391b095" + "equalIndicator/v1": "973de9bb5ae5f91dd0a5eb26ca1bbb566903f33b5cd9321a80b5635963105eb3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106670,13 +106691,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ToolResolver.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultAttributeBase.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, - "startColumn": 9, - "charOffset": 1089, + "startLine": 23, + "startColumn": 13, + "charOffset": 691, "charLength": 2, "snippet": { "text": "if" @@ -106684,27 +106705,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 21, "startColumn": 1, - "charOffset": 972, - "charLength": 164, + "charOffset": 618, + "charLength": 129, "snippet": { - "text": " {\n var toolPath = ToolPathResolver.TryGetEnvironmentExecutable($\"{name.ToUpperInvariant()}_EXE\");\n if (toolPath == null)\n return null;\n" + "text": "\n var configuration = GetConfiguration(instance);\n if (configuration == null)\n return null;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "745290234775d72ecd724135517dc431649f371852da1bdcf0a726ee6e6e67e0" + "equalIndicator/v1": "e97fb6a19794967f5932a219a005c0a3aac70855006ba4ccbfe8066a3317d701" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106726,13 +106746,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ToolResolver.cs", + "uri": "source/Nuke.Build/Logging.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, + "startLine": 97, "startColumn": 9, - "charOffset": 1089, + "charOffset": 3423, "charLength": 2, "snippet": { "text": "if" @@ -106740,33 +106760,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 95, "startColumn": 1, - "charOffset": 972, - "charLength": 164, + "charOffset": 3285, + "charLength": 191, "snippet": { - "text": " {\n var toolPath = ToolPathResolver.TryGetEnvironmentExecutable($\"{name.ToUpperInvariant()}_EXE\");\n if (toolPath == null)\n return null;\n" + "text": " public static LoggerConfiguration ConfigureFilter(this LoggerConfiguration configuration, [CanBeNull] INukeBuild build)\n {\n if (build == null)\n return configuration;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5b2d23877d070c5e870eadb3ace4216ee554d749c8a4c135e9e09bc1d4d62c28" + "equalIndicator/v1": "0f36989c97d30e871559281c0e2be961c7eb5b4f96dba8e77e7f777d7e6d2356" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -106782,13 +106801,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 215, - "startColumn": 9, - "charOffset": 8935, + "startLine": 39, + "startColumn": 13, + "charOffset": 1266, "charLength": 2, "snippet": { "text": "if" @@ -106796,12 +106815,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 213, + "startLine": 37, "startColumn": 1, - "charOffset": 8860, - "charLength": 135, + "charOffset": 1176, + "charLength": 206, "snippet": { - "text": " if (IsUnixRoot(left))\n return $\"{left}{right}\";\n if (IsUncRoot(left))\n return $@\"{left}\\{right}\";\n" + "text": " if (ReferenceEquals(y, objB: null))\n return false;\n if (x.GetType() != y.GetType())\n return false;\n return Equals(_selector(x), _selector(y));" } } }, @@ -106814,9 +106833,63 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "25817576a2ef4a32bbd886c032bba85802c68512b4cbde068e572364793baad5" + "equalIndicator/v1": "a8f7172783c2cf9982439628557180b6db2a1256f95ac9a1efa5dbadc120724c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 39, + "startColumn": 13, + "charOffset": 1266, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 37, + "startColumn": 1, + "charOffset": 1176, + "charLength": 206, + "snippet": { + "text": " if (ReferenceEquals(y, objB: null))\n return false;\n if (x.GetType() != y.GetType())\n return false;\n return Equals(_selector(x), _selector(y));" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e722748591ed3b7f4b455a00bc8218c770ee141b9161f0982b83754c8b44cdd5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106838,13 +106911,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 215, - "startColumn": 9, - "charOffset": 8935, + "startLine": 49, + "startColumn": 13, + "charOffset": 1588, "charLength": 2, "snippet": { "text": "if" @@ -106852,12 +106925,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 213, + "startLine": 47, "startColumn": 1, - "charOffset": 8860, - "charLength": 135, + "charOffset": 1561, + "charLength": 75, "snippet": { - "text": " if (IsUnixRoot(left))\n return $\"{left}{right}\";\n if (IsUncRoot(left))\n return $@\"{left}\\{right}\";\n" + "text": " }\n\n if (value is null)\n return null;\n" } } }, @@ -106870,9 +106943,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "bffb37a33e814daa21953d905f0046665164b92a7be3912a4888461132270c52" + "equalIndicator/v1": "835f70c1b92c626eb6cb6e3d5e40e53fcc68e566dc4e267958e318970dce37c1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106894,13 +106966,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 197, + "startLine": 139, "startColumn": 9, - "charOffset": 9179, + "charOffset": 4145, "charLength": 2, "snippet": { "text": "if" @@ -106908,27 +106980,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 195, + "startLine": 137, "startColumn": 1, - "charOffset": 9069, - "charLength": 179, + "charOffset": 4072, + "charLength": 173, "snippet": { - "text": " {\n node = (MemberAccessExpressionSyntax) base.VisitMemberAccessExpression(node).NotNull();\n if (node.GetIdentifierName() != \"FullPath\")\n return node;\n" + "text": " if (ReferenceEquals(this, obj))\n return true;\n if (obj.GetType() != GetType())\n return false;\n return Equals((AbsolutePath) obj);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a3af2bc0cb0ab748e9d81ef2fa6848f8fc1baaf54e3822e685107dc567a90dac" + "equalIndicator/v1": "2179d0057c3d9fe9c741c3cea0ec0fcd8e119870b4e75b3204f0464824b6dccb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -106950,13 +107021,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Logging.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 97, - "startColumn": 9, - "charOffset": 3423, + "startLine": 49, + "startColumn": 13, + "charOffset": 1588, "charLength": 2, "snippet": { "text": "if" @@ -106964,33 +107035,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 95, + "startLine": 47, "startColumn": 1, - "charOffset": 3285, - "charLength": 191, + "charOffset": 1561, + "charLength": 75, "snippet": { - "text": " public static LoggerConfiguration ConfigureFilter(this LoggerConfiguration configuration, [CanBeNull] INukeBuild build)\n {\n if (build == null)\n return configuration;\n" + "text": " }\n\n if (value is null)\n return null;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0f36989c97d30e871559281c0e2be961c7eb5b4f96dba8e77e7f777d7e6d2356" + "equalIndicator/v1": "01bed548d467fd72e9b630ae7d6cdddbfe0cd59f0126ad0cc8be0ca95feb281a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -107006,13 +107076,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Escape.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 139, "startColumn": 9, - "charOffset": 372, + "charOffset": 4145, "charLength": 2, "snippet": { "text": "if" @@ -107020,12 +107090,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 137, "startColumn": 1, - "charOffset": 291, - "charLength": 150, + "charOffset": 4072, + "charLength": 173, "snippet": { - "text": " public static string EscapeBraces([CanBeNull] this string str)\n {\n if (string.IsNullOrWhiteSpace(str))\n return string.Empty;\n" + "text": " if (ReferenceEquals(this, obj))\n return true;\n if (obj.GetType() != GetType())\n return false;\n return Equals((AbsolutePath) obj);" } } }, @@ -107038,9 +107108,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c6b8e5208fdd626d89bfaa648169c6078fb29c4a6eb461975eeec807bbfb979d" + "equalIndicator/v1": "85be0da3db64c62462fa4730c329a413a1f05927e773274c01be2c7af8699eb0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107062,13 +107131,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Escape.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 215, "startColumn": 9, - "charOffset": 372, + "charOffset": 8935, "charLength": 2, "snippet": { "text": "if" @@ -107076,12 +107145,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 213, "startColumn": 1, - "charOffset": 291, - "charLength": 150, + "charOffset": 8860, + "charLength": 135, "snippet": { - "text": " public static string EscapeBraces([CanBeNull] this string str)\n {\n if (string.IsNullOrWhiteSpace(str))\n return string.Empty;\n" + "text": " if (IsUnixRoot(left))\n return $\"{left}{right}\";\n if (IsUncRoot(left))\n return $@\"{left}\\{right}\";\n" } } }, @@ -107094,9 +107163,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "1fbcb5028c64583720132c00053aeca4b264b7c027dea5e65d870a33a4f648bb" + "equalIndicator/v1": "bffb37a33e814daa21953d905f0046665164b92a7be3912a4888461132270c52" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107118,13 +107186,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Model/IDeprecatable.cs", + "uri": "source/Nuke.Utilities/IO/RelativePath.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 33, + "startLine": 32, "startColumn": 9, - "charOffset": 818, + "charOffset": 804, "charLength": 2, "snippet": { "text": "if" @@ -107132,33 +107200,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 31, + "startLine": 30, "startColumn": 1, - "charOffset": 749, - "charLength": 193, + "charOffset": 716, + "charLength": 131, "snippet": { - "text": " {\n var message = deprecatable.DeprecationMessage;\n if (!string.IsNullOrEmpty(message))\n return message;\n return deprecatable.Parent?.GetDeprecationMessage();" + "text": " public static explicit operator RelativePath([CanBeNull] string path)\n {\n if (path is null)\n return null;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3f95de911ee49862006bfe31c0221c4dc4ee9d4d0d3b8db7fd589ee93cde1ab7" + "equalIndicator/v1": "c4dc4f8d8816051be3ae9490c5885252ee853a974c2f00eaeaa1edfbe3843a56" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -107174,13 +107241,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Utilities/IO/RelativePath.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 13, - "charOffset": 1266, + "startLine": 32, + "startColumn": 9, + "charOffset": 804, "charLength": 2, "snippet": { "text": "if" @@ -107188,12 +107255,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 30, "startColumn": 1, - "charOffset": 1176, - "charLength": 206, + "charOffset": 716, + "charLength": 131, "snippet": { - "text": " if (ReferenceEquals(y, objB: null))\n return false;\n if (x.GetType() != y.GetType())\n return false;\n return Equals(_selector(x), _selector(y));" + "text": " public static explicit operator RelativePath([CanBeNull] string path)\n {\n if (path is null)\n return null;\n" } } }, @@ -107206,9 +107273,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e722748591ed3b7f4b455a00bc8218c770ee141b9161f0982b83754c8b44cdd5" + "equalIndicator/v1": "9018b0abfc2a7a21bf64823a3c3c41dd6506161d9da3cb09d3faa02ae5810a38" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107230,13 +107296,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 13, - "charOffset": 1266, + "startLine": 215, + "startColumn": 9, + "charOffset": 8935, "charLength": 2, "snippet": { "text": "if" @@ -107244,12 +107310,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 213, "startColumn": 1, - "charOffset": 1176, - "charLength": 206, + "charOffset": 8860, + "charLength": 135, "snippet": { - "text": " if (ReferenceEquals(y, objB: null))\n return false;\n if (x.GetType() != y.GetType())\n return false;\n return Equals(_selector(x), _selector(y));" + "text": " if (IsUnixRoot(left))\n return $\"{left}{right}\";\n if (IsUncRoot(left))\n return $@\"{left}\\{right}\";\n" } } }, @@ -107262,15 +107328,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a8f7172783c2cf9982439628557180b6db2a1256f95ac9a1efa5dbadc120724c" + "equalIndicator/v1": "25817576a2ef4a32bbd886c032bba85802c68512b4cbde068e572364793baad5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -107286,13 +107351,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/FormattingRewriter.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 42, + "startLine": 86, "startColumn": 9, - "charOffset": 1684, + "charOffset": 3133, "charLength": 2, "snippet": { "text": "if" @@ -107300,27 +107365,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 40, + "startLine": 84, "startColumn": 1, - "charOffset": 1591, - "charLength": 230, + "charOffset": 3114, + "charLength": 155, "snippet": { - "text": " return token.WithLeadingTrivia(LineFeed.Concat(Indent).Concat(Indent));\n\n if (identifierName.StartsWith(\"Set\"))\n return token.WithLeadingTrivia(LineFeed.Concat(Indent).Concat(Indent).Concat(Indent));\n" + "text": " }\n\n if (type.IsArray)\n return $\"{type.GetElementType().GetDisplayShortName(tupleNames)}[{','.Repeat(type.GetArrayRank() - 1)}]\";\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "178932f4d4054ffef4c72e15f4b281d27c62a65b7dd5650f67213d78838639d0" + "equalIndicator/v1": "901b2c43cc1c453c0343725706a61b1fe926d1566e4da0b31aeee6aa1b42d61d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107342,13 +107406,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 60, + "startLine": 86, "startColumn": 9, - "charOffset": 1701, + "charOffset": 3133, "charLength": 2, "snippet": { "text": "if" @@ -107356,33 +107420,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 58, + "startLine": 84, "startColumn": 1, - "charOffset": 1657, - "charLength": 179, + "charOffset": 3114, + "charLength": 155, "snippet": { - "text": " return parameterValue;\n\n if (EnvironmentInfo.GetNamedArgument(Constants.RootDirectoryParameterName))\n return EnvironmentInfo.WorkingDirectory;\n" + "text": " }\n\n if (type.IsArray)\n return $\"{type.GetElementType().GetDisplayShortName(tupleNames)}[{','.Repeat(type.GetArrayRank() - 1)}]\";\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "29e164cfb8c5b68eacd482831b765ef3656a97d348fe9abb20d86158aea46e1f" + "equalIndicator/v1": "36ea9f0b84467e79fb1fff4230d2d982d5854ac334e4ccdb23d3c6e9d5f13dbd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -107398,13 +107461,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", + "uri": "source/Nuke.Utilities/Text/String.Escape.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 73, + "startLine": 16, "startColumn": 9, - "charOffset": 1886, + "charOffset": 372, "charLength": 2, "snippet": { "text": "if" @@ -107412,27 +107475,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 71, + "startLine": 14, "startColumn": 1, - "charOffset": 1813, - "charLength": 172, + "charOffset": 291, + "charLength": 150, "snippet": { - "text": " if (ReferenceEquals(this, obj))\n return true;\n if (obj.GetType() != GetType())\n return false;\n return Equals((Enumeration) obj);" + "text": " public static string EscapeBraces([CanBeNull] this string str)\n {\n if (string.IsNullOrWhiteSpace(str))\n return string.Empty;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4ae1ad4f75d01a6dafc36fe9310c7b905fb64ef6d13f33c82c10c252cb6b58a0" + "equalIndicator/v1": "1fbcb5028c64583720132c00053aeca4b264b7c027dea5e65d870a33a4f648bb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107454,69 +107516,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 9, - "charOffset": 1886, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1813, - "charLength": 172, - "snippet": { - "text": " if (ReferenceEquals(this, obj))\n return true;\n if (obj.GetType() != GetType())\n return false;\n return Equals((Enumeration) obj);" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Tooling", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65afae1557994af1f2774adfb5959118e05abf757ea11701b6307190a9851dd9" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/RelativePath.cs", + "uri": "source/Nuke.Utilities/Text/String.Escape.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, + "startLine": 16, "startColumn": 9, - "charOffset": 804, + "charOffset": 372, "charLength": 2, "snippet": { "text": "if" @@ -107524,12 +107530,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 14, "startColumn": 1, - "charOffset": 716, - "charLength": 131, + "charOffset": 291, + "charLength": 150, "snippet": { - "text": " public static explicit operator RelativePath([CanBeNull] string path)\n {\n if (path is null)\n return null;\n" + "text": " public static string EscapeBraces([CanBeNull] this string str)\n {\n if (string.IsNullOrWhiteSpace(str))\n return string.Empty;\n" } } }, @@ -107542,9 +107548,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "9018b0abfc2a7a21bf64823a3c3c41dd6506161d9da3cb09d3faa02ae5810a38" + "equalIndicator/v1": "c6b8e5208fdd626d89bfaa648169c6078fb29c4a6eb461975eeec807bbfb979d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107566,13 +107571,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/RelativePath.cs", + "uri": "source/Nuke.Utilities/Text/String.Quoting.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, + "startLine": 34, "startColumn": 9, - "charOffset": 804, + "charOffset": 997, "charLength": 2, "snippet": { "text": "if" @@ -107580,12 +107585,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 32, "startColumn": 1, - "charOffset": 716, - "charLength": 131, + "charOffset": 964, + "charLength": 88, "snippet": { - "text": " public static explicit operator RelativePath([CanBeNull] string path)\n {\n if (path is null)\n return null;\n" + "text": " return str;\n\n if (!str.Contains(disallowed))\n return str;\n" } } }, @@ -107598,9 +107603,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c4dc4f8d8816051be3ae9490c5885252ee853a974c2f00eaeaa1edfbe3843a56" + "equalIndicator/v1": "ce4d94365ed59f31b34b9f9ac6459eda752e29ddf3f43aa3ed6092a96418ebc1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107622,13 +107626,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Utilities/Text/String.Quoting.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 295, - "startColumn": 13, - "charOffset": 13517, + "startLine": 70, + "startColumn": 9, + "charOffset": 2081, "charLength": 2, "snippet": { "text": "if" @@ -107636,27 +107640,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 293, + "startLine": 68, "startColumn": 1, - "charOffset": 13394, - "charLength": 244, + "charOffset": 2048, + "charLength": 88, "snippet": { - "text": " if (member.GetMemberType() == typeof(bool))\n return TeamCityParameterType.Checkbox;\n if (valueSet != null)\n return TeamCityParameterType.Select;\n return TeamCityParameterType.Text;" + "text": " return str;\n\n if (!str.Contains(disallowed))\n return str;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "973de9bb5ae5f91dd0a5eb26ca1bbb566903f33b5cd9321a80b5635963105eb3" + "equalIndicator/v1": "0688e7ddd37af2c99fd42dbfd8b137c8c1657600a4b996b3b515615e8391b095" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107678,13 +107681,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", + "uri": "source/Nuke.Utilities/Text/String.Quoting.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 86, + "startLine": 34, "startColumn": 9, - "charOffset": 3133, + "charOffset": 997, "charLength": 2, "snippet": { "text": "if" @@ -107692,12 +107695,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 84, + "startLine": 32, "startColumn": 1, - "charOffset": 3114, - "charLength": 155, + "charOffset": 964, + "charLength": 88, "snippet": { - "text": " }\n\n if (type.IsArray)\n return $\"{type.GetElementType().GetDisplayShortName(tupleNames)}[{','.Repeat(type.GetArrayRank() - 1)}]\";\n" + "text": " return str;\n\n if (!str.Contains(disallowed))\n return str;\n" } } }, @@ -107710,9 +107713,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "36ea9f0b84467e79fb1fff4230d2d982d5854ac334e4ccdb23d3c6e9d5f13dbd" + "equalIndicator/v1": "04bdf87b18bac919ecfdcf984051c1f41f7d2d879de93115e959b45e79da9d71" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107734,13 +107736,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", + "uri": "source/Nuke.Utilities/Text/String.Quoting.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 86, + "startLine": 70, "startColumn": 9, - "charOffset": 3133, + "charOffset": 2081, "charLength": 2, "snippet": { "text": "if" @@ -107748,12 +107750,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 84, + "startLine": 68, "startColumn": 1, - "charOffset": 3114, - "charLength": 155, + "charOffset": 2048, + "charLength": 88, "snippet": { - "text": " }\n\n if (type.IsArray)\n return $\"{type.GetElementType().GetDisplayShortName(tupleNames)}[{','.Repeat(type.GetArrayRank() - 1)}]\";\n" + "text": " return str;\n\n if (!str.Contains(disallowed))\n return str;\n" } } }, @@ -107766,15 +107768,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "901b2c43cc1c453c0343725706a61b1fe926d1566e4da0b31aeee6aa1b42d61d" + "equalIndicator/v1": "c99bec1d06726eaf5d000bc2cea65db008b3fc57b799f84dc9c4865f38e6f171" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -107790,13 +107791,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", + "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, + "startLine": 103, "startColumn": 13, - "charOffset": 1588, + "charOffset": 2912, "charLength": 2, "snippet": { "text": "if" @@ -107804,12 +107805,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 101, "startColumn": 1, - "charOffset": 1561, - "charLength": 75, + "charOffset": 2854, + "charLength": 162, "snippet": { - "text": " }\n\n if (value is null)\n return null;\n" + "text": " return PlatformFamily.Linux;\n\n if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))\n return PlatformFamily.Windows;\n" } } }, @@ -107822,15 +107823,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "01bed548d467fd72e9b630ae7d6cdddbfe0cd59f0126ad0cc8be0ca95feb281a" + "equalIndicator/v1": "44f5a9f15f5d6b8772f042485e53e5e9d825118d233e56e42ca058bfd8bf9b20" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -107846,13 +107846,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", + "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 139, - "startColumn": 9, - "charOffset": 4145, + "startLine": 103, + "startColumn": 13, + "charOffset": 2912, "charLength": 2, "snippet": { "text": "if" @@ -107860,12 +107860,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 137, + "startLine": 101, "startColumn": 1, - "charOffset": 4072, - "charLength": 173, + "charOffset": 2854, + "charLength": 162, "snippet": { - "text": " if (ReferenceEquals(this, obj))\n return true;\n if (obj.GetType() != GetType())\n return false;\n return Equals((AbsolutePath) obj);" + "text": " return PlatformFamily.Linux;\n\n if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))\n return PlatformFamily.Windows;\n" } } }, @@ -107878,9 +107878,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "85be0da3db64c62462fa4730c329a413a1f05927e773274c01be2c7af8699eb0" + "equalIndicator/v1": "7e2d283d530537d309c79706f62859d3bcea7394cbd9d2cb877c982e26c29d87" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107902,13 +107901,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, - "startColumn": 13, - "charOffset": 1588, + "startLine": 197, + "startColumn": 9, + "charOffset": 9179, "charLength": 2, "snippet": { "text": "if" @@ -107916,27 +107915,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 195, "startColumn": 1, - "charOffset": 1561, - "charLength": 75, + "charOffset": 9069, + "charLength": 179, "snippet": { - "text": " }\n\n if (value is null)\n return null;\n" + "text": " {\n node = (MemberAccessExpressionSyntax) base.VisitMemberAccessExpression(node).NotNull();\n if (node.GetIdentifierName() != \"FullPath\")\n return node;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "835f70c1b92c626eb6cb6e3d5e40e53fcc68e566dc4e267958e318970dce37c1" + "equalIndicator/v1": "a3af2bc0cb0ab748e9d81ef2fa6848f8fc1baaf54e3822e685107dc567a90dac" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -107958,13 +107956,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/FormattingRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 139, + "startLine": 42, "startColumn": 9, - "charOffset": 4145, + "charOffset": 1684, "charLength": 2, "snippet": { "text": "if" @@ -107972,27 +107970,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 137, + "startLine": 40, "startColumn": 1, - "charOffset": 4072, - "charLength": 173, + "charOffset": 1591, + "charLength": 230, "snippet": { - "text": " if (ReferenceEquals(this, obj))\n return true;\n if (obj.GetType() != GetType())\n return false;\n return Equals((AbsolutePath) obj);" + "text": " return token.WithLeadingTrivia(LineFeed.Concat(Indent).Concat(Indent));\n\n if (identifierName.StartsWith(\"Set\"))\n return token.WithLeadingTrivia(LineFeed.Concat(Indent).Concat(Indent).Concat(Indent));\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2179d0057c3d9fe9c741c3cea0ec0fcd8e119870b4e75b3204f0464824b6dccb" + "equalIndicator/v1": "178932f4d4054ffef4c72e15f4b281d27c62a65b7dd5650f67213d78838639d0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108014,13 +108011,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultAttributeBase.cs", + "uri": "source/Nuke.GlobalTool/Program.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, - "startColumn": 13, - "charOffset": 691, + "startLine": 60, + "startColumn": 9, + "charOffset": 1701, "charLength": 2, "snippet": { "text": "if" @@ -108028,27 +108025,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 58, "startColumn": 1, - "charOffset": 618, - "charLength": 129, + "charOffset": 1657, + "charLength": 179, "snippet": { - "text": "\n var configuration = GetConfiguration(instance);\n if (configuration == null)\n return null;\n" + "text": " return parameterValue;\n\n if (EnvironmentInfo.GetNamedArgument(Constants.RootDirectoryParameterName))\n return EnvironmentInfo.WorkingDirectory;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e97fb6a19794967f5932a219a005c0a3aac70855006ba4ccbfe8066a3317d701" + "equalIndicator/v1": "29e164cfb8c5b68eacd482831b765ef3656a97d348fe9abb20d86158aea46e1f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108070,13 +108066,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", + "uri": "source/Nuke.Tooling.Generator/Model/IDeprecatable.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 103, - "startColumn": 13, - "charOffset": 2912, + "startLine": 33, + "startColumn": 9, + "charOffset": 818, "charLength": 2, "snippet": { "text": "if" @@ -108084,27 +108080,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 101, + "startLine": 31, "startColumn": 1, - "charOffset": 2854, - "charLength": 162, + "charOffset": 749, + "charLength": 193, "snippet": { - "text": " return PlatformFamily.Linux;\n\n if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))\n return PlatformFamily.Windows;\n" + "text": " {\n var message = deprecatable.DeprecationMessage;\n if (!string.IsNullOrEmpty(message))\n return message;\n return deprecatable.Parent?.GetDeprecationMessage();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7e2d283d530537d309c79706f62859d3bcea7394cbd9d2cb877c982e26c29d87" + "equalIndicator/v1": "3f95de911ee49862006bfe31c0221c4dc4ee9d4d0d3b8db7fd589ee93cde1ab7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108115,52 +108110,51 @@ } }, { - "ruleId": "ConvertIfStatementToReturnStatement", + "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", "kind": "fail", "level": "note", "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" + "text": "Some cases are not processed: default", + "markdown": "Some cases are not processed: default" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", + "uri": "source/Nuke.Common/Tools/Docker/DockerTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 103, - "startColumn": 13, - "charOffset": 2912, - "charLength": 2, + "startLine": 16, + "startColumn": 9, + "charOffset": 361, + "charLength": 6, "snippet": { - "text": "if" + "text": "switch" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 101, + "startLine": 14, "startColumn": 1, - "charOffset": 2854, - "charLength": 162, + "charOffset": 277, + "charLength": 140, "snippet": { - "text": " return PlatformFamily.Linux;\n\n if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))\n return PlatformFamily.Windows;\n" + "text": " internal static void CustomLogger(OutputType type, string output)\n {\n switch (type)\n {\n case OutputType.Std:" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "44f5a9f15f5d6b8772f042485e53e5e9d825118d233e56e42ca058bfd8bf9b20" + "equalIndicator/v1": "71a24868873c7203090f1d5b743e3f315dd4cba4a2f73540a0364d059e9da752" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108182,13 +108176,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Docker/DockerTasks.cs", + "uri": "source/Nuke.Common/Tools/Npm/NpmTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 14, "startColumn": 9, - "charOffset": 361, + "charOffset": 320, "charLength": 6, "snippet": { "text": "switch" @@ -108196,12 +108190,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 12, "startColumn": 1, - "charOffset": 277, - "charLength": 140, + "charOffset": 238, + "charLength": 138, "snippet": { - "text": " internal static void CustomLogger(OutputType type, string output)\n {\n switch (type)\n {\n case OutputType.Std:" + "text": " public static void CustomLogger(OutputType type, string output)\n {\n switch (type)\n {\n case OutputType.Std:" } } }, @@ -108214,9 +108208,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "71a24868873c7203090f1d5b743e3f315dd4cba4a2f73540a0364d059e9da752" + "equalIndicator/v1": "84a4452b7c97113345ac071c9a641389523c1d157844239c71f16cd890eed8bd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108242,9 +108235,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 49, "startColumn": 9, - "charOffset": 363, + "charOffset": 1595, "charLength": 6, "snippet": { "text": "switch" @@ -108252,12 +108245,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 47, "startColumn": 1, - "charOffset": 298, - "charLength": 145, + "charOffset": 1528, + "charLength": 147, "snippet": { - "text": " public static void DeletePassword(string name)\n {\n switch (EnvironmentInfo.Platform)\n {\n case PlatformFamily.OSX:" + "text": " public static string TryGetPassword(string name)\n {\n switch (EnvironmentInfo.Platform)\n {\n case PlatformFamily.OSX:" } } }, @@ -108270,9 +108263,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "3bbf1dea4c8ffc7b9a5301495f4ab819555cf32239a5c0e22784aad081214191" + "equalIndicator/v1": "96828da770a49ad9490a76dcd9388e764f2ecb53c9f143a981f11a5ed0c175e3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108328,7 +108320,6 @@ "partialFingerprints": { "equalIndicator/v1": "074c3c0bb92eb7ae5f8d64edb6495c79ce6a2e66d32abb5349963f58d22e1284" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108354,9 +108345,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, + "startLine": 16, "startColumn": 9, - "charOffset": 1595, + "charOffset": 363, "charLength": 6, "snippet": { "text": "switch" @@ -108364,12 +108355,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 14, "startColumn": 1, - "charOffset": 1528, - "charLength": 147, + "charOffset": 298, + "charLength": 145, "snippet": { - "text": " public static string TryGetPassword(string name)\n {\n switch (EnvironmentInfo.Platform)\n {\n case PlatformFamily.OSX:" + "text": " public static void DeletePassword(string name)\n {\n switch (EnvironmentInfo.Platform)\n {\n case PlatformFamily.OSX:" } } }, @@ -108382,9 +108373,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "96828da770a49ad9490a76dcd9388e764f2ecb53c9f143a981f11a5ed0c175e3" + "equalIndicator/v1": "3bbf1dea4c8ffc7b9a5301495f4ab819555cf32239a5c0e22784aad081214191" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108399,20 +108389,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Some cases are not processed: default", - "markdown": "Some cases are not processed: default" + "text": "Some values of the enum are not processed inside switch: None, Scheduled, Running", + "markdown": "Some values of the enum are not processed inside switch: None, Scheduled, Running" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Npm/NpmTasks.cs", + "uri": "source/Nuke.Build/Host.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 14, - "startColumn": 9, - "charOffset": 320, + "startLine": 136, + "startColumn": 13, + "charOffset": 4970, "charLength": 6, "snippet": { "text": "switch" @@ -108420,27 +108410,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 12, + "startLine": 134, "startColumn": 1, - "charOffset": 238, - "charLength": 138, + "charOffset": 4822, + "charLength": 230, "snippet": { - "text": " public static void CustomLogger(OutputType type, string output)\n {\n switch (type)\n {\n case OutputType.Std:" + "text": " {\n var line = CreateLine(target.Name, target.Status.ToString(), GetDurationOrBlank(target), GetInformation(target));\n switch (target.Status)\n {\n case ExecutionStatus.Skipped:" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "84a4452b7c97113345ac071c9a641389523c1d157844239c71f16cd890eed8bd" + "equalIndicator/v1": "40f15a4a31d8c71fbbdd2fd9598839b9f863955c27db16e09a54506a35033f24" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108451,55 +108440,109 @@ } }, { - "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", + "ruleId": "AutoPropertyCanBeMadeGetOnly.Local", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Some values of the enum are not processed inside switch: None, Scheduled, Running", - "markdown": "Some values of the enum are not processed inside switch: None, Scheduled, Running" + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Tooling/Process2.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 136, - "startColumn": 13, - "charOffset": 4970, - "charLength": 6, + "startLine": 32, + "startColumn": 54, + "charOffset": 957, + "charLength": 12, "snippet": { - "text": "switch" + "text": "private set;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 134, + "startLine": 30, "startColumn": 1, - "charOffset": 4822, - "charLength": 230, + "charOffset": 828, + "charLength": 190, "snippet": { - "text": " {\n var line = CreateLine(target.Name, target.Status.ToString(), GetDurationOrBlank(target), GetInformation(target));\n switch (target.Status)\n {\n case ExecutionStatus.Skipped:" + "text": " public string WorkingDirectory => _process.StartInfo.WorkingDirectory;\n\n public IReadOnlyCollection Output { get; private set; }\n\n public int ExitCode => _process.ExitCode;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "40f15a4a31d8c71fbbdd2fd9598839b9f863955c27db16e09a54506a35033f24" + "equalIndicator/v1": "2c7e7094d399385aba576e4b977a433d9f38a518a7ba7c40de749ce347c27c8b" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "AutoPropertyCanBeMadeGetOnly.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Process2.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 32, + "startColumn": 54, + "charOffset": 957, + "charLength": 12, + "snippet": { + "text": "private set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 30, + "startColumn": 1, + "charOffset": 828, + "charLength": 190, + "snippet": { + "text": " public string WorkingDirectory => _process.StartInfo.WorkingDirectory;\n\n public IReadOnlyCollection Output { get; private set; }\n\n public int ExitCode => _process.ExitCode;" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "40acf5ed34d19a2cafdbaf3ba87a73fd5bbc2614346731585af563ce3da46818" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -108522,9 +108565,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 35, - "charOffset": 872, + "startLine": 74, + "startColumn": 27, + "charOffset": 3039, "charLength": 28, "snippet": { "text": "as IHazNerdbankGitVersioning" @@ -108532,12 +108575,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 72, "startColumn": 1, - "charOffset": 703, - "charLength": 288, + "charOffset": 2879, + "charLength": 325, "snippet": { - "text": " .WhenNotNull(this as IHazGitVersion, (_, o) => _\n .AddPair(\"Version\", o.Versioning.NuGetVersionV2))\n .WhenNotNull(this as IHazNerdbankGitVersioning, (_, o) => _\n .AddPair(\"Version\", o.Versioning.NuGetPackageVersion)));\n" + "text": " .SetFileVersion(o.Versioning.AssemblySemFileVer)\n .SetInformationalVersion(o.Versioning.InformationalVersion))\n .WhenNotNull(this as IHazNerdbankGitVersioning, (_, o) => _\n .SetAssemblyVersion(o.Versioning.AssemblyVersion)\n .SetFileVersion(o.Versioning.AssemblyFileVersion)" } } }, @@ -108550,9 +108593,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "b7d6941089a5ab063f664da64fbf801607704e23fb1d39e358c4af2544aa423b" + "equalIndicator/v1": "87f9a1a4bedceede875ec0a423a0340df8bbb1d2354cd8f43a0f9cd2235b709a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -108608,7 +108650,6 @@ "partialFingerprints": { "equalIndicator/v1": "eba5d1ba66fb0ae796b4f2cef635cac57a823436a878b02db58bf6b9413a6411" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -108634,9 +108675,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 74, - "startColumn": 27, - "charOffset": 3039, + "startLine": 29, + "startColumn": 35, + "charOffset": 872, "charLength": 28, "snippet": { "text": "as IHazNerdbankGitVersioning" @@ -108644,12 +108685,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 72, + "startLine": 27, "startColumn": 1, - "charOffset": 2879, - "charLength": 325, + "charOffset": 703, + "charLength": 288, "snippet": { - "text": " .SetFileVersion(o.Versioning.AssemblySemFileVer)\n .SetInformationalVersion(o.Versioning.InformationalVersion))\n .WhenNotNull(this as IHazNerdbankGitVersioning, (_, o) => _\n .SetAssemblyVersion(o.Versioning.AssemblyVersion)\n .SetFileVersion(o.Versioning.AssemblyFileVersion)" + "text": " .WhenNotNull(this as IHazGitVersion, (_, o) => _\n .AddPair(\"Version\", o.Versioning.NuGetVersionV2))\n .WhenNotNull(this as IHazNerdbankGitVersioning, (_, o) => _\n .AddPair(\"Version\", o.Versioning.NuGetPackageVersion)));\n" } } }, @@ -108662,9 +108703,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "87f9a1a4bedceede875ec0a423a0340df8bbb1d2354cd8f43a0f9cd2235b709a" + "equalIndicator/v1": "b7d6941089a5ab063f664da64fbf801607704e23fb1d39e358c4af2544aa423b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -108720,7 +108760,6 @@ "partialFingerprints": { "equalIndicator/v1": "c5c9030b02992383bc67af47f1004d941257afcde485b55e67ca60b5e1004545" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -108731,55 +108770,54 @@ } }, { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Local", + "ruleId": "ConvertToConstant.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" + "text": "Convert into constant", + "markdown": "Convert into constant" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Process2.cs", + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 54, - "charOffset": 957, - "charLength": 12, + "startLine": 62, + "startColumn": 17, + "charOffset": 2298, + "charLength": 11, "snippet": { - "text": "private set;" + "text": "contentType" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 60, "startColumn": 1, - "charOffset": 828, - "charLength": 190, + "charOffset": 2231, + "charLength": 158, "snippet": { - "text": " public string WorkingDirectory => _process.StartInfo.WorkingDirectory;\n\n public IReadOnlyCollection Output { get; private set; }\n\n public int ExitCode => _process.ExitCode;" + "text": " using (SwitchSecurityProtocol())\n {\n var contentType = \"application/json\";\n var content = new\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "40acf5ed34d19a2cafdbaf3ba87a73fd5bbc2614346731585af563ce3da46818" + "equalIndicator/v1": "97d16bdb549f086a007bdeaeae2bae11dc59051672cfd16b0a370654a71fbf00" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NET 6.0" @@ -108787,58 +108825,57 @@ } }, { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Local", + "ruleId": "ConvertToConstant.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" + "text": "Convert into constant", + "markdown": "Convert into constant" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Process2.cs", + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 54, - "charOffset": 957, - "charLength": 12, + "startLine": 223, + "startColumn": 17, + "charOffset": 9352, + "charLength": 11, "snippet": { - "text": "private set;" + "text": "contentType" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 221, "startColumn": 1, - "charOffset": 828, - "charLength": 190, + "charOffset": 9285, + "charLength": 186, "snippet": { - "text": " public string WorkingDirectory => _process.StartInfo.WorkingDirectory;\n\n public IReadOnlyCollection Output { get; private set; }\n\n public int ExitCode => _process.ExitCode;" + "text": " StreamContent GetStreamContent()\n {\n var contentType = \"application/octet-stream\";\n using var content = new FileStream(artifactFile, FileMode.Open);\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2c7e7094d399385aba576e4b977a433d9f38a518a7ba7c40de749ce347c27c8b" + "equalIndicator/v1": "e34d33fd58707a454dd2b86ebf9b370758409078708bfc9ab43eeb770f8229f6" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -108888,7 +108925,6 @@ "partialFingerprints": { "equalIndicator/v1": "fc6f163fd1903f8fe2d34f446f6c5546485d2d9268d48b87e7a5d427495d197c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108910,41 +108946,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Build/Host.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 76, + "startLine": 102, "startColumn": 13, - "charOffset": 3074, - "charLength": 18, + "charOffset": 3158, + "charLength": 12, "snippet": { - "text": "completionFileName" + "text": "secondColumn" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 74, + "startLine": 100, "startColumn": 1, - "charOffset": 2977, - "charLength": 263, + "charOffset": 3045, + "charLength": 228, "snippet": { - "text": " internal static AbsolutePath GetCompletionFile(AbsolutePath rootDirectory)\n {\n var completionFileName = CompletionParameterName + \".yml\";\n return File.Exists(rootDirectory / completionFileName)\n ? rootDirectory / completionFileName" + "text": " {\n var firstColumn = Math.Max(build.ExecutionPlan.Max(x => x.Name.Length) + 4, val2: 19);\n var secondColumn = 10;\n var thirdColumn = 10;\n var allColumns = firstColumn + secondColumn + thirdColumn;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "93d4d7fd92af6c5298c2d67b2fb1d46f5c41663235e5dbb736a1af73a1fc8f94" + "equalIndicator/v1": "298d659575b50ef60ad1f53b07a5b1b1fa07d76a846c65cf3d0646f598dc8b02" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -108966,97 +109001,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Build/Host.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 76, + "startLine": 103, "startColumn": 13, - "charOffset": 3074, - "charLength": 18, - "snippet": { - "text": "completionFileName" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 2977, - "charLength": 263, - "snippet": { - "text": " internal static AbsolutePath GetCompletionFile(AbsolutePath rootDirectory)\n {\n var completionFileName = CompletionParameterName + \".yml\";\n return File.Exists(rootDirectory / completionFileName)\n ? rootDirectory / completionFileName" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Build.Shared", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3ed1067638dc0d1b71413ca19a76d44afe72824bff371a8cbcb75cc1b2e61df3" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 23, - "charOffset": 2017, + "charOffset": 3189, "charLength": 11, "snippet": { - "text": "Description" + "text": "thirdColumn" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 101, "startColumn": 1, - "charOffset": 1949, - "charLength": 202, + "charOffset": 3051, + "charLength": 325, "snippet": { - "text": " private class TestBuild : NukeBuild\n {\n public string Description = \"description\";\n public Action Action = () => { };\n public Expression> Requirement = () => true;" + "text": " var firstColumn = Math.Max(build.ExecutionPlan.Max(x => x.Name.Length) + 4, val2: 19);\n var secondColumn = 10;\n var thirdColumn = 10;\n var allColumns = firstColumn + secondColumn + thirdColumn;\n var totalDuration = build.ExecutionPlan.Aggregate(TimeSpan.Zero, (t, x) => t.Add(x.Duration));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "dbe8acac0fa5d695c37ea86f9d7f83ac89494eb47432c603b48c553fa136b66d" + "equalIndicator/v1": "205661186e169660c10c39b7ca8fa5ac4cb4519b4763a1f09d03d231c0ec0603" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -109078,41 +109056,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uri": "source/Nuke.Build.Tests/BuildExecutorTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 62, - "startColumn": 17, - "charOffset": 2298, - "charLength": 11, + "startLine": 124, + "startColumn": 13, + "charOffset": 3307, + "charLength": 9, "snippet": { - "text": "contentType" + "text": "condition" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 60, + "startLine": 122, "startColumn": 1, - "charOffset": 2231, - "charLength": 158, + "charOffset": 3240, + "charLength": 151, "snippet": { - "text": " using (SwitchSecurityProtocol())\n {\n var contentType = \"application/json\";\n var content = new\n {" + "text": " public void TestDynamicCondition_Unchanged()\n {\n var condition = false;\n B.DynamicConditions.Add((\"condition\", () => condition));\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "97d16bdb549f086a007bdeaeae2bae11dc59051672cfd16b0a370654a71fbf00" + "equalIndicator/v1": "69262de58d69d2d945915a4383c8629842f408f9e9e60cec7ea5250abaa3e09f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -109134,41 +109111,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uri": "source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 223, - "startColumn": 17, - "charOffset": 9352, + "startLine": 56, + "startColumn": 23, + "charOffset": 2017, "charLength": 11, "snippet": { - "text": "contentType" + "text": "Description" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 221, + "startLine": 54, "startColumn": 1, - "charOffset": 9285, - "charLength": 186, + "charOffset": 1949, + "charLength": 202, "snippet": { - "text": " StreamContent GetStreamContent()\n {\n var contentType = \"application/octet-stream\";\n using var content = new FileStream(artifactFile, FileMode.Open);\n" + "text": " private class TestBuild : NukeBuild\n {\n public string Description = \"description\";\n public Action Action = () => { };\n public Expression> Requirement = () => true;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e34d33fd58707a454dd2b86ebf9b370758409078708bfc9ab43eeb770f8229f6" + "equalIndicator/v1": "dbe8acac0fa5d695c37ea86f9d7f83ac89494eb47432c603b48c553fa136b66d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -109224,7 +109200,6 @@ "partialFingerprints": { "equalIndicator/v1": "44eac7fd2e48e5155ebfb5b4c29b781ba5e6c132e4be793c98d243f98c04e85a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -109246,41 +109221,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 102, + "startLine": 75, "startColumn": 13, - "charOffset": 3158, - "charLength": 12, + "charOffset": 3057, + "charLength": 18, "snippet": { - "text": "secondColumn" + "text": "completionFileName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 100, + "startLine": 73, "startColumn": 1, - "charOffset": 3045, - "charLength": 228, + "charOffset": 2960, + "charLength": 263, "snippet": { - "text": " {\n var firstColumn = Math.Max(build.ExecutionPlan.Max(x => x.Name.Length) + 4, val2: 19);\n var secondColumn = 10;\n var thirdColumn = 10;\n var allColumns = firstColumn + secondColumn + thirdColumn;" + "text": " internal static AbsolutePath GetCompletionFile(AbsolutePath rootDirectory)\n {\n var completionFileName = CompletionParameterName + \".yml\";\n return File.Exists(rootDirectory / completionFileName)\n ? rootDirectory / completionFileName" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "298d659575b50ef60ad1f53b07a5b1b1fa07d76a846c65cf3d0646f598dc8b02" + "equalIndicator/v1": "1e80d59b6c022442fa0d22d174a8cc8492e4c04168c21ca7a64894b525541c54" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -109302,100 +109276,98 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 103, + "startLine": 75, "startColumn": 13, - "charOffset": 3189, - "charLength": 11, + "charOffset": 3057, + "charLength": 18, "snippet": { - "text": "thirdColumn" + "text": "completionFileName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 101, + "startLine": 73, "startColumn": 1, - "charOffset": 3051, - "charLength": 325, + "charOffset": 2960, + "charLength": 263, "snippet": { - "text": " var firstColumn = Math.Max(build.ExecutionPlan.Max(x => x.Name.Length) + 4, val2: 19);\n var secondColumn = 10;\n var thirdColumn = 10;\n var allColumns = firstColumn + secondColumn + thirdColumn;\n var totalDuration = build.ExecutionPlan.Aggregate(TimeSpan.Zero, (t, x) => t.Add(x.Duration));" + "text": " internal static AbsolutePath GetCompletionFile(AbsolutePath rootDirectory)\n {\n var completionFileName = CompletionParameterName + \".yml\";\n return File.Exists(rootDirectory / completionFileName)\n ? rootDirectory / completionFileName" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "205661186e169660c10c39b7ca8fa5ac4cb4519b4763a1f09d03d231c0ec0603" + "equalIndicator/v1": "a70afdddb765ea0f4f5c47572a4979d80710cc4bc0893f19b6be14a826d5a7e9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "ConvertToConstant.Local", + "ruleId": "CSharpWarnings__CS0618", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" + "text": "CS0618: Method 'Nuke.Common.IO.FileSystemTasks.GetFileHash(string)' is obsolete: Use AbsolutePath.GetFileHash", + "markdown": "CS0618: Method 'Nuke.Common.IO.FileSystemTasks.GetFileHash(string)' is obsolete: Use AbsolutePath.GetFileHash" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/BuildExecutorTest.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/InvocationRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 124, - "startColumn": 13, - "charOffset": 3307, - "charLength": 9, + "startLine": 32, + "startColumn": 68, + "charOffset": 1650, + "charLength": 27, "snippet": { - "text": "condition" + "text": "FileSystemTasks.GetFileHash" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 122, + "startLine": 30, "startColumn": 1, - "charOffset": 3240, - "charLength": 151, + "charOffset": 1371, + "charLength": 321, "snippet": { - "text": " public void TestDynamicCondition_Unchanged()\n {\n var condition = false;\n B.DynamicConditions.Add((\"condition\", () => condition));\n" + "text": " new(original: \"CreateDirectory\", replacement: nameof(FileSystemTasks.EnsureExistingDirectory)),\n new(original: \"CleanDirectory\", replacement: nameof(FileSystemTasks.EnsureCleanDirectory)),\n new(original: \"CalculateFileHash\", replacement: nameof(FileSystemTasks.GetFileHash)),\n };\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "69262de58d69d2d945915a4383c8629842f408f9e9e60cec7ea5250abaa3e09f" + "equalIndicator/v1": "713cb864e4253a170ed55fe68e5ad3ec411229e07aae3c97aa5151da58cd3250" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -109403,55 +109375,54 @@ } }, { - "ruleId": "CSharpWarnings__CS0618", + "ruleId": "MergeConditionalExpression", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "CS0618: Method 'Nuke.Common.IO.FileSystemTasks.GetFileHash(string)' is obsolete: Use AbsolutePath.GetFileHash", - "markdown": "CS0618: Method 'Nuke.Common.IO.FileSystemTasks.GetFileHash(string)' is obsolete: Use AbsolutePath.GetFileHash" + "text": "Merge conditional expression", + "markdown": "Merge conditional expression" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/InvocationRewriter.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 68, - "charOffset": 1650, - "charLength": 27, + "startLine": 111, + "startColumn": 29, + "charOffset": 4254, + "charLength": 7, "snippet": { - "text": "FileSystemTasks.GetFileHash" + "text": "!= null" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 109, "startColumn": 1, - "charOffset": 1371, - "charLength": 321, + "charOffset": 4161, + "charLength": 208, "snippet": { - "text": " new(original: \"CreateDirectory\", replacement: nameof(FileSystemTasks.EnsureExistingDirectory)),\n new(original: \"CleanDirectory\", replacement: nameof(FileSystemTasks.EnsureCleanDirectory)),\n new(original: \"CalculateFileHash\", replacement: nameof(FileSystemTasks.GetFileHash)),\n };\n" + "text": " ? underlyingType\n : null;\n return enumType != null\n ? enumType.GetEnumNames().Select(x => (x, Enum.Parse(enumType, x)))\n : null;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "713cb864e4253a170ed55fe68e5ad3ec411229e07aae3c97aa5151da58cd3250" + "equalIndicator/v1": "55a9d074b2b355daf58e3abb99fba3b9b1534409cbefab499e3a5cd54b61b0b4" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NET 6.0" @@ -109504,7 +109475,6 @@ "partialFingerprints": { "equalIndicator/v1": "2b28b0ae2e68ca9fa47fefe79813974f6ac746d363bb0cfbc32810a12e6659fa" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -109515,55 +109485,54 @@ } }, { - "ruleId": "MergeConditionalExpression", + "ruleId": "ConditionIsAlwaysTrueOrFalse", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Merge conditional expression", - "markdown": "Merge conditional expression" + "text": "Expression is always true", + "markdown": "Expression is always true" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Conversion.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 111, - "startColumn": 29, - "charOffset": 4254, - "charLength": 7, + "startLine": 55, + "startColumn": 21, + "charOffset": 1804, + "charLength": 39, "snippet": { - "text": "!= null" + "text": "values.Count < 2 || elementType != null" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 109, + "startLine": 53, "startColumn": 1, - "charOffset": 4161, - "charLength": 208, + "charOffset": 1550, + "charLength": 370, "snippet": { - "text": " ? underlyingType\n : null;\n return enumType != null\n ? enumType.GetEnumNames().Select(x => (x, Enum.Parse(enumType, x)))\n : null;" + "text": " Assert.True(!destinationType.IsArray || destinationType.GetArrayRank() == 1, \"Arrays must have a rank of 1\");\n var elementType = (destinationType.IsArray ? destinationType.GetElementType() : destinationType).NotNull();\n Assert.True(values.Count < 2 || elementType != null, \"values.Count < 2 || elementType != null\");\n\n if (values.Count == 0)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "55a9d074b2b355daf58e3abb99fba3b9b1534409cbefab499e3a5cd54b61b0b4" + "equalIndicator/v1": "856a05d7ca339c82c9de1c8aca574afe1acecae4d02850ce312502a00072866b" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -109616,7 +109585,6 @@ "partialFingerprints": { "equalIndicator/v1": "5fe8628c8422499e346bdaaf7193c3a4f2b2a8c49d50f747ada3ca0395ce1091" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -109626,62 +109594,6 @@ ] } }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always true", - "markdown": "Expression is always true" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Conversion.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 21, - "charOffset": 1804, - "charLength": 39, - "snippet": { - "text": "values.Count < 2 || elementType != null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1550, - "charLength": 370, - "snippet": { - "text": " Assert.True(!destinationType.IsArray || destinationType.GetArrayRank() == 1, \"Arrays must have a rank of 1\");\n var elementType = (destinationType.IsArray ? destinationType.GetElementType() : destinationType).NotNull();\n Assert.True(values.Count < 2 || elementType != null, \"values.Count < 2 || elementType != null\");\n\n if (values.Count == 0)" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Utilities", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "856a05d7ca339c82c9de1c8aca574afe1acecae4d02850ce312502a00072866b" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, { "ruleId": "ConditionIsAlwaysTrueOrFalse", "kind": "fail", @@ -109728,7 +109640,6 @@ "partialFingerprints": { "equalIndicator/v1": "173899e1f17e99f5648b7ec488d096e41ce9625e82fd374117e6e4eebdf9719b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -109784,7 +109695,6 @@ "partialFingerprints": { "equalIndicator/v1": "d6c5a83181aaa6836d9f617a885ecb3107a90dd446f82fa6531bd06dbe3af387" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -109840,7 +109750,6 @@ "partialFingerprints": { "equalIndicator/v1": "3789faf7d423b2f07380fd3e7ecf5a3bc1be36c6966381a5eb990080ae1b869b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -109855,48 +109764,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Parameter can be of type 'Nuke.CodeGeneration.Model.DataClass'", - "markdown": "Parameter can be of type 'Nuke.CodeGeneration.Model.DataClass'" + "text": "Parameter can be of type 'System.Collections.Generic.IReadOnlyList'", + "markdown": "Parameter can be of type 'System.Collections.Generic.IReadOnlyList'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/WriterExtensions.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, - "startColumn": 57, - "charOffset": 2240, - "charLength": 13, + "startLine": 105, + "startColumn": 9, + "charOffset": 4684, + "charLength": 8, "snippet": { - "text": "SettingsClass" + "text": "string[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 103, "startColumn": 1, - "charOffset": 2177, - "charLength": 201, + "charOffset": 4578, + "charLength": 207, "snippet": { - "text": " }\n\n private static IEnumerable GetArgumentsList(SettingsClass settingsClass)\n {\n var properties = settingsClass.Properties.Where(x => !string.IsNullOrEmpty(x.Format)).ToList();" + "text": " private static IEnumerable GetPrimitiveProjects(\n Solution solution,\n string[] content,\n IReadOnlyDictionary> configurations)\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "688ad3ab9b41c2af264bcc6bd69dc1082106e007686c3b5335dbd8cda00a3e1c" + "equalIndicator/v1": "c5c64b52ded1905f015c15aeb2d5186f342c2f7259da0e0d912ef01e049db714" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -109950,15 +109858,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c5c64b52ded1905f015c15aeb2d5186f342c2f7259da0e0d912ef01e049db714" + "equalIndicator/v1": "50b07c5c0b7e9c2a24df1185834fe79fa19bd186badb7884f519a2a7eca12428" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -109967,54 +109874,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Parameter can be of type 'System.Collections.Generic.IReadOnlyList'", - "markdown": "Parameter can be of type 'System.Collections.Generic.IReadOnlyList'" + "text": "Parameter can be of type 'Nuke.CodeGeneration.Model.DataClass'", + "markdown": "Parameter can be of type 'Nuke.CodeGeneration.Model.DataClass'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/WriterExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 105, - "startColumn": 9, - "charOffset": 4684, - "charLength": 8, + "startLine": 59, + "startColumn": 57, + "charOffset": 2240, + "charLength": 13, "snippet": { - "text": "string[]" + "text": "SettingsClass" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 103, + "startLine": 57, "startColumn": 1, - "charOffset": 4578, - "charLength": 207, + "charOffset": 2177, + "charLength": 201, "snippet": { - "text": " private static IEnumerable GetPrimitiveProjects(\n Solution solution,\n string[] content,\n IReadOnlyDictionary> configurations)\n {" + "text": " }\n\n private static IEnumerable GetArgumentsList(SettingsClass settingsClass)\n {\n var properties = settingsClass.Properties.Where(x => !string.IsNullOrEmpty(x.Format)).ToList();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "50b07c5c0b7e9c2a24df1185834fe79fa19bd186badb7884f519a2a7eca12428" + "equalIndicator/v1": "688ad3ab9b41c2af264bcc6bd69dc1082106e007686c3b5335dbd8cda00a3e1c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -110064,7 +109970,6 @@ "partialFingerprints": { "equalIndicator/v1": "100ed13457a506919b610d3738d14ef3ffa5a00b4461ab40be497457d9daa0e0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110120,7 +110025,6 @@ "partialFingerprints": { "equalIndicator/v1": "6b5914311ff851f7d585fbc553b9e4fe3fc168b1d17bf777695adf21986a036b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110174,15 +110078,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "23fd100423cd0226c9b50203131ba1a8f6418b913cda02d66faa836371ccf476" + "equalIndicator/v1": "d6587e6cd359d17fa21b062d2af9e7baefff7a79e17940db61fe4dd2fc7f4e89" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -110230,15 +110133,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "d6587e6cd359d17fa21b062d2af9e7baefff7a79e17940db61fe4dd2fc7f4e89" + "equalIndicator/v1": "23fd100423cd0226c9b50203131ba1a8f6418b913cda02d66faa836371ccf476" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -110286,15 +110188,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "4f092278cb6fe6b3978ed7377854b699e846a3d1c78537274010f700dc3f9127" + "equalIndicator/v1": "22508b9f9bb595d1d6debfdb26bf66b06edc73775cf6d6ddf4049d63cdd481a1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -110342,15 +110243,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "22508b9f9bb595d1d6debfdb26bf66b06edc73775cf6d6ddf4049d63cdd481a1" + "equalIndicator/v1": "4f092278cb6fe6b3978ed7377854b699e846a3d1c78537274010f700dc3f9127" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -110400,7 +110300,6 @@ "partialFingerprints": { "equalIndicator/v1": "ff324207306bd13b6a28cd496473abebe4cb07017b16436a95234e1ec202a2a3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110456,7 +110355,6 @@ "partialFingerprints": { "equalIndicator/v1": "b6131163dc438c346857fb8b5f712ac6c41b5e5f57aac628f77953b2ab1b901b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110466,6 +110364,116 @@ ] } }, + { + "ruleId": "RedundantNameQualifier", + "kind": "fail", + "level": "warning", + "message": { + "text": "Qualifier is redundant", + "markdown": "Qualifier is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 22, + "startColumn": 6, + "charOffset": 558, + "charLength": 26, + "snippet": { + "text": "Microsoft.Build.Framework." + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 20, + "startColumn": 1, + "charOffset": 496, + "charLength": 144, + "snippet": { + "text": " public ITaskItem[] SpecificationFiles { get; set; }\n\n [Microsoft.Build.Framework.Required]\n public string BaseDirectory { get; set; }\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.MSBuildTasks", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b9adca6398c5ef0b41386b3f45c563cdae0f60a945e4576144545883d588888d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "RedundantNameQualifier", + "kind": "fail", + "level": "warning", + "message": { + "text": "Qualifier is redundant", + "markdown": "Qualifier is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 19, + "startColumn": 6, + "charOffset": 460, + "charLength": 26, + "snippet": { + "text": "Microsoft.Build.Framework." + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 17, + "startColumn": 1, + "charOffset": 402, + "charLength": 150, + "snippet": { + "text": "public class CodeGenerationTask : ContextAwareTask\n{\n [Microsoft.Build.Framework.Required]\n public ITaskItem[] SpecificationFiles { get; set; }\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.MSBuildTasks", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4b22205edc9c9789d700c0afb4b4512668ae509ceda81c187d4c8575ff0edb74" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, { "ruleId": "ConstantNullCoalescingCondition", "kind": "fail", @@ -110512,7 +110520,6 @@ "partialFingerprints": { "equalIndicator/v1": "482fdd335b8da4c5e674a87f56b8c650725da1ec8ddb1abacc20f2d0398e37aa" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -110568,7 +110575,6 @@ "partialFingerprints": { "equalIndicator/v1": "e3dc46ec11e9f648c1eb5ff5d3bfe0132a6e6b345f6ae25c941967405d01633c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110624,7 +110630,6 @@ "partialFingerprints": { "equalIndicator/v1": "d3c65fa1650033a63e55e3c65759cecb0ef8079f70f7ad7eb95e0df7962e200d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110646,41 +110651,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/LookupTable.cs", + "uri": "source/Nuke.Tooling/Enumeration.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 85, - "startColumn": 26, - "charOffset": 2238, - "charLength": 9, + "startLine": 67, + "startColumn": 33, + "charOffset": 1705, + "charLength": 11, "snippet": { - "text": "[NotNull]" + "text": "[CanBeNull]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 83, + "startLine": 65, "startColumn": 1, - "charOffset": 2206, - "charLength": 102, + "charOffset": 1666, + "charLength": 120, "snippet": { - "text": " }\n\n public bool Contains([NotNull] TKey key)\n {\n return _dictionary.ContainsKey(key);" + "text": " }\n\n public override bool Equals([CanBeNull] object obj)\n {\n if (ReferenceEquals(objA: null, objB: obj))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f4bb4dcdf07aeaa9a13a2a57b1a0a72e40d3372aa6c4a655d00f07b134e7f43b" + "equalIndicator/v1": "4368dbbd55b473465d8c4ccf6e4ddcf6e5377858931b65e2647138c9addb2f4a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110702,41 +110706,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/LookupTable.cs", + "uri": "source/Nuke.Tooling/Enumeration.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 85, - "startColumn": 26, - "charOffset": 2238, - "charLength": 9, + "startLine": 67, + "startColumn": 33, + "charOffset": 1705, + "charLength": 11, "snippet": { - "text": "[NotNull]" + "text": "[CanBeNull]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 83, + "startLine": 65, "startColumn": 1, - "charOffset": 2206, - "charLength": 102, + "charOffset": 1666, + "charLength": 120, "snippet": { - "text": " }\n\n public bool Contains([NotNull] TKey key)\n {\n return _dictionary.ContainsKey(key);" + "text": " }\n\n public override bool Equals([CanBeNull] object obj)\n {\n if (ReferenceEquals(objA: null, objB: obj))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f933f6adc770fc5447074a21cec93058251cad56d47d7f3459f29d5e14857020" + "equalIndicator/v1": "d5aaeaadd022e1af35707632fefe7faac7e26dfc6aacc3974ce3a175744a8279" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110758,13 +110761,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/ToolSerializer.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 55, - "startColumn": 56, - "charOffset": 1591, + "startLine": 343, + "startColumn": 36, + "charOffset": 14473, "charLength": 9, "snippet": { "text": "[NotNull]" @@ -110772,27 +110775,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 53, + "startLine": 341, "startColumn": 1, - "charOffset": 1476, - "charLength": 271, + "charOffset": 14423, + "charLength": 140, "snippet": { - "text": " {\n // ReSharper disable once CognitiveComplexity\n protected override JsonProperty CreateProperty([NotNull] MemberInfo member, MemberSerialization memberSerialization)\n {\n var property = base.CreateProperty(member, memberSerialization);" + "text": " }\n\n public int GetHashCode([NotNull] InstalledPackage obj)\n {\n return obj.Id.GetHashCode();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "425c2121447ee9c0028112783d9b7059c122e90915bb5de12b90d622e16c1e64" + "equalIndicator/v1": "4a3713b319737f9adf93f3547c1971d154358af3110acc0648de6a053cfc7aa3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110814,13 +110816,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 28, - "charOffset": 974, + "startLine": 330, + "startColumn": 32, + "charOffset": 13940, "charLength": 11, "snippet": { "text": "[CanBeNull]" @@ -110828,27 +110830,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 328, "startColumn": 1, - "charOffset": 936, - "charLength": 132, + "charOffset": 13846, + "charLength": 214, "snippet": { - "text": " }\n\n public bool Equals([CanBeNull] TSource x, [CanBeNull] TSource y)\n {\n if (ReferenceEquals(x, y))" + "text": " public static readonly Comparer Instance = new();\n\n public bool Equals([CanBeNull] InstalledPackage x, [CanBeNull] InstalledPackage y)\n {\n if (ReferenceEquals(x, y))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c3998bc98373bea4b53c81d0b859bc8a43e3a1884427e27e5d224b1d78460307" + "equalIndicator/v1": "3fb5223030516d7c07d957f4410e8c3bda87c83a48e97db54f93c1cef0fced8e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110870,13 +110871,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 51, - "charOffset": 997, + "startLine": 330, + "startColumn": 64, + "charOffset": 13972, "charLength": 11, "snippet": { "text": "[CanBeNull]" @@ -110884,27 +110885,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 328, "startColumn": 1, - "charOffset": 936, - "charLength": 132, + "charOffset": 13846, + "charLength": 214, "snippet": { - "text": " }\n\n public bool Equals([CanBeNull] TSource x, [CanBeNull] TSource y)\n {\n if (ReferenceEquals(x, y))" + "text": " public static readonly Comparer Instance = new();\n\n public bool Equals([CanBeNull] InstalledPackage x, [CanBeNull] InstalledPackage y)\n {\n if (ReferenceEquals(x, y))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0a342e29d322c25ec703abd6efd832dbec6ce713b5675f3394132608729427c5" + "equalIndicator/v1": "8ff727eb2638fc7ad4b27e44cb40beb38a4af0a2c77995f3fa297eae525ff70f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -110926,47 +110926,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, + "startLine": 330, "startColumn": 32, - "charOffset": 1425, - "charLength": 9, + "charOffset": 13940, + "charLength": 11, "snippet": { - "text": "[NotNull]" + "text": "[CanBeNull]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 328, "startColumn": 1, - "charOffset": 1383, - "charLength": 123, + "charOffset": 13846, + "charLength": 214, "snippet": { - "text": " }\n\n public int GetHashCode([NotNull] TSource obj)\n {\n return _selector(obj).GetHashCode();" + "text": " public static readonly Comparer Instance = new();\n\n public bool Equals([CanBeNull] InstalledPackage x, [CanBeNull] InstalledPackage y)\n {\n if (ReferenceEquals(x, y))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2da58104c8cfd10b941f27ce2427ce5d8eb05cb893bddf0bc72c32a2d5244118" + "equalIndicator/v1": "e4ab4919b2ba4c4b1798e3c766b79d9a66170fe79d754cc538b886a6e5ac4039" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -110982,41 +110981,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, - "startColumn": 32, - "charOffset": 1425, - "charLength": 9, + "startLine": 330, + "startColumn": 64, + "charOffset": 13972, + "charLength": 11, "snippet": { - "text": "[NotNull]" + "text": "[CanBeNull]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 328, "startColumn": 1, - "charOffset": 1383, - "charLength": 123, + "charOffset": 13846, + "charLength": 214, "snippet": { - "text": " }\n\n public int GetHashCode([NotNull] TSource obj)\n {\n return _selector(obj).GetHashCode();" + "text": " public static readonly Comparer Instance = new();\n\n public bool Equals([CanBeNull] InstalledPackage x, [CanBeNull] InstalledPackage y)\n {\n if (ReferenceEquals(x, y))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ba6bb561c3c8414957bda82ce022e2c95d28f77c2347be1c90d5b0d3e3cf724a" + "equalIndicator/v1": "e2aafa9823b1173300a55525a793fed2ae20bedd0bf27f7553da5626b7587fd4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111038,41 +111036,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 28, - "charOffset": 974, - "charLength": 11, + "startLine": 343, + "startColumn": 36, + "charOffset": 14473, + "charLength": 9, "snippet": { - "text": "[CanBeNull]" + "text": "[NotNull]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 341, "startColumn": 1, - "charOffset": 936, - "charLength": 132, + "charOffset": 14423, + "charLength": 140, "snippet": { - "text": " }\n\n public bool Equals([CanBeNull] TSource x, [CanBeNull] TSource y)\n {\n if (ReferenceEquals(x, y))" + "text": " }\n\n public int GetHashCode([NotNull] InstalledPackage obj)\n {\n return obj.Id.GetHashCode();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "69fc7122835290203db463770e43db048f97250b95cde5fef6be3f5d9b6166fc" + "equalIndicator/v1": "6125cc25e9037559aead4b3f2f162ef5f82e8fae5fa8ab7d3da95591d90f15c6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111094,13 +111091,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Build/ParameterAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 51, - "charOffset": 997, + "startLine": 58, + "startColumn": 5, + "charOffset": 1719, "charLength": 11, "snippet": { "text": "[CanBeNull]" @@ -111108,27 +111105,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 56, "startColumn": 1, - "charOffset": 936, - "charLength": 132, + "charOffset": 1662, + "charLength": 146, "snippet": { - "text": " }\n\n public bool Equals([CanBeNull] TSource x, [CanBeNull] TSource y)\n {\n if (ReferenceEquals(x, y))" + "text": " public string ValueProviderMember { get; set; }\n\n [CanBeNull]\n public override object GetValue(MemberInfo member, object instance)\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6398f44d025f58727919fa09f1048ad180ff14abbd5445492148052017dd0fca" + "equalIndicator/v1": "ab76e57f1b4ddfe72359a60a7081fda1e40f8b58caa9037deea81fdb4d059d7a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111150,13 +111146,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 330, - "startColumn": 32, - "charOffset": 13940, + "startLine": 31, + "startColumn": 28, + "charOffset": 974, "charLength": 11, "snippet": { "text": "[CanBeNull]" @@ -111164,27 +111160,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 328, + "startLine": 29, "startColumn": 1, - "charOffset": 13846, - "charLength": 214, + "charOffset": 936, + "charLength": 132, "snippet": { - "text": " public static readonly Comparer Instance = new();\n\n public bool Equals([CanBeNull] InstalledPackage x, [CanBeNull] InstalledPackage y)\n {\n if (ReferenceEquals(x, y))" + "text": " }\n\n public bool Equals([CanBeNull] TSource x, [CanBeNull] TSource y)\n {\n if (ReferenceEquals(x, y))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e4ab4919b2ba4c4b1798e3c766b79d9a66170fe79d754cc538b886a6e5ac4039" + "equalIndicator/v1": "69fc7122835290203db463770e43db048f97250b95cde5fef6be3f5d9b6166fc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111206,13 +111201,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 330, - "startColumn": 64, - "charOffset": 13972, + "startLine": 31, + "startColumn": 51, + "charOffset": 997, "charLength": 11, "snippet": { "text": "[CanBeNull]" @@ -111220,27 +111215,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 328, + "startLine": 29, "startColumn": 1, - "charOffset": 13846, - "charLength": 214, + "charOffset": 936, + "charLength": 132, "snippet": { - "text": " public static readonly Comparer Instance = new();\n\n public bool Equals([CanBeNull] InstalledPackage x, [CanBeNull] InstalledPackage y)\n {\n if (ReferenceEquals(x, y))" + "text": " }\n\n public bool Equals([CanBeNull] TSource x, [CanBeNull] TSource y)\n {\n if (ReferenceEquals(x, y))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e2aafa9823b1173300a55525a793fed2ae20bedd0bf27f7553da5626b7587fd4" + "equalIndicator/v1": "6398f44d025f58727919fa09f1048ad180ff14abbd5445492148052017dd0fca" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111262,13 +111256,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 343, - "startColumn": 36, - "charOffset": 14473, + "startLine": 44, + "startColumn": 32, + "charOffset": 1425, "charLength": 9, "snippet": { "text": "[NotNull]" @@ -111276,27 +111270,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 341, + "startLine": 42, "startColumn": 1, - "charOffset": 14423, - "charLength": 140, + "charOffset": 1383, + "charLength": 123, "snippet": { - "text": " }\n\n public int GetHashCode([NotNull] InstalledPackage obj)\n {\n return obj.Id.GetHashCode();" + "text": " }\n\n public int GetHashCode([NotNull] TSource obj)\n {\n return _selector(obj).GetHashCode();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6125cc25e9037559aead4b3f2f162ef5f82e8fae5fa8ab7d3da95591d90f15c6" + "equalIndicator/v1": "ba6bb561c3c8414957bda82ce022e2c95d28f77c2347be1c90d5b0d3e3cf724a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111318,13 +111311,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 343, - "startColumn": 36, - "charOffset": 14473, + "startLine": 44, + "startColumn": 32, + "charOffset": 1425, "charLength": 9, "snippet": { "text": "[NotNull]" @@ -111332,27 +111325,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 341, + "startLine": 42, "startColumn": 1, - "charOffset": 14423, - "charLength": 140, + "charOffset": 1383, + "charLength": 123, "snippet": { - "text": " }\n\n public int GetHashCode([NotNull] InstalledPackage obj)\n {\n return obj.Id.GetHashCode();" + "text": " }\n\n public int GetHashCode([NotNull] TSource obj)\n {\n return _selector(obj).GetHashCode();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4a3713b319737f9adf93f3547c1971d154358af3110acc0648de6a053cfc7aa3" + "equalIndicator/v1": "2da58104c8cfd10b941f27ce2427ce5d8eb05cb893bddf0bc72c32a2d5244118" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111374,13 +111366,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 330, - "startColumn": 32, - "charOffset": 13940, + "startLine": 31, + "startColumn": 28, + "charOffset": 974, "charLength": 11, "snippet": { "text": "[CanBeNull]" @@ -111388,27 +111380,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 328, + "startLine": 29, "startColumn": 1, - "charOffset": 13846, - "charLength": 214, + "charOffset": 936, + "charLength": 132, "snippet": { - "text": " public static readonly Comparer Instance = new();\n\n public bool Equals([CanBeNull] InstalledPackage x, [CanBeNull] InstalledPackage y)\n {\n if (ReferenceEquals(x, y))" + "text": " }\n\n public bool Equals([CanBeNull] TSource x, [CanBeNull] TSource y)\n {\n if (ReferenceEquals(x, y))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3fb5223030516d7c07d957f4410e8c3bda87c83a48e97db54f93c1cef0fced8e" + "equalIndicator/v1": "c3998bc98373bea4b53c81d0b859bc8a43e3a1884427e27e5d224b1d78460307" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111430,13 +111421,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 330, - "startColumn": 64, - "charOffset": 13972, + "startLine": 31, + "startColumn": 51, + "charOffset": 997, "charLength": 11, "snippet": { "text": "[CanBeNull]" @@ -111444,27 +111435,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 328, + "startLine": 29, "startColumn": 1, - "charOffset": 13846, - "charLength": 214, + "charOffset": 936, + "charLength": 132, "snippet": { - "text": " public static readonly Comparer Instance = new();\n\n public bool Equals([CanBeNull] InstalledPackage x, [CanBeNull] InstalledPackage y)\n {\n if (ReferenceEquals(x, y))" + "text": " }\n\n public bool Equals([CanBeNull] TSource x, [CanBeNull] TSource y)\n {\n if (ReferenceEquals(x, y))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8ff727eb2638fc7ad4b27e44cb40beb38a4af0a2c77995f3fa297eae525ff70f" + "equalIndicator/v1": "0a342e29d322c25ec703abd6efd832dbec6ce713b5675f3394132608729427c5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111486,41 +111476,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/ParameterAttribute.cs", + "uri": "source/Nuke.Utilities/Collections/LookupTable.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 58, - "startColumn": 5, - "charOffset": 1719, - "charLength": 11, + "startLine": 85, + "startColumn": 26, + "charOffset": 2238, + "charLength": 9, "snippet": { - "text": "[CanBeNull]" + "text": "[NotNull]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 56, + "startLine": 83, "startColumn": 1, - "charOffset": 1662, - "charLength": 146, + "charOffset": 2206, + "charLength": 102, "snippet": { - "text": " public string ValueProviderMember { get; set; }\n\n [CanBeNull]\n public override object GetValue(MemberInfo member, object instance)\n {" + "text": " }\n\n public bool Contains([NotNull] TKey key)\n {\n return _dictionary.ContainsKey(key);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ab76e57f1b4ddfe72359a60a7081fda1e40f8b58caa9037deea81fdb4d059d7a" + "equalIndicator/v1": "f933f6adc770fc5447074a21cec93058251cad56d47d7f3459f29d5e14857020" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111542,47 +111531,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", + "uri": "source/Nuke.Utilities/Collections/LookupTable.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, - "startColumn": 33, - "charOffset": 1705, - "charLength": 11, + "startLine": 85, + "startColumn": 26, + "charOffset": 2238, + "charLength": 9, "snippet": { - "text": "[CanBeNull]" + "text": "[NotNull]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 83, "startColumn": 1, - "charOffset": 1666, - "charLength": 120, + "charOffset": 2206, + "charLength": 102, "snippet": { - "text": " }\n\n public override bool Equals([CanBeNull] object obj)\n {\n if (ReferenceEquals(objA: null, objB: obj))" + "text": " }\n\n public bool Contains([NotNull] TKey key)\n {\n return _dictionary.ContainsKey(key);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d5aaeaadd022e1af35707632fefe7faac7e26dfc6aacc3974ce3a175744a8279" + "equalIndicator/v1": "f4bb4dcdf07aeaa9a13a2a57b1a0a72e40d3372aa6c4a655d00f07b134e7f43b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -111598,41 +111586,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", + "uri": "source/Nuke.Tooling.Generator/Model/DataClass.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, - "startColumn": 33, - "charOffset": 1705, - "charLength": 11, + "startLine": 62, + "startColumn": 5, + "charOffset": 1700, + "charLength": 9, "snippet": { - "text": "[CanBeNull]" + "text": "[NotNull]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 60, "startColumn": 1, - "charOffset": 1666, - "charLength": 120, + "charOffset": 1660, + "charLength": 116, "snippet": { - "text": " }\n\n public override bool Equals([CanBeNull] object obj)\n {\n if (ReferenceEquals(objA: null, objB: obj))" + "text": " public Task Task { get; set; }\n\n [NotNull]\n [JsonIgnore]\n public override IDeprecatable Parent => Task;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4368dbbd55b473465d8c4ccf6e4ddcf6e5377858931b65e2647138c9addb2f4a" + "equalIndicator/v1": "a5b40cf1960b6fbd227d93faffe160f80dafcac6387e4461f942c0e9d0d298a1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111688,7 +111675,6 @@ "partialFingerprints": { "equalIndicator/v1": "a7b7f79a1acbbc521cbd699bb1976141d29ef796313d673c4471877e7322ccef" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111710,13 +111696,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Model/DataClass.cs", + "uri": "source/Nuke.Tooling.Generator/ToolSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 62, - "startColumn": 5, - "charOffset": 1700, + "startLine": 55, + "startColumn": 56, + "charOffset": 1591, "charLength": 9, "snippet": { "text": "[NotNull]" @@ -111724,12 +111710,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 60, + "startLine": 53, "startColumn": 1, - "charOffset": 1660, - "charLength": 116, + "charOffset": 1476, + "charLength": 271, "snippet": { - "text": " public Task Task { get; set; }\n\n [NotNull]\n [JsonIgnore]\n public override IDeprecatable Parent => Task;" + "text": " {\n // ReSharper disable once CognitiveComplexity\n protected override JsonProperty CreateProperty([NotNull] MemberInfo member, MemberSerialization memberSerialization)\n {\n var property = base.CreateProperty(member, memberSerialization);" } } }, @@ -111742,9 +111728,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a5b40cf1960b6fbd227d93faffe160f80dafcac6387e4461f942c0e9d0d298a1" + "equalIndicator/v1": "425c2121447ee9c0028112783d9b7059c122e90915bb5de12b90d622e16c1e64" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111800,7 +111785,6 @@ "partialFingerprints": { "equalIndicator/v1": "15de6c412057016956129539e51e56ecf9f83d57186af2699a243eff488dd6c7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -111856,7 +111840,6 @@ "partialFingerprints": { "equalIndicator/v1": "6d48121efa7bb486b1db4889c4b99b2006154ebfe825dd5fbbd2c37e5488fae4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -111866,6 +111849,61 @@ ] } }, + { + "ruleId": "TailRecursiveCall", + "kind": "fail", + "level": "note", + "message": { + "text": "Tail recursive call can be replaced with loop", + "markdown": "Tail recursive call can be replaced with loop" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling.Generator/Model/IDeprecatable.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 35, + "startColumn": 37, + "charOffset": 918, + "charLength": 21, + "snippet": { + "text": "GetDeprecationMessage" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 33, + "startColumn": 1, + "charOffset": 810, + "charLength": 140, + "snippet": { + "text": " if (!string.IsNullOrEmpty(message))\n return message;\n return deprecatable.Parent?.GetDeprecationMessage();\n }\n}" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling.Generator", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "abe76a88a969a1fc44051902f721554fa6be41b1317c542ac86c40b2782692db" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, { "ruleId": "TailRecursiveCall", "kind": "fail", @@ -111912,7 +111950,6 @@ "partialFingerprints": { "equalIndicator/v1": "2288de512dfdb611da8c867aba5b0cfdb2b77aa723d8561b3af03b6f6afa15f3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111968,7 +112005,6 @@ "partialFingerprints": { "equalIndicator/v1": "c2ba7dad9a51d8978e186ad7858274a20bce80af5ae9b4932ea61bf8c3bec46f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -111979,58 +112015,57 @@ } }, { - "ruleId": "TailRecursiveCall", + "ruleId": "RedundantUsingDirective", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Tail recursive call can be replaced with loop", - "markdown": "Tail recursive call can be replaced with loop" + "text": "Using directive is not required by the code and can be safely removed", + "markdown": "Using directive is not required by the code and can be safely removed" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Model/IDeprecatable.cs", + "uri": "source/Nuke.Common/Tools/GitVersion/GitVersionTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 35, - "startColumn": 37, - "charOffset": 918, + "startLine": 9, + "startColumn": 1, + "charOffset": 221, "charLength": 21, "snippet": { - "text": "GetDeprecationMessage" + "text": "using Nuke.Common.IO;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 33, + "startLine": 7, "startColumn": 1, - "charOffset": 810, - "charLength": 140, + "charOffset": 169, + "charLength": 129, "snippet": { - "text": " if (!string.IsNullOrEmpty(message))\n return message;\n return deprecatable.Parent?.GetDeprecationMessage();\n }\n}" + "text": "using JetBrains.Annotations;\nusing Newtonsoft.Json;\nusing Nuke.Common.IO;\nusing Nuke.Common.Tooling;\nusing Nuke.Common.Utilities;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "abe76a88a969a1fc44051902f721554fa6be41b1317c542ac86c40b2782692db" + "equalIndicator/v1": "64659fa9d30802e7294056ef336b2fa90a690a8c3d4d017d47a5375748d6e68e" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -112080,7 +112115,6 @@ "partialFingerprints": { "equalIndicator/v1": "e78bbdc95cf8577c3eff69ddf128ee92cbf267880a52cbca1487f7d353748a6d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112102,47 +112136,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/Solution.cs", + "uri": "source/Nuke.Common/Tools/VSWhere/VSWhereTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, + "startLine": 8, "startColumn": 1, - "charOffset": 292, - "charLength": 28, + "charOffset": 203, + "charLength": 21, "snippet": { - "text": "using Nuke.Common.Utilities;" + "text": "using Nuke.Common.IO;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 6, "startColumn": 1, - "charOffset": 241, - "charLength": 121, + "charOffset": 150, + "charLength": 130, "snippet": { - "text": "using JetBrains.Annotations;\nusing Nuke.Common.IO;\nusing Nuke.Common.Utilities;\nusing Nuke.Common.Utilities.Collections;\n" + "text": "using System.Collections.Generic;\nusing System.Linq;\nusing Nuke.Common.IO;\nusing Nuke.Common.Tooling;\nusing Nuke.Common.Utilities;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1197c37b986c7928beb60195b59d4ac3751f258fe4f98ebf74f7e4e0499837b0" + "equalIndicator/v1": "2981769ea6fdbdbf6d5a8720bceede9cfd93001bbf4c4aba550cd22d9326e735" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -112190,15 +112223,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ac0119a31bfcaaecaf9b07e7accf4e95d93554c1ec498b59994d950cd2feef9a" + "equalIndicator/v1": "1197c37b986c7928beb60195b59d4ac3751f258fe4f98ebf74f7e4e0499837b0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -112214,41 +112246,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/VSWhere/VSWhereTasks.cs", + "uri": "source/Nuke.SolutionModel/Solution.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 8, + "startLine": 11, "startColumn": 1, - "charOffset": 203, - "charLength": 21, + "charOffset": 292, + "charLength": 28, "snippet": { - "text": "using Nuke.Common.IO;" + "text": "using Nuke.Common.Utilities;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 6, + "startLine": 9, "startColumn": 1, - "charOffset": 150, - "charLength": 130, + "charOffset": 241, + "charLength": 121, "snippet": { - "text": "using System.Collections.Generic;\nusing System.Linq;\nusing Nuke.Common.IO;\nusing Nuke.Common.Tooling;\nusing Nuke.Common.Utilities;" + "text": "using JetBrains.Annotations;\nusing Nuke.Common.IO;\nusing Nuke.Common.Utilities;\nusing Nuke.Common.Utilities.Collections;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2981769ea6fdbdbf6d5a8720bceede9cfd93001bbf4c4aba550cd22d9326e735" + "equalIndicator/v1": "ac0119a31bfcaaecaf9b07e7accf4e95d93554c1ec498b59994d950cd2feef9a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112304,7 +112335,6 @@ "partialFingerprints": { "equalIndicator/v1": "909afd5f7d200251e15c09e6176d0497550f6d0389fc39c014ea8b02ade1cea2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112326,41 +112356,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/Text/SerializationTest.cs", + "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 6, + "startLine": 10, "startColumn": 1, - "charOffset": 150, - "charLength": 33, + "charOffset": 257, + "charLength": 38, "snippet": { - "text": "using System.Collections.Generic;" + "text": "using System.Runtime.CompilerServices;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 4, + "startLine": 8, "startColumn": 1, - "charOffset": 135, - "charLength": 91, + "charOffset": 213, + "charLength": 139, "snippet": { - "text": "\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing FluentAssertions;" + "text": "using System.Linq;\nusing System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Text.Encodings.Web;\nusing System.Text.Json;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2917a76cf33b2967d56452d1aaefb2b094c55abf23c6b9395025b2fe5b7a9dd0" + "equalIndicator/v1": "bad7a089fe112b173547394814e17853d370d1a207838ece125118c8b9d4c999" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112382,41 +112411,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/Text/SerializationTest.cs", + "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 9, + "startLine": 25, "startColumn": 1, - "charOffset": 227, - "charLength": 28, + "charOffset": 683, + "charLength": 40, "snippet": { - "text": "using JetBrains.Annotations;" + "text": "using Nuke.Common.Utilities.Collections;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 7, + "startLine": 23, "startColumn": 1, - "charOffset": 184, - "charLength": 122, + "charOffset": 627, + "charLength": 149, "snippet": { - "text": "using System.Linq;\nusing FluentAssertions;\nusing JetBrains.Annotations;\nusing Nuke.Common.IO;\nusing Nuke.Common.Utilities;" + "text": "using Nuke.Common.Tooling;\nusing Nuke.Common.Utilities;\nusing Nuke.Common.Utilities.Collections;\nusing Nuke.Common.ValueInjection;\nusing VerifyXunit;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "dfbe3fb7bdb984c020d0622a5c12a5d3956243eecb3df4348e18c9a39aaea78b" + "equalIndicator/v1": "19965853c2fedd24ddac108c048d63e1f543a4a4659c63cd7be8241850c8f284" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112438,26 +112466,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/Text/SerializationTest.cs", + "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 10, + "startLine": 9, "startColumn": 1, - "charOffset": 256, - "charLength": 21, + "charOffset": 211, + "charLength": 18, "snippet": { - "text": "using Nuke.Common.IO;" + "text": "using Nuke.Common;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 8, + "startLine": 7, "startColumn": 1, - "charOffset": 203, - "charLength": 135, + "charOffset": 167, + "charLength": 110, "snippet": { - "text": "using FluentAssertions;\nusing JetBrains.Annotations;\nusing Nuke.Common.IO;\nusing Nuke.Common.Utilities;\nusing Nuke.Utilities.Text.Yaml;" + "text": "using System.Linq;\nusing System.Reflection;\nusing Nuke.Common;\nusing Nuke.Common.IO;\nusing Xunit.Abstractions;" } } }, @@ -112470,9 +112498,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "af1cb8b92b186f29775375ab6fdaf7499c06f088d8815ab8937c80e5e116f0d6" + "equalIndicator/v1": "2807e50d1c9b8881f7c4499a74f14bc25b6b59b37e67e9f291654454f53a6571" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112494,26 +112521,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", + "uri": "source/Nuke.Utilities.Tests/Text/SerializationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 9, + "startLine": 6, "startColumn": 1, - "charOffset": 211, - "charLength": 18, + "charOffset": 150, + "charLength": 33, "snippet": { - "text": "using Nuke.Common;" + "text": "using System.Collections.Generic;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 7, + "startLine": 4, "startColumn": 1, - "charOffset": 167, - "charLength": 110, + "charOffset": 135, + "charLength": 91, "snippet": { - "text": "using System.Linq;\nusing System.Reflection;\nusing Nuke.Common;\nusing Nuke.Common.IO;\nusing Xunit.Abstractions;" + "text": "\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing FluentAssertions;" } } }, @@ -112526,9 +112553,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "2807e50d1c9b8881f7c4499a74f14bc25b6b59b37e67e9f291654454f53a6571" + "equalIndicator/v1": "2917a76cf33b2967d56452d1aaefb2b094c55abf23c6b9395025b2fe5b7a9dd0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112550,41 +112576,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/GitVersion/GitVersionTasks.cs", + "uri": "source/Nuke.Utilities.Tests/Text/SerializationTest.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 9, "startColumn": 1, - "charOffset": 221, - "charLength": 21, + "charOffset": 227, + "charLength": 28, "snippet": { - "text": "using Nuke.Common.IO;" + "text": "using JetBrains.Annotations;" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 7, "startColumn": 1, - "charOffset": 169, - "charLength": 129, + "charOffset": 184, + "charLength": 122, "snippet": { - "text": "using JetBrains.Annotations;\nusing Newtonsoft.Json;\nusing Nuke.Common.IO;\nusing Nuke.Common.Tooling;\nusing Nuke.Common.Utilities;" + "text": "using System.Linq;\nusing FluentAssertions;\nusing JetBrains.Annotations;\nusing Nuke.Common.IO;\nusing Nuke.Common.Utilities;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "64659fa9d30802e7294056ef336b2fa90a690a8c3d4d017d47a5375748d6e68e" + "equalIndicator/v1": "dfbe3fb7bdb984c020d0622a5c12a5d3956243eecb3df4348e18c9a39aaea78b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112595,52 +112620,51 @@ } }, { - "ruleId": "AssignNullToNotNullAttribute", + "ruleId": "RedundantUsingDirective", "kind": "fail", "level": "warning", "message": { - "text": "Possible 'null' assignment to non-nullable entity", - "markdown": "Possible 'null' assignment to non-nullable entity" + "text": "Using directive is not required by the code and can be safely removed", + "markdown": "Using directive is not required by the code and can be safely removed" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/IO/FileSystemTasks.cs", + "uri": "source/Nuke.Utilities.Tests/Text/SerializationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 81, - "startColumn": 35, - "charOffset": 3104, - "charLength": 9, + "startLine": 10, + "startColumn": 1, + "charOffset": 256, + "charLength": 21, "snippet": { - "text": "directory" + "text": "using Nuke.Common.IO;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 79, + "startLine": 8, "startColumn": 1, - "charOffset": 2996, - "charLength": 126, + "charOffset": 203, + "charLength": 135, "snippet": { - "text": "\n Log.Information(\"Creating directory {Directory}...\", directory);\n Directory.CreateDirectory(directory);\n }\n" + "text": "using FluentAssertions;\nusing JetBrains.Annotations;\nusing Nuke.Common.IO;\nusing Nuke.Common.Utilities;\nusing Nuke.Utilities.Text.Yaml;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7f8cd9cedad6a982f2e8037cdd8cc55405fe172acba8f05507fbdfb4e2e24c5a" + "equalIndicator/v1": "af1cb8b92b186f29775375ab6fdaf7499c06f088d8815ab8937c80e5e116f0d6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112662,47 +112686,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/IO/FileSystemTasks.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 224, - "startColumn": 27, - "charOffset": 8853, - "charLength": 6, + "startLine": 356, + "startColumn": 51, + "charOffset": 14848, + "charLength": 27, "snippet": { - "text": "target" + "text": "Path.GetDirectoryName(file)" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 222, + "startLine": 354, "startColumn": 1, - "charOffset": 8793, - "charLength": 75, + "charOffset": 14731, + "charLength": 282, "snippet": { - "text": " File.Delete(target);\n\n File.Move(source, target);\n }\n" + "text": " _metadata = new Lazy(() =>\n {\n var directory = new DirectoryInfo(Path.GetDirectoryName(file));\n return directory.GetFiles(\"*.nuspec\").Length == 1\n ? new PackageFolderReader(directory).NuspecReader" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7dc8215759c5faedebeb874cb2de421805c0d30321dd841fc3cbfe161ecaa84e" + "equalIndicator/v1": "da3203df8459bef6708828eb505e4ca483cbf143cf1cbd995f0d76b5b1caf7ca" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -112718,41 +112741,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/IO/FileSystemTasks.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 255, - "startColumn": 36, - "charOffset": 10055, - "charLength": 6, + "startLine": 356, + "startColumn": 51, + "charOffset": 14848, + "charLength": 27, "snippet": { - "text": "target" + "text": "Path.GetDirectoryName(file)" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 253, + "startLine": 354, "startColumn": 1, - "charOffset": 9971, - "charLength": 115, + "charOffset": 14731, + "charLength": 282, "snippet": { - "text": " if (!Directory.Exists(target))\n {\n Directory.Move(source, target);\n }\n else" + "text": " _metadata = new Lazy(() =>\n {\n var directory = new DirectoryInfo(Path.GetDirectoryName(file));\n return directory.GetFiles(\"*.nuspec\").Length == 1\n ? new PackageFolderReader(directory).NuspecReader" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "aa7ecb318350f942ba5381fe1f324dbaa4f5f35a573d20a7c64d7123b985283c" + "equalIndicator/v1": "79927d8ae36f35cb98305c5d0fac72a68488e15f8b891f60c9ed846a6a552de0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112774,41 +112796,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/IO/FileSystemTasks.cs", + "uri": "source/Nuke.Tooling/ToolPathResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 318, - "startColumn": 35, - "charOffset": 12818, - "charLength": 6, + "startLine": 41, + "startColumn": 21, + "charOffset": 1285, + "charLength": 165, "snippet": { - "text": "target" + "text": "Path.GetExtension(pathExecutable).IsNullOrEmpty() && EnvironmentInfo.IsWin\n ? $\"{pathExecutable}.exe\"\n : pathExecutable" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 316, + "startLine": 39, "startColumn": 1, - "charOffset": 12698, - "charLength": 201, + "charOffset": 1173, + "charLength": 408, "snippet": { - "text": " => Path.Combine(target, PathConstruction.GetRelativePath(source, path));\n\n Directory.CreateDirectory(target);\n foreach (var sourceFile in Directory.GetFiles(source))\n {" + "text": " string GetExecutableFullPath(string path)\n => Path.Combine(path,\n Path.GetExtension(pathExecutable).IsNullOrEmpty() && EnvironmentInfo.IsWin\n ? $\"{pathExecutable}.exe\"\n : pathExecutable);\n\n var environmentVariable = Environment.GetEnvironmentVariable(\"PATH\").NotNullOrEmpty(\"PATH variable not available\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6ef4a1d80b2d2211967fde476f1241a787562a7f929564e2ee90439f22963156" + "equalIndicator/v1": "1d0099e1bab9d0856c232277cc76c31e062fac781ced2300d7c3d0d6876e34a2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112830,26 +112851,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/Bamboo/Bamboo.cs", + "uri": "source/Nuke.Common/Attributes/HandleSingleFileExecutionAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 54, - "charOffset": 1554, - "charLength": 52, + "startLine": 64, + "startColumn": 43, + "charOffset": 2444, + "charLength": 11, "snippet": { - "text": "EnvironmentInfo.GetVariable(\"bamboo_buildTimeStamp\")" + "text": "file.Parent" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 62, "startColumn": 1, - "charOffset": 1318, - "charLength": 484, + "charOffset": 2328, + "charLength": 201, "snippet": { - "text": " public string BuildResultsKey => EnvironmentInfo.GetVariable(\"bamboo_buildResultKey\");\n public string BuildResultsUrl => EnvironmentInfo.GetVariable(\"bamboo_buildResultsUrl\");\n public DateTime BuildTimeStamp => DateTime.Parse(EnvironmentInfo.GetVariable(\"bamboo_buildTimeStamp\"));\n public string BuildWorkingDirectory => EnvironmentInfo.GetVariable(\"bamboo_build_working_directory\");\n public bool BuildFailed => EnvironmentInfo.GetVariable(\"bamboo_buildFailed\");" + "text": " {\n var file = packageFile.Parent / entry.Name;\n Directory.CreateDirectory(file.Parent);\n\n using var entryStream = zipFile.GetInputStream(entry);" } } }, @@ -112862,9 +112883,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a728f3e849ccfcd913e48ec44bd41510f382a3bb259638220bab9fb2baa5b801" + "equalIndicator/v1": "25ee0c88397c74644712de07db03839a78cc588be00f5619ee03cdbca98b4dce" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112886,41 +112906,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.Hash.cs", + "uri": "source/Nuke.Common/CI/Bamboo/Bamboo.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 69, - "startColumn": 38, - "charOffset": 2429, - "charLength": 8, + "startLine": 38, + "startColumn": 54, + "charOffset": 1533, + "charLength": 52, "snippet": { - "text": "md5.Hash" + "text": "EnvironmentInfo.GetVariable(\"bamboo_buildTimeStamp\")" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 67, + "startLine": 36, "startColumn": 1, - "charOffset": 2314, - "charLength": 160, + "charOffset": 1297, + "charLength": 484, "snippet": { - "text": " md5.TransformFinalBlock(new byte[0], inputOffset: 0, inputCount: 0);\n\n return BitConverter.ToString(md5.Hash).Replace(\"-\", \"\").ToLower();\n }\n}" + "text": " public string BuildResultsKey => EnvironmentInfo.GetVariable(\"bamboo_buildResultKey\");\n public string BuildResultsUrl => EnvironmentInfo.GetVariable(\"bamboo_buildResultsUrl\");\n public DateTime BuildTimeStamp => DateTime.Parse(EnvironmentInfo.GetVariable(\"bamboo_buildTimeStamp\"));\n public string BuildWorkingDirectory => EnvironmentInfo.GetVariable(\"bamboo_build_working_directory\");\n public bool BuildFailed => EnvironmentInfo.GetVariable(\"bamboo_buildFailed\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "bf7f02c93ea5decc01ee79658ef067d4b90e0decc77e4f9373f28a15dd2f831f" + "equalIndicator/v1": "c70b438f41d698f119561260335e4d2647e54051e93bafddffa1de131992b2ad" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112942,26 +112961,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/FileWatcher.cs", + "uri": "source/Nuke.Common/IO/FileSystemTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, - "startColumn": 43, - "charOffset": 1148, - "charLength": 23, + "startLine": 81, + "startColumn": 35, + "charOffset": 3104, + "charLength": 9, "snippet": { - "text": "Path.GetFileName(_file)" + "text": "directory" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 79, "startColumn": 1, - "charOffset": 989, - "charLength": 345, + "charOffset": 2996, + "charLength": 126, "snippet": { - "text": " _fileSystemWatcher = new FileSystemWatcher(Path.GetPathRoot(_file).NotNull())\n {\n Filter = Path.GetFileName(_file),\n EnableRaisingEvents = true,\n NotifyFilter = NotifyFilters.CreationTime | NotifyFilters.LastWrite" + "text": "\n Log.Information(\"Creating directory {Directory}...\", directory);\n Directory.CreateDirectory(directory);\n }\n" } } }, @@ -112974,9 +112993,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "0f1e8a9a3cb812435214405e10063480ac11c92a8d20faf578a0a9301abcc424" + "equalIndicator/v1": "7f8cd9cedad6a982f2e8037cdd8cc55405fe172acba8f05507fbdfb4e2e24c5a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -112998,47 +113016,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Dictionary.ToGeneric.cs", + "uri": "source/Nuke.Common/IO/FileSystemTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, - "startColumn": 35, - "charOffset": 704, - "charLength": 21, + "startLine": 224, + "startColumn": 27, + "charOffset": 8853, + "charLength": 6, "snippet": { - "text": "(TKey) enumerator.Key" + "text": "target" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 222, "startColumn": 1, - "charOffset": 622, - "charLength": 143, + "charOffset": 8793, + "charLength": 75, "snippet": { - "text": " while (enumerator.MoveNext())\n {\n genericDictionary.Add((TKey) enumerator.Key, (TValue) enumerator.Value);\n }\n" + "text": " File.Delete(target);\n\n File.Move(source, target);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6591dfce3ed315fcd9a5a314613b2d5da739101f0d4dd7a342698437cb14a0f4" + "equalIndicator/v1": "7dc8215759c5faedebeb874cb2de421805c0d30321dd841fc3cbfe161ecaa84e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -113054,41 +113071,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Dictionary.ToGeneric.cs", + "uri": "source/Nuke.Common/IO/FileSystemTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, - "startColumn": 35, - "charOffset": 704, - "charLength": 21, + "startLine": 255, + "startColumn": 36, + "charOffset": 10055, + "charLength": 6, "snippet": { - "text": "(TKey) enumerator.Key" + "text": "target" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 253, "startColumn": 1, - "charOffset": 622, - "charLength": 143, + "charOffset": 9971, + "charLength": 115, "snippet": { - "text": " while (enumerator.MoveNext())\n {\n genericDictionary.Add((TKey) enumerator.Key, (TValue) enumerator.Value);\n }\n" + "text": " if (!Directory.Exists(target))\n {\n Directory.Move(source, target);\n }\n else" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2beb9b1f7ce58fb82ec0c4d3ca78ab3cf2d6286fd87aefaafdfa0f00ca2e4354" + "equalIndicator/v1": "aa7ecb318350f942ba5381fe1f324dbaa4f5f35a573d20a7c64d7123b985283c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113110,41 +113126,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.Create.cs", + "uri": "source/Nuke.Common/IO/FileSystemTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 45, - "startColumn": 32, - "charOffset": 1175, - "charLength": 4, + "startLine": 318, + "startColumn": 35, + "charOffset": 12818, + "charLength": 6, "snippet": { - "text": "path" + "text": "target" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 43, + "startLine": 316, "startColumn": 1, - "charOffset": 1111, - "charLength": 143, + "charOffset": 12698, + "charLength": 201, "snippet": { - "text": "\n if (!File.Exists(path))\n File.WriteAllBytes(path, new byte[0]);\n\n File.SetLastWriteTime(path, time ?? DateTime.Now);" + "text": " => Path.Combine(target, PathConstruction.GetRelativePath(source, path));\n\n Directory.CreateDirectory(target);\n foreach (var sourceFile in Directory.GetFiles(source))\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "17e1bcd93b849eb8f40a45e202dcd655becee89c201387df2083db43bfb4910a" + "equalIndicator/v1": "6ef4a1d80b2d2211967fde476f1241a787562a7f929564e2ee90439f22963156" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113166,41 +113181,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs", + "uri": "source/Nuke.Common/Tools/ReSharper/ReSharperTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, - "startColumn": 69, - "charOffset": 1032, - "charLength": 37, + "startLine": 41, + "startColumn": 86, + "charOffset": 1539, + "charLength": 46, "snippet": { - "text": "variableDeclarator.Initializer?.Value" + "text": "Path.GetFileName(toolSettings.ProcessToolPath)" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 39, "startColumn": 1, - "charOffset": 753, - "charLength": 406, + "charOffset": 1383, + "charLength": 212, "snippet": { - "text": " var variableDeclarator = reducedFieldDeclaration.GetSingleDeclarator();\n return SyntaxFactory.PropertyDeclaration(SyntaxFactory.ParseTypeName(nameof(AbsolutePath)), variableDeclarator.Identifier)\n .WithExpressionBody(SyntaxFactory.ArrowExpressionClause(variableDeclarator.Initializer?.Value))\n .WithSemicolonToken(node.SemicolonToken)\n .WithTriviaFrom(node);" + "text": " Path.Combine(shadowDirectory, $\"{x.Plugin}.nupkg\")));\n\n toolSettings = toolSettings.SetProcessToolPath(Path.Combine(shadowDirectory, Path.GetFileName(toolSettings.ProcessToolPath)));\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a7af0dc56595e2a71981c9beda15dd079ecb438d2d5bee585e78b8013c0d7697" + "equalIndicator/v1": "280287b424600fd06cb0a1e1b07e398588d8b96bba59b4c5485d94ba889ea27f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113222,41 +113236,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/FileWatcher.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 169, - "startColumn": 25, - "charOffset": 8084, - "charLength": 16, + "startLine": 36, + "startColumn": 43, + "charOffset": 1148, + "charLength": 23, "snippet": { - "text": "expressionSyntax" + "text": "Path.GetFileName(_file)" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 167, + "startLine": 34, "startColumn": 1, - "charOffset": 7937, - "charLength": 316, + "charOffset": 989, + "charLength": 345, "snippet": { - "text": " SyntaxFactory.MemberAccessExpression(\n SyntaxKind.SimpleMemberAccessExpression,\n expressionSyntax,\n SyntaxFactory.IdentifierName(\"ForEach\")))\n .WithArguments(SyntaxFactory.IdentifierName(\"EnsureCleanDirectory\"));" + "text": " _fileSystemWatcher = new FileSystemWatcher(Path.GetPathRoot(_file).NotNull())\n {\n Filter = Path.GetFileName(_file),\n EnableRaisingEvents = true,\n NotifyFilter = NotifyFilters.CreationTime | NotifyFilters.LastWrite" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e093a89d90a811c0de5b55be58866d7fc416bd81a8dc684a042659d21e36cba6" + "equalIndicator/v1": "0f1e8a9a3cb812435214405e10063480ac11c92a8d20faf578a0a9301abcc424" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113312,7 +113325,6 @@ "partialFingerprints": { "equalIndicator/v1": "d7e680a49e0410b3dad77ab36370a8baf55f882ff415f7ae1022355effa1ce7d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113368,7 +113380,6 @@ "partialFingerprints": { "equalIndicator/v1": "63b8488a040db07410f4a36010e95633ec8fcfe8a1625693bbac075c157dd771" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113424,7 +113435,6 @@ "partialFingerprints": { "equalIndicator/v1": "4955f3e22670ec6a3cf5597d6c2ea4c02c0ce6254b36232339cead30645415e9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113480,7 +113490,6 @@ "partialFingerprints": { "equalIndicator/v1": "dbc7a8380a7f875427280e13fd4d11c45d2d084decf7eda04b2c488cc1a66d52" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113536,7 +113545,6 @@ "partialFingerprints": { "equalIndicator/v1": "c4f2933b3edb03c4d2ead51fc40a72e8ffec718150f032cae564760b07b38225" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113558,41 +113566,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities/Collections/Dictionary.ToGeneric.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 356, - "startColumn": 51, - "charOffset": 14848, - "charLength": 27, + "startLine": 21, + "startColumn": 35, + "charOffset": 704, + "charLength": 21, "snippet": { - "text": "Path.GetDirectoryName(file)" + "text": "(TKey) enumerator.Key" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 354, + "startLine": 19, "startColumn": 1, - "charOffset": 14731, - "charLength": 282, + "charOffset": 622, + "charLength": 143, "snippet": { - "text": " _metadata = new Lazy(() =>\n {\n var directory = new DirectoryInfo(Path.GetDirectoryName(file));\n return directory.GetFiles(\"*.nuspec\").Length == 1\n ? new PackageFolderReader(directory).NuspecReader" + "text": " while (enumerator.MoveNext())\n {\n genericDictionary.Add((TKey) enumerator.Key, (TValue) enumerator.Value);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "79927d8ae36f35cb98305c5d0fac72a68488e15f8b891f60c9ed846a6a552de0" + "equalIndicator/v1": "2beb9b1f7ce58fb82ec0c4d3ca78ab3cf2d6286fd87aefaafdfa0f00ca2e4354" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113614,41 +113621,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities/Collections/Dictionary.ToGeneric.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 356, - "startColumn": 51, - "charOffset": 14848, - "charLength": 27, + "startLine": 21, + "startColumn": 35, + "charOffset": 704, + "charLength": 21, "snippet": { - "text": "Path.GetDirectoryName(file)" + "text": "(TKey) enumerator.Key" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 354, + "startLine": 19, "startColumn": 1, - "charOffset": 14731, - "charLength": 282, + "charOffset": 622, + "charLength": 143, "snippet": { - "text": " _metadata = new Lazy(() =>\n {\n var directory = new DirectoryInfo(Path.GetDirectoryName(file));\n return directory.GetFiles(\"*.nuspec\").Length == 1\n ? new PackageFolderReader(directory).NuspecReader" + "text": " while (enumerator.MoveNext())\n {\n genericDictionary.Add((TKey) enumerator.Key, (TValue) enumerator.Value);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "da3203df8459bef6708828eb505e4ca483cbf143cf1cbd995f0d76b5b1caf7ca" + "equalIndicator/v1": "6591dfce3ed315fcd9a5a314613b2d5da739101f0d4dd7a342698437cb14a0f4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113670,41 +113676,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/ReSharper/ReSharperTasks.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.Create.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, - "startColumn": 86, - "charOffset": 1539, - "charLength": 46, + "startLine": 45, + "startColumn": 32, + "charOffset": 1175, + "charLength": 4, "snippet": { - "text": "Path.GetFileName(toolSettings.ProcessToolPath)" + "text": "path" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 43, "startColumn": 1, - "charOffset": 1383, - "charLength": 212, + "charOffset": 1111, + "charLength": 143, "snippet": { - "text": " Path.Combine(shadowDirectory, $\"{x.Plugin}.nupkg\")));\n\n toolSettings = toolSettings.SetProcessToolPath(Path.Combine(shadowDirectory, Path.GetFileName(toolSettings.ProcessToolPath)));\n }\n" + "text": "\n if (!File.Exists(path))\n File.WriteAllBytes(path, new byte[0]);\n\n File.SetLastWriteTime(path, time ?? DateTime.Now);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "280287b424600fd06cb0a1e1b07e398588d8b96bba59b4c5485d94ba889ea27f" + "equalIndicator/v1": "17e1bcd93b849eb8f40a45e202dcd655becee89c201387df2083db43bfb4910a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113726,41 +113731,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ToolPathResolver.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.Hash.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, - "startColumn": 21, - "charOffset": 1285, - "charLength": 165, + "startLine": 69, + "startColumn": 38, + "charOffset": 2429, + "charLength": 8, "snippet": { - "text": "Path.GetExtension(pathExecutable).IsNullOrEmpty() && EnvironmentInfo.IsWin\n ? $\"{pathExecutable}.exe\"\n : pathExecutable" + "text": "md5.Hash" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 67, "startColumn": 1, - "charOffset": 1173, - "charLength": 408, + "charOffset": 2314, + "charLength": 160, "snippet": { - "text": " string GetExecutableFullPath(string path)\n => Path.Combine(path,\n Path.GetExtension(pathExecutable).IsNullOrEmpty() && EnvironmentInfo.IsWin\n ? $\"{pathExecutable}.exe\"\n : pathExecutable);\n\n var environmentVariable = Environment.GetEnvironmentVariable(\"PATH\").NotNullOrEmpty(\"PATH variable not available\");" + "text": " md5.TransformFinalBlock(new byte[0], inputOffset: 0, inputCount: 0);\n\n return BitConverter.ToString(md5.Hash).Replace(\"-\", \"\").ToLower();\n }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1d0099e1bab9d0856c232277cc76c31e062fac781ced2300d7c3d0d6876e34a2" + "equalIndicator/v1": "bf7f02c93ea5decc01ee79658ef067d4b90e0decc77e4f9373f28a15dd2f831f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113782,47 +113786,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 54, - "startColumn": 37, - "charOffset": 2328, - "charLength": 16, + "startLine": 27, + "startColumn": 69, + "charOffset": 1032, + "charLength": 37, "snippet": { - "text": "classDeclaration" + "text": "variableDeclarator.Initializer?.Value" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 52, + "startLine": 25, "startColumn": 1, - "charOffset": 2038, - "charLength": 358, + "charOffset": 753, + "charLength": 406, "snippet": { - "text": " .AddMembers(member.ContainingType.ContainingNamespace.Equals(compilation.GlobalNamespace, SymbolEqualityComparer.Default)\n ? NamespaceDeclaration(IdentifierName(member.ContainingType.ContainingNamespace.GetFullName()))\n .AddMembers(classDeclaration)\n : classDeclaration);\n }" + "text": " var variableDeclarator = reducedFieldDeclaration.GetSingleDeclarator();\n return SyntaxFactory.PropertyDeclaration(SyntaxFactory.ParseTypeName(nameof(AbsolutePath)), variableDeclarator.Identifier)\n .WithExpressionBody(SyntaxFactory.ArrowExpressionClause(variableDeclarator.Initializer?.Value))\n .WithSemicolonToken(node.SemicolonToken)\n .WithTriviaFrom(node);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SourceGenerators", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "22418937b70d0934b6cd357adddc226e47c1b4eacc54cd38c6f9ac921a63a853" + "equalIndicator/v1": "a7af0dc56595e2a71981c9beda15dd079ecb438d2d5bee585e78b8013c0d7697" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -113838,41 +113841,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Attributes/HandleSingleFileExecutionAttribute.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 64, - "startColumn": 43, - "charOffset": 2444, - "charLength": 11, + "startLine": 169, + "startColumn": 25, + "charOffset": 8084, + "charLength": 16, "snippet": { - "text": "file.Parent" + "text": "expressionSyntax" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 62, + "startLine": 167, "startColumn": 1, - "charOffset": 2328, - "charLength": 201, + "charOffset": 7937, + "charLength": 316, "snippet": { - "text": " {\n var file = packageFile.Parent / entry.Name;\n Directory.CreateDirectory(file.Parent);\n\n using var entryStream = zipFile.GetInputStream(entry);" + "text": " SyntaxFactory.MemberAccessExpression(\n SyntaxKind.SimpleMemberAccessExpression,\n expressionSyntax,\n SyntaxFactory.IdentifierName(\"ForEach\")))\n .WithArguments(SyntaxFactory.IdentifierName(\"EnsureCleanDirectory\"));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "25ee0c88397c74644712de07db03839a78cc588be00f5619ee03cdbca98b4dce" + "equalIndicator/v1": "e093a89d90a811c0de5b55be58866d7fc416bd81a8dc684a042659d21e36cba6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -113882,6 +113884,61 @@ ] } }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 54, + "startColumn": 37, + "charOffset": 2328, + "charLength": 16, + "snippet": { + "text": "classDeclaration" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 52, + "startColumn": 1, + "charOffset": 2038, + "charLength": 358, + "snippet": { + "text": " .AddMembers(member.ContainingType.ContainingNamespace.Equals(compilation.GlobalNamespace, SymbolEqualityComparer.Default)\n ? NamespaceDeclaration(IdentifierName(member.ContainingType.ContainingNamespace.GetFullName()))\n .AddMembers(classDeclaration)\n : classDeclaration);\n }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.SourceGenerators", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "22418937b70d0934b6cd357adddc226e47c1b4eacc54cd38c6f9ac921a63a853" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, { "ruleId": "SimplifyLinqExpressionUseMinByAndMaxBy", "kind": "fail", @@ -113928,7 +113985,6 @@ "partialFingerprints": { "equalIndicator/v1": "7528d48e9de91ab460fb64fc69481e97e31cab106f58c4e66333027470e25971" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -113943,20 +113999,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" + "text": "Use object initializer", + "markdown": "Use object initializer" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/WriterExtensions.cs", + "uri": "source/Nuke.Build/Utilities/SchemaUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 30, - "startColumn": 26, - "charOffset": 956, + "startLine": 58, + "startColumn": 28, + "charOffset": 2261, "charLength": 3, "snippet": { "text": "new" @@ -113964,33 +114020,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 28, + "startLine": 56, "startColumn": 1, - "charOffset": 892, - "charLength": 204, + "charOffset": 2178, + "charLength": 183, "snippet": { - "text": " where T : IWriterWrapper\n {\n var paragraphs = new List();\n paragraphs.Add(tool.Help.Paragraph());\n paragraphs.Add(GetOfficialUrlText(tool.OfficialUrl).Paragraph());" + "text": " foreach (var parameter in parameters)\n {\n var property = new Dictionary();\n property[\"type\"] = GetJsonType(parameter.MemberType);\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "bf145f0f0345e881f38bd5afc968a0190926af5499c5f12fbe6e6ceb84a62174" + "equalIndicator/v1": "57becbddc4d838b1b133bc5a41e565cee1ae9b397c93feea53fad02272aeea75" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -113999,20 +114054,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" + "text": "Use object initializer", + "markdown": "Use object initializer" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/WriterExtensions.cs", + "uri": "source/Nuke.Build/Utilities/SchemaUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 26, - "charOffset": 1302, + "startLine": 72, + "startColumn": 29, + "charOffset": 2854, "charLength": 3, "snippet": { "text": "new" @@ -114020,33 +114075,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 70, "startColumn": 1, - "charOffset": 1238, + "charOffset": 2755, "charLength": 249, "snippet": { - "text": " where T : IWriterWrapper\n {\n var paragraphs = new List();\n paragraphs.Add((task.Help ?? task.Tool.Help).Paragraph());\n paragraphs.Add(GetOfficialUrlText(task.OfficialUrl ?? task.Tool.OfficialUrl).Paragraph());" + "text": " if (parameter.MemberType.IsCollectionLike())\n {\n var items = new Dictionary();\n items[\"type\"] = GetJsonType(parameter.ScalarType);\n if (parameter.EnumValues != null)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fd2acd03bf904f773e0e4e98149b681def8c0051aa0e80f6a2dd698d0c3fa6f3" + "equalIndicator/v1": "dfd390877068816f0a1f69c7ffce26dfea2ea5ba1db180e7a9469ae054214bc2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -114055,20 +114109,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" + "text": "Use object initializer", + "markdown": "Use object initializer" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/WriterExtensions.cs", + "uri": "source/Nuke.GlobalTool/Program.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 48, - "startColumn": 21, - "charOffset": 1688, + "startLine": 108, + "startColumn": 13, + "charOffset": 4008, "charLength": 3, "snippet": { "text": "new" @@ -114076,33 +114130,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 46, + "startLine": 106, "startColumn": 1, - "charOffset": 1629, - "charLength": 310, + "charOffset": 3966, + "charLength": 125, "snippet": { - "text": " where T : IWriterWrapper\n {\n var lines = new List();\n lines.Add((\"This is a \"\n + \"CLI wrapper with fluent API that allows to modify the following arguments:\").Paragraph());" + "text": " {\n var startInfo =\n new ProcessStartInfo\n {\n FileName = EnvironmentInfo.IsWin" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "74f420aeda0e366e0d6ea86b9e0ec26924acdbefe56a2f3e79e507d18d9ae40c" + "equalIndicator/v1": "bbfbd121d6477fbc3da403a616d0554c1f7132cfc768afee67a57e55b74b6576" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -114111,20 +114164,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" + "text": "Use collection initializer", + "markdown": "Use collection initializer" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/WriterExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 108, - "startColumn": 13, - "charOffset": 4008, + "startLine": 30, + "startColumn": 26, + "charOffset": 956, "charLength": 3, "snippet": { "text": "new" @@ -114132,33 +114185,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 106, + "startLine": 28, "startColumn": 1, - "charOffset": 3966, - "charLength": 125, + "charOffset": 892, + "charLength": 204, "snippet": { - "text": " {\n var startInfo =\n new ProcessStartInfo\n {\n FileName = EnvironmentInfo.IsWin" + "text": " where T : IWriterWrapper\n {\n var paragraphs = new List();\n paragraphs.Add(tool.Help.Paragraph());\n paragraphs.Add(GetOfficialUrlText(tool.OfficialUrl).Paragraph());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "bbfbd121d6477fbc3da403a616d0554c1f7132cfc768afee67a57e55b74b6576" + "equalIndicator/v1": "bf145f0f0345e881f38bd5afc968a0190926af5499c5f12fbe6e6ceb84a62174" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -114167,20 +114219,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" + "text": "Use collection initializer", + "markdown": "Use collection initializer" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/SchemaUtility.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/WriterExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 58, - "startColumn": 28, - "charOffset": 2261, + "startLine": 39, + "startColumn": 26, + "charOffset": 1302, "charLength": 3, "snippet": { "text": "new" @@ -114188,33 +114240,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 56, + "startLine": 37, "startColumn": 1, - "charOffset": 2178, - "charLength": 183, + "charOffset": 1238, + "charLength": 249, "snippet": { - "text": " foreach (var parameter in parameters)\n {\n var property = new Dictionary();\n property[\"type\"] = GetJsonType(parameter.MemberType);\n" + "text": " where T : IWriterWrapper\n {\n var paragraphs = new List();\n paragraphs.Add((task.Help ?? task.Tool.Help).Paragraph());\n paragraphs.Add(GetOfficialUrlText(task.OfficialUrl ?? task.Tool.OfficialUrl).Paragraph());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "57becbddc4d838b1b133bc5a41e565cee1ae9b397c93feea53fad02272aeea75" + "equalIndicator/v1": "fd2acd03bf904f773e0e4e98149b681def8c0051aa0e80f6a2dd698d0c3fa6f3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -114223,20 +114274,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" + "text": "Use collection initializer", + "markdown": "Use collection initializer" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/SchemaUtility.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/WriterExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 72, - "startColumn": 29, - "charOffset": 2854, + "startLine": 48, + "startColumn": 21, + "charOffset": 1688, "charLength": 3, "snippet": { "text": "new" @@ -114244,33 +114295,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 70, + "startLine": 46, "startColumn": 1, - "charOffset": 2755, - "charLength": 249, + "charOffset": 1629, + "charLength": 310, "snippet": { - "text": " if (parameter.MemberType.IsCollectionLike())\n {\n var items = new Dictionary();\n items[\"type\"] = GetJsonType(parameter.ScalarType);\n if (parameter.EnumValues != null)" + "text": " where T : IWriterWrapper\n {\n var lines = new List();\n lines.Add((\"This is a \"\n + \"CLI wrapper with fluent API that allows to modify the following arguments:\").Paragraph());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "dfd390877068816f0a1f69c7ffce26dfea2ea5ba1db180e7a9469ae054214bc2" + "equalIndicator/v1": "74f420aeda0e366e0d6ea86b9e0ec26924acdbefe56a2f3e79e507d18d9ae40c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -114320,7 +114370,6 @@ "partialFingerprints": { "equalIndicator/v1": "ce0ede92f03cdd889ab1902b237743f8c902f73352fcf51345887e95ae35b424" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114331,52 +114380,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 108, - "startColumn": 80, - "charOffset": 4136, - "charLength": 2, + "startLine": 24, + "startColumn": 36, + "charOffset": 549, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 106, + "startLine": 22, "startColumn": 1, - "charOffset": 3983, - "charLength": 242, + "charOffset": 507, + "charLength": 51, "snippet": { - "text": " var enumType = memberType.IsEnum\n ? memberType\n : Nullable.GetUnderlyingType(memberType) is { } underlyingType && underlyingType.IsEnum\n ? underlyingType\n : null;" + "text": " }\n\n public string PackageId { get; set; }\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "95b80ccb007ab90e65624d3fd131bd9b6d62e5bb0736965fd3ada1c657348d45" + "equalIndicator/v1": "2669f77c6d4c246a2ea1e76ab71a2ae70eefe632e0700c09c17300955d301e6d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114387,52 +114435,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 143, - "startColumn": 34, - "charOffset": 6385, - "charLength": 2, + "startLine": 25, + "startColumn": 36, + "charOffset": 709, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 141, + "startLine": 23, "startColumn": 1, - "charOffset": 6282, - "charLength": 144, + "charOffset": 667, + "charLength": 90, "snippet": { - "text": "\n private static bool IsSameDirectory([CanBeNull] string pathPart)\n => pathPart?.Length == 1 &&\n pathPart[index: 0] == '.';\n" + "text": " }\n\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "79ee86ae7e628a1c5f8f505d497c2d20c45a4aa12ea09587630742a359954810" + "equalIndicator/v1": "9458a64a8b088d1c5a54b880f9ef633252cd0a347d5346d43aaad033de49b89a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114443,52 +114490,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 147, + "startLine": 26, "startColumn": 34, - "charOffset": 6532, - "charLength": 2, + "charOffset": 749, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 145, + "startLine": 24, "startColumn": 1, - "charOffset": 6426, - "charLength": 186, + "charOffset": 673, + "charLength": 84, "snippet": { - "text": "\n private static bool IsUpwardsDirectory([CanBeNull] string pathPart)\n => pathPart?.Length == 2 &&\n pathPart[index: 0] == '.' &&\n pathPart[index: 1] == '.';" + "text": "\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e50b684bda35a7b6589c4cbb683bf22798a467c60737ff3ab78419fa933f0190" + "equalIndicator/v1": "67cd401bc1f0ede1af862bd2e1de53baa9a440d1e998fe115cc8dd791844859c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114499,52 +114545,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 157, - "startColumn": 30, - "charOffset": 6875, - "charLength": 2, + "startLine": 25, + "startColumn": 36, + "charOffset": 672, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 155, + "startLine": 23, "startColumn": 1, - "charOffset": 6784, - "charLength": 138, + "charOffset": 630, + "charLength": 90, "snippet": { - "text": "\n internal static bool IsUnixRoot([CanBeNull] string root)\n => root?.Length == 1 &&\n root[index: 0] == UnixSeparator;\n" + "text": " }\n\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9472a4abad651a7cc2a1930c4acc5e8624fe28ef2e8120bb8c2d20c9006d3224" + "equalIndicator/v1": "c78b4f1a384bd61561e217b79ff204947f2c4c88391cd06e65f15c10bb50364a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114555,52 +114600,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 161, - "startColumn": 30, - "charOffset": 7012, - "charLength": 2, + "startLine": 26, + "startColumn": 34, + "charOffset": 712, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 159, + "startLine": 24, "startColumn": 1, - "charOffset": 6922, - "charLength": 182, + "charOffset": 636, + "charLength": 85, "snippet": { - "text": "\n internal static bool IsUncRoot([CanBeNull] string root)\n => root?.Length >= 3 &&\n root[index: 0] == UncSeparator &&\n root[index: 1] == UncSeparator &&" + "text": "\n public string PackageId { get; set; }\n public string Version { get; set; }\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "76e2f5b98837bd02f6e7948271bb822c998ea8d17a64675bc484269fece1f7e1" + "equalIndicator/v1": "54aa144bd56f0beb5e8fab9fa96f45afcb051716ce4eaf98cfb0757fa9bba2c5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114611,52 +114655,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 56, - "startColumn": 41, - "charOffset": 1713, - "charLength": 2, + "startLine": 13, + "startColumn": 31, + "charOffset": 345, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 11, "startColumn": 1, - "charOffset": 1620, - "charLength": 273, + "charOffset": 254, + "charLength": 176, "snippet": { - "text": "\n key = Console.ReadKey(intercept: true);\n if (ConsoleKey.A <= key.Key && key.Key <= ConsoleKey.Z\n || ConsoleKey.D0 <= key.Key && key.Key <= ConsoleKey.D9\n || new[] { '.', '/', '\\\\', '_', '-' }.Any(x => x == key.KeyChar))" + "text": "public class GitHubActionsArtifactStep : GitHubActionsStep\n{\n public string Name { get; set; }\n public string Path { get; set; }\n public string Condition { get; set; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5411aceb4e1468e4ab5ec588e3ec9c2ec4c8c2ee873b54032f933cc02c6872b4" + "equalIndicator/v1": "98f16429261962fb378be4a1561dc12648131384f410fe42367ad84b8c07967e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114667,52 +114710,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 45, - "charOffset": 1784, - "charLength": 2, + "startLine": 14, + "startColumn": 31, + "charOffset": 382, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 12, "startColumn": 1, - "charOffset": 1621, - "charLength": 315, + "charOffset": 313, + "charLength": 118, "snippet": { - "text": " key = Console.ReadKey(intercept: true);\n if (ConsoleKey.A <= key.Key && key.Key <= ConsoleKey.Z\n || ConsoleKey.D0 <= key.Key && key.Key <= ConsoleKey.D9\n || new[] { '.', '/', '\\\\', '_', '-' }.Any(x => x == key.KeyChar))\n input.Append(key.KeyChar);" + "text": "{\n public string Name { get; set; }\n public string Path { get; set; }\n public string Condition { get; set; }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "70f7f085eae0a79aa7c13231acd438d3ab0b4992f896302a2f7174f0c1d61523" + "equalIndicator/v1": "7f4d565e0e84c307fc49cd90872dfbf945b8198bf52d2102616f6c5f5a952782" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114723,52 +114765,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/TargetDefinitionRewriter.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, - "startColumn": 68, - "charOffset": 724, - "charLength": 2, + "startLine": 15, + "startColumn": 36, + "charOffset": 424, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 13, "startColumn": 1, - "charOffset": 564, - "charLength": 226, + "charOffset": 315, + "charLength": 172, "snippet": { - "text": " node = (InvocationExpressionSyntax) base.VisitInvocationExpression(node).NotNull();\n\n if (node.Expression is IdentifierNameSyntax identifierName &&\n identifierName.Identifier.Text == \"Task\")\n {" + "text": " public string Name { get; set; }\n public string Path { get; set; }\n public string Condition { get; set; }\n\n public override void Write(CustomFileWriter writer)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a838064215224a89502e1b9be6c64cd442272c2cfe83dd8602dc2bf9dd581ad1" + "equalIndicator/v1": "d3b24c1518e420486181898547f9880c3c34c0bff8c0abb9fe4bad812f9ee5a0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114779,37 +114820,37 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/DelegateRequirementService.cs", + "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 63, - "startColumn": 45, - "charOffset": 2566, - "charLength": 2, + "startLine": 20, + "startColumn": 49, + "charOffset": 581, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 61, + "startLine": 18, "startColumn": 1, - "charOffset": 2501, - "charLength": 108, + "charOffset": 501, + "charLength": 185, "snippet": { - "text": " return;\n\n if (member is PropertyInfo property && !property.CanWrite)\n return;\n" + "text": "public class ExecutableTarget\n{\n internal TargetDefinition Definition { get; set; }\n internal Stopwatch Stopwatch { get; } = new();\n internal Func Intercept { get; set; }" } } }, @@ -114822,9 +114863,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "b9c3cb7e7206f4d4afda4bc173a86585544bb794740b6112187879a14d722731" + "equalIndicator/v1": "a11dd24be1beeabca837b127c1b1d71900257028d0bd4ddb1d07233e2a7285d0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114835,52 +114875,51 @@ } }, { - "ruleId": "MergeIntoPattern", + "ruleId": "PropertyCanBeMadeInitOnly.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/CodeAnalysisExtensions.cs", + "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 114, - "startColumn": 79, - "charOffset": 4354, - "charLength": 2, + "startLine": 22, + "startColumn": 42, + "charOffset": 680, + "charLength": 3, "snippet": { - "text": "&&" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 112, + "startLine": 20, "startColumn": 1, - "charOffset": 4265, - "charLength": 243, + "charOffset": 533, + "charLength": 197, "snippet": { - "text": " }\n\n if (expression is MemberAccessExpressionSyntax memberAccessExpression &&\n memberAccessExpression.Expression is IdentifierNameSyntax identifierName)\n return ParseTypeName(identifierName.Identifier.Text);" + "text": " internal TargetDefinition Definition { get; set; }\n internal Stopwatch Stopwatch { get; } = new();\n internal Func Intercept { get; set; }\n\n public MemberInfo Member { get; set; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8ffe56e8704935eac03b16800407f778cd3ea16ab8795a38bfc624403a396e93" + "equalIndicator/v1": "894075b842796c03bcdc00f03e2c392acdffff6aeab449bd5026cc40d0fa7894" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114906,9 +114945,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 49, - "charOffset": 581, + "startLine": 24, + "startColumn": 37, + "charOffset": 724, "charLength": 3, "snippet": { "text": "set" @@ -114916,12 +114955,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 22, "startColumn": 1, - "charOffset": 501, - "charLength": 185, + "charOffset": 639, + "charLength": 172, "snippet": { - "text": "public class ExecutableTarget\n{\n internal TargetDefinition Definition { get; set; }\n internal Stopwatch Stopwatch { get; } = new();\n internal Func Intercept { get; set; }" + "text": " internal Func Intercept { get; set; }\n\n public MemberInfo Member { get; set; }\n public string Name { get; set; }\n public string Description { get; set; }" } } }, @@ -114934,9 +114973,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a11dd24be1beeabca837b127c1b1d71900257028d0bd4ddb1d07233e2a7285d0" + "equalIndicator/v1": "2ebd0b7b096dc9ce46362805be501a76895596e9ad474ce1fca94a4a69b7217d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -114962,9 +115000,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, - "startColumn": 42, - "charOffset": 680, + "startLine": 25, + "startColumn": 31, + "charOffset": 761, "charLength": 3, "snippet": { "text": "set" @@ -114972,12 +115010,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 23, "startColumn": 1, - "charOffset": 533, - "charLength": 197, + "charOffset": 687, + "charLength": 161, "snippet": { - "text": " internal TargetDefinition Definition { get; set; }\n internal Stopwatch Stopwatch { get; } = new();\n internal Func Intercept { get; set; }\n\n public MemberInfo Member { get; set; }" + "text": "\n public MemberInfo Member { get; set; }\n public string Name { get; set; }\n public string Description { get; set; }\n public bool Listed { get; set; }" } } }, @@ -114990,9 +115028,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "894075b842796c03bcdc00f03e2c392acdffff6aeab449bd5026cc40d0fa7894" + "equalIndicator/v1": "c2edcc566c22d0c1322fdbe5705887e3b76f48f4f00ac863035d3e5915230bdd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115018,9 +115055,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 37, - "charOffset": 724, + "startLine": 26, + "startColumn": 38, + "charOffset": 805, "charLength": 3, "snippet": { "text": "set" @@ -115028,12 +115065,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 24, "startColumn": 1, - "charOffset": 639, - "charLength": 172, + "charOffset": 688, + "charLength": 202, "snippet": { - "text": " internal Func Intercept { get; set; }\n\n public MemberInfo Member { get; set; }\n public string Name { get; set; }\n public string Description { get; set; }" + "text": " public MemberInfo Member { get; set; }\n public string Name { get; set; }\n public string Description { get; set; }\n public bool Listed { get; set; }\n public Delegate Factory { get; set; }" } } }, @@ -115046,9 +115083,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "2ebd0b7b096dc9ce46362805be501a76895596e9ad474ce1fca94a4a69b7217d" + "equalIndicator/v1": "32fb00feb435ef5035ba75b458a4a9ecb5bc679c74a0ec7a795c49141931d4d1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115074,9 +115110,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, + "startLine": 27, "startColumn": 31, - "charOffset": 761, + "charOffset": 842, "charLength": 3, "snippet": { "text": "set" @@ -115084,12 +115120,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 25, "startColumn": 1, - "charOffset": 687, - "charLength": 161, + "charOffset": 731, + "charLength": 261, "snippet": { - "text": "\n public MemberInfo Member { get; set; }\n public string Name { get; set; }\n public string Description { get; set; }\n public bool Listed { get; set; }" + "text": " public string Name { get; set; }\n public string Description { get; set; }\n public bool Listed { get; set; }\n public Delegate Factory { get; set; }\n public List<(string Text, Func Delegate)> DynamicConditions { get; internal set; } = new();" } } }, @@ -115102,9 +115138,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c2edcc566c22d0c1322fdbe5705887e3b76f48f4f00ac863035d3e5915230bdd" + "equalIndicator/v1": "93575809d250b268d058e08443131d8a50805458785e6f823a329ac58bc67db0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115130,9 +115165,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 38, - "charOffset": 805, + "startLine": 28, + "startColumn": 36, + "charOffset": 884, "charLength": 3, "snippet": { "text": "set" @@ -115140,12 +115175,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 26, "startColumn": 1, - "charOffset": 688, - "charLength": 202, + "charOffset": 768, + "charLength": 325, "snippet": { - "text": " public MemberInfo Member { get; set; }\n public string Name { get; set; }\n public string Description { get; set; }\n public bool Listed { get; set; }\n public Delegate Factory { get; set; }" + "text": " public string Description { get; set; }\n public bool Listed { get; set; }\n public Delegate Factory { get; set; }\n public List<(string Text, Func Delegate)> DynamicConditions { get; internal set; } = new();\n public List<(string Text, Func Delegate)> StaticConditions { get; internal set; } = new();" } } }, @@ -115158,9 +115193,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "32fb00feb435ef5035ba75b458a4a9ecb5bc679c74a0ec7a795c49141931d4d1" + "equalIndicator/v1": "da18cadff8bcb0e44e8a39a9ace485b09d9d8b402efb0816b207cb62cd5ee0fd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115186,9 +115220,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, - "startColumn": 31, - "charOffset": 842, + "startLine": 29, + "startColumn": 87, + "charOffset": 977, "charLength": 3, "snippet": { "text": "set" @@ -115196,12 +115230,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 27, "startColumn": 1, - "charOffset": 731, - "charLength": 261, + "charOffset": 812, + "charLength": 353, "snippet": { - "text": " public string Name { get; set; }\n public string Description { get; set; }\n public bool Listed { get; set; }\n public Delegate Factory { get; set; }\n public List<(string Text, Func Delegate)> DynamicConditions { get; internal set; } = new();" + "text": " public bool Listed { get; set; }\n public Delegate Factory { get; set; }\n public List<(string Text, Func Delegate)> DynamicConditions { get; internal set; } = new();\n public List<(string Text, Func Delegate)> StaticConditions { get; internal set; } = new();\n public DependencyBehavior DependencyBehavior { get; internal set; }" } } }, @@ -115214,9 +115248,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "93575809d250b268d058e08443131d8a50805458785e6f823a329ac58bc67db0" + "equalIndicator/v1": "b06b1164aa334bdaec874a1ec71eb08fff268e7aafb48e2a3d93e4f511ffe80c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115242,9 +115275,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 28, - "startColumn": 36, - "charOffset": 884, + "startLine": 30, + "startColumn": 86, + "charOffset": 1078, "charLength": 3, "snippet": { "text": "set" @@ -115252,12 +115285,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 26, + "startLine": 28, "startColumn": 1, - "charOffset": 768, - "charLength": 325, + "charOffset": 849, + "charLength": 375, "snippet": { - "text": " public string Description { get; set; }\n public bool Listed { get; set; }\n public Delegate Factory { get; set; }\n public List<(string Text, Func Delegate)> DynamicConditions { get; internal set; } = new();\n public List<(string Text, Func Delegate)> StaticConditions { get; internal set; } = new();" + "text": " public Delegate Factory { get; set; }\n public List<(string Text, Func Delegate)> DynamicConditions { get; internal set; } = new();\n public List<(string Text, Func Delegate)> StaticConditions { get; internal set; } = new();\n public DependencyBehavior DependencyBehavior { get; internal set; }\n public bool AssuredAfterFailure { get; internal set; }" } } }, @@ -115270,9 +115303,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "da18cadff8bcb0e44e8a39a9ace485b09d9d8b402efb0816b207cb62cd5ee0fd" + "equalIndicator/v1": "b056464944d57afb4c82cc89cd8f999c648920cdb3e8532c1845ef2033360259" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115298,9 +115330,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 87, - "charOffset": 977, + "startLine": 32, + "startColumn": 53, + "charOffset": 1218, "charLength": 3, "snippet": { "text": "set" @@ -115308,12 +115340,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 30, "startColumn": 1, - "charOffset": 812, - "charLength": 353, + "charOffset": 993, + "charLength": 377, "snippet": { - "text": " public bool Listed { get; set; }\n public Delegate Factory { get; set; }\n public List<(string Text, Func Delegate)> DynamicConditions { get; internal set; } = new();\n public List<(string Text, Func Delegate)> StaticConditions { get; internal set; } = new();\n public DependencyBehavior DependencyBehavior { get; internal set; }" + "text": " public List<(string Text, Func Delegate)> StaticConditions { get; internal set; } = new();\n public DependencyBehavior DependencyBehavior { get; internal set; }\n public bool AssuredAfterFailure { get; internal set; }\n public bool ProceedAfterFailure { get; internal set; }\n public List DelegateRequirements { get; internal set; } = new();" } } }, @@ -115326,9 +115358,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "b06b1164aa334bdaec874a1ec71eb08fff268e7aafb48e2a3d93e4f511ffe80c" + "equalIndicator/v1": "46337973c05b404a968606f22b0e7bd153329cc3740e19129936d28b21ff4da7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115354,9 +115385,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 30, - "startColumn": 86, - "charOffset": 1078, + "startLine": 33, + "startColumn": 53, + "charOffset": 1277, "charLength": 3, "snippet": { "text": "set" @@ -115364,12 +115395,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 28, + "startLine": 31, "startColumn": 1, - "charOffset": 849, - "charLength": 375, + "charOffset": 1094, + "charLength": 358, "snippet": { - "text": " public Delegate Factory { get; set; }\n public List<(string Text, Func Delegate)> DynamicConditions { get; internal set; } = new();\n public List<(string Text, Func Delegate)> StaticConditions { get; internal set; } = new();\n public DependencyBehavior DependencyBehavior { get; internal set; }\n public bool AssuredAfterFailure { get; internal set; }" + "text": " public DependencyBehavior DependencyBehavior { get; internal set; }\n public bool AssuredAfterFailure { get; internal set; }\n public bool ProceedAfterFailure { get; internal set; }\n public List DelegateRequirements { get; internal set; } = new();\n public List ToolRequirements { get; internal set; } = new();" } } }, @@ -115382,9 +115413,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "b056464944d57afb4c82cc89cd8f999c648920cdb3e8532c1845ef2033360259" + "equalIndicator/v1": "be357c69232ec69a858fd52f22c0d1fb7a0d1becd6097ca6693b187953593510" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115410,9 +115440,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 53, - "charOffset": 1218, + "startLine": 34, + "startColumn": 72, + "charOffset": 1355, "charLength": 3, "snippet": { "text": "set" @@ -115420,12 +115450,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 32, "startColumn": 1, - "charOffset": 993, - "charLength": 377, + "charOffset": 1166, + "charLength": 350, "snippet": { - "text": " public List<(string Text, Func Delegate)> StaticConditions { get; internal set; } = new();\n public DependencyBehavior DependencyBehavior { get; internal set; }\n public bool AssuredAfterFailure { get; internal set; }\n public bool ProceedAfterFailure { get; internal set; }\n public List DelegateRequirements { get; internal set; } = new();" + "text": " public bool AssuredAfterFailure { get; internal set; }\n public bool ProceedAfterFailure { get; internal set; }\n public List DelegateRequirements { get; internal set; } = new();\n public List ToolRequirements { get; internal set; } = new();\n public List Actions { get; internal set; } = new();" } } }, @@ -115438,9 +115468,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "46337973c05b404a968606f22b0e7bd153329cc3740e19129936d28b21ff4da7" + "equalIndicator/v1": "c14ad72082fad805656940a156f83ecaa4b8abe5039b044f7726732d0fdb2d62" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115466,9 +115495,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 33, - "startColumn": 53, - "charOffset": 1277, + "startLine": 35, + "startColumn": 67, + "charOffset": 1437, "charLength": 3, "snippet": { "text": "set" @@ -115476,12 +115505,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 31, + "startLine": 33, "startColumn": 1, - "charOffset": 1094, - "charLength": 358, + "charOffset": 1225, + "charLength": 292, "snippet": { - "text": " public DependencyBehavior DependencyBehavior { get; internal set; }\n public bool AssuredAfterFailure { get; internal set; }\n public bool ProceedAfterFailure { get; internal set; }\n public List DelegateRequirements { get; internal set; } = new();\n public List ToolRequirements { get; internal set; } = new();" + "text": " public bool ProceedAfterFailure { get; internal set; }\n public List DelegateRequirements { get; internal set; } = new();\n public List ToolRequirements { get; internal set; } = new();\n public List Actions { get; internal set; } = new();\n" } } }, @@ -115494,9 +115523,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "be357c69232ec69a858fd52f22c0d1fb7a0d1becd6097ca6693b187953593510" + "equalIndicator/v1": "ae5ef0c98afa57297efeaf65c4b74768695c0a8f9eba098acc98abf0a65f1cd4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115522,9 +115550,64 @@ "uriBaseId": "SRCROOT" }, "region": { + "startLine": 36, + "startColumn": 49, + "charOffset": 1501, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { "startLine": 34, - "startColumn": 72, - "charOffset": 1355, + "startColumn": 1, + "charOffset": 1284, + "charLength": 307, + "snippet": { + "text": " public List DelegateRequirements { get; internal set; } = new();\n public List ToolRequirements { get; internal set; } = new();\n public List Actions { get; internal set; } = new();\n\n public List ExecutionDependencies { get; } = new();" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "10e337ccd997fac713b0d7a9c03a7badef79099da906ce4fd371202fd9079cb1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "PropertyCanBeMadeInitOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property can be made init-only", + "markdown": "Property can be made init-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 47, + "startColumn": 58, + "charOffset": 2118, "charLength": 3, "snippet": { "text": "set" @@ -115532,12 +115615,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 45, "startColumn": 1, - "charOffset": 1166, - "charLength": 350, + "charOffset": 1958, + "charLength": 220, "snippet": { - "text": " public bool AssuredAfterFailure { get; internal set; }\n public bool ProceedAfterFailure { get; internal set; }\n public List DelegateRequirements { get; internal set; } = new();\n public List ToolRequirements { get; internal set; } = new();\n public List Actions { get; internal set; } = new();" + "text": "\n public LookupTable ArtifactDependencies { get; internal set; } = new();\n public List ArtifactProducts { get; internal set; } = new();\n\n public int? PartitionSize { get; set; }" } } }, @@ -115550,9 +115633,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c14ad72082fad805656940a156f83ecaa4b8abe5039b044f7726732d0fdb2d62" + "equalIndicator/v1": "bd0e2e48f4ab73d45813e0660ae168a9cbde96edae7f4149d7769daf3fc50059" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115578,9 +115660,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 35, - "startColumn": 67, - "charOffset": 1437, + "startLine": 49, + "startColumn": 38, + "charOffset": 2172, "charLength": 3, "snippet": { "text": "set" @@ -115588,12 +115670,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 33, + "startLine": 47, "startColumn": 1, - "charOffset": 1225, - "charLength": 292, + "charOffset": 2061, + "charLength": 169, "snippet": { - "text": " public bool ProceedAfterFailure { get; internal set; }\n public List DelegateRequirements { get; internal set; } = new();\n public List ToolRequirements { get; internal set; } = new();\n public List Actions { get; internal set; } = new();\n" + "text": " public List ArtifactProducts { get; internal set; } = new();\n\n public int? PartitionSize { get; set; }\n\n public TimeSpan Duration => Stopwatch.Elapsed;" } } }, @@ -115606,9 +115688,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ae5ef0c98afa57297efeaf65c4b74768695c0a8f9eba098acc98abf0a65f1cd4" + "equalIndicator/v1": "2c5fbc83d4e4e00de8ce77edc1ccd5b39f9ae0ee7d470ae31163675f466f9bae" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115634,9 +115715,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, - "startColumn": 49, - "charOffset": 1501, + "startLine": 52, + "startColumn": 34, + "charOffset": 2264, "charLength": 3, "snippet": { "text": "set" @@ -115644,12 +115725,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 50, "startColumn": 1, - "charOffset": 1284, - "charLength": 307, + "charOffset": 2179, + "charLength": 177, "snippet": { - "text": " public List DelegateRequirements { get; internal set; } = new();\n public List ToolRequirements { get; internal set; } = new();\n public List Actions { get; internal set; } = new();\n\n public List ExecutionDependencies { get; } = new();" + "text": "\n public TimeSpan Duration => Stopwatch.Elapsed;\n public bool IsDefault { get; set; }\n public ExecutionStatus Status { get; set; }\n public bool Invoked { get; set; }" } } }, @@ -115662,9 +115743,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "10e337ccd997fac713b0d7a9c03a7badef79099da906ce4fd371202fd9079cb1" + "equalIndicator/v1": "25c03408f80680fb6551045c3ffa43fa5942f74560f83e1680fe22cd625519b4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115675,37 +115755,37 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", + "uri": "source/Nuke.Build/Execution/DelegateRequirementService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 47, - "startColumn": 58, - "charOffset": 2118, - "charLength": 3, + "startLine": 63, + "startColumn": 45, + "charOffset": 2566, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 45, + "startLine": 61, "startColumn": 1, - "charOffset": 1958, - "charLength": 220, + "charOffset": 2501, + "charLength": 108, "snippet": { - "text": "\n public LookupTable ArtifactDependencies { get; internal set; } = new();\n public List ArtifactProducts { get; internal set; } = new();\n\n public int? PartitionSize { get; set; }" + "text": " return;\n\n if (member is PropertyInfo property && !property.CanWrite)\n return;\n" } } }, @@ -115718,9 +115798,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "bd0e2e48f4ab73d45813e0660ae168a9cbde96edae7f4149d7769daf3fc50059" + "equalIndicator/v1": "b9c3cb7e7206f4d4afda4bc173a86585544bb794740b6112187879a14d722731" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115731,37 +115810,37 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, - "startColumn": 38, - "charOffset": 2172, - "charLength": 3, + "startLine": 108, + "startColumn": 80, + "charOffset": 4136, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 106, "startColumn": 1, - "charOffset": 2061, - "charLength": 169, + "charOffset": 3983, + "charLength": 242, "snippet": { - "text": " public List ArtifactProducts { get; internal set; } = new();\n\n public int? PartitionSize { get; set; }\n\n public TimeSpan Duration => Stopwatch.Elapsed;" + "text": " var enumType = memberType.IsEnum\n ? memberType\n : Nullable.GetUnderlyingType(memberType) is { } underlyingType && underlyingType.IsEnum\n ? underlyingType\n : null;" } } }, @@ -115774,9 +115853,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "2c5fbc83d4e4e00de8ce77edc1ccd5b39f9ae0ee7d470ae31163675f466f9bae" + "equalIndicator/v1": "95b80ccb007ab90e65624d3fd131bd9b6d62e5bb0736965fd3ada1c657348d45" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115787,37 +115865,37 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 52, - "startColumn": 34, - "charOffset": 2264, - "charLength": 3, + "startLine": 56, + "startColumn": 41, + "charOffset": 1713, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 50, + "startLine": 54, "startColumn": 1, - "charOffset": 2179, - "charLength": 177, + "charOffset": 1620, + "charLength": 273, "snippet": { - "text": "\n public TimeSpan Duration => Stopwatch.Elapsed;\n public bool IsDefault { get; set; }\n public ExecutionStatus Status { get; set; }\n public bool Invoked { get; set; }" + "text": "\n key = Console.ReadKey(intercept: true);\n if (ConsoleKey.A <= key.Key && key.Key <= ConsoleKey.Z\n || ConsoleKey.D0 <= key.Key && key.Key <= ConsoleKey.D9\n || new[] { '.', '/', '\\\\', '_', '-' }.Any(x => x == key.KeyChar))" } } }, @@ -115830,9 +115908,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "25c03408f80680fb6551045c3ffa43fa5942f74560f83e1680fe22cd625519b4" + "equalIndicator/v1": "5411aceb4e1468e4ab5ec588e3ec9c2ec4c8c2ee873b54032f933cc02c6872b4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115843,52 +115920,51 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs", + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, - "startColumn": 31, - "charOffset": 345, - "charLength": 3, + "startLine": 57, + "startColumn": 45, + "charOffset": 1784, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 55, "startColumn": 1, - "charOffset": 254, - "charLength": 176, + "charOffset": 1621, + "charLength": 315, "snippet": { - "text": "public class GitHubActionsArtifactStep : GitHubActionsStep\n{\n public string Name { get; set; }\n public string Path { get; set; }\n public string Condition { get; set; }" + "text": " key = Console.ReadKey(intercept: true);\n if (ConsoleKey.A <= key.Key && key.Key <= ConsoleKey.Z\n || ConsoleKey.D0 <= key.Key && key.Key <= ConsoleKey.D9\n || new[] { '.', '/', '\\\\', '_', '-' }.Any(x => x == key.KeyChar))\n input.Append(key.KeyChar);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "98f16429261962fb378be4a1561dc12648131384f410fe42367ad84b8c07967e" + "equalIndicator/v1": "70f7f085eae0a79aa7c13231acd438d3ab0b4992f896302a2f7174f0c1d61523" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115899,52 +115975,51 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 14, - "startColumn": 31, - "charOffset": 382, - "charLength": 3, + "startLine": 147, + "startColumn": 34, + "charOffset": 6532, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 12, + "startLine": 145, "startColumn": 1, - "charOffset": 313, - "charLength": 118, + "charOffset": 6426, + "charLength": 186, "snippet": { - "text": "{\n public string Name { get; set; }\n public string Path { get; set; }\n public string Condition { get; set; }\n" + "text": "\n private static bool IsUpwardsDirectory([CanBeNull] string pathPart)\n => pathPart?.Length == 2 &&\n pathPart[index: 0] == '.' &&\n pathPart[index: 1] == '.';" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7f4d565e0e84c307fc49cd90872dfbf945b8198bf52d2102616f6c5f5a952782" + "equalIndicator/v1": "e50b684bda35a7b6589c4cbb683bf22798a467c60737ff3ab78419fa933f0190" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -115955,52 +116030,51 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 15, - "startColumn": 36, - "charOffset": 424, - "charLength": 3, + "startLine": 143, + "startColumn": 34, + "charOffset": 6385, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 13, + "startLine": 141, "startColumn": 1, - "charOffset": 315, - "charLength": 172, + "charOffset": 6282, + "charLength": 144, "snippet": { - "text": " public string Name { get; set; }\n public string Path { get; set; }\n public string Condition { get; set; }\n\n public override void Write(CustomFileWriter writer)" + "text": "\n private static bool IsSameDirectory([CanBeNull] string pathPart)\n => pathPart?.Length == 1 &&\n pathPart[index: 0] == '.';\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d3b24c1518e420486181898547f9880c3c34c0bff8c0abb9fe4bad812f9ee5a0" + "equalIndicator/v1": "79ee86ae7e628a1c5f8f505d497c2d20c45a4aa12ea09587630742a359954810" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116011,52 +116085,51 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirement.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, - "startColumn": 36, - "charOffset": 672, - "charLength": 3, + "startLine": 161, + "startColumn": 30, + "charOffset": 7012, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 159, "startColumn": 1, - "charOffset": 630, - "charLength": 90, + "charOffset": 6922, + "charLength": 182, "snippet": { - "text": " }\n\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" + "text": "\n internal static bool IsUncRoot([CanBeNull] string root)\n => root?.Length >= 3 &&\n root[index: 0] == UncSeparator &&\n root[index: 1] == UncSeparator &&" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c78b4f1a384bd61561e217b79ff204947f2c4c88391cd06e65f15c10bb50364a" + "equalIndicator/v1": "76e2f5b98837bd02f6e7948271bb822c998ea8d17a64675bc484269fece1f7e1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116067,52 +116140,51 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirement.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 34, - "charOffset": 712, - "charLength": 3, + "startLine": 157, + "startColumn": 30, + "charOffset": 6875, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 155, "startColumn": 1, - "charOffset": 636, - "charLength": 85, + "charOffset": 6784, + "charLength": 138, "snippet": { - "text": "\n public string PackageId { get; set; }\n public string Version { get; set; }\n}\n" + "text": "\n internal static bool IsUnixRoot([CanBeNull] string root)\n => root?.Length == 1 &&\n root[index: 0] == UnixSeparator;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "54aa144bd56f0beb5e8fab9fa96f45afcb051716ce4eaf98cfb0757fa9bba2c5" + "equalIndicator/v1": "9472a4abad651a7cc2a1930c4acc5e8624fe28ef2e8120bb8c2d20c9006d3224" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116123,52 +116195,51 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirement.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/CodeAnalysisExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 36, - "charOffset": 549, - "charLength": 3, + "startLine": 114, + "startColumn": 79, + "charOffset": 4354, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 112, "startColumn": 1, - "charOffset": 507, - "charLength": 51, + "charOffset": 4265, + "charLength": 243, "snippet": { - "text": " }\n\n public string PackageId { get; set; }\n}\n" + "text": " }\n\n if (expression is MemberAccessExpressionSyntax memberAccessExpression &&\n memberAccessExpression.Expression is IdentifierNameSyntax identifierName)\n return ParseTypeName(identifierName.Identifier.Text);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2669f77c6d4c246a2ea1e76ab71a2ae70eefe632e0700c09c17300955d301e6d" + "equalIndicator/v1": "8ffe56e8704935eac03b16800407f778cd3ea16ab8795a38bfc624403a396e93" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116179,52 +116250,51 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "MergeIntoPattern", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirement.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/TargetDefinitionRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, - "startColumn": 36, - "charOffset": 709, - "charLength": 3, + "startLine": 21, + "startColumn": 68, + "charOffset": 724, + "charLength": 2, "snippet": { - "text": "set" + "text": "&&" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 19, "startColumn": 1, - "charOffset": 667, - "charLength": 90, + "charOffset": 564, + "charLength": 226, "snippet": { - "text": " }\n\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" + "text": " node = (InvocationExpressionSyntax) base.VisitInvocationExpression(node).NotNull();\n\n if (node.Expression is IdentifierNameSyntax identifierName &&\n identifierName.Identifier.Text == \"Task\")\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9458a64a8b088d1c5a54b880f9ef633252cd0a347d5346d43aaad033de49b89a" + "equalIndicator/v1": "a838064215224a89502e1b9be6c64cd442272c2cfe83dd8602dc2bf9dd581ad1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116235,52 +116305,51 @@ } }, { - "ruleId": "PropertyCanBeMadeInitOnly.Global", + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", "kind": "fail", "level": "note", "message": { - "text": "Property can be made init-only", - "markdown": "Property can be made init-only" + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirement.cs", + "uri": "source/Nuke.Components/IReportIssues.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 34, - "charOffset": 749, - "charLength": 3, + "startLine": 87, + "startColumn": 9, + "charOffset": 3246, + "charLength": 7, "snippet": { - "text": "set" + "text": "foreach" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 85, "startColumn": 1, - "charOffset": 673, - "charLength": 84, + "charOffset": 3193, + "charLength": 163, "snippet": { - "text": "\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" + "text": " .OrderBy(x => x.File).ToList();\n\n foreach (var issue in issues)\n {\n if (issue.Severity == nameof(ReSharperSeverity.WARNING) &&" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Components", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "67cd401bc1f0ede1af862bd2e1de53baa9a440d1e998fe115cc8dd791844859c" + "equalIndicator/v1": "0aff25d27e949030119de18ff655301d8bbf66ef141aee57092056d693d85dd4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116291,58 +116360,57 @@ } }, { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + "text": "Constructor 'PathToolRequirement' can be made private", + "markdown": "Constructor 'PathToolRequirement' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Components/IReportIssues.cs", + "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 87, - "startColumn": 9, - "charOffset": 3246, - "charLength": 7, + "startLine": 20, + "startColumn": 5, + "charOffset": 466, + "charLength": 6, "snippet": { - "text": "foreach" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 85, + "startLine": 18, "startColumn": 1, - "charOffset": 3193, - "charLength": 163, + "charOffset": 455, + "charLength": 51, "snippet": { - "text": " .OrderBy(x => x.File).ToList();\n\n foreach (var issue in issues)\n {\n if (issue.Severity == nameof(ReSharperSeverity.WARNING) &&" + "text": " }\n\n public PathToolRequirement()\n {\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Components", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0aff25d27e949030119de18ff655301d8bbf66ef141aee57092056d693d85dd4" + "equalIndicator/v1": "97b42631e224c2ba076afa4aa5c817e60e82272bc043db3bf695141d3a4963d1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -116351,20 +116419,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'SourceDirectory' can be made private", - "markdown": "Property 'SourceDirectory' can be made private" + "text": "Constructor 'PathToolRequirement' can be made private", + "markdown": "Constructor 'PathToolRequirement' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 188, - "startColumn": 9, - "charOffset": 7783, + "startLine": 20, + "startColumn": 5, + "charOffset": 466, "charLength": 6, "snippet": { "text": "public" @@ -116372,27 +116440,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 186, + "startLine": 18, "startColumn": 1, - "charOffset": 7764, - "charLength": 119, + "charOffset": 455, + "charLength": 51, "snippet": { - "text": " }\n\n public AbsolutePath SourceDirectory => RootDirectory / \"src\";\n\n public Target Clean => _ => _" + "text": " }\n\n public PathToolRequirement()\n {\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "cc2ef02db087fe9d3174b3b5b806e26b1ea7d5d99f0530b465e388e60bcc7811" + "equalIndicator/v1": "4e0e662e42ae5bd4da31be62d0cce228fdb57720ccbe845f2baaeff06fdfb15d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116407,54 +116474,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'Restore' can be made private", - "markdown": "Property 'Restore' can be made private" + "text": "Constant 'Redacted' can be made private", + "markdown": "Constant 'Redacted' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Tooling/Arguments.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 195, - "startColumn": 9, - "charOffset": 7986, - "charLength": 6, + "startLine": 24, + "startColumn": 5, + "charOffset": 547, + "charLength": 8, "snippet": { - "text": "public" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 193, + "startLine": 22, "startColumn": 1, - "charOffset": 7915, - "charLength": 156, + "charOffset": 498, + "charLength": 132, "snippet": { - "text": " [Parameter] public readonly bool IgnoreFailedSources;\n\n public Target Restore => _ => _\n .Produces(SourceDirectory / \"*/obj/**\");\n" + "text": "public sealed class Arguments : IArguments\n{\n internal const string Redacted = \"[REDACTED]\";\n private const char Space = ' ';\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "17428738f68ea11efa169558bd3d28574fb855daeda41a117220cb26f69b4402" + "equalIndicator/v1": "2e7d7fb825e6cb05c67eb0f85f719216db5b2c17fb9cf90efb977a6df0a43cb6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -116463,20 +116529,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'OutputDirectory' can be made private", - "markdown": "Property 'OutputDirectory' can be made private" + "text": "Method 'Add' can be made private", + "markdown": "Method 'Add' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Tooling/Arguments.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 205, - "startColumn": 9, - "charOffset": 8498, + "startLine": 43, + "startColumn": 5, + "charOffset": 1266, "charLength": 6, "snippet": { "text": "public" @@ -116484,33 +116550,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 203, + "startLine": 41, "startColumn": 1, - "charOffset": 8362, - "charLength": 241, + "charOffset": 1255, + "charLength": 227, "snippet": { - "text": " [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };\n\n public AbsolutePath OutputDirectory => RootDirectory / \"output\";\n\n public Target Compile => _ => _" + "text": " }\n\n public Arguments Add(string argumentFormat, [CanBeNull] object value, char? disallowed = null, bool secret = false)\n {\n return Add(argumentFormat, value?.ToString(), disallowed, customValue: false, secret);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2615e75e4c4c748dba26ff389397ab9f965d5be2fc839d74c6841df1cc2b9247" + "equalIndicator/v1": "08b139d1232e1fb1ccfd76f6be33fb8a9937d2deb570a302b896f86f5afd357b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -116519,20 +116584,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'PackageDirectory' can be made private", - "markdown": "Property 'PackageDirectory' can be made private" + "text": "Method 'Add' can be made private", + "markdown": "Method 'Add' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Tooling/Arguments.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 211, - "startColumn": 9, - "charOffset": 8698, + "startLine": 48, + "startColumn": 5, + "charOffset": 1494, "charLength": 6, "snippet": { "text": "public" @@ -116540,33 +116605,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 209, + "startLine": 46, "startColumn": 1, - "charOffset": 8636, - "charLength": 169, + "charOffset": 1483, + "charLength": 97, "snippet": { - "text": " .Produces(SourceDirectory / \"*/bin/**\");\n\n public AbsolutePath PackageDirectory => OutputDirectory / \"packages\";\n\n public Target Pack => _ => _" + "text": " }\n\n public Arguments Add(\n string argumentFormat,\n [CanBeNull] string value," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fbda37262c849518f66a898368f62a53b5b11964b4f51e19889695408d92fdf2" + "equalIndicator/v1": "e572fcd8e5577961dff33145994b9110995360f54ad1ea2bd97307a34aff1aeb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -116575,20 +116639,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'TestResultDirectory' can be made private", - "markdown": "Property 'TestResultDirectory' can be made private" + "text": "Method 'SetUnixPermissions' can be made private", + "markdown": "Method 'SetUnixPermissions' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 218, - "startColumn": 9, - "charOffset": 8940, + "startLine": 30, + "startColumn": 5, + "charOffset": 1066, "charLength": 6, "snippet": { "text": "public" @@ -116596,33 +116660,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 216, + "startLine": 28, "startColumn": 1, - "charOffset": 8878, - "charLength": 176, + "charOffset": 1055, + "charLength": 142, "snippet": { - "text": " .Produces(PackageDirectory / \"*.nupkg\");\n\n public AbsolutePath TestResultDirectory => OutputDirectory / \"test-results\";\n\n public Target Test => _ => _" + "text": " }\n\n public static AbsolutePath SetUnixPermissions(this AbsolutePath path, string permissions)\n {\n if (EnvironmentInfo.IsUnix)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1cdb194a19ee80f60ac0d64a5c9c102dbd6228ebbb6017ecc88cca72b3bfd763" + "equalIndicator/v1": "9e876b62b08bd3a4da70f167490b2223977e503ec9c6ce37792a3b479ce2916f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -116631,20 +116694,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'CoverageReportArchive' can be made private", - "markdown": "Property 'CoverageReportArchive' can be made private" + "text": "Method 'SetUnixPermissions' can be made private", + "markdown": "Method 'SetUnixPermissions' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 226, - "startColumn": 9, - "charOffset": 9229, + "startLine": 30, + "startColumn": 5, + "charOffset": 1066, "charLength": 6, "snippet": { "text": "public" @@ -116652,27 +116715,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 224, + "startLine": 28, "startColumn": 1, - "charOffset": 9193, - "charLength": 157, + "charOffset": 1055, + "charLength": 142, "snippet": { - "text": " .Partition(2);\n\n public string CoverageReportArchive => OutputDirectory / \"coverage-report.zip\";\n\n public Target Coverage => _ => _" + "text": " }\n\n public static AbsolutePath SetUnixPermissions(this AbsolutePath path, string permissions)\n {\n if (EnvironmentInfo.IsUnix)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7ba8d7353c045f0e91016b5f3ba0081fb758c126df914478df26f9203048b101" + "equalIndicator/v1": "73271b1b0d41886cd70264adace3f6461546c8522c5d5df3de0f73df037b5829" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116687,20 +116749,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetResource' can be made private", - "markdown": "Method 'GetResource' can be made private" + "text": "Method 'SendGitterMessageAsync' can be made private", + "markdown": "Method 'SendGitterMessageAsync' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", + "uri": "source/Nuke.Common/Gitter/GitterTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, + "startLine": 29, "startColumn": 5, - "charOffset": 885, + "charOffset": 797, "charLength": 6, "snippet": { "text": "public" @@ -116708,33 +116770,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 27, "startColumn": 1, - "charOffset": 874, - "charLength": 116, + "charOffset": 786, + "charLength": 235, "snippet": { - "text": " }\n\n public static Stream GetResource(string postfix)\n {\n return GetResource(typeof(T), postfix);" + "text": " }\n\n public static async Task SendGitterMessageAsync(string message, string roomId, string token)\n {\n var response = await s_client.CreateRequest(HttpMethod.Post, $\"https://api.gitter.im/v1/rooms/{roomId}/chatMessages\")" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9ff2843cea4ab3cd4ea6e9b20e38deea47af73a895a2195349d61428c1baec61" + "equalIndicator/v1": "ac73b47b193603f809a48c429ba581600baea732b19f33484890d85c6a88c63c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -116743,20 +116804,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetResource' can be made private", - "markdown": "Method 'GetResource' can be made private" + "text": "Property 'Name' can be made private", + "markdown": "Property 'Name' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, + "startLine": 28, "startColumn": 5, - "charOffset": 1002, + "charOffset": 679, "charLength": 6, "snippet": { "text": "public" @@ -116764,33 +116825,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 26, "startColumn": 1, - "charOffset": 991, - "charLength": 162, + "charOffset": 668, + "charLength": 106, "snippet": { - "text": " }\n\n public static Stream GetResource(Type typeForNamespace, string postfix)\n {\n var fullResourceName = $\"{typeForNamespace.Namespace}.{postfix}\";" + "text": " }\n\n public string Name { get; }\n public string Beginning { get; }\n public string End { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e9f3913e314933c7ec6de73e2c90a15930c9cccb210cfb4fcf21afe24bf670d7" + "equalIndicator/v1": "0576c61b0f45df166493fced321bc20b06c59854ad392f58d7c87a471e0db60e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -116799,20 +116859,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetResource' can be made private", - "markdown": "Method 'GetResource' can be made private" + "text": "Property 'Beginning' can be made private", + "markdown": "Property 'Beginning' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, + "startLine": 29, "startColumn": 5, - "charOffset": 885, + "charOffset": 711, "charLength": 6, "snippet": { "text": "public" @@ -116820,27 +116880,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 27, "startColumn": 1, - "charOffset": 874, - "charLength": 116, + "charOffset": 674, + "charLength": 145, "snippet": { - "text": " }\n\n public static Stream GetResource(string postfix)\n {\n return GetResource(typeof(T), postfix);" + "text": "\n public string Name { get; }\n public string Beginning { get; }\n public string End { get; }\n public MatchType BeginMatchType { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "edb4f130123adeb4d6f52389c276c243638e4d7e9f544833a7aa8e15bb7c9f99" + "equalIndicator/v1": "2f3abd3544562c828266c1195cb12582596a0051960f8d4cfc955f17202901c9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116855,20 +116914,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetResource' can be made private", - "markdown": "Method 'GetResource' can be made private" + "text": "Property 'End' can be made private", + "markdown": "Property 'End' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, + "startLine": 30, "startColumn": 5, - "charOffset": 1002, + "charOffset": 748, "charLength": 6, "snippet": { "text": "public" @@ -116876,27 +116935,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 28, "startColumn": 1, - "charOffset": 991, - "charLength": 162, + "charOffset": 675, + "charLength": 187, "snippet": { - "text": " }\n\n public static Stream GetResource(Type typeForNamespace, string postfix)\n {\n var fullResourceName = $\"{typeForNamespace.Namespace}.{postfix}\";" + "text": " public string Name { get; }\n public string Beginning { get; }\n public string End { get; }\n public MatchType BeginMatchType { get; }\n public MatchType EndMatchType { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a7f7027d311f28ce5b03d5a48205f711650d95569d1c404eff0d2d5b2406fbb0" + "equalIndicator/v1": "f92871ffb33c424589630f3599b4e945404df62252f0455197e68781db426ebd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116911,48 +116969,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'ParametersFilePrefix' can be made private", - "markdown": "Constant 'ParametersFilePrefix' can be made private" + "text": "Property 'BeginMatchType' can be made private", + "markdown": "Property 'BeginMatchType' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, + "startLine": 31, "startColumn": 5, - "charOffset": 1349, - "charLength": 8, + "charOffset": 779, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 29, "startColumn": 1, - "charOffset": 1193, - "charLength": 274, + "charOffset": 707, + "charLength": 156, "snippet": { - "text": " public const string VisualStudioDebugParameterName = \"visual-studio-debug\";\n internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";\n internal const string DefaultProfileName = \"$default\";\n" + "text": " public string Beginning { get; }\n public string End { get; }\n public MatchType BeginMatchType { get; }\n public MatchType EndMatchType { get; }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "859f91a307b1a7aa5872c3e1a121da9843347674423a4156e91b04eca39efb92" + "equalIndicator/v1": "c2c248fd1c4a45dd83a790e35aa4d92c6c091cf6375e2df5485de47f2f15b929" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -116967,48 +117024,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetParametersProfileFiles' can be made private", - "markdown": "Method 'GetParametersProfileFiles' can be made private" + "text": "Property 'EndMatchType' can be made private", + "markdown": "Property 'EndMatchType' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 107, + "startLine": 32, "startColumn": 5, - "charOffset": 4219, - "charLength": 8, + "charOffset": 824, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 105, + "startLine": 30, "startColumn": 1, - "charOffset": 4208, - "charLength": 252, + "charOffset": 744, + "charLength": 167, "snippet": { - "text": " }\n\n internal static IEnumerable GetParametersProfileFiles(AbsolutePath rootDirectory)\n {\n return new DirectoryInfo(GetNukeDirectory(rootDirectory)).GetFiles($\"{ParametersFilePrefix}.*.json\", SearchOption.TopDirectoryOnly)" + "text": " public string End { get; }\n public MatchType BeginMatchType { get; }\n public MatchType EndMatchType { get; }\n\n public MatchType MatchesEnd(string message)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "11993f4b09b6cd7582fc88372b7593b75287a540f2b59cdf541c718537a2dfb1" + "equalIndicator/v1": "2b9d37204d3eb2a7b378c0c420d4b910e24b1321d43f3ec641fad34e02583c6a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -117023,54 +117079,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'NukeFileName' can be made private", - "markdown": "Constant 'NukeFileName' can be made private" + "text": "Method 'NewMatchedBlock' can be made private", + "markdown": "Method 'NewMatchedBlock' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, + "startLine": 47, "startColumn": 5, - "charOffset": 516, - "charLength": 8, + "charOffset": 1265, + "charLength": 9, "snippet": { - "text": "internal" + "text": "protected" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 45, "startColumn": 1, - "charOffset": 478, - "charLength": 233, + "charOffset": 1254, + "charLength": 93, "snippet": { - "text": "internal static class Constants\n{\n internal const string NukeFileName = NukeDirectoryName;\n internal const string NukeDirectoryName = \".nuke\";\n internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);" + "text": " }\n\n protected MatchedBlock NewMatchedBlock(Match match)\n {\n var name = Name;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ccc1b68fa175b966c650a7bfe8a56f8e74f93765e1411553015fad4865ddbb01" + "equalIndicator/v1": "ebd07e6561bee2672df85fb4aae5b73b77957cf55413a4767bc6811418c423db" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117079,54 +117134,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'NukeDirectoryName' can be made private", - "markdown": "Constant 'NukeDirectoryName' can be made private" + "text": "Property 'RegexPattern' can be made private", + "markdown": "Property 'RegexPattern' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/LineMatcher.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, + "startLine": 13, "startColumn": 5, - "charOffset": 576, - "charLength": 8, + "charOffset": 285, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 11, "startColumn": 1, - "charOffset": 510, - "charLength": 270, + "charOffset": 252, + "charLength": 107, "snippet": { - "text": "{\n internal const string NukeFileName = NukeDirectoryName;\n internal const string NukeDirectoryName = \".nuke\";\n internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";" + "text": "internal class LineMatcher\n{\n public string RegexPattern { get; }\n public LogLevel LogLevel { get; }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "317f26b3de4ff7c8f915704d15455bf935dd7bdefcde580e76debbb6ffa5a734" + "equalIndicator/v1": "a6e44f06dcc0a88d7e30d350dd270955d4c9707922802950413f90753ea3f9b1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117135,54 +117189,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'BuildSchemaFileName' can be made private", - "markdown": "Constant 'BuildSchemaFileName' can be made private" + "text": "Property 'BlockMatcher' can be made private", + "markdown": "Property 'BlockMatcher' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common/Tools/Unity/Logging/MatchedBlock.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, + "startLine": 12, "startColumn": 5, - "charOffset": 716, - "charLength": 8, + "charOffset": 248, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 10, "startColumn": 1, - "charOffset": 572, - "charLength": 304, + "charOffset": 214, + "charLength": 147, "snippet": { - "text": " internal const string NukeDirectoryName = \".nuke\";\n internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";\n internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";\n" + "text": "internal class MatchedBlock\n{\n public BlockMatcher BlockMatcher { get; }\n public string Name { get; }\n public MatchType MatchType { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d9366bd7f99403a111669333b572469ec5f83cd837b46c5adf123c287aa49324" + "equalIndicator/v1": "2cb5a29722d7b74771fc4a54baae85f4dc4f4c1e03fed841096354a7618b365e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117191,20 +117244,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'VisualStudioDebugParameterName' can be made private", - "markdown": "Constant 'VisualStudioDebugParameterName' can be made private" + "text": "Method 'Serialize' can be made private", + "markdown": "Method 'Serialize' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, + "startLine": 162, "startColumn": 5, - "charOffset": 1197, + "charOffset": 6893, "charLength": 6, "snippet": { "text": "public" @@ -117212,27 +117265,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 160, "startColumn": 1, - "charOffset": 1120, - "charLength": 287, + "charOffset": 6882, + "charLength": 118, "snippet": { - "text": " internal const string LoadedLocalProfilesParameterName = \"Profile\";\n\n public const string VisualStudioDebugParameterName = \"visual-studio-debug\";\n internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";" + "text": " }\n\n public static void Serialize(Solution solution, Stream stream)\n {\n Assert.NotNull(solution.Path);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2f5cc6d612491818d165524b514004e885664759485770aaa9b7d3c0c11acd4b" + "equalIndicator/v1": "680bd4582682deb90e6f655dfb3a37b61c91de91559dcff856b672da26a2ff07" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -117247,54 +117299,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'CompletionParameterName' can be made private", - "markdown": "Constant 'CompletionParameterName' can be made private" + "text": "Property 'SourceDirectory' can be made private", + "markdown": "Property 'SourceDirectory' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 35, - "startColumn": 5, - "charOffset": 1277, - "charLength": 8, + "startLine": 188, + "startColumn": 9, + "charOffset": 7783, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 33, + "startLine": 186, "startColumn": 1, - "charOffset": 1192, - "charLength": 274, + "charOffset": 7764, + "charLength": 119, "snippet": { - "text": "\n public const string VisualStudioDebugParameterName = \"visual-studio-debug\";\n internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";\n internal const string DefaultProfileName = \"$default\";" + "text": " }\n\n public AbsolutePath SourceDirectory => RootDirectory / \"src\";\n\n public Target Clean => _ => _" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3ab2582618c5f57a73f72686cd76e9623674b89541b4835beecf6746a132f245" + "equalIndicator/v1": "cc2ef02db087fe9d3174b3b5b806e26b1ea7d5d99f0530b465e388e60bcc7811" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117303,54 +117354,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'ParametersFilePrefix' can be made private", - "markdown": "Constant 'ParametersFilePrefix' can be made private" + "text": "Property 'Restore' can be made private", + "markdown": "Property 'Restore' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, - "startColumn": 5, - "charOffset": 1349, - "charLength": 8, + "startLine": 195, + "startColumn": 9, + "charOffset": 7986, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 193, "startColumn": 1, - "charOffset": 1193, - "charLength": 274, + "charOffset": 7915, + "charLength": 156, "snippet": { - "text": " public const string VisualStudioDebugParameterName = \"visual-studio-debug\";\n internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";\n internal const string DefaultProfileName = \"$default\";\n" + "text": " [Parameter] public readonly bool IgnoreFailedSources;\n\n public Target Restore => _ => _\n .Produces(SourceDirectory / \"*/obj/**\");\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "da73471fb07ddf899690a3e0aa711ee94b09edad2522f6b733073dfc3ac5130f" + "equalIndicator/v1": "17428738f68ea11efa169558bd3d28574fb855daeda41a117220cb26f69b4402" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117359,54 +117409,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'DefaultProfileName' can be made private", - "markdown": "Constant 'DefaultProfileName' can be made private" + "text": "Property 'OutputDirectory' can be made private", + "markdown": "Property 'OutputDirectory' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 37, - "startColumn": 5, - "charOffset": 1412, - "charLength": 8, + "startLine": 205, + "startColumn": 9, + "charOffset": 8498, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 35, + "startLine": 203, "startColumn": 1, - "charOffset": 1273, - "charLength": 282, + "charOffset": 8362, + "charLength": 241, "snippet": { - "text": " internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";\n internal const string DefaultProfileName = \"$default\";\n\n internal const string GlobalToolVersionEnvironmentKey = \"NUKE_GLOBAL_TOOL_VERSION\";" + "text": " [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };\n\n public AbsolutePath OutputDirectory => RootDirectory / \"output\";\n\n public Target Compile => _ => _" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e941f40bece5d1f16dbcb346b1dd37dd91491d40675bf34ca568a43fc4be0779" + "equalIndicator/v1": "2615e75e4c4c748dba26ff389397ab9f965d5be2fc839d74c6841df1cc2b9247" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117415,54 +117464,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'GlobalNukeDirectory' can be made private", - "markdown": "Property 'GlobalNukeDirectory' can be made private" + "text": "Property 'PackageDirectory' can be made private", + "markdown": "Property 'PackageDirectory' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, - "startColumn": 5, - "charOffset": 1818, - "charLength": 8, + "startLine": 211, + "startColumn": 9, + "charOffset": 8698, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 209, "startColumn": 1, - "charOffset": 1732, - "charLength": 224, + "charOffset": 8636, + "charLength": 169, "snippet": { - "text": "\n internal static AbsolutePath GlobalTemporaryDirectory => Path.GetTempPath();\n internal static AbsolutePath GlobalNukeDirectory => EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile) / \".nuke\";\n\n [CanBeNull]" + "text": " .Produces(SourceDirectory / \"*/bin/**\");\n\n public AbsolutePath PackageDirectory => OutputDirectory / \"packages\";\n\n public Target Pack => _ => _" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2957b1d94e73930405e2ffbbbc9d795bdd0aab6945eb08d91aabea12a8acbf03" + "equalIndicator/v1": "fbda37262c849518f66a898368f62a53b5b11964b4f51e19889695408d92fdf2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117471,54 +117519,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'IsLegacy' can be made private", - "markdown": "Method 'IsLegacy' can be made private" + "text": "Property 'TestResultDirectory' can be made private", + "markdown": "Property 'TestResultDirectory' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 5, - "charOffset": 2478, - "charLength": 8, + "startLine": 218, + "startColumn": 9, + "charOffset": 8940, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 216, "startColumn": 1, - "charOffset": 2467, - "charLength": 132, + "charOffset": 8878, + "charLength": 176, "snippet": { - "text": " }\n\n internal static bool IsLegacy(AbsolutePath rootDirectory)\n {\n return File.Exists(rootDirectory / NukeFileName);" + "text": " .Produces(PackageDirectory / \"*.nupkg\");\n\n public AbsolutePath TestResultDirectory => OutputDirectory / \"test-results\";\n\n public Target Test => _ => _" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "355331c40e91dd9b59dc90b438a69c46a83eb619960b977df081019a34fbc647" + "equalIndicator/v1": "1cdb194a19ee80f60ac0d64a5c9c102dbd6228ebbb6017ecc88cca72b3bfd763" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117527,54 +117574,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetNukeDirectory' can be made private", - "markdown": "Method 'GetNukeDirectory' can be made private" + "text": "Property 'CoverageReportArchive' can be made private", + "markdown": "Property 'CoverageReportArchive' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 62, - "startColumn": 5, - "charOffset": 2611, - "charLength": 8, + "startLine": 226, + "startColumn": 9, + "charOffset": 9229, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 60, + "startLine": 224, "startColumn": 1, - "charOffset": 2600, - "charLength": 140, + "charOffset": 9193, + "charLength": 157, "snippet": { - "text": " }\n\n internal static AbsolutePath GetNukeDirectory(AbsolutePath rootDirectory)\n {\n return rootDirectory / NukeDirectoryName;" + "text": " .Partition(2);\n\n public string CoverageReportArchive => OutputDirectory / \"coverage-report.zip\";\n\n public Target Coverage => _ => _" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "90ca532a1b2ce5a9718993da676bb8a6627d01705928fed382c8daff32ef9907" + "equalIndicator/v1": "7ba8d7353c045f0e91016b5f3ba0081fb758c126df914478df26f9203048b101" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117583,54 +117629,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetTemporaryDirectory' can be made private", - "markdown": "Method 'GetTemporaryDirectory' can be made private" + "text": "Method 'Serialize' can be made private", + "markdown": "Method 'Serialize' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, + "startLine": 162, "startColumn": 5, - "charOffset": 2752, - "charLength": 8, + "charOffset": 6893, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 160, "startColumn": 1, - "charOffset": 2741, - "charLength": 135, + "charOffset": 6882, + "charLength": 118, "snippet": { - "text": " }\n\n internal static AbsolutePath GetTemporaryDirectory(AbsolutePath rootDirectory)\n {\n return !IsLegacy(rootDirectory)" + "text": " }\n\n public static void Serialize(Solution solution, Stream stream)\n {\n Assert.NotNull(solution.Path);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b1cbfea0a678a80fc4a0b555a4885e07d404cf66b8dc973c8e300d738cb1eeb1" + "equalIndicator/v1": "7ff58a53239372033009dcd3cd82acecdf71357454c35ccd9ad953983e1a244b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117639,54 +117684,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetParametersProfileFiles' can be made private", - "markdown": "Method 'GetParametersProfileFiles' can be made private" + "text": "Property 'Total' can be made private", + "markdown": "Property 'Total' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Build/CICD/PartitionAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 107, + "startLine": 18, "startColumn": 5, - "charOffset": 4219, - "charLength": 8, + "charOffset": 358, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 105, + "startLine": 16, "startColumn": 1, - "charOffset": 4208, - "charLength": 252, + "charOffset": 347, + "charLength": 77, "snippet": { - "text": " }\n\n internal static IEnumerable GetParametersProfileFiles(AbsolutePath rootDirectory)\n {\n return new DirectoryInfo(GetNukeDirectory(rootDirectory)).GetFiles($\"{ParametersFilePrefix}.*.json\", SearchOption.TopDirectoryOnly)" + "text": " }\n\n public int Total { get; }\n\n public override bool List => false;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "170b81d9f7cfd9bbed76408d16571b75647faf481295a688c9f014afd97db5d2" + "equalIndicator/v1": "6e43eb48cc19f543a806a50deef99a8406213f94fcc3bb0e00b9bd90f3a5a303" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117695,54 +117739,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetParametersFileName' can be made private", - "markdown": "Method 'GetParametersFileName' can be made private" + "text": "Method 'GetTargetsText' can be made private", + "markdown": "Method 'GetTargetsText' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Build/Execution/Extensions/HandleHelpRequestsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 118, + "startLine": 29, "startColumn": 5, - "charOffset": 4720, - "charLength": 8, + "charOffset": 822, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 116, + "startLine": 27, "startColumn": 1, - "charOffset": 4709, - "charLength": 199, + "charOffset": 811, + "charLength": 90, "snippet": { - "text": " }\n\n internal static string GetParametersFileName(string profile)\n {\n return profile == DefaultProfileName ? $\"{ParametersFilePrefix}.json\" : $\"{ParametersFilePrefix}.{profile}.json\";" + "text": " }\n\n public string GetTargetsText()\n {\n var builder = new StringBuilder();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1906a760bbf342ccee00a1fb788f4b1dbd0367bb359399d7a7cca690b5156b8c" + "equalIndicator/v1": "413369e8a7054738444d11867b109de7a1c169864995becce80e26d1e367c819" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117751,20 +117794,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GlobDirectories' can be made private", - "markdown": "Method 'GlobDirectories' can be made private" + "text": "Method 'GetParametersText' can be made private", + "markdown": "Method 'GetParametersText' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.IO.Globbing/Globbing.cs", + "uri": "source/Nuke.Build/Execution/Extensions/HandleHelpRequestsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, + "startLine": 51, "startColumn": 5, - "charOffset": 1469, + "charOffset": 1847, "charLength": 6, "snippet": { "text": "public" @@ -117772,33 +117815,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 49, "startColumn": 1, - "charOffset": 1453, + "charOffset": 1836, "charLength": 157, "snippet": { - "text": "\n [Pure]\n public static IReadOnlyCollection GlobDirectories(string directory, params string[] patterns)\n {\n if (patterns.Length == 0)" + "text": " }\n\n public string GetParametersText()\n {\n var defaultTargets = Build.ExecutableTargets.Where(x => x.IsDefault).Select(x => x.Name).ToList();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.IO.Globbing", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9c9112c08442447f29c9941a21e55f37227d2407784187233d826398c0515769" + "equalIndicator/v1": "720c225cf15f1281ab7c89001b6ec2445a53c2c76b4509cac0c7f364b4b52ef7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -117807,20 +117849,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Field 'Description' can be made private", - "markdown": "Field 'Description' can be made private" + "text": "Method 'ShowPlan' can be made private", + "markdown": "Method 'ShowPlan' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Build/Execution/Extensions/HandlePlanRequestsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 34, "startColumn": 5, - "charOffset": 356, + "charOffset": 943, "charLength": 6, "snippet": { "text": "public" @@ -117828,27 +117870,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 32, "startColumn": 1, - "charOffset": 307, - "charLength": 210, + "charOffset": 932, + "charLength": 145, "snippet": { - "text": "public class DefaultInterfaceExecutionTest\n{\n public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;" + "text": " }\n\n public void ShowPlan()\n {\n var resourceText = ResourceUtility.GetResourceAllText(HtmlFileName);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d971f2753c342b67f51b175231f7ae7413a5723c3ac5a88d21293eaef1691b2d" + "equalIndicator/v1": "338ef8d76e45def7814c38b15a2430586d492ad982a65e37c2c78a19eb2969d4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -117863,20 +117904,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Field 'Action' can be made private", - "markdown": "Field 'Action' can be made private" + "text": "Method 'GetNamedArgument' can be made private", + "markdown": "Method 'GetNamedArgument' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 17, + "startLine": 63, "startColumn": 5, - "charOffset": 410, + "charOffset": 1754, "charLength": 6, "snippet": { "text": "public" @@ -117884,27 +117925,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 15, + "startLine": 61, "startColumn": 1, - "charOffset": 350, - "charLength": 226, + "charOffset": 1733, + "charLength": 219, "snippet": { - "text": "{\n public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;" + "text": "\n [CanBeNull]\n public static T GetNamedArgument(MemberInfo member, Type destinationType = null)\n {\n return (T) GetFromMemberInfo(member, destinationType ?? typeof(T), Instance.GetCommandLineArgument);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "042e3725d327b5157210f54667b6ed8eddfa1b1a380ef95ff4eba5aed482fd8e" + "equalIndicator/v1": "a765d94713a52770a4b49ba5f8dea6ef8759574746b68b895276f618906c58d6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -117919,20 +117959,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Field 'Requirement' can be made private", - "markdown": "Field 'Requirement' can be made private" + "text": "Method 'GetVariable' can be made private", + "markdown": "Method 'GetVariable' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, + "startLine": 93, "startColumn": 5, - "charOffset": 455, + "charOffset": 2682, "charLength": 6, "snippet": { "text": "public" @@ -117940,27 +117980,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 91, "startColumn": 1, - "charOffset": 352, - "charLength": 285, + "charOffset": 2661, + "charLength": 214, "snippet": { - "text": " public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;" + "text": "\n [CanBeNull]\n public static T GetVariable(MemberInfo member, Type destinationType = null)\n {\n return (T) GetFromMemberInfo(member, destinationType ?? typeof(T), Instance.GetEnvironmentVariable);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d83408d0f3faede95ff3843b81984b61fa06177912645ee0c1efd1bc9ddeaf73" + "equalIndicator/v1": "858a13b28a7e3d38c8445ed59dc7d2fc844610b1d67e36d331ad6eee754995b3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -117975,20 +118014,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Field 'StaticCondition' can be made private", - "markdown": "Field 'StaticCondition' can be made private" + "text": "Method 'GetCommandLineArgument' can be made private", + "markdown": "Method 'GetCommandLineArgument' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 19, + "startLine": 170, "startColumn": 5, - "charOffset": 522, + "charOffset": 6591, "charLength": 6, "snippet": { "text": "public" @@ -117996,27 +118035,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 17, + "startLine": 168, "startColumn": 1, - "charOffset": 406, - "charLength": 232, + "charOffset": 6570, + "charLength": 214, "snippet": { - "text": " public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;\n" + "text": "\n [CanBeNull]\n public object GetCommandLineArgument(string argumentName, Type destinationType, char? separator)\n {\n return ArgumentsParser.GetNamedArgument(argumentName, destinationType, separator);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ef80c49ac9e16c59686b0eb949387553984ebb1b6f24029595869b7d2deb942d" + "equalIndicator/v1": "a57a33478f74c4c961ccfe32132bbc4f72ac87bd73da38c16c863a630057ea0f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -118031,20 +118069,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Field 'DynamicCondition' can be made private", - "markdown": "Field 'DynamicCondition' can be made private" + "text": "Method 'GetCommandLineArgument' can be made private", + "markdown": "Method 'GetCommandLineArgument' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, + "startLine": 176, "startColumn": 5, - "charOffset": 581, + "charOffset": 6812, "charLength": 6, "snippet": { "text": "public" @@ -118052,27 +118090,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 174, "startColumn": 1, - "charOffset": 451, - "charLength": 198, + "charOffset": 6791, + "charLength": 208, "snippet": { - "text": " public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;\n\n [Fact]" + "text": "\n [CanBeNull]\n public object GetCommandLineArgument(int position, Type destinationType, char? separator)\n {\n return ArgumentsParser.GetPositionalArgument(position, destinationType, separator);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "439eebdee8c90738aa6d17997d894d8c3144a9ba7ecdaa22fe927f309f9a9dfb" + "equalIndicator/v1": "5288fe4d70e46f18c7e94e466304dfa872da63373b089d7984cd18d23e660393" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -118087,20 +118124,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'IsValueType' can be made private", - "markdown": "Method 'IsValueType' can be made private" + "text": "Method 'GetPositionalCommandLineArguments' can be made private", + "markdown": "Method 'GetPositionalCommandLineArguments' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/ModelExtensions.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 182, "startColumn": 5, - "charOffset": 374, + "charOffset": 7027, "charLength": 6, "snippet": { "text": "public" @@ -118108,33 +118145,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 180, "startColumn": 1, - "charOffset": 332, - "charLength": 159, + "charOffset": 7006, + "charLength": 206, "snippet": { - "text": "public static class ModelExtensions\n{\n public static bool IsValueType(this Property property)\n {\n return property.Type.EqualsAnyOrdinalIgnoreCase(" + "text": "\n [CanBeNull]\n public object GetPositionalCommandLineArguments(Type destinationType, char? separator = null)\n {\n return ArgumentsParser.GetAllPositionalArguments(destinationType, separator);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e2f7c7e463549a4d48825f2ba42dbc11631aaa2dfca769299a7470c8e4cfbb7e" + "equalIndicator/v1": "10ff8658a3db96480d1a1c3fec19ddfb25e12f64703ddf8a7d08b829f0ccabef" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -118143,20 +118179,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetReturnType' can be made private", - "markdown": "Method 'GetReturnType' can be made private" + "text": "Method 'HasCommandLineArgument' can be made private", + "markdown": "Method 'HasCommandLineArgument' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/ModelExtensions.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 120, + "startLine": 187, "startColumn": 5, - "charOffset": 3383, + "charOffset": 7224, "charLength": 6, "snippet": { "text": "public" @@ -118164,33 +118200,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 118, + "startLine": 185, "startColumn": 1, - "charOffset": 3372, - "charLength": 109, + "charOffset": 7213, + "charLength": 130, "snippet": { - "text": " }\n\n public static string GetReturnType(this Task task)\n {\n return task.ReturnType ?? \"void\";" + "text": " }\n\n public bool HasCommandLineArgument(string argumentName)\n {\n return ArgumentsParser.HasArgument(argumentName);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "57695b21a8292a00f0ee72605b904800d2c33a168e1b3a0b8ec0ea9f98ac80c6" + "equalIndicator/v1": "7fb9e074c18ae3f481ef6b936314a83f899037a83f0ffcb28feb8d93fa296353" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -118199,20 +118234,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetVersionText' can be made private", - "markdown": "Method 'GetVersionText' can be made private" + "text": "Method 'GetEnvironmentVariable' can be made private", + "markdown": "Method 'GetEnvironmentVariable' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, + "startLine": 193, "startColumn": 5, - "charOffset": 469, + "charOffset": 7371, "charLength": 6, "snippet": { "text": "public" @@ -118220,33 +118255,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 191, "startColumn": 1, - "charOffset": 458, - "charLength": 155, + "charOffset": 7350, + "charLength": 173, "snippet": { - "text": " }\n\n public static string GetVersionText(this Assembly assembly)\n {\n var informationalVersion = assembly.GetAssemblyInformationalVersion();" + "text": "\n [CanBeNull]\n public object GetEnvironmentVariable(string variableName, Type destinationType, char? separator)\n {\n static string GetTrimmedName(string name)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0376c46b4a02d44c7f563e984c329ff5b05ea153f6642ef038ca86aa4afe2329" + "equalIndicator/v1": "78453116333ec6d064430c45e96d988530fe773cd6f72cd5d204d471074b22bd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -118255,54 +118289,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetItemsFromSchema' can be made private", - "markdown": "Method 'GetItemsFromSchema' can be made private" + "text": "Accessor 'Description.set' can be made private", + "markdown": "Accessor 'Description.set' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", + "uri": "source/Nuke.Build/Execution/TargetDefinition.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, - "startColumn": 5, - "charOffset": 678, - "charLength": 6, + "startLine": 34, + "startColumn": 40, + "charOffset": 950, + "charLength": 3, "snippet": { - "text": "public" + "text": "set" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 32, "startColumn": 1, - "charOffset": 667, - "charLength": 195, + "charOffset": 862, + "charLength": 273, "snippet": { - "text": " }\n\n public static IReadOnlyDictionary GetItemsFromSchema(JsonDocument schema, IEnumerable profileNames)\n {\n string[] GetEnumValues(JsonElement property)" + "text": " internal Func Intercept { get; set; }\n\n internal string Description { get; set; }\n internal List<(string Text, Func Delegate)> DynamicConditions { get; } = new();\n internal List<(string Text, Func Delegate)> StaticConditions { get; } = new();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "821d79dd3bf8f81516a0a391aae0f2c7eb0e2a3021b98e174cfb62898f536bf6" + "equalIndicator/v1": "33d2c1d85cbbfad2676f77a401d276e2b25a8e35913fbc94f741b1a804e12de3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -118311,20 +118344,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'Serialize' can be made private", - "markdown": "Method 'Serialize' can be made private" + "text": "Constructor 'SystemConsoleHostTheme' can be made private", + "markdown": "Constructor 'SystemConsoleHostTheme' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Build/Theming/SystemConsoleHostTheme.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 162, + "startLine": 40, "startColumn": 5, - "charOffset": 6893, + "charOffset": 2141, "charLength": 6, "snippet": { "text": "public" @@ -118332,33 +118365,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 160, + "startLine": 38, "startColumn": 1, - "charOffset": 6882, - "charLength": 118, + "charOffset": 2042, + "charLength": 255, "snippet": { - "text": " }\n\n public static void Serialize(Solution solution, Stream stream)\n {\n Assert.NotNull(solution.Path);" + "text": " private readonly IReadOnlyDictionary _styles;\n\n public SystemConsoleHostTheme(\n SystemConsoleThemeStyle successStyle,\n IReadOnlyDictionary styles)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "680bd4582682deb90e6f655dfb3a37b61c91de91559dcff856b672da26a2ff07" + "equalIndicator/v1": "b029562863da2e30ee1397344f9f8ba21ffcaafe8c71e21ccc5c551dc160cee1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -118367,48 +118399,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'Serialize' can be made private", - "markdown": "Method 'Serialize' can be made private" + "text": "Method 'Success' can be made private", + "markdown": "Method 'Success' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Build/Host.Theming.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 162, + "startLine": 13, "startColumn": 5, - "charOffset": 6893, - "charLength": 6, + "charOffset": 255, + "charLength": 8, "snippet": { - "text": "public" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 160, + "startLine": 11, "startColumn": 1, - "charOffset": 6882, - "charLength": 118, + "charOffset": 223, + "charLength": 156, "snippet": { - "text": " }\n\n public static void Serialize(Solution solution, Stream stream)\n {\n Assert.NotNull(solution.Path);" + "text": "public partial class Host\n{\n internal static void Success(string text = null)\n {\n (Instance?.Theme ?? Logging.DefaultTheme).WriteSuccess(text);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7ff58a53239372033009dcd3cd82acecdf71357454c35ccd9ad953983e1a244b" + "equalIndicator/v1": "d913b82a28527c03e51ec93fccde84b59a33fa6acf42f81491df80dd2cc88507" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -118423,20 +118454,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetCommandLineArgument' can be made private", - "markdown": "Method 'GetCommandLineArgument' can be made private" + "text": "Constructor 'Vertex' can be made private", + "markdown": "Constructor 'Vertex' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 170, + "startLine": 13, "startColumn": 5, - "charOffset": 6591, + "charOffset": 269, "charLength": 6, "snippet": { "text": "public" @@ -118444,27 +118475,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 168, + "startLine": 11, "startColumn": 1, - "charOffset": 6570, - "charLength": 214, + "charOffset": 238, + "charLength": 72, "snippet": { - "text": "\n [CanBeNull]\n public object GetCommandLineArgument(string argumentName, Type destinationType, char? separator)\n {\n return ArgumentsParser.GetNamedArgument(argumentName, destinationType, separator);" + "text": "internal class Vertex\n{\n public Vertex()\n {\n Index = -1;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a57a33478f74c4c961ccfe32132bbc4f72ac87bd73da38c16c863a630057ea0f" + "equalIndicator/v1": "96de485eb53421b8717334a7bcd44d9e44efb42ab81eee973a310130c0777089" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -118479,20 +118509,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetCommandLineArgument' can be made private", - "markdown": "Method 'GetCommandLineArgument' can be made private" + "text": "Constructor 'Vertex' can be made private", + "markdown": "Constructor 'Vertex' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 176, + "startLine": 25, "startColumn": 5, - "charOffset": 6812, + "charOffset": 448, "charLength": 6, "snippet": { "text": "public" @@ -118500,27 +118530,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 174, + "startLine": 23, "startColumn": 1, - "charOffset": 6791, - "charLength": 208, + "charOffset": 437, + "charLength": 87, "snippet": { - "text": "\n [CanBeNull]\n public object GetCommandLineArgument(int position, Type destinationType, char? separator)\n {\n return ArgumentsParser.GetPositionalArgument(position, destinationType, separator);" + "text": " }\n\n public Vertex(IEnumerable> dependencies)\n {\n Index = -1;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5288fe4d70e46f18c7e94e466304dfa872da63373b089d7984cd18d23e660393" + "equalIndicator/v1": "adfa3022446b8355d798c928640b44562ddb169d35173b384a291fcb47e23909" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -118535,20 +118564,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetPositionalCommandLineArguments' can be made private", - "markdown": "Method 'GetPositionalCommandLineArguments' can be made private" + "text": "Constructor 'Vertex' can be made private", + "markdown": "Constructor 'Vertex' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 182, + "startLine": 13, "startColumn": 5, - "charOffset": 7027, + "charOffset": 269, "charLength": 6, "snippet": { "text": "public" @@ -118556,33 +118585,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 180, + "startLine": 11, "startColumn": 1, - "charOffset": 7006, - "charLength": 206, + "charOffset": 238, + "charLength": 72, "snippet": { - "text": "\n [CanBeNull]\n public object GetPositionalCommandLineArguments(Type destinationType, char? separator = null)\n {\n return ArgumentsParser.GetAllPositionalArguments(destinationType, separator);" + "text": "internal class Vertex\n{\n public Vertex()\n {\n Index = -1;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "10ff8658a3db96480d1a1c3fec19ddfb25e12f64703ddf8a7d08b829f0ccabef" + "equalIndicator/v1": "ea0497601f1cd39793631367c7aa956b06c9378b19533db63e6eb8fa7782d88f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -118591,20 +118619,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'HasCommandLineArgument' can be made private", - "markdown": "Method 'HasCommandLineArgument' can be made private" + "text": "Constructor 'Vertex' can be made private", + "markdown": "Constructor 'Vertex' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 187, + "startLine": 25, "startColumn": 5, - "charOffset": 7224, + "charOffset": 448, "charLength": 6, "snippet": { "text": "public" @@ -118612,33 +118640,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 185, + "startLine": 23, "startColumn": 1, - "charOffset": 7213, - "charLength": 130, + "charOffset": 437, + "charLength": 87, "snippet": { - "text": " }\n\n public bool HasCommandLineArgument(string argumentName)\n {\n return ArgumentsParser.HasArgument(argumentName);" + "text": " }\n\n public Vertex(IEnumerable> dependencies)\n {\n Index = -1;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7fb9e074c18ae3f481ef6b936314a83f899037a83f0ffcb28feb8d93fa296353" + "equalIndicator/v1": "b4b701b45da254bb6f80bbbf982bcb69ea6b71595840d913c53f68190506022a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -118647,20 +118674,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetEnvironmentVariable' can be made private", - "markdown": "Method 'GetEnvironmentVariable' can be made private" + "text": "Method 'GetVersionText' can be made private", + "markdown": "Method 'GetVersionText' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 193, + "startLine": 18, "startColumn": 5, - "charOffset": 7371, + "charOffset": 469, "charLength": 6, "snippet": { "text": "public" @@ -118668,33 +118695,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 191, + "startLine": 16, "startColumn": 1, - "charOffset": 7350, - "charLength": 173, + "charOffset": 458, + "charLength": 155, "snippet": { - "text": "\n [CanBeNull]\n public object GetEnvironmentVariable(string variableName, Type destinationType, char? separator)\n {\n static string GetTrimmedName(string name)" + "text": " }\n\n public static string GetVersionText(this Assembly assembly)\n {\n var informationalVersion = assembly.GetAssemblyInformationalVersion();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "78453116333ec6d064430c45e96d988530fe773cd6f72cd5d204d471074b22bd" + "equalIndicator/v1": "0376c46b4a02d44c7f563e984c329ff5b05ea153f6642ef038ca86aa4afe2329" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -118703,20 +118729,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Constructor 'Vertex' can be made private", - "markdown": "Constructor 'Vertex' can be made private" + "text": "Method 'Convert' can be made private", + "markdown": "Method 'Convert' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Conversion.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, + "startLine": 22, "startColumn": 5, - "charOffset": 269, + "charOffset": 508, "charLength": 6, "snippet": { "text": "public" @@ -118724,12 +118750,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 20, "startColumn": 1, - "charOffset": 238, - "charLength": 72, + "charOffset": 487, + "charLength": 144, "snippet": { - "text": "internal class Vertex\n{\n public Vertex()\n {\n Index = -1;" + "text": "\n [CanBeNull]\n public static object Convert(object value, Type destinationType)\n {\n if (destinationType.IsInstanceOfType(value))" } } }, @@ -118742,9 +118768,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ea0497601f1cd39793631367c7aa956b06c9378b19533db63e6eb8fa7782d88f" + "equalIndicator/v1": "535eec417bfefed765a3a83c44abc3983b54e4f47016f6b03568855ff78518bd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -118759,20 +118784,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Constructor 'Vertex' can be made private", - "markdown": "Constructor 'Vertex' can be made private" + "text": "Method 'IsStatic' can be made private", + "markdown": "Method 'IsStatic' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, + "startLine": 123, "startColumn": 5, - "charOffset": 448, + "charOffset": 4115, "charLength": 6, "snippet": { "text": "public" @@ -118780,12 +118805,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 121, "startColumn": 1, - "charOffset": 437, - "charLength": 87, + "charOffset": 4104, + "charLength": 97, "snippet": { - "text": " }\n\n public Vertex(IEnumerable> dependencies)\n {\n Index = -1;" + "text": " }\n\n public static bool IsStatic(this MemberInfo member)\n {\n return member switch" } } }, @@ -118798,15 +118823,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "b4b701b45da254bb6f80bbbf982bcb69ea6b71595840d913c53f68190506022a" + "equalIndicator/v1": "5c80f78cc592f97b88f0a9762a1314b3c8acf129c224d990e25539f29b36f433" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -118815,20 +118839,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Constructor 'Vertex' can be made private", - "markdown": "Constructor 'Vertex' can be made private" + "text": "Method 'IsExtensionParameter' can be made private", + "markdown": "Method 'IsExtensionParameter' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, + "startLine": 135, "startColumn": 5, - "charOffset": 269, + "charOffset": 4564, "charLength": 6, "snippet": { "text": "public" @@ -118836,12 +118860,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 133, "startColumn": 1, - "charOffset": 238, - "charLength": 72, + "charOffset": 4553, + "charLength": 142, "snippet": { - "text": "internal class Vertex\n{\n public Vertex()\n {\n Index = -1;" + "text": " }\n\n public static bool IsExtensionParameter(this ParameterInfo parameter)\n {\n return parameter.Member is MethodInfo method &&" } } }, @@ -118854,9 +118878,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "96de485eb53421b8717334a7bcd44d9e44efb42ab81eee973a310130c0777089" + "equalIndicator/v1": "295e2c045ec8082924fb570447f18f934f49f5fabd5f3745781412c8f23fe92a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -118871,20 +118894,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Constructor 'Vertex' can be made private", - "markdown": "Constructor 'Vertex' can be made private" + "text": "Method 'IsExplicit' can be made private", + "markdown": "Method 'IsExplicit' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, + "startLine": 142, "startColumn": 5, - "charOffset": 448, + "charOffset": 4833, "charLength": 6, "snippet": { "text": "public" @@ -118892,12 +118915,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 140, "startColumn": 1, - "charOffset": 437, - "charLength": 87, + "charOffset": 4822, + "charLength": 112, "snippet": { - "text": " }\n\n public Vertex(IEnumerable> dependencies)\n {\n Index = -1;" + "text": " }\n\n public static bool IsExplicit(this MemberInfo member)\n {\n return member.Name.Contains(\".\");" } } }, @@ -118910,9 +118933,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "adfa3022446b8355d798c928640b44562ddb169d35173b384a291fcb47e23909" + "equalIndicator/v1": "2a5bc4c9e5ccd111c89db5a5c571bab59b2c95fdd28f59d71310f3c8d4145adf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -118927,20 +118949,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'WithStringContent' can be made private", - "markdown": "Method 'WithStringContent' can be made private" + "text": "Method 'GetPossibleExplicitName' can be made private", + "markdown": "Method 'GetPossibleExplicitName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpRequest.Content.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, + "startLine": 147, "startColumn": 5, - "charOffset": 1287, + "charOffset": 4946, "charLength": 6, "snippet": { "text": "public" @@ -118948,33 +118970,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 145, "startColumn": 1, - "charOffset": 1228, - "charLength": 270, + "charOffset": 4935, + "charLength": 188, "snippet": { - "text": " /// Sets the string as content.\n /// \n public static HttpRequestBuilder WithStringContent(this HttpRequestBuilder builder, string content, string mediaType)\n {\n builder.Request.Content = new StringContent(content, Encoding.UTF8, mediaType);" + "text": " }\n\n public static string GetPossibleExplicitName(this MemberInfo member)\n {\n return $\"{member.DeclaringType.NotNull().FullName.NotNull().Replace(\"+\", \".\")}.{member.Name}\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f805497fa8bd7858ff3eea53ace0fbdc794c567d816a84f8ae0ddc7f7d2c878c" + "equalIndicator/v1": "f64e1dcb6abd5ad31a1d8575d10e78e83ee7266aeba8a542c409961d25e4cef2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -118983,54 +119004,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Constant 'Redacted' can be made private", - "markdown": "Constant 'Redacted' can be made private" + "text": "Method 'GetImplementedOrInterfaceMember' can be made private", + "markdown": "Method 'GetImplementedOrInterfaceMember' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, + "startLine": 152, "startColumn": 5, - "charOffset": 547, - "charLength": 8, + "charOffset": 5135, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 150, "startColumn": 1, - "charOffset": 498, - "charLength": 132, + "charOffset": 5124, + "charLength": 153, "snippet": { - "text": "public sealed class Arguments : IArguments\n{\n internal const string Redacted = \"[REDACTED]\";\n private const char Space = ' ';\n" + "text": " }\n\n public static MemberInfo GetImplementedOrInterfaceMember(this MemberInfo member, Type classType)\n {\n Assert.True(classType.IsClass);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2e7d7fb825e6cb05c67eb0f85f719216db5b2c17fb9cf90efb977a6df0a43cb6" + "equalIndicator/v1": "8b4f048d6eedbe26830bae65d81cc0a1ad85697d780f4c426237b5a7804700b7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -119039,20 +119059,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'Add' can be made private", - "markdown": "Method 'Add' can be made private" + "text": "Constant 'All' can be made private", + "markdown": "Constant 'All' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 43, + "startLine": 17, "startColumn": 5, - "charOffset": 1266, + "charOffset": 424, "charLength": 6, "snippet": { "text": "public" @@ -119060,27 +119080,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 41, + "startLine": 15, "startColumn": 1, - "charOffset": 1255, - "charLength": 227, + "charOffset": 372, + "charLength": 246, "snippet": { - "text": " }\n\n public Arguments Add(string argumentFormat, [CanBeNull] object value, char? disallowed = null, bool secret = false)\n {\n return Add(argumentFormat, value?.ToString(), disallowed, customValue: false, secret);" + "text": "public static partial class ReflectionUtility\n{\n public const BindingFlags All = Static | Instance | BindingFlags.FlattenHierarchy;\n\n public const BindingFlags Instance = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "08b139d1232e1fb1ccfd76f6be33fb8a9937d2deb570a302b896f86f5afd357b" + "equalIndicator/v1": "eb8e430291d20c95f77256d9ca628a171f603cf92340553be280ccd29b84386a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -119095,20 +119114,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'Add' can be made private", - "markdown": "Method 'Add' can be made private" + "text": "Constant 'Instance' can be made private", + "markdown": "Constant 'Instance' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 48, + "startLine": 19, "startColumn": 5, - "charOffset": 1494, + "charOffset": 512, "charLength": 6, "snippet": { "text": "public" @@ -119116,27 +119135,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 46, + "startLine": 17, "startColumn": 1, - "charOffset": 1483, - "charLength": 97, + "charOffset": 420, + "charLength": 306, "snippet": { - "text": " }\n\n public Arguments Add(\n string argumentFormat,\n [CanBeNull] string value," + "text": " public const BindingFlags All = Static | Instance | BindingFlags.FlattenHierarchy;\n\n public const BindingFlags Instance = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic;\n public const BindingFlags Static = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e572fcd8e5577961dff33145994b9110995360f54ad1ea2bd97307a34aff1aeb" + "equalIndicator/v1": "e6f8c74fb3ebd9b0f34e3effbd9cdd31eb936079ca0bb89092ce126725bab66c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -119151,20 +119169,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Constructor 'SystemConsoleHostTheme' can be made private", - "markdown": "Constructor 'SystemConsoleHostTheme' can be made private" + "text": "Method 'IsNullableType' can be made private", + "markdown": "Method 'IsNullableType' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Theming/SystemConsoleHostTheme.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 40, + "startLine": 28, "startColumn": 5, - "charOffset": 2141, + "charOffset": 895, "charLength": 6, "snippet": { "text": "public" @@ -119172,33 +119190,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 38, + "startLine": 26, "startColumn": 1, - "charOffset": 2042, - "charLength": 255, + "charOffset": 884, + "charLength": 125, "snippet": { - "text": " private readonly IReadOnlyDictionary _styles;\n\n public SystemConsoleHostTheme(\n SystemConsoleThemeStyle successStyle,\n IReadOnlyDictionary styles)" + "text": " }\n\n public static bool IsNullableType(this Type type)\n {\n return Nullable.GetUnderlyingType(type) != null ||" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b029562863da2e30ee1397344f9f8ba21ffcaafe8c71e21ccc5c551dc160cee1" + "equalIndicator/v1": "6f495b1687c4499da1e76898d43fb6dc9b95c89d7de391cf7e40364b658f772c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119207,20 +119224,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'Name' can be made private", - "markdown": "Property 'Name' can be made private" + "text": "Method 'IsCollectionLike' can be made private", + "markdown": "Method 'IsCollectionLike' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 28, + "startLine": 41, "startColumn": 5, - "charOffset": 679, + "charOffset": 1278, "charLength": 6, "snippet": { "text": "public" @@ -119228,33 +119245,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 26, + "startLine": 39, "startColumn": 1, - "charOffset": 668, - "charLength": 106, + "charOffset": 1267, + "charLength": 109, "snippet": { - "text": " }\n\n public string Name { get; }\n public string Beginning { get; }\n public string End { get; }" + "text": " }\n\n public static bool IsCollectionLike(this Type type)\n {\n return type != typeof(string) &&" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0576c61b0f45df166493fced321bc20b06c59854ad392f58d7c87a471e0db60e" + "equalIndicator/v1": "808e3e73f35e74a651eaf8636d3f056f62e8153658df4f3d5a64c397d9ba35f0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119263,20 +119279,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'Beginning' can be made private", - "markdown": "Property 'Beginning' can be made private" + "text": "Method 'HasCustomAttribute' can be made private", + "markdown": "Method 'HasCustomAttribute' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, + "startLine": 53, "startColumn": 5, - "charOffset": 711, + "charOffset": 1676, "charLength": 6, "snippet": { "text": "public" @@ -119284,33 +119300,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 51, "startColumn": 1, - "charOffset": 674, - "charLength": 145, + "charOffset": 1665, + "charLength": 109, "snippet": { - "text": "\n public string Name { get; }\n public string Beginning { get; }\n public string End { get; }\n public MatchType BeginMatchType { get; }" + "text": " }\n\n public static bool HasCustomAttribute(this MemberInfo member)\n where T : Attribute\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2f3abd3544562c828266c1195cb12582596a0051960f8d4cfc955f17202901c9" + "equalIndicator/v1": "e48736d4f511fc34778c2a42baaac06a1f4d45f3d7a2a6fcab5b68755a76e12f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119319,20 +119334,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'End' can be made private", - "markdown": "Property 'End' can be made private" + "text": "Method 'GetMemberType' can be made private", + "markdown": "Method 'GetMemberType' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 30, + "startLine": 65, "startColumn": 5, - "charOffset": 748, + "charOffset": 2015, "charLength": 6, "snippet": { "text": "public" @@ -119340,33 +119355,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 28, + "startLine": 63, "startColumn": 1, - "charOffset": 675, - "charLength": 187, + "charOffset": 2004, + "charLength": 102, "snippet": { - "text": " public string Name { get; }\n public string Beginning { get; }\n public string End { get; }\n public MatchType BeginMatchType { get; }\n public MatchType EndMatchType { get; }" + "text": " }\n\n public static Type GetMemberType(this MemberInfo member)\n {\n return member switch" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f92871ffb33c424589630f3599b4e945404df62252f0455197e68781db426ebd" + "equalIndicator/v1": "76739857f2e542df997742eb2ce5f04ec65ead8cf0e5676fd3ef29e716e7a986" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119375,20 +119389,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'BeginMatchType' can be made private", - "markdown": "Property 'BeginMatchType' can be made private" + "text": "Method 'IsPublic' can be made private", + "markdown": "Method 'IsPublic' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, + "startLine": 86, "startColumn": 5, - "charOffset": 779, + "charOffset": 2718, "charLength": 6, "snippet": { "text": "public" @@ -119396,33 +119410,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 84, "startColumn": 1, - "charOffset": 707, - "charLength": 156, + "charOffset": 2707, + "charLength": 97, "snippet": { - "text": " public string Beginning { get; }\n public string End { get; }\n public MatchType BeginMatchType { get; }\n public MatchType EndMatchType { get; }\n" + "text": " }\n\n public static bool IsPublic(this MemberInfo member)\n {\n return member switch" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c2c248fd1c4a45dd83a790e35aa4d92c6c091cf6375e2df5485de47f2f15b929" + "equalIndicator/v1": "9cf5ef8d09d648a25214fcfd8e309875fb15c9e6703b0a817353dd51b6542e93" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119431,20 +119444,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'EndMatchType' can be made private", - "markdown": "Property 'EndMatchType' can be made private" + "text": "Method 'IsStatic' can be made private", + "markdown": "Method 'IsStatic' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, + "startLine": 123, "startColumn": 5, - "charOffset": 824, + "charOffset": 4115, "charLength": 6, "snippet": { "text": "public" @@ -119452,33 +119465,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 121, "startColumn": 1, - "charOffset": 744, - "charLength": 167, + "charOffset": 4104, + "charLength": 97, "snippet": { - "text": " public string End { get; }\n public MatchType BeginMatchType { get; }\n public MatchType EndMatchType { get; }\n\n public MatchType MatchesEnd(string message)" + "text": " }\n\n public static bool IsStatic(this MemberInfo member)\n {\n return member switch" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2b9d37204d3eb2a7b378c0c420d4b910e24b1321d43f3ec641fad34e02583c6a" + "equalIndicator/v1": "01e88817199237d3ece3c3f47fdf368c821d1e9a46be447da42e9269fa44b4ae" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119487,54 +119499,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'NewMatchedBlock' can be made private", - "markdown": "Method 'NewMatchedBlock' can be made private" + "text": "Method 'IsExtensionParameter' can be made private", + "markdown": "Method 'IsExtensionParameter' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/BlockMatcher.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 47, + "startLine": 135, "startColumn": 5, - "charOffset": 1265, - "charLength": 9, + "charOffset": 4564, + "charLength": 6, "snippet": { - "text": "protected" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 45, + "startLine": 133, "startColumn": 1, - "charOffset": 1254, - "charLength": 93, + "charOffset": 4553, + "charLength": 142, "snippet": { - "text": " }\n\n protected MatchedBlock NewMatchedBlock(Match match)\n {\n var name = Name;" + "text": " }\n\n public static bool IsExtensionParameter(this ParameterInfo parameter)\n {\n return parameter.Member is MethodInfo method &&" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ebd07e6561bee2672df85fb4aae5b73b77957cf55413a4767bc6811418c423db" + "equalIndicator/v1": "855999bbe9767eca96a9f605d8e9eed4a34d5ceb959e500600dec36470f2a654" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119543,54 +119554,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'Success' can be made private", - "markdown": "Method 'Success' can be made private" + "text": "Method 'IsExplicit' can be made private", + "markdown": "Method 'IsExplicit' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.Theming.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, + "startLine": 142, "startColumn": 5, - "charOffset": 255, - "charLength": 8, + "charOffset": 4833, + "charLength": 6, "snippet": { - "text": "internal" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 140, "startColumn": 1, - "charOffset": 223, - "charLength": 156, + "charOffset": 4822, + "charLength": 112, "snippet": { - "text": "public partial class Host\n{\n internal static void Success(string text = null)\n {\n (Instance?.Theme ?? Logging.DefaultTheme).WriteSuccess(text);" + "text": " }\n\n public static bool IsExplicit(this MemberInfo member)\n {\n return member.Name.Contains(\".\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d913b82a28527c03e51ec93fccde84b59a33fa6acf42f81491df80dd2cc88507" + "equalIndicator/v1": "6be65455e1028c1d0c3eb21588e130afff22fe22c018b8f701a37b9e828b3635" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119599,20 +119609,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetAllNamespaces' can be made private", - "markdown": "Method 'GetAllNamespaces' can be made private" + "text": "Method 'GetPossibleExplicitName' can be made private", + "markdown": "Method 'GetPossibleExplicitName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SourceGenerators/CodeAnalysisExtensions.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 15, + "startLine": 147, "startColumn": 5, - "charOffset": 358, + "charOffset": 4946, "charLength": 6, "snippet": { "text": "public" @@ -119620,27 +119630,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 13, + "startLine": 145, "startColumn": 1, - "charOffset": 309, - "charLength": 235, + "charOffset": 4935, + "charLength": 188, "snippet": { - "text": "public static class CodeAnalysisExtensions\n{\n public static IEnumerable GetAllNamespaces(this INamespaceSymbol namespaceSymbol)\n {\n return namespaceSymbol.DescendantsAndSelf(x => x.GetNamespaceMembers());" + "text": " }\n\n public static string GetPossibleExplicitName(this MemberInfo member)\n {\n return $\"{member.DeclaringType.NotNull().FullName.NotNull().Replace(\"+\", \".\")}.{member.Name}\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SourceGenerators", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "30988b3e9a9cdc051c351c9c92071273a781f2559d9d0610226dce5559805603" + "equalIndicator/v1": "44675f25827efeff44aedda6b06b8dbd294a9c279ad32df3c69c418c1a2b8643" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -119655,20 +119664,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'ShowPlan' can be made private", - "markdown": "Method 'ShowPlan' can be made private" + "text": "Method 'GetImplementedOrInterfaceMember' can be made private", + "markdown": "Method 'GetImplementedOrInterfaceMember' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/Extensions/HandlePlanRequestsAttribute.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, + "startLine": 152, "startColumn": 5, - "charOffset": 943, + "charOffset": 5135, "charLength": 6, "snippet": { "text": "public" @@ -119676,33 +119685,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 150, "startColumn": 1, - "charOffset": 932, - "charLength": 145, + "charOffset": 5124, + "charLength": 153, "snippet": { - "text": " }\n\n public void ShowPlan()\n {\n var resourceText = ResourceUtility.GetResourceAllText(HtmlFileName);" + "text": " }\n\n public static MemberInfo GetImplementedOrInterfaceMember(this MemberInfo member, Type classType)\n {\n Assert.True(classType.IsClass);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "338ef8d76e45def7814c38b15a2430586d492ad982a65e37c2c78a19eb2969d4" + "equalIndicator/v1": "d376589caee865eadb1f40d42f73a872be5efcdfb228832c43e75a375485ec93" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119711,48 +119719,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'Total' can be made private", - "markdown": "Property 'Total' can be made private" + "text": "Method 'GetDisplayShortName' can be made private", + "markdown": "Method 'GetDisplayShortName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/CICD/PartitionAttribute.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, + "startLine": 36, "startColumn": 5, - "charOffset": 358, - "charLength": 6, + "charOffset": 1011, + "charLength": 8, "snippet": { - "text": "public" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 34, "startColumn": 1, - "charOffset": 347, - "charLength": 77, + "charOffset": 1000, + "charLength": 152, "snippet": { - "text": " }\n\n public int Total { get; }\n\n public override bool List => false;" + "text": " }\n\n internal static string GetDisplayShortName(this Type type, IList tupleNames)\n {\n var aliases = new Dictionary" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6e43eb48cc19f543a806a50deef99a8406213f94fcc3bb0e00b9bd90f3a5a303" + "equalIndicator/v1": "87e4b97c1c84f80ca7748d873146d8cd65b0ae83af905a7cf79fd137219f3745" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -119767,20 +119774,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'TestName' can be made private", - "markdown": "Property 'TestName' can be made private" + "text": "Method 'GetDisplayText' can be made private", + "markdown": "Method 'GetDisplayText' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, + "startLine": 92, "startColumn": 5, - "charOffset": 416, + "charOffset": 3307, "charLength": 6, "snippet": { "text": "public" @@ -119788,27 +119795,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 90, "startColumn": 1, - "charOffset": 355, - "charLength": 198, + "charOffset": 3296, + "charLength": 192, "snippet": { - "text": "{\n public ITestOutputHelper TestOutputHelper { get; }\n public string TestName { get; }\n public AbsolutePath ExecutionDirectory { get; }\n public AbsolutePath TestProjectDirectory { get; }" + "text": " }\n\n public static string GetDisplayText(this ParameterInfo parameter)\n {\n var tupleNames = parameter.GetCustomAttribute()?.TransformNames.ToList();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "892956f83b51ecff7269fb15f93c8ca0807d06730be1d7a494ec6a18d50e3682" + "equalIndicator/v1": "20181682754df72556fa04eb3730a2a343454e44143c051f078e2e64f727e858" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -119823,20 +119829,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'ExecutionDirectory' can be made private", - "markdown": "Property 'ExecutionDirectory' can be made private" + "text": "Method 'GetDisplayName' can be made private", + "markdown": "Method 'GetDisplayName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 19, + "startLine": 16, "startColumn": 5, - "charOffset": 452, + "charOffset": 395, "charLength": 6, "snippet": { "text": "public" @@ -119844,33 +119850,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 17, + "startLine": 14, "startColumn": 1, - "charOffset": 357, - "charLength": 243, + "charOffset": 343, + "charLength": 228, "snippet": { - "text": " public ITestOutputHelper TestOutputHelper { get; }\n public string TestName { get; }\n public AbsolutePath ExecutionDirectory { get; }\n public AbsolutePath TestProjectDirectory { get; }\n public AbsolutePath RootDirectory { get; }" + "text": "public static partial class ReflectionUtility\n{\n public static string GetDisplayName(this Type type)\n {\n return type.DescendantsAndSelf(x => x.DeclaringType).Reverse().Select(x => x.GetDisplayShortName()).JoinDot();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3cd63a97a93b448d212412cc0675fb9c742d9e66e21075c7283dd2e757ff23e4" + "equalIndicator/v1": "d053de7870ac9899b2e5bf308fd48c14e8d8e3f817425f570ec5b88817099894" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119879,20 +119884,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'WithAuthentication' can be made private", - "markdown": "Method 'WithAuthentication' can be made private" + "text": "Method 'GetDisplayShortName' can be made private", + "markdown": "Method 'GetDisplayShortName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpRequest.Authentication.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 33, + "startLine": 26, "startColumn": 5, - "charOffset": 1054, + "charOffset": 750, "charLength": 6, "snippet": { "text": "public" @@ -119900,27 +119905,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 31, + "startLine": 24, "startColumn": 1, - "charOffset": 973, - "charLength": 302, + "charOffset": 739, + "charLength": 132, "snippet": { - "text": " /// Sets the scheme and parameter for authentication.\n /// \n public static HttpRequestBuilder WithAuthentication(this HttpRequestBuilder builder, string scheme, string parameter)\n {\n builder.Request.Headers.Authorization = new AuthenticationHeaderValue(scheme, parameter);" + "text": " }\n\n public static string GetDisplayShortName(this Type type)\n {\n return type.GetDisplayShortName(tupleNames: null);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "23785baf28a98f9cf20e6895a3e732087cdad22dd340ff9734a21c5e74fe68ec" + "equalIndicator/v1": "65e13f08b10d6531289207ff82aea5c246dc6d8ec74a462df98db26d8031b5b0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -119935,20 +119939,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetNamedArgument' can be made private", - "markdown": "Method 'GetNamedArgument' can be made private" + "text": "Method 'GetDisplayShortName' can be made private", + "markdown": "Method 'GetDisplayShortName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 63, + "startLine": 31, "startColumn": 5, - "charOffset": 1754, + "charOffset": 883, "charLength": 6, "snippet": { "text": "public" @@ -119956,33 +119960,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 61, + "startLine": 29, "startColumn": 1, - "charOffset": 1733, - "charLength": 219, + "charOffset": 872, + "charLength": 127, "snippet": { - "text": "\n [CanBeNull]\n public static T GetNamedArgument(MemberInfo member, Type destinationType = null)\n {\n return (T) GetFromMemberInfo(member, destinationType ?? typeof(T), Instance.GetCommandLineArgument);" + "text": " }\n\n public static string GetDisplayShortName(this MemberInfo member)\n {\n return member.Name.Split('.').Last();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a765d94713a52770a4b49ba5f8dea6ef8759574746b68b895276f618906c58d6" + "equalIndicator/v1": "ea0bc55e3828584649205f9c74bf47577d205ebbc2e93e45e70a9b255fc34f9f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -119991,54 +119994,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetVariable' can be made private", - "markdown": "Method 'GetVariable' can be made private" + "text": "Method 'GetDisplayShortName' can be made private", + "markdown": "Method 'GetDisplayShortName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 93, + "startLine": 36, "startColumn": 5, - "charOffset": 2682, - "charLength": 6, + "charOffset": 1011, + "charLength": 8, "snippet": { - "text": "public" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 91, + "startLine": 34, "startColumn": 1, - "charOffset": 2661, - "charLength": 214, + "charOffset": 1000, + "charLength": 152, "snippet": { - "text": "\n [CanBeNull]\n public static T GetVariable(MemberInfo member, Type destinationType = null)\n {\n return (T) GetFromMemberInfo(member, destinationType ?? typeof(T), Instance.GetEnvironmentVariable);" + "text": " }\n\n internal static string GetDisplayShortName(this Type type, IList tupleNames)\n {\n var aliases = new Dictionary" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "858a13b28a7e3d38c8445ed59dc7d2fc844610b1d67e36d331ad6eee754995b3" + "equalIndicator/v1": "b0ae250c39deaceea481f862032b832754b800b4163b9c8acb1e499da24bae74" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -120047,20 +120049,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'CombineWith' can be made private", - "markdown": "Method 'CombineWith' can be made private" + "text": "Method 'GetDisplayText' can be made private", + "markdown": "Method 'GetDisplayText' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Disposable.CombineWith.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 92, "startColumn": 5, - "charOffset": 413, + "charOffset": 3307, "charLength": 6, "snippet": { "text": "public" @@ -120068,12 +120070,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 90, "startColumn": 1, - "charOffset": 294, - "charLength": 316, + "charOffset": 3296, + "charLength": 192, "snippet": { - "text": " /// Combines an existing with another setup and cleanup delegate.\n /// \n public static IDisposable CombineWith(this IDisposable disposable, [InstantHandle] Action setup = null, [InstantHandle] Action cleanup = null)\n {\n return DelegateDisposable.CreateBracket(" + "text": " }\n\n public static string GetDisplayText(this ParameterInfo parameter)\n {\n var tupleNames = parameter.GetCustomAttribute()?.TransformNames.ToList();" } } }, @@ -120086,9 +120088,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "38617996acf700dc565402c484fd55f8608a59a034b0b65687219735442388ec" + "equalIndicator/v1": "70684a4834b9c6f774e677caefaa23a2c8134cca023af10e5272120c30ed6662" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120103,20 +120104,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'CombineWith' can be made private", - "markdown": "Method 'CombineWith' can be made private" + "text": "Method 'InvokeMember' can be made private", + "markdown": "Method 'InvokeMember' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Disposable.CombineWith.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, + "startLine": 95, "startColumn": 5, - "charOffset": 413, + "charOffset": 3842, "charLength": 6, "snippet": { "text": "public" @@ -120124,12 +120125,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 93, "startColumn": 1, - "charOffset": 294, - "charLength": 316, + "charOffset": 3831, + "charLength": 96, "snippet": { - "text": " /// Combines an existing with another setup and cleanup delegate.\n /// \n public static IDisposable CombineWith(this IDisposable disposable, [InstantHandle] Action setup = null, [InstantHandle] Action cleanup = null)\n {\n return DelegateDisposable.CreateBracket(" + "text": " }\n\n public static object InvokeMember(\n this Type type,\n string memberName," } } }, @@ -120142,9 +120143,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "5f9aad0d4fdda9b39692ceb4f0148bd3ff2998152bf1e9f4a46fde22df199136" + "equalIndicator/v1": "a975a481fa1b182d7fa84d3c4c504d12ab5411f6cc92ada92caac9c9a6b7adb1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120159,20 +120159,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetTargetsText' can be made private", - "markdown": "Method 'GetTargetsText' can be made private" + "text": "Method 'GetValue' can be made private", + "markdown": "Method 'GetValue' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/Extensions/HandleHelpRequestsAttribute.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, + "startLine": 25, "startColumn": 5, - "charOffset": 822, + "charOffset": 657, "charLength": 6, "snippet": { "text": "public" @@ -120180,33 +120180,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 23, "startColumn": 1, - "charOffset": 811, - "charLength": 90, + "charOffset": 646, + "charLength": 140, "snippet": { - "text": " }\n\n public string GetTargetsText()\n {\n var builder = new StringBuilder();" + "text": " }\n\n public static object GetValue(this MemberInfo member, object obj = null, object[] args = null)\n {\n return member switch" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "413369e8a7054738444d11867b109de7a1c169864995becce80e26d1e367c819" + "equalIndicator/v1": "887131cd299ffdeadbb3fcaafc6b840c4c63f4ccc67c076ae6f0c19f143a0ea4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -120215,20 +120214,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetParametersText' can be made private", - "markdown": "Method 'GetParametersText' can be made private" + "text": "Method 'InvokeMember' can be made private", + "markdown": "Method 'InvokeMember' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/Extensions/HandleHelpRequestsAttribute.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 51, + "startLine": 95, "startColumn": 5, - "charOffset": 1847, + "charOffset": 3842, "charLength": 6, "snippet": { "text": "public" @@ -120236,33 +120235,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 49, + "startLine": 93, "startColumn": 1, - "charOffset": 1836, - "charLength": 157, + "charOffset": 3831, + "charLength": 96, "snippet": { - "text": " }\n\n public string GetParametersText()\n {\n var defaultTargets = Build.ExecutableTargets.Where(x => x.IsDefault).Select(x => x.Name).ToList();" + "text": " }\n\n public static object InvokeMember(\n this Type type,\n string memberName," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "720c225cf15f1281ab7c89001b6ec2445a53c2c76b4509cac0c7f364b4b52ef7" + "equalIndicator/v1": "c546ae4e5b4d87e1cd08d3876db1187ddcd24041aa1a02007d209cd56d634066" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -120271,20 +120269,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'BlockMatcher' can be made private", - "markdown": "Property 'BlockMatcher' can be made private" + "text": "Method 'GetResource' can be made private", + "markdown": "Method 'GetResource' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/MatchedBlock.cs", + "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, + "startLine": 36, "startColumn": 5, - "charOffset": 248, + "charOffset": 885, "charLength": 6, "snippet": { "text": "public" @@ -120292,27 +120290,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 34, "startColumn": 1, - "charOffset": 214, - "charLength": 147, + "charOffset": 874, + "charLength": 116, "snippet": { - "text": "internal class MatchedBlock\n{\n public BlockMatcher BlockMatcher { get; }\n public string Name { get; }\n public MatchType MatchType { get; }" + "text": " }\n\n public static Stream GetResource(string postfix)\n {\n return GetResource(typeof(T), postfix);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2cb5a29722d7b74771fc4a54baae85f4dc4f4c1e03fed841096354a7618b365e" + "equalIndicator/v1": "edb4f130123adeb4d6f52389c276c243638e4d7e9f544833a7aa8e15bb7c9f99" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120327,20 +120324,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'WithArguments' can be made private", - "markdown": "Method 'WithArguments' can be made private" + "text": "Method 'GetResource' can be made private", + "markdown": "Method 'GetResource' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/CodeAnalysisExtensions.cs", + "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, + "startLine": 41, "startColumn": 5, - "charOffset": 1084, + "charOffset": 1002, "charLength": 6, "snippet": { "text": "public" @@ -120348,27 +120345,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 39, "startColumn": 1, - "charOffset": 1073, - "charLength": 210, + "charOffset": 991, + "charLength": 162, "snippet": { - "text": " }\n\n public static InvocationExpressionSyntax WithArguments(this InvocationExpressionSyntax node, IEnumerable expressions)\n {\n return node.WithArguments(expressions.ToArray());" + "text": " }\n\n public static Stream GetResource(Type typeForNamespace, string postfix)\n {\n var fullResourceName = $\"{typeForNamespace.Namespace}.{postfix}\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8260083ca2ff6181450f2ad3bf861d1f4ddf7e9035c74d1fa5ee124c99e5e153" + "equalIndicator/v1": "a7f7027d311f28ce5b03d5a48205f711650d95569d1c404eff0d2d5b2406fbb0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120383,54 +120379,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Accessor 'Description.set' can be made private", - "markdown": "Accessor 'Description.set' can be made private" + "text": "Method 'GetResource' can be made private", + "markdown": "Method 'GetResource' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/TargetDefinition.cs", + "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, - "startColumn": 40, - "charOffset": 950, - "charLength": 3, + "startLine": 36, + "startColumn": 5, + "charOffset": 885, + "charLength": 6, "snippet": { - "text": "set" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 34, "startColumn": 1, - "charOffset": 862, - "charLength": 273, + "charOffset": 874, + "charLength": 116, "snippet": { - "text": " internal Func Intercept { get; set; }\n\n internal string Description { get; set; }\n internal List<(string Text, Func Delegate)> DynamicConditions { get; } = new();\n internal List<(string Text, Func Delegate)> StaticConditions { get; } = new();" + "text": " }\n\n public static Stream GetResource(string postfix)\n {\n return GetResource(typeof(T), postfix);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "33d2c1d85cbbfad2676f77a401d276e2b25a8e35913fbc94f741b1a804e12de3" + "equalIndicator/v1": "9ff2843cea4ab3cd4ea6e9b20e38deea47af73a895a2195349d61428c1baec61" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -120439,20 +120434,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Constructor 'PathToolRequirement' can be made private", - "markdown": "Constructor 'PathToolRequirement' can be made private" + "text": "Method 'GetResource' can be made private", + "markdown": "Method 'GetResource' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", + "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, + "startLine": 41, "startColumn": 5, - "charOffset": 466, + "charOffset": 1002, "charLength": 6, "snippet": { "text": "public" @@ -120460,33 +120455,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 39, "startColumn": 1, - "charOffset": 455, - "charLength": 51, + "charOffset": 991, + "charLength": 162, "snippet": { - "text": " }\n\n public PathToolRequirement()\n {\n }" + "text": " }\n\n public static Stream GetResource(Type typeForNamespace, string postfix)\n {\n var fullResourceName = $\"{typeForNamespace.Namespace}.{postfix}\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4e0e662e42ae5bd4da31be62d0cce228fdb57720ccbe845f2baaeff06fdfb15d" + "equalIndicator/v1": "e9f3913e314933c7ec6de73e2c90a15930c9cccb210cfb4fcf21afe24bf670d7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -120495,20 +120489,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Constructor 'PathToolRequirement' can be made private", - "markdown": "Constructor 'PathToolRequirement' can be made private" + "text": "Method 'CombineWith' can be made private", + "markdown": "Method 'CombineWith' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", + "uri": "source/Nuke.Utilities/Disposable.CombineWith.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, + "startLine": 16, "startColumn": 5, - "charOffset": 466, + "charOffset": 413, "charLength": 6, "snippet": { "text": "public" @@ -120516,33 +120510,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 14, "startColumn": 1, - "charOffset": 455, - "charLength": 51, + "charOffset": 294, + "charLength": 316, "snippet": { - "text": " }\n\n public PathToolRequirement()\n {\n }" + "text": " /// Combines an existing with another setup and cleanup delegate.\n /// \n public static IDisposable CombineWith(this IDisposable disposable, [InstantHandle] Action setup = null, [InstantHandle] Action cleanup = null)\n {\n return DelegateDisposable.CreateBracket(" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "97b42631e224c2ba076afa4aa5c817e60e82272bc043db3bf695141d3a4963d1" + "equalIndicator/v1": "5f9aad0d4fdda9b39692ceb4f0148bd3ff2998152bf1e9f4a46fde22df199136" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -120551,20 +120544,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetBodyAsJson' can be made private", - "markdown": "Method 'GetBodyAsJson' can be made private" + "text": "Method 'CombineWith' can be made private", + "markdown": "Method 'CombineWith' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpResponse.Body.cs", + "uri": "source/Nuke.Utilities/Disposable.CombineWith.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 19, + "startLine": 16, "startColumn": 5, - "charOffset": 466, + "charOffset": 413, "charLength": 6, "snippet": { "text": "public" @@ -120572,27 +120565,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 17, + "startLine": 14, "startColumn": 1, - "charOffset": 397, - "charLength": 238, + "charOffset": 294, + "charLength": 316, "snippet": { - "text": " /// Reads the HTTP response body as JSON.\n /// \n public static async Task GetBodyAsJson(this HttpResponseInspector inspector)\n {\n return JsonConvert.DeserializeObject(await inspector.GetBodyAsync());" + "text": " /// Combines an existing with another setup and cleanup delegate.\n /// \n public static IDisposable CombineWith(this IDisposable disposable, [InstantHandle] Action setup = null, [InstantHandle] Action cleanup = null)\n {\n return DelegateDisposable.CreateBracket(" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "526da8d3433c5db569c957fc82b1108010b6d1aace61a7ac20bcc0351d398b38" + "equalIndicator/v1": "38617996acf700dc565402c484fd55f8608a59a034b0b65687219735442388ec" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120607,20 +120599,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'GetBodyAsJson' can be made private", - "markdown": "Method 'GetBodyAsJson' can be made private" + "text": "Method 'WithArguments' can be made private", + "markdown": "Method 'WithArguments' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpResponse.Body.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/CodeAnalysisExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 35, + "startLine": 34, "startColumn": 5, - "charOffset": 973, + "charOffset": 1084, "charLength": 6, "snippet": { "text": "public" @@ -120628,33 +120620,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 33, + "startLine": 32, "startColumn": 1, - "charOffset": 904, - "charLength": 281, + "charOffset": 1073, + "charLength": 210, "snippet": { - "text": " /// Reads the HTTP response body as JSON.\n /// \n public static async Task GetBodyAsJson(this HttpResponseInspector inspector, JsonSerializerSettings settings)\n {\n return JsonConvert.DeserializeObject(await inspector.GetBodyAsync(), settings);" + "text": " }\n\n public static InvocationExpressionSyntax WithArguments(this InvocationExpressionSyntax node, IEnumerable expressions)\n {\n return node.WithArguments(expressions.ToArray());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "544c6c2d8cbade568adb695617b9c8637be29bc68132753f5512bace1c97460e" + "equalIndicator/v1": "8260083ca2ff6181450f2ad3bf861d1f4ddf7e9035c74d1fa5ee124c99e5e153" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -120663,20 +120654,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Property 'RegexPattern' can be made private", - "markdown": "Property 'RegexPattern' can be made private" + "text": "Method 'IsValueType' can be made private", + "markdown": "Method 'IsValueType' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/LineMatcher.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/ModelExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, + "startLine": 16, "startColumn": 5, - "charOffset": 285, + "charOffset": 374, "charLength": 6, "snippet": { "text": "public" @@ -120684,33 +120675,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 14, "startColumn": 1, - "charOffset": 252, - "charLength": 107, + "charOffset": 332, + "charLength": 159, "snippet": { - "text": "internal class LineMatcher\n{\n public string RegexPattern { get; }\n public LogLevel LogLevel { get; }\n" + "text": "public static class ModelExtensions\n{\n public static bool IsValueType(this Property property)\n {\n return property.Type.EqualsAnyOrdinalIgnoreCase(" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a6e44f06dcc0a88d7e30d350dd270955d4c9707922802950413f90753ea3f9b1" + "equalIndicator/v1": "e2f7c7e463549a4d48825f2ba42dbc11631aaa2dfca769299a7470c8e4cfbb7e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -120719,20 +120709,20 @@ "kind": "fail", "level": "note", "message": { - "text": "Method 'SendGitterMessageAsync' can be made private", - "markdown": "Method 'SendGitterMessageAsync' can be made private" + "text": "Method 'GetReturnType' can be made private", + "markdown": "Method 'GetReturnType' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Gitter/GitterTasks.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/ModelExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, + "startLine": 120, "startColumn": 5, - "charOffset": 797, + "charOffset": 3383, "charLength": 6, "snippet": { "text": "public" @@ -120740,83 +120730,81 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 118, "startColumn": 1, - "charOffset": 786, - "charLength": 235, + "charOffset": 3372, + "charLength": 109, "snippet": { - "text": " }\n\n public static async Task SendGitterMessageAsync(string message, string roomId, string token)\n {\n var response = await s_client.CreateRequest(HttpMethod.Post, $\"https://api.gitter.im/v1/rooms/{roomId}/chatMessages\")" + "text": " }\n\n public static string GetReturnType(this Task task)\n {\n return task.ReturnType ?? \"void\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ac73b47b193603f809a48c429ba581600baea732b19f33484890d85c6a88c63c" + "equalIndicator/v1": "57695b21a8292a00f0ee72605b904800d2c33a168e1b3a0b8ec0ea9f98ac80c6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Some values of the enum are not processed inside switch: Unknown, Linux", - "markdown": "Some values of the enum are not processed inside switch: Unknown, Linux" + "text": "Field 'Description' can be made private", + "markdown": "Field 'Description' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/UnityTasks.cs", + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, - "startColumn": 41, - "charOffset": 1343, + "startLine": 16, + "startColumn": 5, + "charOffset": 356, "charLength": 6, "snippet": { - "text": "switch" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 14, "startColumn": 1, - "charOffset": 1224, - "charLength": 242, + "charOffset": 307, + "charLength": 210, "snippet": { - "text": " private static AbsolutePath GetToolPathViaHubVersion(string version)\n {\n return EnvironmentInfo.Platform switch\n {\n PlatformFamily.Windows => $@\"{GetProgramFiles()}\\Unity\\Hub\\Editor\\{version}\\Editor\\Unity.exe\"," + "text": "public class DefaultInterfaceExecutionTest\n{\n public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "bb39dc0588468a8fb0629f86f769ddba339571ac81b20c7ddf5f12bb7a8aa813" + "equalIndicator/v1": "d971f2753c342b67f51b175231f7ae7413a5723c3ac5a88d21293eaef1691b2d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120827,52 +120815,51 @@ } }, { - "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Some values of the enum are not processed inside switch: Information, Fatal", - "markdown": "Some values of the enum are not processed inside switch: Information, Fatal" + "text": "Field 'Action' can be made private", + "markdown": "Field 'Action' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Logging.cs", + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, - "startColumn": 41, - "charOffset": 1466, + "startLine": 17, + "startColumn": 5, + "charOffset": 410, "charLength": 6, "snippet": { - "text": "switch" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 15, "startColumn": 1, - "charOffset": 1387, - "charLength": 148, + "charOffset": 350, + "charLength": 226, "snippet": { - "text": " public static LogLevel Level\n {\n get => LevelSwitch.MinimumLevel switch\n {\n LogEventLevel.Verbose => LogLevel.Trace," + "text": "{\n public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ddfd58a6017fc31f3100461103fcc7b1dcf80155fee45139ff0a668c600b8d74" + "equalIndicator/v1": "042e3725d327b5157210f54667b6ed8eddfa1b1a380ef95ff4eba5aed482fd8e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120883,52 +120870,51 @@ } }, { - "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Some values of the enum are not processed inside switch: Unknown, Linux", - "markdown": "Some values of the enum are not processed inside switch: Unknown, Linux" + "text": "Field 'Requirement' can be made private", + "markdown": "Field 'Requirement' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Navigation.cs", + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 37, - "charOffset": 799, + "startLine": 18, + "startColumn": 5, + "charOffset": 455, "charLength": 6, "snippet": { - "text": "switch" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 16, "startColumn": 1, - "charOffset": 726, - "charLength": 186, + "charOffset": 352, + "charLength": 285, "snippet": { - "text": "\n private static string SessionId\n => EnvironmentInfo.Platform switch\n {\n PlatformFamily.OSX => EnvironmentInfo.GetVariable(\"TERM_SESSION_ID\").NotNull()[7..]," + "text": " public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "44b193d32ed0f1846a73ac0b766ab96ec640ac7b32f4a08734035567d958ec6c" + "equalIndicator/v1": "d83408d0f3faede95ff3843b81984b61fa06177912645ee0c1efd1bc9ddeaf73" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120939,52 +120925,51 @@ } }, { - "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Some values of the enum are not processed inside switch: Unknown", - "markdown": "Some values of the enum are not processed inside switch: Unknown" + "text": "Field 'StaticCondition' can be made private", + "markdown": "Field 'StaticCondition' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/CloudFoundry/CloudFoundryTasks.cs", + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, - "startColumn": 37, - "charOffset": 682, + "startLine": 19, + "startColumn": 5, + "charOffset": 522, "charLength": 6, "snippet": { - "text": "switch" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 17, "startColumn": 1, - "charOffset": 606, - "charLength": 190, + "charOffset": 406, + "charLength": 232, "snippet": { - "text": "\n private static string CurrentOsRid\n => EnvironmentInfo.Platform switch\n {\n PlatformFamily.Windows => Environment.Is64BitOperatingSystem ? \"win-x64\" : \"win-x32\"," + "text": " public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "cd64ba8cf599ed43a9b2b34846c3031daf7adee1b080d6005fa51c21728aab90" + "equalIndicator/v1": "ef80c49ac9e16c59686b0eb949387553984ebb1b6f24029595869b7d2deb942d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -120995,52 +120980,51 @@ } }, { - "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Some values of the enum are not processed inside switch: None, List, TildeToken...", - "markdown": "Some values of the enum are not processed inside switch: None, List, TildeToken..." + "text": "Field 'DynamicCondition' can be made private", + "markdown": "Field 'DynamicCondition' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/CodeAnalysisExtensions.cs", + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 104, - "startColumn": 45, - "charOffset": 3867, + "startLine": 20, + "startColumn": 5, + "charOffset": 581, "charLength": 6, "snippet": { - "text": "switch" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 102, + "startLine": 18, "startColumn": 1, - "charOffset": 3744, - "charLength": 220, + "charOffset": 451, + "charLength": 198, "snippet": { - "text": " if (expression is LiteralExpressionSyntax literalExpression)\n {\n return literalExpression.Kind() switch\n {\n SyntaxKind.NumericLiteralExpression => ParseTypeName(\"int\")," + "text": " public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;\n\n [Fact]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5c679d13528239cca401d63f02cfa5f82920c55f784d534ed6c40602cf8dc2fc" + "equalIndicator/v1": "439eebdee8c90738aa6d17997d894d8c3144a9ba7ecdaa22fe927f309f9a9dfb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -121051,37 +121035,37 @@ } }, { - "ruleId": "FieldCanBeMadeReadOnly.Global", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" + "text": "Class 'Resolver' can be made private", + "markdown": "Class 'Resolver' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 17, - "startColumn": 26, - "charOffset": 431, + "startLine": 35, + "startColumn": 5, + "charOffset": 871, "charLength": 6, "snippet": { - "text": "Action" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 15, + "startLine": 33, "startColumn": 1, - "charOffset": 350, - "charLength": 226, + "charOffset": 834, + "charLength": 174, "snippet": { - "text": "{\n public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;" + "text": "public class SchemaUtilityTest\n{\n public class Resolver : DefaultContractResolver\n {\n protected override List GetSerializableMembers(Type objectType)" } } }, @@ -121094,9 +121078,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c33976de61c5386da4b4838a67d41d267ae52fa239a180f1977c07b3f11fce42" + "equalIndicator/v1": "e433dbfb7a1b7d50ac58f69673c1d1792e7f9b3ea0f299faabcef9052f411ccd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -121107,52 +121090,51 @@ } }, { - "ruleId": "FieldCanBeMadeReadOnly.Global", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" + "text": "Property 'TestName' can be made private", + "markdown": "Property 'TestName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 18, - "startColumn": 42, - "charOffset": 492, - "charLength": 11, + "startColumn": 5, + "charOffset": 416, + "charLength": 6, "snippet": { - "text": "Requirement" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 16, "startColumn": 1, - "charOffset": 352, - "charLength": 285, + "charOffset": 355, + "charLength": 198, "snippet": { - "text": " public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;" + "text": "{\n public ITestOutputHelper TestOutputHelper { get; }\n public string TestName { get; }\n public AbsolutePath ExecutionDirectory { get; }\n public AbsolutePath TestProjectDirectory { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a074b0e24ef453602ec4c36e5e4fc2bdc6ffcdfe676d9a60660a2b0a42f088d4" + "equalIndicator/v1": "892956f83b51ecff7269fb15f93c8ca0807d06730be1d7a494ec6a18d50e3682" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -121163,52 +121145,51 @@ } }, { - "ruleId": "FieldCanBeMadeReadOnly.Global", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" + "text": "Property 'ExecutionDirectory' can be made private", + "markdown": "Property 'ExecutionDirectory' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 19, - "startColumn": 30, - "charOffset": 547, - "charLength": 15, + "startColumn": 5, + "charOffset": 452, + "charLength": 6, "snippet": { - "text": "StaticCondition" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 17, "startColumn": 1, - "charOffset": 406, - "charLength": 232, + "charOffset": 357, + "charLength": 243, "snippet": { - "text": " public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;\n" + "text": " public ITestOutputHelper TestOutputHelper { get; }\n public string TestName { get; }\n public AbsolutePath ExecutionDirectory { get; }\n public AbsolutePath TestProjectDirectory { get; }\n public AbsolutePath RootDirectory { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "99b952b2033c405415e1cfa004cd063c30304c19e0fadba06ceaa26aaa131b08" + "equalIndicator/v1": "3cd63a97a93b448d212412cc0675fb9c742d9e66e21075c7283dd2e757ff23e4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -121219,108 +121200,106 @@ } }, { - "ruleId": "FieldCanBeMadeReadOnly.Global", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" + "text": "Method 'GlobDirectories' can be made private", + "markdown": "Method 'GlobDirectories' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Utilities.IO.Globbing/Globbing.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 30, - "charOffset": 606, - "charLength": 16, + "startLine": 44, + "startColumn": 5, + "charOffset": 1469, + "charLength": 6, "snippet": { - "text": "DynamicCondition" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 42, "startColumn": 1, - "charOffset": 451, - "charLength": 198, + "charOffset": 1453, + "charLength": 157, "snippet": { - "text": " public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;\n\n [Fact]" + "text": "\n [Pure]\n public static IReadOnlyCollection GlobDirectories(string directory, params string[] patterns)\n {\n if (patterns.Length == 0)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Utilities.IO.Globbing", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1dfce06eb766df0e5b52b162d832fc864bc39bc0229d48a8d06ff1e93121c04b" + "equalIndicator/v1": "9c9112c08442447f29c9941a21e55f37227d2407784187233d826398c0515769" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "FieldCanBeMadeReadOnly.Global", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" + "text": "Constant 'ParametersFilePrefix' can be made private", + "markdown": "Constant 'ParametersFilePrefix' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, - "startColumn": 38, - "charOffset": 387, + "startLine": 35, + "startColumn": 5, + "charOffset": 1332, "charLength": 8, "snippet": { - "text": "Instance" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 33, "startColumn": 1, - "charOffset": 308, - "charLength": 182, + "charOffset": 1176, + "charLength": 274, "snippet": { - "text": "internal partial class ParameterService\n{\n internal static ParameterService Instance = new(\n () => EnvironmentInfo.ArgumentParser,\n () => EnvironmentInfo.Variables);" + "text": " public const string VisualStudioDebugParameterName = \"visual-studio-debug\";\n internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";\n internal const string DefaultProfileName = \"$default\";\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e566b4a81e566c42d8172e477041b7afa3dc3e791c48df3485401e84dc1bedb8" + "equalIndicator/v1": "6bae0aea0a0b3b0a8ce2d01ffccfaef269d4df9381e72c86d68f828cdba32195" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -121331,55 +121310,54 @@ } }, { - "ruleId": "NotAccessedField.Local", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Field 'Param' is assigned but its value is never used", - "markdown": "Field 'Param' is assigned but its value is never used" + "text": "Method 'GetParametersProfileFiles' can be made private", + "markdown": "Method 'GetParametersProfileFiles' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 35, - "charOffset": 879, - "charLength": 5, + "startLine": 106, + "startColumn": 5, + "charOffset": 4202, + "charLength": 8, "snippet": { - "text": "Param" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 104, "startColumn": 1, - "charOffset": 783, - "charLength": 198, + "charOffset": 4191, + "charLength": 252, "snippet": { - "text": " private class TestBuild : NukeBuild, ITestComponent\n {\n [Parameter] public string Param;\n [Parameter] public bool? NullableBool;\n [Parameter] public int? NullableInteger;" + "text": " }\n\n internal static IEnumerable GetParametersProfileFiles(AbsolutePath rootDirectory)\n {\n return new DirectoryInfo(GetNukeDirectory(rootDirectory)).GetFiles($\"{ParametersFilePrefix}.*.json\", SearchOption.TopDirectoryOnly)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d1b5b7213cdef4c794c8a3247f7fb37ba3a629207a430f00fbdfb900e6db0498" + "equalIndicator/v1": "9ccbe27f864764e286de7e014e5c81229c3799680e3eae2fb222e04de36bc9db" }, - "baselineState": "new", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NET 6.0" @@ -121387,615 +121365,604 @@ } }, { - "ruleId": "NotAccessedField.Local", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Field 'NullableBool' is assigned but its value is never used", - "markdown": "Field 'NullableBool' is assigned but its value is never used" + "text": "Constant 'NukeFileName' can be made private", + "markdown": "Constant 'NukeFileName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 34, - "charOffset": 919, - "charLength": 12, + "startLine": 21, + "startColumn": 5, + "charOffset": 499, + "charLength": 8, "snippet": { - "text": "NullableBool" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 19, "startColumn": 1, - "charOffset": 839, - "charLength": 194, + "charOffset": 461, + "charLength": 233, "snippet": { - "text": " {\n [Parameter] public string Param;\n [Parameter] public bool? NullableBool;\n [Parameter] public int? NullableInteger;\n [Parameter] public Verbosity[] Verbosities;" + "text": "internal static class Constants\n{\n internal const string NukeFileName = NukeDirectoryName;\n internal const string NukeDirectoryName = \".nuke\";\n internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6473b15c39a9747bfc8702f61a20d7ec23dc2dc4656ba6f15f709c52d653ea9c" + "equalIndicator/v1": "5d99034f60752939ff7c0ca4ab32b68e7d280fbda8ca6b0c67234b26d4b1f196" }, - "baselineState": "new", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "NotAccessedField.Local", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Field 'NullableInteger' is assigned but its value is never used", - "markdown": "Field 'NullableInteger' is assigned but its value is never used" + "text": "Constant 'NukeDirectoryName' can be made private", + "markdown": "Constant 'NukeDirectoryName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 33, - "startColumn": 33, - "charOffset": 965, - "charLength": 15, + "startLine": 22, + "startColumn": 5, + "charOffset": 559, + "charLength": 8, "snippet": { - "text": "NullableInteger" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 31, + "startLine": 20, "startColumn": 1, - "charOffset": 845, - "charLength": 239, + "charOffset": 493, + "charLength": 270, "snippet": { - "text": " [Parameter] public string Param;\n [Parameter] public bool? NullableBool;\n [Parameter] public int? NullableInteger;\n [Parameter] public Verbosity[] Verbosities;\n [Parameter] [Secret] public string Secret;" + "text": "{\n internal const string NukeFileName = NukeDirectoryName;\n internal const string NukeDirectoryName = \".nuke\";\n internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8b852add83ea7e405302d18dd7a2a1acb6435d43775c9956b1f231f7cbe95811" + "equalIndicator/v1": "b5038b702e304f862573788e4b0ff2cb950457073f7857ade0521750995c2b62" }, - "baselineState": "new", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "NotAccessedField.Local", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Field 'Verbosities' is assigned but its value is never used", - "markdown": "Field 'Verbosities' is assigned but its value is never used" + "text": "Constant 'BuildSchemaFileName' can be made private", + "markdown": "Constant 'BuildSchemaFileName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, - "startColumn": 40, - "charOffset": 1021, - "charLength": 11, + "startLine": 24, + "startColumn": 5, + "charOffset": 699, + "charLength": 8, "snippet": { - "text": "Verbosities" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 22, "startColumn": 1, - "charOffset": 886, - "charLength": 234, + "charOffset": 555, + "charLength": 304, "snippet": { - "text": " [Parameter] public bool? NullableBool;\n [Parameter] public int? NullableInteger;\n [Parameter] public Verbosity[] Verbosities;\n [Parameter] [Secret] public string Secret;\n public string Param2 => \"\";" + "text": " internal const string NukeDirectoryName = \".nuke\";\n internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";\n internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0a35b927ea897c9f88e359175cc0eb0470b78d0a4ae7a3c8f31fff7b8977dc42" + "equalIndicator/v1": "1ff3c066ec5301bf982109a4e50db8b980d259424fe3cdc506fede42ebcd2379" }, - "baselineState": "new", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "NotAccessedField.Local", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Field 'Secret' is assigned but its value is never used", - "markdown": "Field 'Secret' is assigned but its value is never used" + "text": "Constant 'VisualStudioDebugParameterName' can be made private", + "markdown": "Constant 'VisualStudioDebugParameterName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 35, - "startColumn": 44, - "charOffset": 1077, + "startLine": 33, + "startColumn": 5, + "charOffset": 1180, "charLength": 6, "snippet": { - "text": "Secret" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 33, + "startLine": 31, "startColumn": 1, - "charOffset": 933, - "charLength": 231, + "charOffset": 1103, + "charLength": 287, "snippet": { - "text": " [Parameter] public int? NullableInteger;\n [Parameter] public Verbosity[] Verbosities;\n [Parameter] [Secret] public string Secret;\n public string Param2 => \"\";\n string ITestComponent.Param3 => \"\";" + "text": " internal const string LoadedLocalProfilesParameterName = \"Profile\";\n\n public const string VisualStudioDebugParameterName = \"visual-studio-debug\";\n internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0bfe339e85e6b5310704623ec7c3d8f6833229c081bf7329148e0d8fef472df4" + "equalIndicator/v1": "4d0de993b573a31061e9d1694d914beba33091f3f0c3d2d4b2573ff7eb3851cb" }, - "baselineState": "new", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UseCollectionCountProperty", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Replace 'Enumerable.Count()' invocation with collection count property access", - "markdown": "Replace 'Enumerable.Count()' invocation with collection count property access" + "text": "Constant 'CompletionParameterName' can be made private", + "markdown": "Constant 'CompletionParameterName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/FormattingRewriter.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 66, - "startColumn": 35, - "charOffset": 2638, - "charLength": 2, + "startLine": 34, + "startColumn": 5, + "charOffset": 1260, + "charLength": 8, "snippet": { - "text": "()" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 64, + "startLine": 32, "startColumn": 1, - "charOffset": 2492, - "charLength": 211, + "charOffset": 1175, + "charLength": 274, "snippet": { - "text": " public override SyntaxNode VisitInterpolatedStringExpression(InterpolatedStringExpressionSyntax node)\n {\n return node.Contents.Count() == 1\n ? node.Contents.Single() switch\n {" + "text": "\n public const string VisualStudioDebugParameterName = \"visual-studio-debug\";\n internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";\n internal const string DefaultProfileName = \"$default\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "eb3574e3cc7d73d213f96ff52e29ebc00640d5a3fb89ff2421995ed1f93aba2b" + "equalIndicator/v1": "4c8718e2de3e9273586b6bc5566d1135fdfe1d50cc53dcc0f062d902d40db39a" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "ForCanBeConvertedToForeach", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "For-loop can be converted into foreach-loop", - "markdown": "For-loop can be converted into foreach-loop" + "text": "Constant 'ParametersFilePrefix' can be made private", + "markdown": "Constant 'ParametersFilePrefix' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCity.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 43, - "startColumn": 13, - "charOffset": 1303, - "charLength": 3, + "startLine": 35, + "startColumn": 5, + "charOffset": 1332, + "charLength": 8, "snippet": { - "text": "for" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 41, + "startLine": 33, "startColumn": 1, - "charOffset": 1269, - "charLength": 122, + "charOffset": 1176, + "charLength": 274, "snippet": { - "text": " try\n {\n for (var i = 0; i < lines.Length; i++)\n {\n var line = lines[i]" + "text": " public const string VisualStudioDebugParameterName = \"visual-studio-debug\";\n internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";\n internal const string DefaultProfileName = \"$default\";\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5ea81b408e9b54ff7e40ffdc1c332a0810935334ab8313d2f6a95f152e13021a" + "equalIndicator/v1": "adbbad295ccd9f406758f36a12acf5a85573b3407f5b6f46915860d0155f42b5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "VirtualMemberNeverOverridden.Global", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Virtual method 'WriteErrorsAndWarnings' is never overridden", - "markdown": "Virtual method 'WriteErrorsAndWarnings' is never overridden" - }, + "text": "Constant 'DefaultProfileName' can be made private", + "markdown": "Constant 'DefaultProfileName' can be made private" + }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 79, - "startColumn": 24, - "charOffset": 2256, - "charLength": 7, + "startLine": 36, + "startColumn": 5, + "charOffset": 1395, + "charLength": 8, "snippet": { - "text": "virtual" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 77, + "startLine": 34, "startColumn": 1, - "charOffset": 2226, - "charLength": 137, + "charOffset": 1256, + "charLength": 282, "snippet": { - "text": " }\n\n protected internal virtual void WriteErrorsAndWarnings()\n {\n if (Logging.InMemorySink.Instance.LogEvents.Count == 0)" + "text": " internal const string CompletionParameterName = \"shell-completion\";\n internal const string ParametersFilePrefix = \"parameters\";\n internal const string DefaultProfileName = \"$default\";\n\n internal const string GlobalToolVersionEnvironmentKey = \"NUKE_GLOBAL_TOOL_VERSION\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8252cbd0f80c718d7a31d53f4469f94f0786b7fe4e97a574b35d1487877b9379" + "equalIndicator/v1": "c4edb44125f601a5bb53ea18573a622c30465b4251cf7196f8f1ec3e3da7a19c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "VirtualMemberNeverOverridden.Global", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Virtual method 'WriteTargetOutcome' is never overridden", - "markdown": "Virtual method 'WriteTargetOutcome' is never overridden" + "text": "Property 'GlobalNukeDirectory' can be made private", + "markdown": "Property 'GlobalNukeDirectory' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 99, - "startColumn": 24, - "charOffset": 2995, - "charLength": 7, + "startLine": 43, + "startColumn": 5, + "charOffset": 1801, + "charLength": 8, "snippet": { - "text": "virtual" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 97, + "startLine": 41, "startColumn": 1, - "charOffset": 2965, - "charLength": 180, + "charOffset": 1715, + "charLength": 224, "snippet": { - "text": " }\n\n protected internal virtual void WriteTargetOutcome(INukeBuild build)\n {\n var firstColumn = Math.Max(build.ExecutionPlan.Max(x => x.Name.Length) + 4, val2: 19);" + "text": "\n internal static AbsolutePath GlobalTemporaryDirectory => Path.GetTempPath();\n internal static AbsolutePath GlobalNukeDirectory => EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile) / \".nuke\";\n\n [CanBeNull]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "49535089674a6d1e27429a318a22ab6828617e81c5c175f4a2836f8e58aa8210" + "equalIndicator/v1": "a7ccf45b4e284820f7b56f0149a69c0ad213a9417b91ac09ed9197512d324252" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "VirtualMemberNeverOverridden.Global", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Virtual method 'WriteBuildOutcome' is never overridden", - "markdown": "Virtual method 'WriteBuildOutcome' is never overridden" + "text": "Method 'IsLegacy' can be made private", + "markdown": "Method 'IsLegacy' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 163, - "startColumn": 24, - "charOffset": 5878, - "charLength": 7, + "startLine": 56, + "startColumn": 5, + "charOffset": 2461, + "charLength": 8, "snippet": { - "text": "virtual" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 161, + "startLine": 54, "startColumn": 1, - "charOffset": 5848, - "charLength": 101, + "charOffset": 2450, + "charLength": 132, "snippet": { - "text": " }\n\n protected internal virtual void WriteBuildOutcome(INukeBuild build)\n {\n Debug();" + "text": " }\n\n internal static bool IsLegacy(AbsolutePath rootDirectory)\n {\n return File.Exists(rootDirectory / NukeFileName);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "34f706d191977c79c5ef0981a8f4761114405c96db71e9f64dabb6743750fbeb" + "equalIndicator/v1": "cf68c6ce0b6ae4a5373a942d413bb37ace0ed55adde45928987ee1b8186bd4b9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MemberHidesStaticFromOuterClass", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Method 'IEnumerable<(string TestName, IConfigurationGenerator Generator)> GetAttributes()' hides method from outer class", - "markdown": "Method 'IEnumerable\\<(string TestName, IConfigurationGenerator Generator)\\> GetAttributes()' hides method from outer class" + "text": "Method 'GetNukeDirectory' can be made private", + "markdown": "Method 'GetNukeDirectory' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 56, - "startColumn": 89, - "charOffset": 1807, - "charLength": 13, + "startLine": 61, + "startColumn": 5, + "charOffset": 2594, + "charLength": 8, "snippet": { - "text": "GetAttributes" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 59, "startColumn": 1, - "charOffset": 1674, - "charLength": 183, + "charOffset": 2583, + "charLength": 140, "snippet": { - "text": " public class TestBuild : NukeBuild\n {\n public static IEnumerable<(string TestName, IConfigurationGenerator Generator)> GetAttributes()\n {\n yield return" + "text": " }\n\n internal static AbsolutePath GetNukeDirectory(AbsolutePath rootDirectory)\n {\n return rootDirectory / NukeDirectoryName;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4bfc759d1334240948e88ad4681ede0494f5c44e18281b39b08e42175be22506" + "equalIndicator/v1": "03aa25ea5a1a30c79c37d8cd7e238c82264e3101ac727d991c437f47ba4cbbdd" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "AccessToModifiedClosure", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Captured variable is modified in the outer scope", - "markdown": "Captured variable is modified in the outer scope" + "text": "Method 'GetTemporaryDirectory' can be made private", + "markdown": "Method 'GetTemporaryDirectory' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 48, - "startColumn": 75, - "charOffset": 1495, - "charLength": 14, + "startLine": 66, + "startColumn": 5, + "charOffset": 2735, + "charLength": 8, "snippet": { - "text": "exclusionIndex" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 46, + "startLine": 64, "startColumn": 1, - "charOffset": 1348, - "charLength": 270, + "charOffset": 2724, + "charLength": 135, "snippet": { - "text": " {\n var currentExclusions = exclusions\n .Select(x => (Exclusion: x, Index: str.IndexOf(x, exclusionIndex, StringComparison.InvariantCultureIgnoreCase)))\n .Where(x => x.Index == i).ToList();\n" + "text": " }\n\n internal static AbsolutePath GetTemporaryDirectory(AbsolutePath rootDirectory)\n {\n return !IsLegacy(rootDirectory)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8dd7819593d63b8126e5aa65bd47a5878647124be81d4039f84e9fc89b7b73d4" + "equalIndicator/v1": "a09cdcc0435549e6da0e067a94b78f2e69b83642337708100c11bb86a4663474" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NETStandard 2.0" @@ -122003,500 +121970,491 @@ } }, { - "ruleId": "AccessToModifiedClosure", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Captured variable is modified in the outer scope", - "markdown": "Captured variable is modified in the outer scope" + "text": "Method 'GetParametersProfileFiles' can be made private", + "markdown": "Method 'GetParametersProfileFiles' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 48, - "startColumn": 75, - "charOffset": 1495, - "charLength": 14, + "startLine": 106, + "startColumn": 5, + "charOffset": 4202, + "charLength": 8, "snippet": { - "text": "exclusionIndex" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 46, + "startLine": 104, "startColumn": 1, - "charOffset": 1348, - "charLength": 270, + "charOffset": 4191, + "charLength": 252, "snippet": { - "text": " {\n var currentExclusions = exclusions\n .Select(x => (Exclusion: x, Index: str.IndexOf(x, exclusionIndex, StringComparison.InvariantCultureIgnoreCase)))\n .Where(x => x.Index == i).ToList();\n" + "text": " }\n\n internal static IEnumerable GetParametersProfileFiles(AbsolutePath rootDirectory)\n {\n return new DirectoryInfo(GetNukeDirectory(rootDirectory)).GetFiles($\"{ParametersFilePrefix}.*.json\", SearchOption.TopDirectoryOnly)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9b39526b9912d2b21c4dd00859895555ad9acbc52b8e5d8643abe1edc0a71559" + "equalIndicator/v1": "5f8d88ca0e4d7c2bffad4dd082392ca6a75defe42b2bf6e08c0eb324d368b37a" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "RedundantAttributeUsageProperty", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Redundant [AttributeUsage] property assignment: provided value is equal to default", - "markdown": "Redundant \\[AttributeUsage\\] property assignment: provided value is equal to default" + "text": "Method 'GetParametersFileName' can be made private", + "markdown": "Method 'GetParametersFileName' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/ParameterAttribute.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 85, - "startColumn": 45, - "charOffset": 2475, - "charLength": 21, + "startLine": 117, + "startColumn": 5, + "charOffset": 4703, + "charLength": 8, "snippet": { - "text": "AllowMultiple = false" + "text": "internal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 83, + "startLine": 115, "startColumn": 1, - "charOffset": 2428, - "charLength": 141, + "charOffset": 4692, + "charLength": 199, "snippet": { - "text": "}\n\n[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]\npublic class ParameterPrefixAttribute : Attribute\n{" + "text": " }\n\n internal static string GetParametersFileName(string profile)\n {\n return profile == DefaultProfileName ? $\"{ParametersFilePrefix}.json\" : $\"{ParametersFilePrefix}.{profile}.json\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3a590f7b11df7074b92f4b3435c6cea5887efa893cca16c4d1d7c9206f9ddbe6" + "equalIndicator/v1": "11c48364dc96f72d18512f4f4b1ed90a9be74943727920213928ce627d5a2a6d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "RedundantAttributeUsageProperty", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Redundant [AttributeUsage] property assignment: 'IsInherited' only make sense with AttributeTargets.Method or AttributeTargets.Class", - "markdown": "Redundant \\[AttributeUsage\\] property assignment: 'IsInherited' only make sense with AttributeTargets.Method or AttributeTargets.Class" + "text": "Method 'GetItemsFromSchema' can be made private", + "markdown": "Method 'GetItemsFromSchema' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/ParameterAttribute.cs", + "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 85, - "startColumn": 68, - "charOffset": 2498, - "charLength": 17, + "startLine": 23, + "startColumn": 5, + "charOffset": 678, + "charLength": 6, "snippet": { - "text": "Inherited = false" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 83, + "startLine": 21, "startColumn": 1, - "charOffset": 2428, - "charLength": 141, + "charOffset": 667, + "charLength": 195, "snippet": { - "text": "}\n\n[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]\npublic class ParameterPrefixAttribute : Attribute\n{" + "text": " }\n\n public static IReadOnlyDictionary GetItemsFromSchema(JsonDocument schema, IEnumerable profileNames)\n {\n string[] GetEnumValues(JsonElement property)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "db3e48e2c702064b40da3f29530ee29e53b46242996299c02c8ae3001c8df703" + "equalIndicator/v1": "821d79dd3bf8f81516a0a391aae0f2c7eb0e2a3021b98e174cfb62898f536bf6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Method 'WithAuthentication' can be made private", + "markdown": "Method 'WithAuthentication' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Utilities.Net/HttpRequest.Authentication.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 64, - "startColumn": 47, - "charOffset": 2200, - "charLength": 2, + "startLine": 33, + "startColumn": 5, + "charOffset": 1054, + "charLength": 6, "snippet": { - "text": "||" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 62, + "startLine": 31, "startColumn": 1, - "charOffset": 2070, - "charLength": 233, + "charOffset": 973, + "charLength": 302, "snippet": { - "text": " else if (key.Key == InterruptKey)\n s_interrupted = true;\n } while (!(key.Key == ConfirmationKey || key.Key == InterruptKey));\n\n var result = input.Length > 0 ? input.ToString() : defaultValue;" + "text": " /// Sets the scheme and parameter for authentication.\n /// \n public static HttpRequestBuilder WithAuthentication(this HttpRequestBuilder builder, string scheme, string parameter)\n {\n builder.Request.Headers.Authorization = new AuthenticationHeaderValue(scheme, parameter);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "19887bd39b56b3969eb87e95b575e52b02cf78acd52b5759c2f59fc48fed3fb5" + "equalIndicator/v1": "23785baf28a98f9cf20e6895a3e732087cdad22dd340ff9734a21c5e74fe68ec" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Method 'WithStringContent' can be made private", + "markdown": "Method 'WithStringContent' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Utilities.Net/HttpRequest.Content.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 106, - "startColumn": 43, - "charOffset": 3805, - "charLength": 2, + "startLine": 39, + "startColumn": 5, + "charOffset": 1287, + "charLength": 6, "snippet": { - "text": "||" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 104, + "startLine": 37, "startColumn": 1, - "charOffset": 3654, - "charLength": 266, + "charOffset": 1228, + "charLength": 270, "snippet": { - "text": " Console.WriteLine(' '.Repeat(BufferWidth));\n Console.CursorTop -= options.Length;\n } while (!(key == ConfirmationKey || key == InterruptKey));\n\n Console.WriteLine($\"{Confirmed} {options[selection].Description}\", Color.Lime);" + "text": " /// Sets the string as content.\n /// \n public static HttpRequestBuilder WithStringContent(this HttpRequestBuilder builder, string content, string mediaType)\n {\n builder.Request.Content = new StringContent(content, Encoding.UTF8, mediaType);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b7a0151a441810dc30faa675b860a0580c35151a8f06375e00d5c43a18805796" + "equalIndicator/v1": "f805497fa8bd7858ff3eea53ace0fbdc794c567d816a84f8ae0ddc7f7d2c878c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Method 'GetBodyAsJson' can be made private", + "markdown": "Method 'GetBodyAsJson' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Utilities.Net/HttpResponse.Body.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 114, - "startColumn": 59, - "charOffset": 3893, - "charLength": 2, + "startLine": 19, + "startColumn": 5, + "charOffset": 466, + "charLength": 6, "snippet": { - "text": "||" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 112, + "startLine": 17, "startColumn": 1, - "charOffset": 3768, - "charLength": 241, + "charOffset": 397, + "charLength": 238, "snippet": { - "text": "\n static string GetDurationOrBlank(ExecutableTarget target)\n => target.Status == ExecutionStatus.Succeeded ||\n target.Status == ExecutionStatus.Failed ||\n target.Status == ExecutionStatus.Aborted" + "text": " /// Reads the HTTP response body as JSON.\n /// \n public static async Task GetBodyAsJson(this HttpResponseInspector inspector)\n {\n return JsonConvert.DeserializeObject(await inspector.GetBodyAsync());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "be6ee06f7269fc5d3e7ca16d3794821e4b6e988669219c292447c057fd010870" + "equalIndicator/v1": "526da8d3433c5db569c957fc82b1108010b6d1aace61a7ac20bcc0351d398b38" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Method 'GetBodyAsJson' can be made private", + "markdown": "Method 'GetBodyAsJson' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Components/IReportIssues.cs", + "uri": "source/Nuke.Utilities.Net/HttpResponse.Body.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 83, - "startColumn": 71, - "charOffset": 3117, - "charLength": 2, + "startLine": 35, + "startColumn": 5, + "charOffset": 973, + "charLength": 6, "snippet": { - "text": "||" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 81, + "startLine": 33, "startColumn": 1, - "charOffset": 2950, - "charLength": 286, + "charOffset": 904, + "charLength": 281, "snippet": { - "text": " issueTypes[x.TypeId].Severity,\n issueTypes[x.TypeId].CategoryId))\n .Where(x => x.Severity == nameof(ReSharperSeverity.ERROR) ||\n x.Severity == nameof(ReSharperSeverity.WARNING))\n .OrderBy(x => x.File).ToList();" + "text": " /// Reads the HTTP response body as JSON.\n /// \n public static async Task GetBodyAsJson(this HttpResponseInspector inspector, JsonSerializerSettings settings)\n {\n return JsonConvert.DeserializeObject(await inspector.GetBodyAsync(), settings);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Components", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3fe2a6a13b401ab1a91004618486ddab3597c849ed4b1aebc24211eb592351b6" + "equalIndicator/v1": "544c6c2d8cbade568adb695617b9c8637be29bc68132753f5512bace1c97460e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "MemberCanBePrivate.Global", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Method 'GetAllNamespaces' can be made private", + "markdown": "Method 'GetAllNamespaces' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/FormattingRewriter.cs", + "uri": "source/Nuke.SourceGenerators/CodeAnalysisExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, - "startColumn": 66, - "charOffset": 1221, - "charLength": 2, + "startLine": 15, + "startColumn": 5, + "charOffset": 358, + "charLength": 6, "snippet": { - "text": "||" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 13, "startColumn": 1, - "charOffset": 1082, - "charLength": 282, + "charOffset": 309, + "charLength": 235, "snippet": { - "text": "\n var identifierName = memberAccessExpression.GetIdentifierName();\n if (identifierName == nameof(ITargetDefinition.Executes) ||\n identifierName == nameof(ITargetDefinition.DependsOn) ||\n identifierName == nameof(ITargetDefinition.DependentFor) ||" + "text": "public static class CodeAnalysisExtensions\n{\n public static IEnumerable GetAllNamespaces(this INamespaceSymbol namespaceSymbol)\n {\n return namespaceSymbol.DescendantsAndSelf(x => x.GetNamespaceMembers());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.SourceGenerators", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d0fa162a4971a13a3c571f2c222eac22f1a13a7b032fdc2096894f585b4544cb" + "equalIndicator/v1": "30988b3e9a9cdc051c351c9c92071273a781f2559d9d0610226dce5559805603" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Some values of the enum are not processed inside switch: Unknown", + "markdown": "Some values of the enum are not processed inside switch: Unknown" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", + "uri": "source/Nuke.Common/Tools/CloudFoundry/CloudFoundryTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 117, - "startColumn": 39, - "charOffset": 4782, - "charLength": 2, + "startLine": 23, + "startColumn": 37, + "charOffset": 682, + "charLength": 6, "snippet": { - "text": "||" + "text": "switch" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 115, + "startLine": 21, "startColumn": 1, - "charOffset": 4575, - "charLength": 275, + "charOffset": 606, + "charLength": 190, "snippet": { - "text": " var invocationExpression = expressionStatement.Expression as InvocationExpressionSyntax;\n var identifierName = invocationExpression?.GetIdentifierName();\n if (identifierName == \"Setup\" ||\n identifierName == \"Teardown\")\n return node" + "text": "\n private static string CurrentOsRid\n => EnvironmentInfo.Platform switch\n {\n PlatformFamily.Windows => Environment.Is64BitOperatingSystem ? \"win-x64\" : \"win-x32\"," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ea4381be6b2697de29a1c63bd05cb33cf209a6a9276ecffa14cb00fb82080093" + "equalIndicator/v1": "cd64ba8cf599ed43a9b2b34846c3031daf7adee1b080d6005fa51c21728aab90" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -122507,167 +122465,3849 @@ } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Some values of the enum are not processed inside switch: Unknown, Linux", + "markdown": "Some values of the enum are not processed inside switch: Unknown, Linux" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs", + "uri": "source/Nuke.Common/Tools/Unity/UnityTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, - "startColumn": 46, - "charOffset": 1035, - "charLength": 2, + "startLine": 49, + "startColumn": 41, + "charOffset": 1343, + "charLength": 6, "snippet": { - "text": "||" + "text": "switch" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 47, "startColumn": 1, - "charOffset": 852, - "charLength": 468, + "charOffset": 1224, + "charLength": 242, "snippet": { - "text": " var allTypes = compilation.Assembly.GlobalNamespace.GetAllTypes();\n var members = allTypes.SelectMany(x => x.GetMembers())\n .Where(x => x is IPropertySymbol || x is IFieldSymbol)\n .Select(x => (Member: x, AttributeData: x.GetAttributeData(\"global::Nuke.Common.ProjectModel.SolutionAttribute\")))\n .Where(x => x.AttributeData?.NamedArguments.SingleOrDefault(x => x.Key == \"GenerateProjects\").Value.Value as bool? ?? false)" + "text": " private static AbsolutePath GetToolPathViaHubVersion(string version)\n {\n return EnvironmentInfo.Platform switch\n {\n PlatformFamily.Windows => $@\"{GetProgramFiles()}\\Unity\\Hub\\Editor\\{version}\\Editor\\Unity.exe\"," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SourceGenerators", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "502f68d93e22aa42341ce99cf512cb61dac4383a24ed218c1d9c60a0577f6e26" + "equalIndicator/v1": "bb39dc0588468a8fb0629f86f769ddba339571ac81b20c7ddf5f12bb7a8aa813" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Some values of the enum are not processed inside switch: Information, Fatal", + "markdown": "Some values of the enum are not processed inside switch: Information, Fatal" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", + "uri": "source/Nuke.Build/Logging.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, - "startColumn": 67, - "charOffset": 1206, - "charLength": 2, + "startLine": 41, + "startColumn": 41, + "charOffset": 1466, + "charLength": 6, "snippet": { - "text": "||" + "text": "switch" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 39, "startColumn": 1, - "charOffset": 1065, - "charLength": 209, + "charOffset": 1387, + "charLength": 148, "snippet": { - "text": " /// Indicates whether the operating-system is UNIX.\n /// \n public static bool IsUnix => Platform == PlatformFamily.Linux ||\n Platform == PlatformFamily.OSX;\n" + "text": " public static LogLevel Level\n {\n get => LevelSwitch.MinimumLevel switch\n {\n LogEventLevel.Verbose => LogLevel.Trace," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6b34c4434c058c51fe4acee969bdf7ec9eac1e059a6de188c7d91ed178f5eb4a" + "equalIndicator/v1": "ddfd58a6017fc31f3100461103fcc7b1dcf80155fee45139ff0a668c600b8d74" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "MergeIntoLogicalPattern", + "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", "kind": "fail", "level": "note", "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" + "text": "Some values of the enum are not processed inside switch: None, List, TildeToken...", + "markdown": "Some values of the enum are not processed inside switch: None, List, TildeToken..." }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/CodeAnalysisExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, - "startColumn": 67, - "charOffset": 1206, + "startLine": 104, + "startColumn": 45, + "charOffset": 3867, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 102, + "startColumn": 1, + "charOffset": 3744, + "charLength": 220, + "snippet": { + "text": " if (expression is LiteralExpressionSyntax literalExpression)\n {\n return literalExpression.Kind() switch\n {\n SyntaxKind.NumericLiteralExpression => ParseTypeName(\"int\")," + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5c679d13528239cca401d63f02cfa5f82920c55f784d534ed6c40602cf8dc2fc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: Unknown, Linux", + "markdown": "Some values of the enum are not processed inside switch: Unknown, Linux" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.GlobalTool/Program.Navigation.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 24, + "startColumn": 37, + "charOffset": 799, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 22, + "startColumn": 1, + "charOffset": 726, + "charLength": 186, + "snippet": { + "text": "\n private static string SessionId\n => EnvironmentInfo.Platform switch\n {\n PlatformFamily.OSX => EnvironmentInfo.GetVariable(\"TERM_SESSION_ID\").NotNull()[7..]," + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "44b193d32ed0f1846a73ac0b766ab96ec640ac7b32f4a08734035567d958ec6c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "FieldCanBeMadeReadOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field can be made readonly", + "markdown": "Field can be made readonly" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 16, + "startColumn": 38, + "charOffset": 387, + "charLength": 8, + "snippet": { + "text": "Instance" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 14, + "startColumn": 1, + "charOffset": 308, + "charLength": 182, + "snippet": { + "text": "internal partial class ParameterService\n{\n internal static ParameterService Instance = new(\n () => EnvironmentInfo.ArgumentParser,\n () => EnvironmentInfo.Variables);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e566b4a81e566c42d8172e477041b7afa3dc3e791c48df3485401e84dc1bedb8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "FieldCanBeMadeReadOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field can be made readonly", + "markdown": "Field can be made readonly" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 17, + "startColumn": 26, + "charOffset": 431, + "charLength": 6, + "snippet": { + "text": "Action" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 15, + "startColumn": 1, + "charOffset": 350, + "charLength": 226, + "snippet": { + "text": "{\n public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build.Tests", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c33976de61c5386da4b4838a67d41d267ae52fa239a180f1977c07b3f11fce42" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "FieldCanBeMadeReadOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field can be made readonly", + "markdown": "Field can be made readonly" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 18, + "startColumn": 42, + "charOffset": 492, + "charLength": 11, + "snippet": { + "text": "Requirement" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 16, + "startColumn": 1, + "charOffset": 352, + "charLength": 285, + "snippet": { + "text": " public static string Description = \"description\";\n public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build.Tests", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a074b0e24ef453602ec4c36e5e4fc2bdc6ffcdfe676d9a60660a2b0a42f088d4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "FieldCanBeMadeReadOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field can be made readonly", + "markdown": "Field can be made readonly" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 19, + "startColumn": 30, + "charOffset": 547, + "charLength": 15, + "snippet": { + "text": "StaticCondition" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 17, + "startColumn": 1, + "charOffset": 406, + "charLength": 232, + "snippet": { + "text": " public static Action Action = () => { };\n public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build.Tests", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "99b952b2033c405415e1cfa004cd063c30304c19e0fadba06ceaa26aaa131b08" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "FieldCanBeMadeReadOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field can be made readonly", + "markdown": "Field can be made readonly" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 20, + "startColumn": 30, + "charOffset": 606, + "charLength": 16, + "snippet": { + "text": "DynamicCondition" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 18, + "startColumn": 1, + "charOffset": 451, + "charLength": 198, + "snippet": { + "text": " public static Expression> Requirement = () => true;\n public static Func StaticCondition = () => true;\n public static Func DynamicCondition = () => false;\n\n [Fact]" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build.Tests", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1dfce06eb766df0e5b52b162d832fc864bc39bc0229d48a8d06ff1e93121c04b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ForCanBeConvertedToForeach", + "kind": "fail", + "level": "note", + "message": { + "text": "For-loop can be converted into foreach-loop", + "markdown": "For-loop can be converted into foreach-loop" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/TeamCity/TeamCity.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 42, + "startColumn": 13, + "charOffset": 1282, + "charLength": 3, + "snippet": { + "text": "for" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 40, + "startColumn": 1, + "charOffset": 1248, + "charLength": 122, + "snippet": { + "text": " try\n {\n for (var i = 0; i < lines.Length; i++)\n {\n var line = lines[i]" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "421ef56b11cb4786cd65acdd678441832e99a24b311d45f010ce45ece2347afe" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UseCollectionCountProperty", + "kind": "fail", + "level": "warning", + "message": { + "text": "Replace 'Enumerable.Count()' invocation with collection count property access", + "markdown": "Replace 'Enumerable.Count()' invocation with collection count property access" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/FormattingRewriter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 66, + "startColumn": 35, + "charOffset": 2638, "charLength": 2, "snippet": { - "text": "||" + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 64, + "startColumn": 1, + "charOffset": 2492, + "charLength": 211, + "snippet": { + "text": " public override SyntaxNode VisitInterpolatedStringExpression(InterpolatedStringExpressionSyntax node)\n {\n return node.Contents.Count() == 1\n ? node.Contents.Single() switch\n {" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "eb3574e3cc7d73d213f96ff52e29ebc00640d5a3fb89ff2421995ed1f93aba2b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "VirtualMemberNeverOverridden.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Virtual method 'WriteErrorsAndWarnings' is never overridden", + "markdown": "Virtual method 'WriteErrorsAndWarnings' is never overridden" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Host.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 79, + "startColumn": 24, + "charOffset": 2256, + "charLength": 7, + "snippet": { + "text": "virtual" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 77, + "startColumn": 1, + "charOffset": 2226, + "charLength": 137, + "snippet": { + "text": " }\n\n protected internal virtual void WriteErrorsAndWarnings()\n {\n if (Logging.InMemorySink.Instance.LogEvents.Count == 0)" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8252cbd0f80c718d7a31d53f4469f94f0786b7fe4e97a574b35d1487877b9379" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "VirtualMemberNeverOverridden.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Virtual method 'WriteTargetOutcome' is never overridden", + "markdown": "Virtual method 'WriteTargetOutcome' is never overridden" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Host.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 99, + "startColumn": 24, + "charOffset": 2995, + "charLength": 7, + "snippet": { + "text": "virtual" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 97, + "startColumn": 1, + "charOffset": 2965, + "charLength": 180, + "snippet": { + "text": " }\n\n protected internal virtual void WriteTargetOutcome(INukeBuild build)\n {\n var firstColumn = Math.Max(build.ExecutionPlan.Max(x => x.Name.Length) + 4, val2: 19);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "49535089674a6d1e27429a318a22ab6828617e81c5c175f4a2836f8e58aa8210" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "VirtualMemberNeverOverridden.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Virtual method 'WriteBuildOutcome' is never overridden", + "markdown": "Virtual method 'WriteBuildOutcome' is never overridden" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Host.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 163, + "startColumn": 24, + "charOffset": 5878, + "charLength": 7, + "snippet": { + "text": "virtual" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 161, + "startColumn": 1, + "charOffset": 5848, + "charLength": 101, + "snippet": { + "text": " }\n\n protected internal virtual void WriteBuildOutcome(INukeBuild build)\n {\n Debug();" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "34f706d191977c79c5ef0981a8f4761114405c96db71e9f64dabb6743750fbeb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MemberHidesStaticFromOuterClass", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'IEnumerable<(string TestName, IConfigurationGenerator Generator)> GetAttributes()' hides method from outer class", + "markdown": "Method 'IEnumerable\\<(string TestName, IConfigurationGenerator Generator)\\> GetAttributes()' hides method from outer class" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 56, + "startColumn": 89, + "charOffset": 1807, + "charLength": 13, + "snippet": { + "text": "GetAttributes" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 54, + "startColumn": 1, + "charOffset": 1674, + "charLength": 183, + "snippet": { + "text": " public class TestBuild : NukeBuild\n {\n public static IEnumerable<(string TestName, IConfigurationGenerator Generator)> GetAttributes()\n {\n yield return" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common.Tests", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4bfc759d1334240948e88ad4681ede0494f5c44e18281b39b08e42175be22506" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "AccessToModifiedClosure", + "kind": "fail", + "level": "warning", + "message": { + "text": "Captured variable is modified in the outer scope", + "markdown": "Captured variable is modified in the outer scope" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 48, + "startColumn": 75, + "charOffset": 1495, + "charLength": 14, + "snippet": { + "text": "exclusionIndex" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 46, + "startColumn": 1, + "charOffset": 1348, + "charLength": 270, + "snippet": { + "text": " {\n var currentExclusions = exclusions\n .Select(x => (Exclusion: x, Index: str.IndexOf(x, exclusionIndex, StringComparison.InvariantCultureIgnoreCase)))\n .Where(x => x.Index == i).ToList();\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9b39526b9912d2b21c4dd00859895555ad9acbc52b8e5d8643abe1edc0a71559" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "AccessToModifiedClosure", + "kind": "fail", + "level": "warning", + "message": { + "text": "Captured variable is modified in the outer scope", + "markdown": "Captured variable is modified in the outer scope" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 48, + "startColumn": 75, + "charOffset": 1495, + "charLength": 14, + "snippet": { + "text": "exclusionIndex" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 46, + "startColumn": 1, + "charOffset": 1348, + "charLength": 270, + "snippet": { + "text": " {\n var currentExclusions = exclusions\n .Select(x => (Exclusion: x, Index: str.IndexOf(x, exclusionIndex, StringComparison.InvariantCultureIgnoreCase)))\n .Where(x => x.Index == i).ToList();\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8dd7819593d63b8126e5aa65bd47a5878647124be81d4039f84e9fc89b7b73d4" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "RedundantAttributeUsageProperty", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant [AttributeUsage] property assignment: provided value is equal to default", + "markdown": "Redundant \\[AttributeUsage\\] property assignment: provided value is equal to default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/ParameterAttribute.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 85, + "startColumn": 45, + "charOffset": 2475, + "charLength": 21, + "snippet": { + "text": "AllowMultiple = false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 83, + "startColumn": 1, + "charOffset": 2428, + "charLength": 141, + "snippet": { + "text": "}\n\n[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]\npublic class ParameterPrefixAttribute : Attribute\n{" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3a590f7b11df7074b92f4b3435c6cea5887efa893cca16c4d1d7c9206f9ddbe6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "RedundantAttributeUsageProperty", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant [AttributeUsage] property assignment: 'IsInherited' only make sense with AttributeTargets.Method or AttributeTargets.Class", + "markdown": "Redundant \\[AttributeUsage\\] property assignment: 'IsInherited' only make sense with AttributeTargets.Method or AttributeTargets.Class" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/ParameterAttribute.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 85, + "startColumn": 68, + "charOffset": 2498, + "charLength": 17, + "snippet": { + "text": "Inherited = false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 83, + "startColumn": 1, + "charOffset": 2428, + "charLength": 141, + "snippet": { + "text": "}\n\n[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]\npublic class ParameterPrefixAttribute : Attribute\n{" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "db3e48e2c702064b40da3f29530ee29e53b46242996299c02c8ae3001c8df703" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 64, + "startColumn": 47, + "charOffset": 2200, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 62, + "startColumn": 1, + "charOffset": 2070, + "charLength": 233, + "snippet": { + "text": " else if (key.Key == InterruptKey)\n s_interrupted = true;\n } while (!(key.Key == ConfirmationKey || key.Key == InterruptKey));\n\n var result = input.Length > 0 ? input.ToString() : defaultValue;" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "19887bd39b56b3969eb87e95b575e52b02cf78acd52b5759c2f59fc48fed3fb5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 106, + "startColumn": 43, + "charOffset": 3805, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 104, + "startColumn": 1, + "charOffset": 3654, + "charLength": 266, + "snippet": { + "text": " Console.WriteLine(' '.Repeat(BufferWidth));\n Console.CursorTop -= options.Length;\n } while (!(key == ConfirmationKey || key == InterruptKey));\n\n Console.WriteLine($\"{Confirmed} {options[selection].Description}\", Color.Lime);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b7a0151a441810dc30faa675b860a0580c35151a8f06375e00d5c43a18805796" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Host.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 114, + "startColumn": 59, + "charOffset": 3893, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 112, + "startColumn": 1, + "charOffset": 3768, + "charLength": 241, + "snippet": { + "text": "\n static string GetDurationOrBlank(ExecutableTarget target)\n => target.Status == ExecutionStatus.Succeeded ||\n target.Status == ExecutionStatus.Failed ||\n target.Status == ExecutionStatus.Aborted" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "be6ee06f7269fc5d3e7ca16d3794821e4b6e988669219c292447c057fd010870" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 44, + "startColumn": 67, + "charOffset": 1206, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 42, + "startColumn": 1, + "charOffset": 1065, + "charLength": 209, + "snippet": { + "text": " /// Indicates whether the operating-system is UNIX.\n /// \n public static bool IsUnix => Platform == PlatformFamily.Linux ||\n Platform == PlatformFamily.OSX;\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f2ea53b6f0520d263423a859b6b60a43b718e518cf1523208546176243b99d2d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 44, + "startColumn": 67, + "charOffset": 1206, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 42, + "startColumn": 1, + "charOffset": 1065, + "charLength": 209, + "snippet": { + "text": " /// Indicates whether the operating-system is UNIX.\n /// \n public static bool IsUnix => Platform == PlatformFamily.Linux ||\n Platform == PlatformFamily.OSX;\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6b34c4434c058c51fe4acee969bdf7ec9eac1e059a6de188c7d91ed178f5eb4a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Components/IReportIssues.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 83, + "startColumn": 71, + "charOffset": 3117, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 81, + "startColumn": 1, + "charOffset": 2950, + "charLength": 286, + "snippet": { + "text": " issueTypes[x.TypeId].Severity,\n issueTypes[x.TypeId].CategoryId))\n .Where(x => x.Severity == nameof(ReSharperSeverity.ERROR) ||\n x.Severity == nameof(ReSharperSeverity.WARNING))\n .OrderBy(x => x.File).ToList();" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Components", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3fe2a6a13b401ab1a91004618486ddab3597c849ed4b1aebc24211eb592351b6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 117, + "startColumn": 39, + "charOffset": 4782, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 115, + "startColumn": 1, + "charOffset": 4575, + "charLength": 275, + "snippet": { + "text": " var invocationExpression = expressionStatement.Expression as InvocationExpressionSyntax;\n var identifierName = invocationExpression?.GetIdentifierName();\n if (identifierName == \"Setup\" ||\n identifierName == \"Teardown\")\n return node" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ea4381be6b2697de29a1c63bd05cb33cf209a6a9276ecffa14cb00fb82080093" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/FormattingRewriter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 34, + "startColumn": 66, + "charOffset": 1221, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 32, + "startColumn": 1, + "charOffset": 1082, + "charLength": 282, + "snippet": { + "text": "\n var identifierName = memberAccessExpression.GetIdentifierName();\n if (identifierName == nameof(ITargetDefinition.Executes) ||\n identifierName == nameof(ITargetDefinition.DependsOn) ||\n identifierName == nameof(ITargetDefinition.DependentFor) ||" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d0fa162a4971a13a3c571f2c222eac22f1a13a7b032fdc2096894f585b4544cb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MergeIntoLogicalPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into logical pattern", + "markdown": "Merge into logical pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 34, + "startColumn": 46, + "charOffset": 1035, + "charLength": 2, + "snippet": { + "text": "||" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 32, + "startColumn": 1, + "charOffset": 852, + "charLength": 468, + "snippet": { + "text": " var allTypes = compilation.Assembly.GlobalNamespace.GetAllTypes();\n var members = allTypes.SelectMany(x => x.GetMembers())\n .Where(x => x is IPropertySymbol || x is IFieldSymbol)\n .Select(x => (Member: x, AttributeData: x.GetAttributeData(\"global::Nuke.Common.ProjectModel.SolutionAttribute\")))\n .Where(x => x.AttributeData?.NamedArguments.SingleOrDefault(x => x.Key == \"GenerateProjects\").Value.Value as bool? ?? false)" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.SourceGenerators", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "502f68d93e22aa42341ce99cf512cb61dac4383a24ed218c1d9c60a0577f6e26" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'Processing' is never used", + "markdown": "Constant 'Processing' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 32, + "startColumn": 29, + "charOffset": 884, + "charLength": 10, + "snippet": { + "text": "Processing" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 30, + "startColumn": 1, + "charOffset": 744, + "charLength": 328, + "snippet": { + "text": " public const string Failed = nameof(Failed);\n public const string Cancelled = nameof(Cancelled);\n public const string Processing = nameof(Processing);\n public const string QueuedForProcessing = nameof(QueuedForProcessing);\n public const string RetrievingArtifact = nameof(RetrievingArtifact);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4cf763f73c912c34b079964faf1b244e3e131a7ceab573870ded69542618da9e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'QueuedForProcessing' is never used", + "markdown": "Constant 'QueuedForProcessing' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 33, + "startColumn": 29, + "charOffset": 945, + "charLength": 19, + "snippet": { + "text": "QueuedForProcessing" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 31, + "startColumn": 1, + "charOffset": 797, + "charLength": 281, + "snippet": { + "text": " public const string Cancelled = nameof(Cancelled);\n public const string Processing = nameof(Processing);\n public const string QueuedForProcessing = nameof(QueuedForProcessing);\n public const string RetrievingArtifact = nameof(RetrievingArtifact);\n }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "79196df03568a4b7cabab77e89b3a3249538280dc3607652926c78c4e3f462a0" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'RetrievingArtifact' is never used", + "markdown": "Constant 'RetrievingArtifact' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 34, + "startColumn": 29, + "charOffset": 1024, + "charLength": 18, + "snippet": { + "text": "RetrievingArtifact" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 32, + "startColumn": 1, + "charOffset": 856, + "charLength": 223, + "snippet": { + "text": " public const string Processing = nameof(Processing);\n public const string QueuedForProcessing = nameof(QueuedForProcessing);\n public const string RetrievingArtifact = nameof(RetrievingArtifact);\n }\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f9ca205168a19da4138cc4fc87bb7e31ddc643d117f2d269fe0d5aba870e0140" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'TEMP_DIRECTORY' is never used", + "markdown": "Constant 'TEMP_DIRECTORY' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.GlobalTool/Program.GetConfiguration.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 20, + "startColumn": 26, + "charOffset": 512, + "charLength": 14, + "snippet": { + "text": "TEMP_DIRECTORY" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 18, + "startColumn": 1, + "charOffset": 411, + "charLength": 289, + "snippet": { + "text": "{\n private const string BUILD_PROJECT_FILE = nameof(BUILD_PROJECT_FILE);\n private const string TEMP_DIRECTORY = nameof(TEMP_DIRECTORY);\n private const string DOTNET_GLOBAL_FILE = nameof(DOTNET_GLOBAL_FILE);\n private const string DOTNET_INSTALL_URL = nameof(DOTNET_INSTALL_URL);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e2c84a4954b100b6a52f3731d6e3dddb8a5bc8ee615e3ea55284cc784169407b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'DOTNET_GLOBAL_FILE' is never used", + "markdown": "Constant 'DOTNET_GLOBAL_FILE' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.GlobalTool/Program.GetConfiguration.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 21, + "startColumn": 26, + "charOffset": 578, + "charLength": 18, + "snippet": { + "text": "DOTNET_GLOBAL_FILE" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 19, + "startColumn": 1, + "charOffset": 413, + "charLength": 353, + "snippet": { + "text": " private const string BUILD_PROJECT_FILE = nameof(BUILD_PROJECT_FILE);\n private const string TEMP_DIRECTORY = nameof(TEMP_DIRECTORY);\n private const string DOTNET_GLOBAL_FILE = nameof(DOTNET_GLOBAL_FILE);\n private const string DOTNET_INSTALL_URL = nameof(DOTNET_INSTALL_URL);\n private const string DOTNET_CHANNEL = nameof(DOTNET_CHANNEL);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "879b746938579ff4b307f10bf19d258fab324f4d52b70ede1a8f5b09c2d0f45b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'DOTNET_INSTALL_URL' is never used", + "markdown": "Constant 'DOTNET_INSTALL_URL' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.GlobalTool/Program.GetConfiguration.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 22, + "startColumn": 26, + "charOffset": 652, + "charLength": 18, + "snippet": { + "text": "DOTNET_INSTALL_URL" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 20, + "startColumn": 1, + "charOffset": 487, + "charLength": 280, + "snippet": { + "text": " private const string TEMP_DIRECTORY = nameof(TEMP_DIRECTORY);\n private const string DOTNET_GLOBAL_FILE = nameof(DOTNET_GLOBAL_FILE);\n private const string DOTNET_INSTALL_URL = nameof(DOTNET_INSTALL_URL);\n private const string DOTNET_CHANNEL = nameof(DOTNET_CHANNEL);\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e720075f775effdad497ad049f32ef3b940fcbb2a1022164c50fc4db31cd5159" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'DOTNET_CHANNEL' is never used", + "markdown": "Constant 'DOTNET_CHANNEL' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.GlobalTool/Program.GetConfiguration.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 23, + "startColumn": 26, + "charOffset": 726, + "charLength": 14, + "snippet": { + "text": "DOTNET_CHANNEL" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 21, + "startColumn": 1, + "charOffset": 553, + "charLength": 235, + "snippet": { + "text": " private const string DOTNET_GLOBAL_FILE = nameof(DOTNET_GLOBAL_FILE);\n private const string DOTNET_INSTALL_URL = nameof(DOTNET_INSTALL_URL);\n private const string DOTNET_CHANNEL = nameof(DOTNET_CHANNEL);\n\n [UsedImplicitly]" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.GlobalTool", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "76953a3da504e804e81e39f58df225c0d8fea426133584b8a2795a56708b5f26" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Property 'D' is never used", + "markdown": "Property 'D' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 176, + "startColumn": 24, + "charOffset": 6237, + "charLength": 1, + "snippet": { + "text": "D" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 174, + "startColumn": 1, + "charOffset": 6141, + "charLength": 147, + "snippet": { + "text": " private class NonPublicTargetTestBuild : NukeBuild, ITestBuild\n {\n private Target D => _ => _\n .Executes(() => { });\n }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build.Tests", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7f7ac382ce9eeb5a550394d95119554c8c5da4f5932d2b8de9b05ed5e4ac2d6d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ConvertClosureToMethodGroup", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into method group", + "markdown": "Convert into method group" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationPushTrigger.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 57, + "startColumn": 81, + "charOffset": 2215, + "charLength": 9, + "snippet": { + "text": "WriteLine" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 55, + "startColumn": 1, + "charOffset": 1940, + "charLength": 329, + "snippet": { + "text": " OnPushBranchRegexIncludes?.Select(x => $\"+Regex({x.DoubleQuote()})\"),\n OnPushBranchRegexExcludes?.Select(x => $\"-Regex({x.DoubleQuote()})\")\n }.WhereNotNull().SelectMany(x => x).ForEach(x => writer.WriteLine(x));\n }\n }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a15a72573abce18206cd69f08a59066f6ecb1fe420c325000ff60ecd6e1e18ff" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ConvertClosureToMethodGroup", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into method group", + "markdown": "Convert into method group" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationPushTrigger.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 69, + "startColumn": 81, + "charOffset": 2711, + "charLength": 9, + "snippet": { + "text": "WriteLine" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 67, + "startColumn": 1, + "charOffset": 2464, + "charLength": 301, + "snippet": { + "text": " OnPushPathIncludes?.Select(x => $\"+{x.DoubleQuote()}\"),\n OnPushPathExcludes?.Select(x => $\"-{x.DoubleQuote()}\")\n }.WhereNotNull().SelectMany(x => x).ForEach(x => writer.WriteLine(x));\n }\n }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "031b646be64fffe3d83bae9131e264b2ed1983793dc9e72ebaa4eb71c49416a3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: None, default", + "markdown": "Some values of the enum are not processed inside switch: None, default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/Tools/Unity/Logging/LogParser.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 62, + "startColumn": 13, + "charOffset": 2830, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 60, + "startColumn": 1, + "charOffset": 2744, + "charLength": 156, + "snippet": { + "text": " {\n var match = _blockStack.Peek().MatchesEnd(message);\n switch (match)\n {\n case MatchType.Inclusive:" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4be893e933a54cb8e8c5b4b19b523804c4f5c02ba01aabc1144ab7a4cd2a9fa4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: None, default", + "markdown": "Some values of the enum are not processed inside switch: None, default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/Tools/Unity/Logging/LogParser.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 78, + "startColumn": 13, + "charOffset": 3289, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 76, + "startColumn": 1, + "charOffset": 3240, + "charLength": 129, + "snippet": { + "text": " if (block != null)\n {\n switch (block.MatchType)\n {\n case MatchType.Inclusive:" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "72bd6853fcec0536bd9b2aa01f68ed5ce77ddb383f1eec707c8a4cdd4227575d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ConvertToUsingDeclaration", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'using' declaration", + "markdown": "Convert into 'using' declaration" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/Tools/CloudFoundry/CloudFoundryCreateUserProvidedServiceSettingsExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 45, + "startColumn": 9, + "charOffset": 1579, + "charLength": 5, + "snippet": { + "text": "using" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 43, + "startColumn": 1, + "charOffset": 1519, + "charLength": 173, + "snippet": { + "text": " toolSettings = toolSettings.NewInstance();\n\n using (var file = File.OpenText(credentialsFile))\n using (var reader = new JsonTextReader(file))\n {" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2bf36c75fb382dfaba30777723c88e031a22d8d0da193786c5ef2b6664a6fe28" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 47, + "startColumn": 59, + "charOffset": 2053, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 45, + "startColumn": 1, + "charOffset": 1871, + "charLength": 297, + "snippet": { + "text": " {\n ProjectId = Guid.Parse(x.Key.Substring(startIndex: 1, length: 36)),\n ProjectConfiguration = x.Key.Substring(startIndex: 39),\n SolutionConfiguration = x.Value\n })" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.SolutionModel", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "76cdd7cc8119832b70dc7b6d27f47b8fbe1067f0e263163d979c37fb205e80b1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 230, + "startColumn": 47, + "charOffset": 9398, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 228, + "startColumn": 1, + "charOffset": 9313, + "charLength": 253, + "snippet": { + "text": " var root = GetPathRoot(path);\n\n var tail = root == null ? path : path.Substring(root.Length);\n var tailParts = tail.Split(AllSeparators, StringSplitOptions.RemoveEmptyEntries).ToList();\n for (var i = 0; i < tailParts.Count;)" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ac136cb678b6dd7ab9d5143a4c6998649e85fd1fc7379c95ee4ab9eb8524dc34" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 22, + "startColumn": 65, + "charOffset": 744, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 20, + "startColumn": 1, + "charOffset": 535, + "charLength": 260, + "snippet": { + "text": " var informationalVersion = assembly.GetAssemblyInformationalVersion();\n var plusIndex = informationalVersion.IndexOf(value: '+');\n return plusIndex == -1 ? \"LOCAL\" : informationalVersion.Substring(startIndex: 0, length: plusIndex);\n }\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d6e254da7b47fb3963f2e09562edb9007e57a5ddba03ea61804ffeb72e2bef42" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 80, + "startColumn": 38, + "charOffset": 2733, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 78, + "startColumn": 1, + "charOffset": 2681, + "charLength": 299, + "snippet": { + "text": " }\n\n var typeName = type.Name.Substring(startIndex: 0, type.Name.IndexOf('`'));\n return typeName != nameof(ValueTuple) || tupleNames == null\n ? $\"{typeName}<{type.GetGenericArguments().Select(x => x.GetDisplayShortName(tupleNames)).JoinCommaSpace()}>\"" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2a40972095ab09d9b85892f6f5991c10e57f4e3aa0a37bdf2ce441f6243add59" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Text/String.Capitalize.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 23, + "startColumn": 20, + "charOffset": 591, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 21, + "startColumn": 1, + "charOffset": 529, + "charLength": 201, + "snippet": { + "text": " {\n return !text.IsNullOrEmpty()\n ? text.Substring(startIndex: 0, length: 1).ToUpper(CultureInfo.InvariantCulture) +\n text.Substring(startIndex: 1)\n : text;" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "239ea861cb7dbf0ecfbe94923b498de4217d116834766ec2a640489e6482d7db" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Text/String.Capitalize.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 24, + "startColumn": 20, + "charOffset": 686, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 22, + "startColumn": 1, + "charOffset": 535, + "charLength": 201, + "snippet": { + "text": " return !text.IsNullOrEmpty()\n ? text.Substring(startIndex: 0, length: 1).ToUpper(CultureInfo.InvariantCulture) +\n text.Substring(startIndex: 1)\n : text;\n }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9a65014533572c3a58d1ed4d2ed7d4694591c4d8d9b3dbd68670c23ef63d769b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 29, + "startColumn": 26, + "charOffset": 782, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 27, + "startColumn": 1, + "charOffset": 746, + "charLength": 59, + "snippet": { + "text": " }\n\n yield return str.Substring(next);\n }\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9aa81cae3ae303bbc996a663a511e6b4fd9e02ad24c998ace9f540b827647ac9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Text/String.Trim.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 44, + "startColumn": 41, + "charOffset": 1179, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 42, + "startColumn": 1, + "charOffset": 1070, + "charLength": 173, + "snippet": { + "text": " public static string TrimEnd(this string str, string trim)\n {\n return str.EndsWith(trim) ? str.Substring(startIndex: 0, str.Length - trim.Length) : str;\n }\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bc72acd226a635b67a6a19789e0da8fb4b4794003f1f48a6f37fb0e68e2009cc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReplaceSubstringWithRangeIndexer", + "kind": "fail", + "level": "note", + "message": { + "text": "Use range indexer", + "markdown": "Use range indexer" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Utilities/Text/String.Trim.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 53, + "startColumn": 43, + "charOffset": 1480, + "charLength": 9, + "snippet": { + "text": "Substring" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 51, + "startColumn": 1, + "charOffset": 1367, + "charLength": 149, + "snippet": { + "text": " public static string TrimStart(this string str, string trim)\n {\n return str.StartsWith(trim) ? str.Substring(trim.Length) : str;\n }\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Utilities", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "501f3beb4f8eeb387b4c410d556a9fc4cae91e9dfc8faf4608e1eeeb9579f3a0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "CoVariantArrayConversion", + "kind": "fail", + "level": "warning", + "message": { + "text": "Co-variant array conversion from Task[] to Task[] can cause run-time exception on write operation", + "markdown": "Co-variant array conversion from Task\\[\\] to Task\\[\\] can cause run-time exception on write operation" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/Tools/Mastodon/MastodonTasks.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 46, + "startColumn": 22, + "charOffset": 1609, + "charLength": 10, + "snippet": { + "text": "mediaTasks" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 44, + "startColumn": 1, + "charOffset": 1511, + "charLength": 168, + "snippet": { + "text": "\n var mediaTasks = status.MediaFiles.Select(PostMediaFile).ToArray();\n Task.WaitAll(mediaTasks);\n var mediaIds = mediaTasks.Select(x => x.Result);\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4fb893cf46039d0e606d81531acf69fb748804aa2d01d10ce5d48c4ba535d518" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'SourceDirectory' can be made static", + "markdown": "Property 'SourceDirectory' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 188, + "startColumn": 29, + "charOffset": 7803, + "charLength": 15, + "snippet": { + "text": "SourceDirectory" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 186, + "startColumn": 1, + "charOffset": 7764, + "charLength": 119, + "snippet": { + "text": " }\n\n public AbsolutePath SourceDirectory => RootDirectory / \"src\";\n\n public Target Clean => _ => _" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common.Tests", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a0fb58fb45a98f3358abd94e15b8ee40470c8fba618c0a68ad1eda7c159f25a4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'OutputDirectory' can be made static", + "markdown": "Property 'OutputDirectory' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 205, + "startColumn": 29, + "charOffset": 8518, + "charLength": 15, + "snippet": { + "text": "OutputDirectory" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 203, + "startColumn": 1, + "charOffset": 8362, + "charLength": 241, + "snippet": { + "text": " [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };\n\n public AbsolutePath OutputDirectory => RootDirectory / \"output\";\n\n public Target Compile => _ => _" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common.Tests", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "da666625194eb10785d1b06c006eb71f65aa27c05477dd75f9e6b49f3a6e6c73" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'WriteLogo' can be made static", + "markdown": "Method 'WriteLogo' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Host.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 34, + "startColumn": 29, + "charOffset": 886, + "charLength": 9, + "snippet": { + "text": "WriteLogo" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 32, + "startColumn": 1, + "charOffset": 778, + "charLength": 142, + "snippet": { + "text": " internal virtual string OutputTemplate => Logging.TimestampOutputTemplate;\n\n protected internal void WriteLogo()\n {\n Debug();" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "33e4cdeb020a67ed30a41e41744e8a60ebb344801134dafa723a3439b4e8275d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'GetRequirement' is never used", + "markdown": "Method 'GetRequirement' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Requirements/ToolRequirementAttributeBase.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 12, + "startColumn": 37, + "charOffset": 303, + "charLength": 14, + "snippet": { + "text": "GetRequirement" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 10, + "startColumn": 1, + "charOffset": 202, + "charLength": 142, + "snippet": { + "text": "public abstract class ToolRequirementAttributeBase : Attribute\n{\n public abstract ToolRequirement GetRequirement(string version = null);\n}\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "422b5ffbbcb326fb95d4dfe154168c0d2afbd8b1a87af290d0b8e583c00b618d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'GetValue' is never used", + "markdown": "Method 'GetValue' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Enumeration.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 29, + "startColumn": 26, + "charOffset": 648, + "charLength": 8, + "snippet": { + "text": "GetValue" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 27, + "startColumn": 1, + "charOffset": 579, + "charLength": 123, + "snippet": { + "text": "public static class EnumerationExtensions\n{\n public static string GetValue(this T value)\n where T : Enum\n {" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fcdf4a33fa1c78a9637553544bcf0e9e2665e671d295fa105b90621239311043" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'InvokeSafe' is never used", + "markdown": "Method 'InvokeSafe' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Configure.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 24, + "startColumn": 21, + "charOffset": 663, + "charLength": 10, + "snippet": { + "text": "InvokeSafe" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 22, + "startColumn": 1, + "charOffset": 601, + "charLength": 187, + "snippet": { + "text": "public static class ConfigureExtensions\n{\n public static T InvokeSafe([CanBeNull] this Configure configurator, T obj)\n {\n return (configurator ?? (x => x)).Invoke(obj);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8b950b5f6dee812f89b1c68350549638e7307097b8bd53126eb4a18b06d43880" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Invoke' is never used", + "markdown": "Method 'Invoke' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Configure.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 29, + "startColumn": 97, + "charOffset": 892, + "charLength": 6, + "snippet": { + "text": "Invoke" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 27, + "startColumn": 1, + "charOffset": 789, + "charLength": 245, + "snippet": { + "text": " }\n\n public static IReadOnlyCollection<(TSettings Settings, IReadOnlyCollection Output)> Invoke(\n this CombinatorialConfigure configurator,\n Func> executor," + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d23cdc8de9bcee8ceb906084516303f9a2d75c61d919f35cc62bff685066abdb" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Invoke' is never used", + "markdown": "Method 'Invoke' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Configure.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 46, + "startColumn": 113, + "charOffset": 1528, + "charLength": 6, + "snippet": { + "text": "Invoke" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 44, + "startColumn": 1, + "charOffset": 1409, + "charLength": 295, + "snippet": { + "text": " }\n\n public static IReadOnlyCollection<(TSettings Settings, TResult Result, IReadOnlyCollection Output)> Invoke(\n this CombinatorialConfigure configurator,\n Func Output)> executor," + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9dbd2ed4e9919a1720b549ea1d847643a1cb404935cf36bac4bae9d6451aea47" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Add' is never used", + "markdown": "Method 'Add' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Arguments.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 30, + "startColumn": 22, + "charOffset": 787, + "charLength": 3, + "snippet": { + "text": "Add" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 28, + "startColumn": 1, + "charOffset": 683, + "charLength": 253, + "snippet": { + "text": " private readonly List>> _arguments = new();\n\n public Arguments Add(string argumentFormat, bool? condition = true)\n {\n return condition.HasValue && (condition.Value || argumentFormat.Contains(\"{value}\"))" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6b0e6b8d4645c731768c8cf72d143431e77f96f2e88f4c1a230d3933247cff6a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Add' is never used", + "markdown": "Method 'Add' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Arguments.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 37, + "startColumn": 22, + "charOffset": 1045, + "charLength": 3, + "snippet": { + "text": "Add" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 35, + "startColumn": 1, + "charOffset": 1017, + "charLength": 144, + "snippet": { + "text": " }\n\n public Arguments Add(string argumentFormat, T? value, char? disallowed = null, bool secret = false)\n where T : struct\n {" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4dbfce45cdd10c7b47c7b7c375ac9cc3fbc90b5c92c168f6ad9a606f4a068a0d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Add' is never used", + "markdown": "Method 'Add' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Arguments.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 67, + "startColumn": 22, + "charOffset": 2031, + "charLength": 3, + "snippet": { + "text": "Add" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 65, + "startColumn": 1, + "charOffset": 2003, + "charLength": 109, + "snippet": { + "text": " }\n\n public Arguments Add(\n string argumentFormat,\n [CanBeNull] IEnumerable values," + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fa13541b1b1aa3f14fc3908d488b2177f17e7747763faf23c313a9c5474ee087" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Add' is never used", + "markdown": "Method 'Add' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Arguments.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 91, + "startColumn": 22, + "charOffset": 2768, + "charLength": 3, + "snippet": { + "text": "Add" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 89, + "startColumn": 1, + "charOffset": 2740, + "charLength": 143, + "snippet": { + "text": " }\n\n public Arguments Add(\n string argumentFormat,\n [CanBeNull] IReadOnlyDictionary dictionary," + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d01739881f927638d8fc150fb731583c051a0d09d04dd4b4dc18c57bb8026127" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Add' is never used", + "markdown": "Method 'Add' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Arguments.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 124, + "startColumn": 22, + "charOffset": 4031, + "charLength": 3, + "snippet": { + "text": "Add" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 122, + "startColumn": 1, + "charOffset": 4003, + "charLength": 127, + "snippet": { + "text": " }\n\n public Arguments Add(\n string argumentFormat,\n [CanBeNull] ILookup lookup," + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6ccdef9d4f11fe7ab1c66e879f904e7d4698b8c0621a82ce77a068cbeae2d1b6" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Concatenate' is never used", + "markdown": "Method 'Concatenate' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Arguments.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 158, + "startColumn": 22, + "charOffset": 5285, + "charLength": 11, + "snippet": { + "text": "Concatenate" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 156, + "startColumn": 1, + "charOffset": 5257, + "charLength": 117, + "snippet": { + "text": " }\n\n public Arguments Concatenate(Arguments arguments)\n {\n _arguments.AddRange(arguments._arguments);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1cfa2202b9e6a158c31f98d8db937b52cac4f52110e5d3ada71c3d2f460f74e5" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'SetExecutable' is never used", + "markdown": "Method 'SetExecutable' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 14, + "startColumn": 32, + "charOffset": 336, + "charLength": 13, + "snippet": { + "text": "SetExecutable" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 12, "startColumn": 1, - "charOffset": 1065, + "charOffset": 265, + "charLength": 171, + "snippet": { + "text": "public static class ToolingExtensions\n{\n public static AbsolutePath SetExecutable(this AbsolutePath path, bool updateVcsIndex = false)\n {\n if (updateVcsIndex)" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "81c2135ad963660ea65c5152698417ad88cf0e66803113e886681ab5526d80eb" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'SetUnixPermissions' is never used", + "markdown": "Method 'SetUnixPermissions' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 38, + "startColumn": 32, + "charOffset": 1371, + "charLength": 18, + "snippet": { + "text": "SetUnixPermissions" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 36, + "startColumn": 1, + "charOffset": 1333, + "charLength": 167, + "snippet": { + "text": " }\n\n public static AbsolutePath SetUnixPermissions(this AbsolutePath path, int permissions)\n {\n return path.SetUnixPermissions(permissions.ToString());" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "11a467641d84e2cafb77108dbd2d7e39bb1523dbb03ec54b7f8eac479247da44" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Run' is never used", + "markdown": "Method 'Run' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 43, + "startColumn": 32, + "charOffset": 1539, + "charLength": 3, + "snippet": { + "text": "Run" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 41, + "startColumn": 1, + "charOffset": 1501, + "charLength": 142, + "snippet": { + "text": " }\n\n public static AbsolutePath Run(this AbsolutePath path, string prefix = null, Action cleanup = null)\n {\n try" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f786fd61b73e11835bd06b203f9d5bbd3892f6c07f692ad1008fd43777d7a78a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Open' is never used", + "markdown": "Method 'Open' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 60, + "startColumn": 24, + "charOffset": 1976, + "charLength": 4, + "snippet": { + "text": "Open" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 58, + "startColumn": 1, + "charOffset": 1867, "charLength": 209, "snippet": { - "text": " /// Indicates whether the operating-system is UNIX.\n /// \n public static bool IsUnix => Platform == PlatformFamily.Linux ||\n Platform == PlatformFamily.OSX;\n" + "text": " /// Opens a file or directory with the associated application.\n /// \n public static void Open(this AbsolutePath path)\n {\n Assert.True(path.DirectoryExists() || path.FileExists());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f2ea53b6f0520d263423a859b6b60a43b718e518cf1523208546176243b99d2d" + "equalIndicator/v1": "50c1dca94c652f0af8f7dc59cc783eb3663ede1bd511cb12212fc56e87eade44" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'SetExecutable' is never used", + "markdown": "Method 'SetExecutable' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 14, + "startColumn": 32, + "charOffset": 336, + "charLength": 13, + "snippet": { + "text": "SetExecutable" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 12, + "startColumn": 1, + "charOffset": 265, + "charLength": 171, + "snippet": { + "text": "public static class ToolingExtensions\n{\n public static AbsolutePath SetExecutable(this AbsolutePath path, bool updateVcsIndex = false)\n {\n if (updateVcsIndex)" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ae37b522e91195a6f0d6c1995c82a2891087c080f7da97f674a00a345af3cf17" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -122675,52 +126315,161 @@ } }, { - "ruleId": "UnusedMember.Local", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Property 'D' is never used", - "markdown": "Property 'D' is never used" + "text": "Method 'SetUnixPermissions' is never used", + "markdown": "Method 'SetUnixPermissions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 176, + "startLine": 38, + "startColumn": 32, + "charOffset": 1371, + "charLength": 18, + "snippet": { + "text": "SetUnixPermissions" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 36, + "startColumn": 1, + "charOffset": 1333, + "charLength": 167, + "snippet": { + "text": " }\n\n public static AbsolutePath SetUnixPermissions(this AbsolutePath path, int permissions)\n {\n return path.SetUnixPermissions(permissions.ToString());" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8cad7a07e86597fb04cbbf54e2c1f5e0f725da2941eb57ee05b944cd60fd79e4" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Run' is never used", + "markdown": "Method 'Run' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 43, + "startColumn": 32, + "charOffset": 1539, + "charLength": 3, + "snippet": { + "text": "Run" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 41, + "startColumn": 1, + "charOffset": 1501, + "charLength": 142, + "snippet": { + "text": " }\n\n public static AbsolutePath Run(this AbsolutePath path, string prefix = null, Action cleanup = null)\n {\n try" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "995f2fb4329ab458d609f06917386fafb1f156599449187a9ad79e7e66320f17" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'Open' is never used", + "markdown": "Method 'Open' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 60, "startColumn": 24, - "charOffset": 6237, - "charLength": 1, + "charOffset": 1976, + "charLength": 4, "snippet": { - "text": "D" + "text": "Open" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 174, + "startLine": 58, "startColumn": 1, - "charOffset": 6141, - "charLength": 147, + "charOffset": 1867, + "charLength": 209, "snippet": { - "text": " private class NonPublicTargetTestBuild : NukeBuild, ITestBuild\n {\n private Target D => _ => _\n .Executes(() => { });\n }" + "text": " /// Opens a file or directory with the associated application.\n /// \n public static void Open(this AbsolutePath path)\n {\n Assert.True(path.DirectoryExists() || path.FileExists());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7f7ac382ce9eeb5a550394d95119554c8c5da4f5932d2b8de9b05ed5e4ac2d6d" + "equalIndicator/v1": "67b37ba37e2a625bc53c96f54c1c61b2a7907b9b6c8b19008ca3e202efdeaf97" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -122731,37 +126480,202 @@ } }, { - "ruleId": "UnusedMember.Local", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'Processing' is never used", - "markdown": "Constant 'Processing' is never used" + "text": "Constant 'Npm' is never used", + "markdown": "Constant 'Npm' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesCachePaths.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 29, - "charOffset": 884, - "charLength": 10, + "startLine": 15, + "startColumn": 25, + "charOffset": 474, + "charLength": 3, "snippet": { - "text": "Processing" + "text": "Npm" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 13, "startColumn": 1, - "charOffset": 744, - "charLength": 328, + "charOffset": 352, + "charLength": 228, "snippet": { - "text": " public const string Failed = nameof(Failed);\n public const string Cancelled = nameof(Cancelled);\n public const string Processing = nameof(Processing);\n public const string QueuedForProcessing = nameof(QueuedForProcessing);\n public const string RetrievingArtifact = nameof(RetrievingArtifact);" + "text": " public const string Nuke = \".nuke/temp\";\n public const string NuGet = \"~/.nuget/packages\";\n public const string Npm = \"~/.npm\";\n public const string Gradle = \"~/.gradle\";\n public const string Docker = \"~/docker\";" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "16ccd6119bfdde728d9954352965335fed37520a3302bcf4497c3b70a6b17842" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'Gradle' is never used", + "markdown": "Constant 'Gradle' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesCachePaths.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 16, + "startColumn": 25, + "charOffset": 514, + "charLength": 6, + "snippet": { + "text": "Gradle" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 14, + "startColumn": 1, + "charOffset": 397, + "charLength": 185, + "snippet": { + "text": " public const string NuGet = \"~/.nuget/packages\";\n public const string Npm = \"~/.npm\";\n public const string Gradle = \"~/.gradle\";\n public const string Docker = \"~/docker\";\n}" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7c770e60bf6f60ddc2330d692190b9a0ade0d8e90aca1977d0fdc7380c22e966" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constant 'Docker' is never used", + "markdown": "Constant 'Docker' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesCachePaths.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 17, + "startColumn": 25, + "charOffset": 560, + "charLength": 6, + "snippet": { + "text": "Docker" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 15, + "startColumn": 1, + "charOffset": 450, + "charLength": 133, + "snippet": { + "text": " public const string Npm = \"~/.npm\";\n public const string Gradle = \"~/.gradle\";\n public const string Docker = \"~/docker\";\n}\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "410898e4e10be0762357214c0931502f7f53747e1f9d79ea53439bfce9dc6a4d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Enum member 'False' is never used", + "markdown": "Enum member 'False' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsSubmodules.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 12, + "startColumn": 5, + "charOffset": 253, + "charLength": 5, + "snippet": { + "text": "False" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 10, + "startColumn": 1, + "charOffset": 211, + "charLength": 72, + "snippet": { + "text": "public enum GitHubActionsSubmodules\n{\n False,\n True,\n Recursive" } } }, @@ -122774,9 +126688,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "4cf763f73c912c34b079964faf1b244e3e131a7ceab573870ded69542618da9e" + "equalIndicator/v1": "32f493a2a00d62d15469f8d8b9fe194f167df03e5acee2519c9329c636ee257f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -122787,37 +126700,37 @@ } }, { - "ruleId": "UnusedMember.Local", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'QueuedForProcessing' is never used", - "markdown": "Constant 'QueuedForProcessing' is never used" + "text": "Enum member 'True' is never used", + "markdown": "Enum member 'True' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsSubmodules.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 33, - "startColumn": 29, - "charOffset": 945, - "charLength": 19, + "startLine": 13, + "startColumn": 5, + "charOffset": 264, + "charLength": 4, "snippet": { - "text": "QueuedForProcessing" + "text": "True" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 31, + "startLine": 11, "startColumn": 1, - "charOffset": 797, - "charLength": 281, + "charOffset": 247, + "charLength": 38, "snippet": { - "text": " public const string Cancelled = nameof(Cancelled);\n public const string Processing = nameof(Processing);\n public const string QueuedForProcessing = nameof(QueuedForProcessing);\n public const string RetrievingArtifact = nameof(RetrievingArtifact);\n }" + "text": "{\n False,\n True,\n Recursive\n}" } } }, @@ -122830,9 +126743,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "79196df03568a4b7cabab77e89b3a3249538280dc3607652926c78c4e3f462a0" + "equalIndicator/v1": "6a0daf3547e5e440c90cc2c526045e2dfddb8099f79ce112e72b439f8a6a565b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -122843,37 +126755,37 @@ } }, { - "ruleId": "UnusedMember.Local", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'RetrievingArtifact' is never used", - "markdown": "Constant 'RetrievingArtifact' is never used" + "text": "Method 'SendGitterMessage' is never used", + "markdown": "Method 'SendGitterMessage' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uri": "source/Nuke.Common/Gitter/GitterTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, - "startColumn": 29, - "charOffset": 1024, - "charLength": 18, + "startLine": 24, + "startColumn": 24, + "charOffset": 654, + "charLength": 17, "snippet": { - "text": "RetrievingArtifact" + "text": "SendGitterMessage" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 22, "startColumn": 1, - "charOffset": 856, - "charLength": 223, + "charOffset": 582, + "charLength": 203, "snippet": { - "text": " public const string Processing = nameof(Processing);\n public const string QueuedForProcessing = nameof(QueuedForProcessing);\n public const string RetrievingArtifact = nameof(RetrievingArtifact);\n }\n" + "text": " private static HttpClient s_client = new();\n\n public static void SendGitterMessage(string message, string roomId, string token)\n {\n SendGitterMessageAsync(message, roomId, token).Wait();" } } }, @@ -122886,9 +126798,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "f9ca205168a19da4138cc4fc87bb7e31ddc643d117f2d269fe0d5aba870e0140" + "equalIndicator/v1": "4dfb4c8a663f54ca938557f619aa44baf45388a35dc0676acc7c91cb8ff9ec6c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -122899,52 +126810,51 @@ } }, { - "ruleId": "UnusedMember.Local", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'TEMP_DIRECTORY' is never used", - "markdown": "Constant 'TEMP_DIRECTORY' is never used" + "text": "Enum member 'NetCore10' is never used", + "markdown": "Enum member 'NetCore10' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.GetConfiguration.cs", + "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 20, - "startColumn": 26, - "charOffset": 512, - "charLength": 14, + "startColumn": 9, + "charOffset": 446, + "charLength": 9, "snippet": { - "text": "TEMP_DIRECTORY" + "text": "NetCore10" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 18, "startColumn": 1, - "charOffset": 411, - "charLength": 289, + "charOffset": 408, + "charLength": 86, "snippet": { - "text": "{\n private const string BUILD_PROJECT_FILE = nameof(BUILD_PROJECT_FILE);\n private const string TEMP_DIRECTORY = nameof(TEMP_DIRECTORY);\n private const string DOTNET_GLOBAL_FILE = nameof(DOTNET_GLOBAL_FILE);\n private const string DOTNET_INSTALL_URL = nameof(DOTNET_INSTALL_URL);" + "text": " public enum Runtime\n {\n NetCore10,\n NetCore11,\n NetCore20," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e2c84a4954b100b6a52f3731d6e3dddb8a5bc8ee615e3ea55284cc784169407b" + "equalIndicator/v1": "018c5e277f52388d01ffc295caad1484ba18edaf1dcba7bf66d56b4ef7dc449e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -122955,52 +126865,51 @@ } }, { - "ruleId": "UnusedMember.Local", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'DOTNET_GLOBAL_FILE' is never used", - "markdown": "Constant 'DOTNET_GLOBAL_FILE' is never used" + "text": "Enum member 'NetCore11' is never used", + "markdown": "Enum member 'NetCore11' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.GetConfiguration.cs", + "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 21, - "startColumn": 26, - "charOffset": 578, - "charLength": 18, + "startColumn": 9, + "charOffset": 465, + "charLength": 9, "snippet": { - "text": "DOTNET_GLOBAL_FILE" + "text": "NetCore11" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 19, "startColumn": 1, - "charOffset": 413, - "charLength": 353, + "charOffset": 432, + "charLength": 81, "snippet": { - "text": " private const string BUILD_PROJECT_FILE = nameof(BUILD_PROJECT_FILE);\n private const string TEMP_DIRECTORY = nameof(TEMP_DIRECTORY);\n private const string DOTNET_GLOBAL_FILE = nameof(DOTNET_GLOBAL_FILE);\n private const string DOTNET_INSTALL_URL = nameof(DOTNET_INSTALL_URL);\n private const string DOTNET_CHANNEL = nameof(DOTNET_CHANNEL);" + "text": " {\n NetCore10,\n NetCore11,\n NetCore20,\n NetCore21," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "879b746938579ff4b307f10bf19d258fab324f4d52b70ede1a8f5b09c2d0f45b" + "equalIndicator/v1": "0921311dde42642bbc43f589ffedde0571f6171df5d1b6a918d81119dc62d589" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -123011,52 +126920,51 @@ } }, { - "ruleId": "UnusedMember.Local", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'DOTNET_INSTALL_URL' is never used", - "markdown": "Constant 'DOTNET_INSTALL_URL' is never used" + "text": "Enum member 'NetCore20' is never used", + "markdown": "Enum member 'NetCore20' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.GetConfiguration.cs", + "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 22, - "startColumn": 26, - "charOffset": 652, - "charLength": 18, + "startColumn": 9, + "charOffset": 484, + "charLength": 9, "snippet": { - "text": "DOTNET_INSTALL_URL" + "text": "NetCore20" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 20, "startColumn": 1, - "charOffset": 487, - "charLength": 280, + "charOffset": 438, + "charLength": 94, "snippet": { - "text": " private const string TEMP_DIRECTORY = nameof(TEMP_DIRECTORY);\n private const string DOTNET_GLOBAL_FILE = nameof(DOTNET_GLOBAL_FILE);\n private const string DOTNET_INSTALL_URL = nameof(DOTNET_INSTALL_URL);\n private const string DOTNET_CHANNEL = nameof(DOTNET_CHANNEL);\n" + "text": " NetCore10,\n NetCore11,\n NetCore20,\n NetCore21,\n NetCore31," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e720075f775effdad497ad049f32ef3b940fcbb2a1022164c50fc4db31cd5159" + "equalIndicator/v1": "7a9632ee69543dd31e4f9db3e77ca9b6052adb728e386479cd39c10d2b799dc1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -123067,52 +126975,51 @@ } }, { - "ruleId": "UnusedMember.Local", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'DOTNET_CHANNEL' is never used", - "markdown": "Constant 'DOTNET_CHANNEL' is never used" + "text": "Enum member 'NetCore21' is never used", + "markdown": "Enum member 'NetCore21' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.GetConfiguration.cs", + "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 23, - "startColumn": 26, - "charOffset": 726, - "charLength": 14, + "startColumn": 9, + "charOffset": 503, + "charLength": 9, "snippet": { - "text": "DOTNET_CHANNEL" + "text": "NetCore21" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 21, "startColumn": 1, - "charOffset": 553, - "charLength": 235, + "charOffset": 457, + "charLength": 90, "snippet": { - "text": " private const string DOTNET_GLOBAL_FILE = nameof(DOTNET_GLOBAL_FILE);\n private const string DOTNET_INSTALL_URL = nameof(DOTNET_INSTALL_URL);\n private const string DOTNET_CHANNEL = nameof(DOTNET_CHANNEL);\n\n [UsedImplicitly]" + "text": " NetCore11,\n NetCore20,\n NetCore21,\n NetCore31,\n Net50," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "76953a3da504e804e81e39f58df225c0d8fea426133584b8a2795a56708b5f26" + "equalIndicator/v1": "83ade3afea0e6cf1b341897c5e6e5bdfad5ba4bce23b1d56353942ed67b33bcd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -123123,37 +127030,37 @@ } }, { - "ruleId": "ConvertClosureToMethodGroup", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Convert into method group", - "markdown": "Convert into method group" + "text": "Enum member 'NetCore31' is never used", + "markdown": "Enum member 'NetCore31' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationPushTrigger.cs", + "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 81, - "charOffset": 2215, + "startLine": 24, + "startColumn": 9, + "charOffset": 522, "charLength": 9, "snippet": { - "text": "WriteLine" + "text": "NetCore31" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 22, "startColumn": 1, - "charOffset": 1940, - "charLength": 329, + "charOffset": 476, + "charLength": 86, "snippet": { - "text": " OnPushBranchRegexIncludes?.Select(x => $\"+Regex({x.DoubleQuote()})\"),\n OnPushBranchRegexExcludes?.Select(x => $\"-Regex({x.DoubleQuote()})\")\n }.WhereNotNull().SelectMany(x => x).ForEach(x => writer.WriteLine(x));\n }\n }" + "text": " NetCore20,\n NetCore21,\n NetCore31,\n Net50,\n Net60," } } }, @@ -123166,12 +127073,11 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a15a72573abce18206cd69f08a59066f6ecb1fe420c325000ff60ecd6e1e18ff" + "equalIndicator/v1": "f1ca2585e3568ef12a20b1c667a1de5cbcf4da112fefd9bcd9d1ec3ed51f5a94" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123179,37 +127085,37 @@ } }, { - "ruleId": "ConvertClosureToMethodGroup", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Convert into method group", - "markdown": "Convert into method group" + "text": "Enum member 'Net50' is never used", + "markdown": "Enum member 'Net50' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationPushTrigger.cs", + "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 69, - "startColumn": 81, - "charOffset": 2711, - "charLength": 9, + "startLine": 25, + "startColumn": 9, + "charOffset": 541, + "charLength": 5, "snippet": { - "text": "WriteLine" + "text": "Net50" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 67, + "startLine": 23, "startColumn": 1, - "charOffset": 2464, - "charLength": 301, + "charOffset": 495, + "charLength": 79, "snippet": { - "text": " OnPushPathIncludes?.Select(x => $\"+{x.DoubleQuote()}\"),\n OnPushPathExcludes?.Select(x => $\"-{x.DoubleQuote()}\")\n }.WhereNotNull().SelectMany(x => x).ForEach(x => writer.WriteLine(x));\n }\n }" + "text": " NetCore21,\n NetCore31,\n Net50,\n Net60,\n Win" } } }, @@ -123222,12 +127128,11 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "031b646be64fffe3d83bae9131e264b2ed1983793dc9e72ebaa4eb71c49416a3" + "equalIndicator/v1": "d4d04c29361550cf20bb2f53b94a3e0af560c9f270f5beb68b49060b7ccccb43" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123235,55 +127140,54 @@ } }, { - "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Some values of the enum are not processed inside switch: None, default", - "markdown": "Some values of the enum are not processed inside switch: None, default" + "text": "Property 'Coverage' is never used", + "markdown": "Property 'Coverage' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/LogParser.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 62, - "startColumn": 13, - "charOffset": 2830, - "charLength": 6, + "startLine": 228, + "startColumn": 23, + "charOffset": 9332, + "charLength": 8, "snippet": { - "text": "switch" + "text": "Coverage" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 60, + "startLine": 226, "startColumn": 1, - "charOffset": 2744, - "charLength": 156, + "charOffset": 9221, + "charLength": 189, "snippet": { - "text": " {\n var match = _blockStack.Peek().MatchesEnd(message);\n switch (match)\n {\n case MatchType.Inclusive:" + "text": " public string CoverageReportArchive => OutputDirectory / \"coverage-report.zip\";\n\n public Target Coverage => _ => _\n .DependsOn(Test)\n .TriggeredBy(Test)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4be893e933a54cb8e8c5b4b19b523804c4f5c02ba01aabc1144ab7a4cd2a9fa4" + "equalIndicator/v1": "d5f93e874884d3c4c8cac99cd84abcf6f7c767221a7085c06d0f6d71998f5e48" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123291,55 +127195,54 @@ } }, { - "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Some values of the enum are not processed inside switch: None, default", - "markdown": "Some values of the enum are not processed inside switch: None, default" + "text": "Property 'Announce' is never used", + "markdown": "Property 'Announce' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Unity/Logging/LogParser.cs", + "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 78, - "startColumn": 13, - "charOffset": 3289, - "charLength": 6, + "startLine": 244, + "startColumn": 23, + "charOffset": 9863, + "charLength": 8, "snippet": { - "text": "switch" + "text": "Announce" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 76, + "startLine": 242, "startColumn": 1, - "charOffset": 3240, - "charLength": 129, + "charOffset": 9803, + "charLength": 148, "snippet": { - "text": " if (block != null)\n {\n switch (block.MatchType)\n {\n case MatchType.Inclusive:" + "text": " .Requires(() => ApiKey);\n\n public Target Announce => _ => _\n .TriggeredBy(Publish)\n .AssuredAfterFailure();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "72bd6853fcec0536bd9b2aa01f68ed5ce77ddb383f1eec707c8a4cdd4227575d" + "equalIndicator/v1": "5b6a69abf3dbbac3d1676dd28dd13e294862e6c00ba3a8b54b688aaf3e342fcf" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123347,55 +127250,54 @@ } }, { - "ruleId": "ConvertToUsingDeclaration", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Convert into 'using' declaration", - "markdown": "Convert into 'using' declaration" + "text": "Enum member 'None' is never used", + "markdown": "Enum member 'None' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/CloudFoundry/CloudFoundryCreateUserProvidedServiceSettingsExtensions.cs", + "uri": "source/Nuke.Build/Execution/ExecutionStatus.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 45, - "startColumn": 9, - "charOffset": 1579, - "charLength": 5, + "startLine": 12, + "startColumn": 5, + "charOffset": 238, + "charLength": 4, "snippet": { - "text": "using" + "text": "None" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 43, + "startLine": 10, "startColumn": 1, - "charOffset": 1519, - "charLength": 173, + "charOffset": 204, + "charLength": 66, "snippet": { - "text": " toolSettings = toolSettings.NewInstance();\n\n using (var file = File.OpenText(credentialsFile))\n using (var reader = new JsonTextReader(file))\n {" + "text": "public enum ExecutionStatus\n{\n None,\n Scheduled,\n NotRun," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2bf36c75fb382dfaba30777723c88e031a22d8d0da193786c5ef2b6664a6fe28" + "equalIndicator/v1": "b0741ae738ae429dea52e43417178ab60b951b54a022c7a7e14fdc0b319cdcc5" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123403,55 +127305,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'GetNamedArgument' is never used", + "markdown": "Method 'GetNamedArgument' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Capitalize.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, - "startColumn": 20, - "charOffset": 591, - "charLength": 9, + "startLine": 51, + "startColumn": 21, + "charOffset": 1435, + "charLength": 16, "snippet": { - "text": "Substring" + "text": "GetNamedArgument" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 49, "startColumn": 1, - "charOffset": 529, - "charLength": 201, + "charOffset": 1398, + "charLength": 158, "snippet": { - "text": " {\n return !text.IsNullOrEmpty()\n ? text.Substring(startIndex: 0, length: 1).ToUpper(CultureInfo.InvariantCulture) +\n text.Substring(startIndex: 1)\n : text;" + "text": "\n [CanBeNull]\n public static T GetNamedArgument(Expression> expression)\n {\n return GetNamedArgument(expression.GetMemberInfo());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "239ea861cb7dbf0ecfbe94923b498de4217d116834766ec2a640489e6482d7db" + "equalIndicator/v1": "ce6863fe4af3d768bcbb63c8b7f0084c09b16b62d16ffa2aec84f67bfce42ae8" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123459,55 +127360,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'GetNamedArgument' is never used", + "markdown": "Method 'GetNamedArgument' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Capitalize.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 20, - "charOffset": 686, - "charLength": 9, + "startLine": 57, + "startColumn": 21, + "charOffset": 1600, + "charLength": 16, "snippet": { - "text": "Substring" + "text": "GetNamedArgument" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 55, "startColumn": 1, - "charOffset": 535, - "charLength": 201, + "charOffset": 1563, + "charLength": 163, "snippet": { - "text": " return !text.IsNullOrEmpty()\n ? text.Substring(startIndex: 0, length: 1).ToUpper(CultureInfo.InvariantCulture) +\n text.Substring(startIndex: 1)\n : text;\n }" + "text": "\n [CanBeNull]\n public static T GetNamedArgument(Expression> expression)\n {\n return GetNamedArgument(expression.GetMemberInfo());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9a65014533572c3a58d1ed4d2ed7d4694591c4d8d9b3dbd68670c23ef63d769b" + "equalIndicator/v1": "306abcd44093293998b6364cd1b6986fe5ec364bb992bc07b9f4a04f3f1a483b" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123515,55 +127415,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'GetAllPositionalArguments' is never used", + "markdown": "Method 'GetAllPositionalArguments' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Trim.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, - "startColumn": 41, - "charOffset": 1179, - "charLength": 9, + "startLine": 75, + "startColumn": 23, + "charOffset": 2194, + "charLength": 25, "snippet": { - "text": "Substring" + "text": "GetAllPositionalArguments" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 73, "startColumn": 1, - "charOffset": 1070, - "charLength": 173, + "charOffset": 2155, + "charLength": 184, "snippet": { - "text": " public static string TrimEnd(this string str, string trim)\n {\n return str.EndsWith(trim) ? str.Substring(startIndex: 0, str.Length - trim.Length) : str;\n }\n" + "text": "\n [CanBeNull]\n public static T[] GetAllPositionalArguments(char? separator = null)\n {\n return (T[]) Instance.GetPositionalCommandLineArguments(typeof(T), separator);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "bc72acd226a635b67a6a19789e0da8fb4b4794003f1f48a6f37fb0e68e2009cc" + "equalIndicator/v1": "0a3e6972958929e6aef8831d2c33e059fdc62a0fe7611d15e94baa97600dd73d" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123571,55 +127470,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'GetVariable' is never used", + "markdown": "Method 'GetVariable' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Trim.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 53, - "startColumn": 43, - "charOffset": 1480, - "charLength": 9, + "startLine": 81, + "startColumn": 21, + "charOffset": 2383, + "charLength": 11, "snippet": { - "text": "Substring" + "text": "GetVariable" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 51, + "startLine": 79, "startColumn": 1, - "charOffset": 1367, - "charLength": 149, + "charOffset": 2346, + "charLength": 148, "snippet": { - "text": " public static string TrimStart(this string str, string trim)\n {\n return str.StartsWith(trim) ? str.Substring(trim.Length) : str;\n }\n" + "text": "\n [CanBeNull]\n public static T GetVariable(Expression> expression)\n {\n return GetVariable(expression.GetMemberInfo());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "501f3beb4f8eeb387b4c410d556a9fc4cae91e9dfc8faf4608e1eeeb9579f3a0" + "equalIndicator/v1": "d3ffe3444a59887786a9af7671ef459b13d1390acef353d6948bc4bb7ff0c427" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123627,55 +127525,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'GetVariable' is never used", + "markdown": "Method 'GetVariable' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, - "startColumn": 65, - "charOffset": 744, - "charLength": 9, + "startLine": 87, + "startColumn": 21, + "charOffset": 2538, + "charLength": 11, "snippet": { - "text": "Substring" + "text": "GetVariable" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 85, "startColumn": 1, - "charOffset": 535, - "charLength": 260, + "charOffset": 2501, + "charLength": 153, "snippet": { - "text": " var informationalVersion = assembly.GetAssemblyInformationalVersion();\n var plusIndex = informationalVersion.IndexOf(value: '+');\n return plusIndex == -1 ? \"LOCAL\" : informationalVersion.Substring(startIndex: 0, length: plusIndex);\n }\n" + "text": "\n [CanBeNull]\n public static T GetVariable(Expression> expression)\n {\n return GetVariable(expression.GetMemberInfo());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d6e254da7b47fb3963f2e09562edb9007e57a5ddba03ea61804ffeb72e2bef42" + "equalIndicator/v1": "bebc26cc67bbdcb6572a6e58bf3ccdf115a10d6b151cdb00693cb4c8721d5efd" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123683,55 +127580,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'GetVariable' is never used", + "markdown": "Method 'GetVariable' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 47, - "startColumn": 59, - "charOffset": 2053, - "charLength": 9, + "startLine": 99, + "startColumn": 21, + "charOffset": 2919, + "charLength": 11, "snippet": { - "text": "Substring" + "text": "GetVariable" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 45, + "startLine": 97, "startColumn": 1, - "charOffset": 1871, - "charLength": 297, + "charOffset": 2882, + "charLength": 192, "snippet": { - "text": " {\n ProjectId = Guid.Parse(x.Key.Substring(startIndex: 1, length: 36)),\n ProjectConfiguration = x.Key.Substring(startIndex: 39),\n SolutionConfiguration = x.Value\n })" + "text": "\n [CanBeNull]\n public static T GetVariable(string parameterName, char? separator = null)\n {\n return (T) Instance.GetEnvironmentVariable(parameterName, typeof(T), separator);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "76cdd7cc8119832b70dc7b6d27f47b8fbe1067f0e263163d979c37fb205e80b1" + "equalIndicator/v1": "5f118227e2cbd1e19d5de2ac8965feba6200587249e29778b8b8d78987a88c31" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123739,55 +127635,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'HasArgument' is never used", + "markdown": "Method 'HasArgument' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 230, - "startColumn": 47, - "charOffset": 9398, - "charLength": 9, + "startLine": 104, + "startColumn": 24, + "charOffset": 3105, + "charLength": 11, "snippet": { - "text": "Substring" + "text": "HasArgument" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 228, + "startLine": 102, "startColumn": 1, - "charOffset": 9313, - "charLength": 253, + "charOffset": 3075, + "charLength": 146, "snippet": { - "text": " var root = GetPathRoot(path);\n\n var tail = root == null ? path : path.Substring(root.Length);\n var tailParts = tail.Split(AllSeparators, StringSplitOptions.RemoveEmptyEntries).ToList();\n for (var i = 0; i < tailParts.Count;)" + "text": " }\n\n public static bool HasArgument(MemberInfo member)\n {\n return Instance.HasCommandLineArgument(GetParameterMemberName(member));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ac136cb678b6dd7ab9d5143a4c6998649e85fd1fc7379c95ee4ab9eb8524dc34" + "equalIndicator/v1": "814cca5d020d32159c3a374be0a5561592e17b2dbf7457d79358a3d24446f9ab" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123795,55 +127690,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'IsParameter' is never used", + "markdown": "Method 'IsParameter' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 80, - "startColumn": 38, - "charOffset": 2733, - "charLength": 9, + "startLine": 37, + "startColumn": 24, + "charOffset": 1293, + "charLength": 11, "snippet": { - "text": "Substring" + "text": "IsParameter" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 78, + "startLine": 35, "startColumn": 1, - "charOffset": 2681, - "charLength": 299, + "charOffset": 1168, + "charLength": 211, "snippet": { - "text": " }\n\n var typeName = type.Name.Substring(startIndex: 0, type.Name.IndexOf('`'));\n return typeName != nameof(ValueTuple) || tupleNames == null\n ? $\"{typeName}<{type.GetGenericArguments().Select(x => x.GetDisplayShortName(tupleNames)).JoinCommaSpace()}>\"" + "text": " private IReadOnlyDictionary Variables => _environmentVariablesProvider.Invoke();\n\n public static bool IsParameter(string value)\n {\n return value != null && value.StartsWith(\"-\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2a40972095ab09d9b85892f6f5991c10e57f4e3aa0a37bdf2ce441f6243add59" + "equalIndicator/v1": "ed32cea23ea850893cede3d7f226e2046fd53449331b49aa93a0c92f980f841c" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123851,55 +127745,54 @@ } }, { - "ruleId": "ReplaceSubstringWithRangeIndexer", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use range indexer", - "markdown": "Use range indexer" + "text": "Method 'GetParameterMemberName' is never used", + "markdown": "Method 'GetParameterMemberName' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, + "startLine": 52, "startColumn": 26, - "charOffset": 782, - "charLength": 9, + "charOffset": 1720, + "charLength": 22, "snippet": { - "text": "Substring" + "text": "GetParameterMemberName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 50, "startColumn": 1, - "charOffset": 746, - "charLength": 59, + "charOffset": 1688, + "charLength": 121, "snippet": { - "text": " }\n\n yield return str.Substring(next);\n }\n" + "text": " }\n\n public static string GetParameterMemberName(string name)\n {\n return name.Replace(\"-\", string.Empty);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9aa81cae3ae303bbc996a663a511e6b4fd9e02ad24c998ace9f540b827647ac9" + "equalIndicator/v1": "f1ad42da1854d98c2d5e902a86d80dd0f2abc30af24df2d9f9bb056c48cecc28" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -123907,52 +127800,51 @@ } }, { - "ruleId": "CoVariantArrayConversion", + "ruleId": "UnusedMember.Global", "kind": "fail", "level": "warning", "message": { - "text": "Co-variant array conversion from Task[] to Task[] can cause run-time exception on write operation", - "markdown": "Co-variant array conversion from Task\\[\\] to Task\\[\\] can cause run-time exception on write operation" + "text": "Method 'FormatSuccess' is never used", + "markdown": "Method 'FormatSuccess' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Mastodon/MastodonTasks.cs", + "uri": "source/Nuke.Build/Theming/IHostTheme.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 46, - "startColumn": 22, - "charOffset": 1609, - "charLength": 10, + "startLine": 19, + "startColumn": 21, + "charOffset": 521, + "charLength": 13, "snippet": { - "text": "mediaTasks" + "text": "FormatSuccess" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 44, + "startLine": 17, "startColumn": 1, - "charOffset": 1511, - "charLength": 168, + "charOffset": 459, + "charLength": 183, "snippet": { - "text": "\n var mediaTasks = status.MediaFiles.Select(PostMediaFile).ToArray();\n Task.WaitAll(mediaTasks);\n var mediaIds = mediaTasks.Select(x => x.Result);\n" + "text": " void WriteError(string text = null);\n\n internal string FormatSuccess(string text);\n internal string FormatVerbose(string text);\n internal string FormatDebug(string text);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4fb893cf46039d0e606d81531acf69fb748804aa2d01d10ce5d48c4ba535d518" + "equalIndicator/v1": "6c19ccd156e33e3c5d42c6f90f20e09b61d7f46c202d15755376f649fabef6cf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -123963,55 +127855,54 @@ } }, { - "ruleId": "MemberCanBeMadeStatic.Global", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Property 'SourceDirectory' can be made static", - "markdown": "Property 'SourceDirectory' can be made static" + "text": "Method 'FormatVerbose' is never used", + "markdown": "Method 'FormatVerbose' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Build/Theming/IHostTheme.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 188, - "startColumn": 29, - "charOffset": 7803, - "charLength": 15, + "startLine": 20, + "startColumn": 21, + "charOffset": 569, + "charLength": 13, "snippet": { - "text": "SourceDirectory" + "text": "FormatVerbose" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 186, + "startLine": 18, "startColumn": 1, - "charOffset": 7764, - "charLength": 119, + "charOffset": 500, + "charLength": 194, "snippet": { - "text": " }\n\n public AbsolutePath SourceDirectory => RootDirectory / \"src\";\n\n public Target Clean => _ => _" + "text": "\n internal string FormatSuccess(string text);\n internal string FormatVerbose(string text);\n internal string FormatDebug(string text);\n internal string FormatInformation(string text);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a0fb58fb45a98f3358abd94e15b8ee40470c8fba618c0a68ad1eda7c159f25a4" + "equalIndicator/v1": "3729ddf2d60df70a66ba0195d0de21ea1be3f7e2ae53a5b4ce582fed9504d2c5" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -124019,55 +127910,54 @@ } }, { - "ruleId": "MemberCanBeMadeStatic.Global", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Property 'OutputDirectory' can be made static", - "markdown": "Property 'OutputDirectory' can be made static" + "text": "Method 'FormatDebug' is never used", + "markdown": "Method 'FormatDebug' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Build/Theming/IHostTheme.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 205, - "startColumn": 29, - "charOffset": 8518, - "charLength": 15, + "startLine": 21, + "startColumn": 21, + "charOffset": 617, + "charLength": 11, "snippet": { - "text": "OutputDirectory" + "text": "FormatDebug" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 203, + "startLine": 19, "startColumn": 1, - "charOffset": 8362, + "charOffset": 501, "charLength": 241, "snippet": { - "text": " [Parameter] public readonly Configuration[] ConfigurationArray = new[] { Configuration.Debug, Configuration.Release };\n\n public AbsolutePath OutputDirectory => RootDirectory / \"output\";\n\n public Target Compile => _ => _" + "text": " internal string FormatSuccess(string text);\n internal string FormatVerbose(string text);\n internal string FormatDebug(string text);\n internal string FormatInformation(string text);\n internal string FormatWarning(string text);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "da666625194eb10785d1b06c006eb71f65aa27c05477dd75f9e6b49f3a6e6c73" + "equalIndicator/v1": "e60c8ca31a073ec59189836cf94fc06791830061fceeba4ef718d587caf70a6e" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -124075,37 +127965,37 @@ } }, { - "ruleId": "MemberCanBeMadeStatic.Global", + "ruleId": "UnusedMember.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Method 'WriteLogo' can be made static", - "markdown": "Method 'WriteLogo' can be made static" + "text": "Method 'FormatWarning' is never used", + "markdown": "Method 'FormatWarning' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.cs", + "uri": "source/Nuke.Build/Theming/IHostTheme.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, - "startColumn": 29, - "charOffset": 886, - "charLength": 9, + "startLine": 23, + "startColumn": 21, + "charOffset": 715, + "charLength": 13, "snippet": { - "text": "WriteLogo" + "text": "FormatWarning" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 21, "startColumn": 1, - "charOffset": 778, - "charLength": 142, + "charOffset": 597, + "charLength": 193, "snippet": { - "text": " internal virtual string OutputTemplate => Logging.TimestampOutputTemplate;\n\n protected internal void WriteLogo()\n {\n Debug();" + "text": " internal string FormatDebug(string text);\n internal string FormatInformation(string text);\n internal string FormatWarning(string text);\n internal string FormatError(string text);\n}" } } }, @@ -124118,12 +128008,11 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "33e4cdeb020a67ed30a41e41744e8a60ebb344801134dafa723a3439b4e8275d" + "equalIndicator/v1": "c12be8a51a1ba407eeb92127c4b0eb2155382c9e0f10618dbbc0d9d260bb5026" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -124135,54 +128024,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetAttributeValue' is never used", - "markdown": "Method 'GetAttributeValue' is never used" + "text": "Method 'FormatError' is never used", + "markdown": "Method 'FormatError' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XElement.GetAttributeValue.cs", + "uri": "source/Nuke.Build/Theming/IHostTheme.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, - "startColumn": 26, - "charOffset": 301, - "charLength": 17, + "startLine": 24, + "startColumn": 21, + "charOffset": 763, + "charLength": 11, "snippet": { - "text": "GetAttributeValue" + "text": "FormatError" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 22, "startColumn": 1, - "charOffset": 227, - "charLength": 189, + "charOffset": 643, + "charLength": 148, "snippet": { - "text": "public static partial class XElementExtensions\n{\n public static string GetAttributeValue(this XElement element, string name)\n {\n return element.Attribute(name).NotNull().Value;" + "text": " internal string FormatInformation(string text);\n internal string FormatWarning(string text);\n internal string FormatError(string text);\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "10bc88d459f1f8257623a1d6952335ac9969cb9afdce193e88a90e0efe5ba35e" + "equalIndicator/v1": "cb8aea4d331b496afac1c99d32b4671975025fd60e2756de9342f20f2014b0ac" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -124191,54 +128079,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'XPathSelectElementValues' is never used", - "markdown": "Method 'XPathSelectElementValues' is never used" + "text": "Method 'Verbose' is never used", + "markdown": "Method 'Verbose' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Build/Host.Theming.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 17, - "startColumn": 39, - "charOffset": 413, - "charLength": 24, + "startLine": 18, + "startColumn": 26, + "charOffset": 412, + "charLength": 7, "snippet": { - "text": "XPathSelectElementValues" + "text": "Verbose" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 15, + "startLine": 16, "startColumn": 1, - "charOffset": 329, - "charLength": 277, + "charOffset": 380, + "charLength": 135, "snippet": { - "text": "public static partial class XNodeExtensions\n{\n public static IEnumerable XPathSelectElementValues(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces).Select(x => x.Value);" + "text": " }\n\n internal static void Verbose(string text = null)\n {\n (Instance?.Theme ?? Logging.DefaultTheme).WriteVerbose(text);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "383ab74eb2cf76eddd138ae91b7a4b62668a80d6be7b5f0fce56bdc32b32081c" + "equalIndicator/v1": "ccbf07add0fe37d3d3f6234e8bf34a9c75efdea8377931f597c5e1f7cd002975" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -124247,54 +128134,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'XPathSelectElements' is never used", - "markdown": "Method 'XPathSelectElements' is never used" + "text": "Property 'IsRunningTerminal' is never used", + "markdown": "Property 'IsRunningTerminal' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Build/Terminal.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, - "startColumn": 41, - "charOffset": 897, - "charLength": 19, + "startLine": 13, + "startColumn": 24, + "charOffset": 287, + "charLength": 17, "snippet": { - "text": "XPathSelectElements" + "text": "IsRunningTerminal" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 11, "startColumn": 1, - "charOffset": 850, - "charLength": 214, + "charOffset": 233, + "charLength": 83, "snippet": { - "text": " }\n\n public static IEnumerable XPathSelectElements(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces);" + "text": "public class Terminal : Host\n{\n public static bool IsRunningTerminal => true;\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "15b010b6a79e330ef33dceeb50ce3610efb6c301806c5af900f2e3130a14bc46" + "equalIndicator/v1": "484fcf100ef6cd87a8d2ab5b77f47d1cee2fd3d8520fb30102f5a99c9c76043e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -124303,54 +128189,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'XPathSelectAttributes' is never used", - "markdown": "Method 'XPathSelectAttributes' is never used" + "text": "Property 'IsRunningRider' is never used", + "markdown": "Property 'IsRunningRider' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Build/Terminal.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 43, - "charOffset": 1114, - "charLength": 21, + "startLine": 18, + "startColumn": 26, + "charOffset": 374, + "charLength": 14, "snippet": { - "text": "XPathSelectAttributes" + "text": "IsRunningRider" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 16, "startColumn": 1, - "charOffset": 1065, - "charLength": 220, + "charOffset": 317, + "charLength": 293, "snippet": { - "text": " }\n\n public static IEnumerable XPathSelectAttributes(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces);" + "text": "public class Rider : Terminal\n{\n internal static bool IsRunningRider\n => !Environment.GetEnvironmentVariable(\"IDEA_INITIAL_DIRECTORY\").IsNullOrEmpty() ||\n (Environment.GetEnvironmentVariable(\"XPC_SERVICE_NAME\")?.ContainsOrdinalIgnoreCase(\"com.jetbrains.rider\") ?? false) ||" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b2777da666cccadb30f4f275a2b08773702bd233321fa3ffc2b71f064f6eb273" + "equalIndicator/v1": "ad610e4e2d9de46c9a571446520aa4f4090c24acb8e261218ba05bab872a19fd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -124359,48 +128244,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'XPathSelectElementValues' is never used", - "markdown": "Method 'XPathSelectElementValues' is never used" + "text": "Property 'IsRunningVSCode' is never used", + "markdown": "Property 'IsRunningVSCode' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Build/Terminal.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 17, - "startColumn": 39, - "charOffset": 413, - "charLength": 24, + "startLine": 26, + "startColumn": 26, + "charOffset": 800, + "charLength": 15, "snippet": { - "text": "XPathSelectElementValues" + "text": "IsRunningVSCode" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 15, + "startLine": 24, "startColumn": 1, - "charOffset": 329, - "charLength": 277, + "charOffset": 742, + "charLength": 242, "snippet": { - "text": "public static partial class XNodeExtensions\n{\n public static IEnumerable XPathSelectElementValues(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces).Select(x => x.Value);" + "text": "public class VSCode : Terminal\n{\n internal static bool IsRunningVSCode\n => !Environment.GetEnvironmentVariable(\"VSCODE_GIT_IPC_HANDLE\").IsNullOrEmpty() ||\n !Environment.GetEnvironmentVariable(\"VSCODE_PID\").IsNullOrEmpty();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "169083a8f435b797ff66885d26d63c7c14bb65e37f2841e071937aa3336be2d8" + "equalIndicator/v1": "843f528d97c566b96abe7fdd4dc1fafc9163ac21f59ccf50d1948cea66885797" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -124415,48 +128299,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'XPathSelectElements' is never used", - "markdown": "Method 'XPathSelectElements' is never used" + "text": "Property 'IsRunningVisualStudio' is never used", + "markdown": "Property 'IsRunningVisualStudio' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Build/Terminal.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, - "startColumn": 41, - "charOffset": 897, - "charLength": 19, + "startLine": 33, + "startColumn": 26, + "charOffset": 1052, + "charLength": 21, "snippet": { - "text": "XPathSelectElements" + "text": "IsRunningVisualStudio" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 31, "startColumn": 1, - "charOffset": 850, - "charLength": 214, + "charOffset": 988, + "charLength": 174, "snippet": { - "text": " }\n\n public static IEnumerable XPathSelectElements(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces);" + "text": "public class VisualStudio : Terminal\n{\n internal static bool IsRunningVisualStudio\n => !Environment.GetEnvironmentVariable(\"VisualStudioVersion\").IsNullOrEmpty();\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b7b137da65183fb96eca65c75819887a4c2706ef97fc30af86ec39c2c0736db5" + "equalIndicator/v1": "c9450bc0ece0b2c9e296550629a29c402047f815bd4c140f05548f991062c061" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -124471,33 +128354,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'XPathSelectAttributes' is never used", - "markdown": "Method 'XPathSelectAttributes' is never used" + "text": "Property 'Count' is never used", + "markdown": "Property 'Count' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponent.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 43, - "charOffset": 1114, - "charLength": 21, + "startLine": 26, + "startColumn": 16, + "charOffset": 582, + "charLength": 5, "snippet": { - "text": "XPathSelectAttributes" + "text": "Count" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 24, "startColumn": 1, - "charOffset": 1065, - "charLength": 220, + "charOffset": 560, + "charLength": 88, "snippet": { - "text": " }\n\n public static IEnumerable XPathSelectAttributes(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces);" + "text": " }\n\n public int Count => _list.Count;\n\n public bool IsCycle => _list.Count > 1;" } } }, @@ -124510,9 +128393,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "f68f7af00d699db7a65d35c2472cf06eb8fb1f57ba9b7a3a9760e87614493340" + "equalIndicator/v1": "9e2fa53a60a2f0295ff36f3cea6b0cc8c58df502f808ad5bb79f4fe86020d10f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -124527,54 +128409,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Coverage' is never used", - "markdown": "Property 'Coverage' is never used" + "text": "Property 'Count' is never used", + "markdown": "Property 'Count' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponent.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 228, - "startColumn": 23, - "charOffset": 9332, - "charLength": 8, + "startLine": 26, + "startColumn": 16, + "charOffset": 582, + "charLength": 5, "snippet": { - "text": "Coverage" + "text": "Count" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 226, + "startLine": 24, "startColumn": 1, - "charOffset": 9221, - "charLength": 189, + "charOffset": 560, + "charLength": 88, "snippet": { - "text": " public string CoverageReportArchive => OutputDirectory / \"coverage-report.zip\";\n\n public Target Coverage => _ => _\n .DependsOn(Test)\n .TriggeredBy(Test)" + "text": " }\n\n public int Count => _list.Count;\n\n public bool IsCycle => _list.Count > 1;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d5f93e874884d3c4c8cac99cd84abcf6f7c767221a7085c06d0f6d71998f5e48" + "equalIndicator/v1": "bc70c1bfdf82f1ca0ef72565a90970379a29e63ac244199df50d21d844159408" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -124583,48 +128464,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Announce' is never used", - "markdown": "Property 'Announce' is never used" + "text": "Property 'Count' is never used", + "markdown": "Property 'Count' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 244, - "startColumn": 23, - "charOffset": 9863, - "charLength": 8, + "startLine": 26, + "startColumn": 16, + "charOffset": 682, + "charLength": 5, "snippet": { - "text": "Announce" + "text": "Count" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 242, + "startLine": 24, "startColumn": 1, - "charOffset": 9803, - "charLength": 148, + "charOffset": 660, + "charLength": 120, "snippet": { - "text": " .Requires(() => ApiKey);\n\n public Target Announce => _ => _\n .TriggeredBy(Publish)\n .AssuredAfterFailure();" + "text": " }\n\n public int Count => _collection.Count;\n\n public IEnumerator> GetEnumerator()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5b6a69abf3dbbac3d1676dd28dd13e294862e6c00ba3a8b54b688aaf3e342fcf" + "equalIndicator/v1": "d7f93327064d126b018e38904205f4aaff0974c13dd47ca1c64a4876f93aebe1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -124639,33 +128519,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetResourceAllText' is never used", - "markdown": "Method 'GetResourceAllText' is never used" + "text": "Method 'IndependentComponents' is never used", + "markdown": "Method 'IndependentComponents' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, - "startColumn": 26, - "charOffset": 384, - "charLength": 18, + "startLine": 38, + "startColumn": 55, + "charOffset": 993, + "charLength": 21, "snippet": { - "text": "GetResourceAllText" + "text": "IndependentComponents" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 36, "startColumn": 1, - "charOffset": 321, - "charLength": 176, + "charOffset": 932, + "charLength": 134, "snippet": { - "text": "public static class ResourceUtility\n{\n public static string GetResourceAllText(string postfix)\n {\n return new StreamReader(GetResource(postfix)).ReadToEnd();" + "text": " }\n\n public IEnumerable> IndependentComponents()\n {\n return this.Where(c => !c.IsCycle);" } } }, @@ -124678,15 +128558,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "10e72cd43fab805309b5a713c0e2f82d9704c49482e3a4dfc048e8795cdc95aa" + "equalIndicator/v1": "8662a69ab50145b255b1a58acfda0b6dd87a90ae4d6c4c6438e9fe6864634bb6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -124695,33 +128574,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetResourceAllLines' is never used", - "markdown": "Method 'GetResourceAllLines' is never used" + "text": "Method 'DetectCycle' is never used", + "markdown": "Method 'DetectCycle' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentFinder.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, - "startColumn": 28, - "charOffset": 532, - "charLength": 19, + "startLine": 22, + "startColumn": 46, + "charOffset": 721, + "charLength": 11, "snippet": { - "text": "GetResourceAllLines" + "text": "DetectCycle" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 20, "startColumn": 1, - "charOffset": 498, - "charLength": 118, + "charOffset": 526, + "charLength": 322, "snippet": { - "text": " }\n\n public static string[] GetResourceAllLines(string postfix)\n {\n var lines = new List();" + "text": " /// Graph to detect cycles within.\n /// Set of strongly connected components (sets of vertices)\n public StronglyConnectedComponentList DetectCycle(IEnumerable> graph)\n {\n _stronglyConnectedComponents = new StronglyConnectedComponentList();" } } }, @@ -124734,9 +128613,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "35f938638271fbfdb046e62b4450516ef8150cea44886f62b403c53a71fb6a41" + "equalIndicator/v1": "e96c92a21755ed74d8248285e4ce40069734137cde9e1373a7568bd1a87bf259" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -124751,54 +128629,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'VisualStudioDebugFileName' is never used", - "markdown": "Constant 'VisualStudioDebugFileName' is never used" + "text": "Property 'Count' is never used", + "markdown": "Property 'Count' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 26, - "startColumn": 27, - "charOffset": 807, - "charLength": 25, + "startColumn": 16, + "charOffset": 682, + "charLength": 5, "snippet": { - "text": "VisualStudioDebugFileName" + "text": "Count" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 24, "startColumn": 1, - "charOffset": 627, - "charLength": 299, + "charOffset": 660, + "charLength": 120, "snippet": { - "text": " internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";\n internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";\n\n internal const string TargetsSeparator = \"+\";" + "text": " }\n\n public int Count => _collection.Count;\n\n public IEnumerator> GetEnumerator()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "26e631ea3e0a6aa8f11dc8c0fe0c3e148d9ddf03771f7ef1ff98885214cdfd5d" + "equalIndicator/v1": "637e9d0cac37af5f2157afbf642fef2e39e657b3db2dd03b2ecb9a38eb92ef4e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -124807,48 +128684,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'NukeCommonPackageId' is never used", - "markdown": "Constant 'NukeCommonPackageId' is never used" + "text": "Method 'IndependentComponents' is never used", + "markdown": "Method 'IndependentComponents' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 27, - "charOffset": 653, - "charLength": 19, + "startLine": 38, + "startColumn": 55, + "charOffset": 993, + "charLength": 21, "snippet": { - "text": "NukeCommonPackageId" + "text": "IndependentComponents" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 36, "startColumn": 1, - "charOffset": 512, - "charLength": 363, + "charOffset": 932, + "charLength": 134, "snippet": { - "text": " internal const string NukeFileName = NukeDirectoryName;\n internal const string NukeDirectoryName = \".nuke\";\n internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";\n internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";" + "text": " }\n\n public IEnumerable> IndependentComponents()\n {\n return this.Where(c => !c.IsCycle);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f1c23088f43f310ab9641c02b42538d7445848ba7426368b30a01256d313194a" + "equalIndicator/v1": "c83ba4a0c92fd755a9df64bf3fa3c899c23189f2d0f80b8d8fc3a00d1425e5d3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -124863,48 +128739,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'VisualStudioDebugFileName' is never used", - "markdown": "Constant 'VisualStudioDebugFileName' is never used" + "text": "Method 'Cycles' is never used", + "markdown": "Method 'Cycles' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 27, - "charOffset": 807, - "charLength": 25, + "startLine": 43, + "startColumn": 55, + "charOffset": 1128, + "charLength": 6, "snippet": { - "text": "VisualStudioDebugFileName" + "text": "Cycles" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 41, "startColumn": 1, - "charOffset": 627, - "charLength": 299, + "charOffset": 1067, + "charLength": 118, "snippet": { - "text": " internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";\n internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";\n\n internal const string TargetsSeparator = \"+\";" + "text": " }\n\n public IEnumerable> Cycles()\n {\n return this.Where(c => c.IsCycle);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "37848531f51e9387202ee391afdf71623af6aeee9f5336b6d7329b8ec0d427b3" + "equalIndicator/v1": "97f6142b6c16a5c2e131aa0a2a8b8cebfbbfe309611e123478025b541cec40cf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -124919,54 +128794,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'TargetsSeparator' is never used", - "markdown": "Constant 'TargetsSeparator' is never used" + "text": "Constructor 'Vertex' is never used", + "markdown": "Constructor 'Vertex' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 28, - "startColumn": 27, - "charOffset": 903, - "charLength": 16, + "startLine": 31, + "startColumn": 12, + "charOffset": 589, + "charLength": 6, "snippet": { - "text": "TargetsSeparator" + "text": "Vertex" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 26, + "startLine": 29, "startColumn": 1, - "charOffset": 781, - "charLength": 274, + "charOffset": 571, + "charLength": 105, "snippet": { - "text": " internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";\n\n internal const string TargetsSeparator = \"+\";\n internal const string RootDirectoryParameterName = \"Root\";\n internal const string InvokedTargetsParameterName = \"Target\";" + "text": " }\n\n public Vertex(T value, IEnumerable> dependencies)\n : this(dependencies)\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "32bf8b6c1bb8f40573bf1046d70f2724ce8b69be4a0e27516345548a435321bb" + "equalIndicator/v1": "5637e6328941e862cc5e3db7697bbe2de701feeba5d2f683e04da9a37043a08f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -124975,48 +128849,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'RootDirectoryParameterName' is never used", - "markdown": "Constant 'RootDirectoryParameterName' is never used" + "text": "Constructor 'Vertex' is never used", + "markdown": "Constructor 'Vertex' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 27, - "charOffset": 953, - "charLength": 26, + "startLine": 19, + "startColumn": 12, + "charOffset": 375, + "charLength": 6, "snippet": { - "text": "RootDirectoryParameterName" + "text": "Vertex" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 17, "startColumn": 1, - "charOffset": 876, - "charLength": 243, + "charOffset": 357, + "charLength": 56, "snippet": { - "text": "\n internal const string TargetsSeparator = \"+\";\n internal const string RootDirectoryParameterName = \"Root\";\n internal const string InvokedTargetsParameterName = \"Target\";\n internal const string SkippedTargetsParameterName = \"Skip\";" + "text": " }\n\n public Vertex(T value)\n : this()\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8c7d853ed22ab230077160ad964d4853e73715cf53a07993dafed6081bf24e33" + "equalIndicator/v1": "84c47eed70ccf675d603492bdad001aa9f618150ca2c1f885898f8b1c0eae828" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125031,48 +128904,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'SkippedTargetsParameterName' is never used", - "markdown": "Constant 'SkippedTargetsParameterName' is never used" + "text": "Constructor 'Vertex' is never used", + "markdown": "Constructor 'Vertex' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 31, - "startColumn": 27, - "charOffset": 1082, - "charLength": 27, + "startColumn": 12, + "charOffset": 589, + "charLength": 6, "snippet": { - "text": "SkippedTargetsParameterName" + "text": "Vertex" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 29, "startColumn": 1, - "charOffset": 927, - "charLength": 265, + "charOffset": 571, + "charLength": 105, "snippet": { - "text": " internal const string RootDirectoryParameterName = \"Root\";\n internal const string InvokedTargetsParameterName = \"Target\";\n internal const string SkippedTargetsParameterName = \"Skip\";\n internal const string LoadedLocalProfilesParameterName = \"Profile\";\n" + "text": " }\n\n public Vertex(T value, IEnumerable> dependencies)\n : this(dependencies)\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "14756e7bcecac71762fde7c82dc5865557efffc7ea8b2ca84b5a5a01de804561" + "equalIndicator/v1": "e5bf3dbe678659b1e6ba5e657c1aac70b794acc218543456ab6a473539391ed3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125087,54 +128959,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'GlobalToolVersionEnvironmentKey' is never used", - "markdown": "Constant 'GlobalToolVersionEnvironmentKey' is never used" + "text": "Method 'AddPairWhenKeyNotNull' is never used", + "markdown": "Method 'AddPairWhenKeyNotNull' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Collections/Dictionary.AddKeyValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 27, - "charOffset": 1494, - "charLength": 31, + "startLine": 32, + "startColumn": 45, + "charOffset": 897, + "charLength": 21, "snippet": { - "text": "GlobalToolVersionEnvironmentKey" + "text": "AddPairWhenKeyNotNull" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 30, "startColumn": 1, - "charOffset": 1408, - "charLength": 323, + "charOffset": 846, + "charLength": 168, "snippet": { - "text": " internal const string DefaultProfileName = \"$default\";\n\n internal const string GlobalToolVersionEnvironmentKey = \"NUKE_GLOBAL_TOOL_VERSION\";\n internal const string GlobalToolStartTimeEnvironmentKey = \"NUKE_GLOBAL_TOOL_START_TIME\";\n internal const string InterceptorEnvironmentKey = \"NUKE_INTERNAL_INTERCEPTOR\";" + "text": " }\n\n public static IDictionary AddPairWhenKeyNotNull(\n this IDictionary dictionary,\n [CanBeNull] TKey key," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "71a4b72015307bdd5d5f49f037f89e4225fcf72406d843b63d383ca4a52ac32e" + "equalIndicator/v1": "7293a4a8806e33390e2ec534583196871604ba195343f7dca28e7c9ebb61752d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -125143,54 +129014,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'GlobalToolStartTimeEnvironmentKey' is never used", - "markdown": "Constant 'GlobalToolStartTimeEnvironmentKey' is never used" + "text": "Method 'Deconstruct' is never used", + "markdown": "Method 'Deconstruct' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Collections/Dictionary.Deconstruct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 40, - "startColumn": 27, - "charOffset": 1582, - "charLength": 33, + "startLine": 11, + "startColumn": 24, + "charOffset": 291, + "charLength": 11, "snippet": { - "text": "GlobalToolStartTimeEnvironmentKey" + "text": "Deconstruct" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 38, + "startLine": 9, "startColumn": 1, - "charOffset": 1467, - "charLength": 265, + "charOffset": 217, + "charLength": 183, "snippet": { - "text": "\n internal const string GlobalToolVersionEnvironmentKey = \"NUKE_GLOBAL_TOOL_VERSION\";\n internal const string GlobalToolStartTimeEnvironmentKey = \"NUKE_GLOBAL_TOOL_START_TIME\";\n internal const string InterceptorEnvironmentKey = \"NUKE_INTERNAL_INTERCEPTOR\";\n" + "text": "public static partial class DictionaryExtensions\n{\n public static void Deconstruct(this KeyValuePair tuple, out T1 key, out T2 value)\n {\n key = tuple.Key;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d842f53c6fadfa77c9b64fbd4d5d1991c8298c405e389dea82ac02a0e61d111b" + "equalIndicator/v1": "eda9c9ab3994c75bf766cee9c3c30c5fcd62a3fb18ef5763892fb112247620b3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -125199,48 +129069,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constant 'InterceptorEnvironmentKey' is never used", - "markdown": "Constant 'InterceptorEnvironmentKey' is never used" + "text": "Method 'GetInformationalText' is never used", + "markdown": "Method 'GetInformationalText' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, - "startColumn": 27, - "charOffset": 1675, - "charLength": 25, + "startLine": 13, + "startColumn": 26, + "charOffset": 295, + "charLength": 20, "snippet": { - "text": "InterceptorEnvironmentKey" + "text": "GetInformationalText" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 11, "startColumn": 1, - "charOffset": 1468, - "charLength": 345, + "charOffset": 229, + "charLength": 228, "snippet": { - "text": " internal const string GlobalToolVersionEnvironmentKey = \"NUKE_GLOBAL_TOOL_VERSION\";\n internal const string GlobalToolStartTimeEnvironmentKey = \"NUKE_GLOBAL_TOOL_START_TIME\";\n internal const string InterceptorEnvironmentKey = \"NUKE_INTERNAL_INTERCEPTOR\";\n\n internal static AbsolutePath GlobalTemporaryDirectory => Path.GetTempPath();" + "text": "public static class AssemblyExtensions\n{\n public static string GetInformationalText(this Assembly assembly)\n {\n return $\"version {assembly.GetVersionText()} ({EnvironmentInfo.Platform},{EnvironmentInfo.Framework})\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e432d3db257fce526fb26ea5ddb6621493b2d75058d72034d386d5d8e8510e2b" + "equalIndicator/v1": "c64f8045ba90fe98bbb0623cc78d784aa94b315ffd1bd376cb6086046a919249" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125255,54 +129124,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'GlobalTemporaryDirectory' is never used", - "markdown": "Property 'GlobalTemporaryDirectory' is never used" + "text": "Method 'HasCustomAttribute' is never used", + "markdown": "Method 'HasCustomAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 43, - "startColumn": 34, - "charOffset": 1766, - "charLength": 24, + "startLine": 59, + "startColumn": 24, + "charOffset": 1860, + "charLength": 18, "snippet": { - "text": "GlobalTemporaryDirectory" + "text": "HasCustomAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 41, + "startLine": 57, "startColumn": 1, - "charOffset": 1649, - "charLength": 291, + "charOffset": 1830, + "charLength": 115, "snippet": { - "text": " internal const string InterceptorEnvironmentKey = \"NUKE_INTERNAL_INTERCEPTOR\";\n\n internal static AbsolutePath GlobalTemporaryDirectory => Path.GetTempPath();\n internal static AbsolutePath GlobalNukeDirectory => EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile) / \".nuke\";\n" + "text": " }\n\n public static bool HasCustomAttribute(this ParameterInfo parameter)\n where T : Attribute\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f168b4e4289aa1cca6fc4c4172278f1c26d53dc39d68a980a7cdf4c5eb641a59" + "equalIndicator/v1": "f467be59163a00c7fe5a24a258c4d583389342e290ab9a5f5e2b3c1869094b97" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -125311,54 +129179,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetCompletionFile' is never used", - "markdown": "Method 'GetCompletionFile' is never used" + "text": "Method 'IsAssembly' is never used", + "markdown": "Method 'IsAssembly' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 74, - "startColumn": 34, - "charOffset": 3010, - "charLength": 17, + "startLine": 111, + "startColumn": 24, + "charOffset": 3675, + "charLength": 10, "snippet": { - "text": "GetCompletionFile" + "text": "IsAssembly" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 72, + "startLine": 109, "startColumn": 1, - "charOffset": 2970, - "charLength": 158, + "charOffset": 3645, + "charLength": 99, "snippet": { - "text": " }\n\n internal static AbsolutePath GetCompletionFile(AbsolutePath rootDirectory)\n {\n var completionFileName = CompletionParameterName + \".yml\";" + "text": " }\n\n public static bool IsAssembly(this MemberInfo member)\n {\n return member switch" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c8562f45c6f4da3627ef8f8e2133147d3eee1f425d3be949c1b421f0d8d9148a" + "equalIndicator/v1": "8e9361a21ec440932c5d4a22263fec3d49c0010cfa42dffc56772aa164697f17" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -125367,48 +129234,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetBuildAttemptFile' is never used", - "markdown": "Method 'GetBuildAttemptFile' is never used" + "text": "Method 'GetNullableType' is never used", + "markdown": "Method 'GetNullableType' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 82, - "startColumn": 34, - "charOffset": 3354, - "charLength": 19, + "startLine": 36, + "startColumn": 24, + "charOffset": 1141, + "charLength": 15, "snippet": { - "text": "GetBuildAttemptFile" + "text": "GetNullableType" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 80, + "startLine": 34, "startColumn": 1, - "charOffset": 3314, - "charLength": 168, + "charOffset": 1111, + "charLength": 155, "snippet": { - "text": " }\n\n internal static AbsolutePath GetBuildAttemptFile(AbsolutePath rootDirectory)\n {\n return GetTemporaryDirectory(rootDirectory) / \"build-attempt.log\";" + "text": " }\n\n public static Type GetNullableType(this Type type)\n {\n return type.IsNullableType() ? type : typeof(Nullable<>).MakeGenericType(type);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d48e2a63c5657c7fa77b60b5b42e0b4156ff091ccdf5e0c43f0b2f6bef97e27c" + "equalIndicator/v1": "b66d4d48ed4358c0fcda57c756e1e0cd3815be983e87e35071fca2ce85a5808c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125423,48 +129289,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetVisualStudioDebugFile' is never used", - "markdown": "Method 'GetVisualStudioDebugFile' is never used" + "text": "Method 'GetEnumValues' is never used", + "markdown": "Method 'GetEnumValues' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 87, - "startColumn": 32, - "charOffset": 3521, - "charLength": 24, + "startLine": 48, + "startColumn": 23, + "charOffset": 1569, + "charLength": 13, "snippet": { - "text": "GetVisualStudioDebugFile" + "text": "GetEnumValues" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 85, + "startLine": 46, "startColumn": 1, - "charOffset": 3483, - "charLength": 191, + "charOffset": 1540, + "charLength": 124, "snippet": { - "text": " }\n\n public static AbsolutePath GetVisualStudioDebugFile(AbsolutePath rootDirectory)\n {\n return GetTemporaryDirectory(rootDirectory) / $\"{VisualStudioDebugParameterName}.log\";" + "text": " }\n\n public static T[] GetEnumValues(this Type type)\n {\n return type.GetEnumValues().Cast().ToArray();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a688d74e59ea371a1e9d0175ded10c79473e7a6e6523f7be4ad64aa9fb1310eb" + "equalIndicator/v1": "5cca0df0ee2d4bd0ed06ebd0f3662852164880a6e2da0d017e10ac9312ec0a1b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125479,48 +129344,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetReSharperSurrogateFile' is never used", - "markdown": "Method 'GetReSharperSurrogateFile' is never used" + "text": "Method 'HasCustomAttribute' is never used", + "markdown": "Method 'HasCustomAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 92, - "startColumn": 32, - "charOffset": 3713, - "charLength": 25, + "startLine": 59, + "startColumn": 24, + "charOffset": 1860, + "charLength": 18, "snippet": { - "text": "GetReSharperSurrogateFile" + "text": "HasCustomAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 90, + "startLine": 57, "startColumn": 1, - "charOffset": 3675, - "charLength": 178, + "charOffset": 1830, + "charLength": 115, "snippet": { - "text": " }\n\n public static AbsolutePath GetReSharperSurrogateFile(AbsolutePath rootDirectory)\n {\n return GetTemporaryDirectory(rootDirectory) / \"resharper-surrogate.log\";" + "text": " }\n\n public static bool HasCustomAttribute(this ParameterInfo parameter)\n where T : Attribute\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9f53ccaa4fa522c78712d83a3d8917d0030250774889c940637b9fb8181c7927" + "equalIndicator/v1": "3c669984ae7fa00f5b914206e32b32fc7ae995ceaf2287b55d1693a8baea5fbb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125535,48 +129399,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetBuildSchemaFile' is never used", - "markdown": "Method 'GetBuildSchemaFile' is never used" + "text": "Method 'GetScalarType' is never used", + "markdown": "Method 'GetScalarType' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 97, - "startColumn": 34, - "charOffset": 3894, - "charLength": 18, + "startLine": 76, + "startColumn": 24, + "charOffset": 2410, + "charLength": 13, "snippet": { - "text": "GetBuildSchemaFile" + "text": "GetScalarType" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 95, + "startLine": 74, "startColumn": 1, - "charOffset": 3854, - "charLength": 162, + "charOffset": 2380, + "charLength": 113, "snippet": { - "text": " }\n\n internal static AbsolutePath GetBuildSchemaFile(AbsolutePath rootDirectory)\n {\n return GetNukeDirectory(rootDirectory) / BuildSchemaFileName;" + "text": " }\n\n public static Type GetScalarType(this Type type)\n {\n return Nullable.GetUnderlyingType(type)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "434a1eb5c54d05cdfe6ca8ad888978824a879f35a99ffb2f212703fedb80d34a" + "equalIndicator/v1": "60a2965efb6d9e755837932eeb37289d1648c8907e2ff17f02f5fe6789947bfe" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125591,48 +129454,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetParametersProfileFile' is never used", - "markdown": "Method 'GetParametersProfileFile' is never used" + "text": "Method 'IsFamily' is never used", + "markdown": "Method 'IsFamily' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 113, - "startColumn": 34, - "charOffset": 4553, - "charLength": 24, + "startLine": 99, + "startColumn": 24, + "charOffset": 3226, + "charLength": 8, "snippet": { - "text": "GetParametersProfileFile" + "text": "IsFamily" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 111, + "startLine": 97, "startColumn": 1, - "charOffset": 4513, - "charLength": 195, + "charOffset": 3196, + "charLength": 97, "snippet": { - "text": " }\n\n internal static AbsolutePath GetParametersProfileFile(AbsolutePath rootDirectory, string profile)\n {\n return GetNukeDirectory(rootDirectory) / GetParametersFileName(profile);" + "text": " }\n\n public static bool IsFamily(this MemberInfo member)\n {\n return member switch" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "75ba369da582ea2ff28212693dcd694cbf5ed43873d72db93544ac795999ee82" + "equalIndicator/v1": "44da4a93ee1fb109fe1f9ba883811faefd21ab4c117756e3b21016a0cd1a8705" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125647,48 +129509,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetProfileNames' is never used", - "markdown": "Method 'GetProfileNames' is never used" + "text": "Method 'IsAssembly' is never used", + "markdown": "Method 'IsAssembly' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 123, - "startColumn": 39, - "charOffset": 4954, - "charLength": 15, + "startLine": 111, + "startColumn": 24, + "charOffset": 3675, + "charLength": 10, "snippet": { - "text": "GetProfileNames" + "text": "IsAssembly" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 121, + "startLine": 109, "startColumn": 1, - "charOffset": 4909, - "charLength": 150, + "charOffset": 3645, + "charLength": 99, "snippet": { - "text": " }\n\n public static IEnumerable GetProfileNames(AbsolutePath rootDirectory)\n {\n return GetParametersProfileFiles(rootDirectory)" + "text": " }\n\n public static bool IsAssembly(this MemberInfo member)\n {\n return member switch" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0456e39e9c6c33a341863492544e51d2dd723ee298b2bc4cba34e359c6cd531f" + "equalIndicator/v1": "cec758825c6ed953cbbe25a85f876d772b6d89808afbb693d2cdd9de2ff2a216" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125703,48 +129564,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetCredentialStoreName' is never used", - "markdown": "Method 'GetCredentialStoreName' is never used" + "text": "Method 'GetAllMembers' is never used", + "markdown": "Method 'GetAllMembers' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 131, - "startColumn": 28, - "charOffset": 5263, - "charLength": 22, + "startLine": 162, + "startColumn": 43, + "charOffset": 5586, + "charLength": 13, "snippet": { - "text": "GetCredentialStoreName" + "text": "GetAllMembers" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 129, + "startLine": 160, "startColumn": 1, - "charOffset": 5229, - "charLength": 193, + "charOffset": 5537, + "charLength": 131, "snippet": { - "text": " }\n\n internal static string GetCredentialStoreName(AbsolutePath rootDirectory, [CanBeNull] string profile)\n {\n return $\"NUKE: {rootDirectory} ({profile ?? DefaultProfileName})\";" + "text": " }\n\n public static IEnumerable GetAllMembers(\n this Type buildType,\n Func filter," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4e75152596c115dfec4e17f04ae8e5a73ee4d6c13bdd3bbfd307de2e457882f1" + "equalIndicator/v1": "ae782c2c5bc11178289cde9720d96df47994506f87d1f40f034d02dd9ee65fe5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125759,48 +129619,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetProfilePasswordParameterName' is never used", - "markdown": "Method 'GetProfilePasswordParameterName' is never used" + "text": "Method 'GetDisplayName' is never used", + "markdown": "Method 'GetDisplayName' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/Constants.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 136, - "startColumn": 28, - "charOffset": 5457, - "charLength": 31, + "startLine": 21, + "startColumn": 26, + "charOffset": 604, + "charLength": 14, "snippet": { - "text": "GetProfilePasswordParameterName" + "text": "GetDisplayName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 134, + "startLine": 19, "startColumn": 1, - "charOffset": 5423, - "charLength": 221, + "charOffset": 572, + "charLength": 166, "snippet": { - "text": " }\n\n internal static string GetProfilePasswordParameterName(string profile)\n {\n return $\"PARAMS_{profile.TrimStart(DefaultProfileName).ToUpperInvariant().Replace(\".\", \"_\")}_KEY\".Replace(\"_\", string.Empty);" + "text": " }\n\n public static string GetDisplayName(this MemberInfo member)\n {\n return $\"{member.DeclaringType.GetDisplayName()}.{member.GetDisplayShortName()}\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4c33887241ac7427283229e1e1abe2c8c3d8957a46e99a4401a09ad0cf8df1c0" + "equalIndicator/v1": "31352bd4f1cd957aff46f551213d44d62a1ede2b1e298fa37e16b9762eaca754" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125815,48 +129674,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'DoubleQuoteInterpolated' is never used", - "markdown": "Method 'DoubleQuoteInterpolated' is never used" + "text": "Method 'GetDisplayText' is never used", + "markdown": "Method 'GetDisplayText' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/StringExtensions.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.DisplayText.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 141, + "startLine": 113, "startColumn": 26, - "charOffset": 3087, - "charLength": 23, + "charOffset": 4272, + "charLength": 14, "snippet": { - "text": "DoubleQuoteInterpolated" + "text": "GetDisplayText" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 139, + "startLine": 111, "startColumn": 1, - "charOffset": 3055, - "charLength": 120, + "charOffset": 4240, + "charLength": 109, "snippet": { - "text": " }\n\n public static string DoubleQuoteInterpolated(this string text)\n {\n return $\"${text.DoubleQuote()}\";" + "text": " }\n\n public static string GetDisplayText(this MemberInfo member)\n {\n if (member is Type type)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8219a542bf3db7f478be44411687478c3fa28b2705f03a82209c26d9e1e818b0" + "equalIndicator/v1": "40b979a8222d8b4a70afd8dfd56327a44bd4e5a465a197986b65978131344824" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125871,48 +129729,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Foo' is never used", - "markdown": "Property 'Foo' is never used" + "text": "Method 'GetArguments' is never used", + "markdown": "Method 'GetArguments' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Expressions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 50, - "startColumn": 16, - "charOffset": 1554, - "charLength": 3, + "startLine": 15, + "startColumn": 39, + "charOffset": 380, + "charLength": 12, "snippet": { - "text": "Foo" + "text": "GetArguments" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 48, + "startLine": 13, "startColumn": 1, - "charOffset": 1474, - "charLength": 154, + "charOffset": 294, + "charLength": 227, "snippet": { - "text": " [Parameter] string Param3 => TryGetValue(() => Param3);\n\n Target Foo => _ => _;\n Target Bar => _ => _;\n Target Zoo => _ => _;" + "text": "public static partial class ReflectionUtility\n{\n public static IEnumerable GetArguments(this MethodCallExpression methodCall)\n {\n return methodCall.Arguments.Cast().Select(x => x.Value);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7ddfc5bc1b89f3235afbe2a619fdbdd0e60041e11ee54ae5ce192f2fc5bf0cd1" + "equalIndicator/v1": "3629fd79ca80c743d633d36ba5db9dd78ab834859776204a004ac49084791e12" }, - "baselineState": "new", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -125927,54 +129784,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Bar' is never used", - "markdown": "Property 'Bar' is never used" + "text": "Method 'GetArguments' is never used", + "markdown": "Method 'GetArguments' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Expressions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 51, - "startColumn": 16, - "charOffset": 1584, - "charLength": 3, + "startLine": 15, + "startColumn": 39, + "charOffset": 380, + "charLength": 12, "snippet": { - "text": "Bar" + "text": "GetArguments" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 49, + "startLine": 13, "startColumn": 1, - "charOffset": 1538, - "charLength": 96, + "charOffset": 294, + "charLength": 227, "snippet": { - "text": "\n Target Foo => _ => _;\n Target Bar => _ => _;\n Target Zoo => _ => _;\n }" + "text": "public static partial class ReflectionUtility\n{\n public static IEnumerable GetArguments(this MethodCallExpression methodCall)\n {\n return methodCall.Arguments.Cast().Select(x => x.Value);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "45bc81a0183393b54b3ec0f0cbff3f646231111e9a8733c102bc53038123e556" + "equalIndicator/v1": "654f6b2c15927b2568683306426c8a1e80ea053fa8f03c81fa3cd12331e6858c" }, - "baselineState": "new", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -125983,54 +129839,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Zoo' is never used", - "markdown": "Property 'Zoo' is never used" + "text": "Method 'GetMemberInfo' is never used", + "markdown": "Method 'GetMemberInfo' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Expressions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 52, - "startColumn": 16, - "charOffset": 1614, - "charLength": 3, + "startLine": 20, + "startColumn": 30, + "charOffset": 558, + "charLength": 13, "snippet": { - "text": "Zoo" + "text": "GetMemberInfo" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 50, + "startLine": 18, "startColumn": 1, - "charOffset": 1539, - "charLength": 126, + "charOffset": 522, + "charLength": 133, "snippet": { - "text": " Target Foo => _ => _;\n Target Bar => _ => _;\n Target Zoo => _ => _;\n }\n#pragma warning restore CS0649" + "text": " }\n\n public static MemberInfo GetMemberInfo(Expression> expression)\n {\n return expression.GetMemberInfo();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e07660e365fc81192f7716e04cb4bd3207c3d901661085e3fdd69a2c568ec27e" + "equalIndicator/v1": "203c6723013852f7480743b16dc5a5793d303dba791d40a5084881c2fc99c71c" }, - "baselineState": "new", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -126039,54 +129894,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'ForEach' is never used", - "markdown": "Method 'ForEach' is never used" + "text": "Method 'CreateInstance' is never used", + "markdown": "Method 'CreateInstance' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Writers/WriterExtensions.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 36, - "startColumn": 28, - "charOffset": 1014, - "charLength": 7, + "startLine": 15, + "startColumn": 21, + "charOffset": 369, + "charLength": 14, "snippet": { - "text": "ForEach" + "text": "CreateInstance" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 34, + "startLine": 13, "startColumn": 1, - "charOffset": 980, - "charLength": 135, + "charOffset": 301, + "charLength": 186, "snippet": { - "text": " }\n\n public static TWrapper ForEach(\n this TWrapper writerWrapper,\n IEnumerable enumerable," + "text": "public static partial class ReflectionUtility\n{\n public static T CreateInstance(this Type type, params object[] args)\n {\n return (T) Activator.CreateInstance(type, args);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "244d51545227a820fabeb89a3acb10f4657af13a2281336a3c9fe48ca7e5af15" + "equalIndicator/v1": "0aec2d7d8c6d14c15dc0e82271ebe45f1ec2fd056b83b87cfad857494301fc2c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -126095,54 +129949,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'TargetFramework' is never used", - "markdown": "Property 'TargetFramework' is never used" + "text": "Method 'InvokeMember' is never used", + "markdown": "Method 'InvokeMember' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/EmbedPackagesForSelfContainedTask.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, - "startColumn": 19, - "charOffset": 552, - "charLength": 15, + "startLine": 110, + "startColumn": 21, + "charOffset": 4276, + "charLength": 12, "snippet": { - "text": "TargetFramework" + "text": "InvokeMember" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 108, "startColumn": 1, - "charOffset": 518, - "charLength": 77, + "charOffset": 4249, + "charLength": 94, "snippet": { - "text": "\n [Required]\n public string TargetFramework { get; set; }\n\n [Output]" + "text": " }\n\n public static T InvokeMember(\n this Type type,\n string memberName," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "73b7c41eb6c6fbf3625f0185c10f0a4cfed01032ab2f48bf001d06bc8e594fcc" + "equalIndicator/v1": "1239ff48eea2332fdc6a34f714098b2c2140d858c0bee7a14729ee81c91dfa0e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -126151,54 +130004,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetMetadataOrNull' is never used", - "markdown": "Method 'GetMetadataOrNull' is never used" + "text": "Method 'DynamicInvokeUnwrap' is never used", + "markdown": "Method 'DynamicInvokeUnwrap' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/TaskItemExtensions.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, - "startColumn": 26, - "charOffset": 299, - "charLength": 17, + "startLine": 132, + "startColumn": 21, + "charOffset": 4823, + "charLength": 19, "snippet": { - "text": "GetMetadataOrNull" + "text": "DynamicInvokeUnwrap" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 130, "startColumn": 1, - "charOffset": 233, - "charLength": 209, + "charOffset": 4796, + "charLength": 114, "snippet": { - "text": "public static class TaskItemExtensions\n{\n public static string GetMetadataOrNull(this ITaskItem taskItem, string metdataName)\n {\n return taskItem.MetadataNames.Cast().Contains(metdataName)" + "text": " }\n\n public static T DynamicInvokeUnwrap(this Delegate @delegate, params object[] args)\n {\n try" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "06960590bc36513039659881a405ae4278d39d09d617dab5777b324202f9a7e4" + "equalIndicator/v1": "d128d59ab0bd9d3605594274742d5c75a8901ab37a0b1526e808321f932c5a15" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -126207,54 +130059,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'D' is never used", - "markdown": "Property 'D' is never used" + "text": "Method 'CreateInstance' is never used", + "markdown": "Method 'CreateInstance' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 228, - "startColumn": 23, - "charOffset": 7871, - "charLength": 1, + "startLine": 15, + "startColumn": 21, + "charOffset": 369, + "charLength": 14, "snippet": { - "text": "D" + "text": "CreateInstance" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 226, + "startLine": 13, "startColumn": 1, - "charOffset": 7798, - "charLength": 124, + "charOffset": 301, + "charLength": 186, "snippet": { - "text": " private interface IDuplicatedTargetBuild\n {\n public Target D => _ => _\n .Executes(() => { });\n }" + "text": "public static partial class ReflectionUtility\n{\n public static T CreateInstance(this Type type, params object[] args)\n {\n return (T) Activator.CreateInstance(type, args);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "54e534c93c4e3167ac8fb8515bc59b0ea83b3b473c252ad38aeb640491778ee3" + "equalIndicator/v1": "bf90c3d6ef15a724e841a812cd741f3f02a0d650bb438915d6f65ab2a9a6e61c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -126263,54 +130114,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Foo' is never used", - "markdown": "Property 'Foo' is never used" + "text": "Method 'GetValueNonVirtual' is never used", + "markdown": "Method 'GetValueNonVirtual' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 238, - "startColumn": 16, - "charOffset": 8114, - "charLength": 3, + "startLine": 36, + "startColumn": 27, + "charOffset": 1178, + "charLength": 18, "snippet": { - "text": "Foo" + "text": "GetValueNonVirtual" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 236, + "startLine": 34, "startColumn": 1, - "charOffset": 8038, - "charLength": 95, + "charOffset": 1145, + "charLength": 188, "snippet": { - "text": " private interface IDeclaringComponent : INukeBuild\n {\n Target Foo { get; }\n }\n" + "text": " }\n\n public static TResult GetValueNonVirtual(this MemberInfo member, object obj, params object[] arguments)\n {\n Assert.True(member is PropertyInfo or MethodInfo);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c467c3fc0531c3e1dbd7f52458448d33ba8ac21ba69ebb304864b2047ed762d8" + "equalIndicator/v1": "20511c2f72520f64bc404d81d2e9184f1ae2a46caabd18d835e723883238979a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -126319,33 +130169,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Deconstruct' is never used", - "markdown": "Method 'Deconstruct' is never used" + "text": "Method 'InvokeMember' is never used", + "markdown": "Method 'InvokeMember' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Dictionary.Deconstruct.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, - "startColumn": 24, - "charOffset": 291, - "charLength": 11, + "startLine": 110, + "startColumn": 21, + "charOffset": 4276, + "charLength": 12, "snippet": { - "text": "Deconstruct" + "text": "InvokeMember" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 108, "startColumn": 1, - "charOffset": 217, - "charLength": 183, + "charOffset": 4249, + "charLength": 94, "snippet": { - "text": "public static partial class DictionaryExtensions\n{\n public static void Deconstruct(this KeyValuePair tuple, out T1 key, out T2 value)\n {\n key = tuple.Key;" + "text": " }\n\n public static T InvokeMember(\n this Type type,\n string memberName," } } }, @@ -126358,15 +130208,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "eda9c9ab3994c75bf766cee9c3c30c5fcd62a3fb18ef5763892fb112247620b3" + "equalIndicator/v1": "f06c21b0ca6270fff3662317a08b85143fa48e3d572c47cb57b0ff7e8af33b39" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -126375,48 +130224,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'IsString' is never used", - "markdown": "Method 'IsString' is never used" + "text": "Method 'DynamicInvokeUnwrap' is never used", + "markdown": "Method 'DynamicInvokeUnwrap' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/ModelExtensions.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 100, + "startLine": 120, "startColumn": 24, - "charOffset": 2866, - "charLength": 8, + "charOffset": 4554, + "charLength": 19, "snippet": { - "text": "IsString" + "text": "DynamicInvokeUnwrap" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 98, + "startLine": 118, "startColumn": 1, - "charOffset": 2836, - "charLength": 132, + "charOffset": 4524, + "charLength": 114, "snippet": { - "text": " }\n\n public static bool IsString(this Property property)\n {\n return property.Type.EqualsOrdinalIgnoreCase(\"string\");" + "text": " }\n\n public static void DynamicInvokeUnwrap(this Delegate @delegate, params object[] args)\n {\n try" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "233bb6be8fde730400aaf515e55f4a0fb265cb328b261faf7ae08d19f81e7977" + "equalIndicator/v1": "fb5c0eb31c08f9a3a6838a67f94fec779a3550be64d6f1c9a7cfdfa6af15dd3b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126431,33 +130279,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetInformationalText' is never used", - "markdown": "Method 'GetInformationalText' is never used" + "text": "Method 'DynamicInvokeUnwrap' is never used", + "markdown": "Method 'DynamicInvokeUnwrap' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", + "uri": "source/Nuke.Utilities/Reflection/ReflectionUtility.Invocation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, - "startColumn": 26, - "charOffset": 295, - "charLength": 20, + "startLine": 132, + "startColumn": 21, + "charOffset": 4823, + "charLength": 19, "snippet": { - "text": "GetInformationalText" + "text": "DynamicInvokeUnwrap" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 130, "startColumn": 1, - "charOffset": 229, - "charLength": 228, + "charOffset": 4796, + "charLength": 114, "snippet": { - "text": "public static class AssemblyExtensions\n{\n public static string GetInformationalText(this Assembly assembly)\n {\n return $\"version {assembly.GetVersionText()} ({EnvironmentInfo.Platform},{EnvironmentInfo.Framework})\";" + "text": " }\n\n public static T DynamicInvokeUnwrap(this Delegate @delegate, params object[] args)\n {\n try" } } }, @@ -126470,9 +130318,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c64f8045ba90fe98bbb0623cc78d784aa94b315ffd1bd376cb6086046a919249" + "equalIndicator/v1": "abc47886b04269e52f7cd8754a4569ef47133aff0d2c43ede7b353df9a7fbc6e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126487,48 +130334,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetItemsFromSchema' is never used", - "markdown": "Method 'GetItemsFromSchema' is never used" + "text": "Method 'GetResourceAllText' is never used", + "markdown": "Method 'GetResourceAllText' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", + "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 17, - "startColumn": 57, - "charOffset": 459, + "startLine": 16, + "startColumn": 26, + "charOffset": 384, "charLength": 18, "snippet": { - "text": "GetItemsFromSchema" + "text": "GetResourceAllText" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 15, + "startLine": 14, "startColumn": 1, - "charOffset": 363, - "charLength": 246, + "charOffset": 321, + "charLength": 176, "snippet": { - "text": "public static class CompletionUtility\n{\n public static IReadOnlyDictionary GetItemsFromSchema(AbsolutePath schemaFile, IEnumerable profileNames)\n {\n var schema = JsonDocument.Parse(schemaFile.ReadAllText());" + "text": "public static class ResourceUtility\n{\n public static string GetResourceAllText(string postfix)\n {\n return new StreamReader(GetResource(postfix)).ReadToEnd();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "76f7b857826bbfd463833d66e0de8f94853e421b07afb2b9799b3ff461af173c" + "equalIndicator/v1": "10e72cd43fab805309b5a713c0e2f82d9704c49482e3a4dfc048e8795cdc95aa" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126543,48 +130389,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetRelevantItems' is never used", - "markdown": "Method 'GetRelevantItems' is never used" + "text": "Method 'GetResourceAllLines' is never used", + "markdown": "Method 'GetResourceAllLines' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", + "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 39, - "charOffset": 1627, - "charLength": 16, + "startLine": 21, + "startColumn": 28, + "charOffset": 532, + "charLength": 19, "snippet": { - "text": "GetRelevantItems" + "text": "GetResourceAllLines" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 19, "startColumn": 1, - "charOffset": 1538, - "charLength": 191, + "charOffset": 498, + "charLength": 118, "snippet": { - "text": "\n // ReSharper disable once CognitiveComplexity\n public static IEnumerable GetRelevantItems(\n string words,\n IReadOnlyDictionary completionItems)" + "text": " }\n\n public static string[] GetResourceAllLines(string postfix)\n {\n var lines = new List();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "18a3174df62b31a2df06cbc440a3624ea71e4c1b38dd425ac4b5dab1af7a36a6" + "equalIndicator/v1": "35f938638271fbfdb046e62b4450516ef8150cea44886f62b403c53a71fb6a41" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126599,33 +130444,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'CreateBracket' is never used", - "markdown": "Method 'CreateBracket' is never used" + "text": "Method 'GetAttributeValue' is never used", + "markdown": "Method 'GetAttributeValue' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/DelegateDisposable.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XElement.GetAttributeValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 31, - "charOffset": 908, - "charLength": 13, + "startLine": 13, + "startColumn": 26, + "charOffset": 301, + "charLength": 17, "snippet": { - "text": "CreateBracket" + "text": "GetAttributeValue" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 11, "startColumn": 1, - "charOffset": 779, - "charLength": 242, + "charOffset": 227, + "charLength": 189, "snippet": { - "text": " /// Creates an from a setup and cleanup delegate.\n /// \n public static IDisposable CreateBracket([InstantHandle] Func setup, [InstantHandle] Action cleanup)\n {\n T obj = default;" + "text": "public static partial class XElementExtensions\n{\n public static string GetAttributeValue(this XElement element, string name)\n {\n return element.Attribute(name).NotNull().Value;" } } }, @@ -126638,9 +130483,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e93379f522fbaeb63fb9a06edfbb36e56d4640926beee96955ab3adef402a159" + "equalIndicator/v1": "10bc88d459f1f8257623a1d6952335ac9969cb9afdce193e88a90e0efe5ba35e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126655,33 +130499,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'CreateBracket' is never used", - "markdown": "Method 'CreateBracket' is never used" + "text": "Method 'XPathSelectElementValues' is never used", + "markdown": "Method 'XPathSelectElementValues' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/DelegateDisposable.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 31, - "charOffset": 908, - "charLength": 13, + "startLine": 17, + "startColumn": 39, + "charOffset": 413, + "charLength": 24, "snippet": { - "text": "CreateBracket" + "text": "XPathSelectElementValues" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 15, "startColumn": 1, - "charOffset": 779, - "charLength": 242, + "charOffset": 329, + "charLength": 277, "snippet": { - "text": " /// Creates an from a setup and cleanup delegate.\n /// \n public static IDisposable CreateBracket([InstantHandle] Func setup, [InstantHandle] Action cleanup)\n {\n T obj = default;" + "text": "public static partial class XNodeExtensions\n{\n public static IEnumerable XPathSelectElementValues(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces).Select(x => x.Value);" } } }, @@ -126694,9 +130538,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a86550b18d93ed809a02d864cb743dfeca896c0e701db2d3a963fe2cff1e7413" + "equalIndicator/v1": "169083a8f435b797ff66885d26d63c7c14bb65e37f2841e071937aa3336be2d8" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126711,33 +130554,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" + "text": "Method 'XPathSelectElements' is never used", + "markdown": "Method 'XPathSelectElements' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponent.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 16, - "charOffset": 582, - "charLength": 5, + "startLine": 27, + "startColumn": 41, + "charOffset": 897, + "charLength": 19, "snippet": { - "text": "Count" + "text": "XPathSelectElements" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 25, "startColumn": 1, - "charOffset": 560, - "charLength": 88, + "charOffset": 850, + "charLength": 214, "snippet": { - "text": " }\n\n public int Count => _list.Count;\n\n public bool IsCycle => _list.Count > 1;" + "text": " }\n\n public static IEnumerable XPathSelectElements(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces);" } } }, @@ -126750,15 +130593,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "bc70c1bfdf82f1ca0ef72565a90970379a29e63ac244199df50d21d844159408" + "equalIndicator/v1": "b7b137da65183fb96eca65c75819887a4c2706ef97fc30af86ec39c2c0736db5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -126767,33 +130609,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" + "text": "Method 'XPathSelectAttributes' is never used", + "markdown": "Method 'XPathSelectAttributes' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponent.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 16, - "charOffset": 582, - "charLength": 5, + "startLine": 32, + "startColumn": 43, + "charOffset": 1114, + "charLength": 21, "snippet": { - "text": "Count" + "text": "XPathSelectAttributes" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 30, "startColumn": 1, - "charOffset": 560, - "charLength": 88, + "charOffset": 1065, + "charLength": 220, "snippet": { - "text": " }\n\n public int Count => _list.Count;\n\n public bool IsCycle => _list.Count > 1;" + "text": " }\n\n public static IEnumerable XPathSelectAttributes(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces);" } } }, @@ -126806,9 +130648,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "9e2fa53a60a2f0295ff36f3cea6b0cc8c58df502f808ad5bb79f4fe86020d10f" + "equalIndicator/v1": "f68f7af00d699db7a65d35c2472cf06eb8fb1f57ba9b7a3a9760e87614493340" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126823,48 +130664,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'InvokeSafe' is never used", - "markdown": "Method 'InvokeSafe' is never used" + "text": "Method 'XPathSelectElementValues' is never used", + "markdown": "Method 'XPathSelectElementValues' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Configure.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 21, - "charOffset": 663, - "charLength": 10, + "startLine": 17, + "startColumn": 39, + "charOffset": 413, + "charLength": 24, "snippet": { - "text": "InvokeSafe" + "text": "XPathSelectElementValues" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 15, "startColumn": 1, - "charOffset": 601, - "charLength": 187, + "charOffset": 329, + "charLength": 277, "snippet": { - "text": "public static class ConfigureExtensions\n{\n public static T InvokeSafe([CanBeNull] this Configure configurator, T obj)\n {\n return (configurator ?? (x => x)).Invoke(obj);" + "text": "public static partial class XNodeExtensions\n{\n public static IEnumerable XPathSelectElementValues(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces).Select(x => x.Value);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8b950b5f6dee812f89b1c68350549638e7307097b8bd53126eb4a18b06d43880" + "equalIndicator/v1": "383ab74eb2cf76eddd138ae91b7a4b62668a80d6be7b5f0fce56bdc32b32081c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126879,48 +130719,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Invoke' is never used", - "markdown": "Method 'Invoke' is never used" + "text": "Method 'XPathSelectElements' is never used", + "markdown": "Method 'XPathSelectElements' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Configure.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 97, - "charOffset": 892, - "charLength": 6, + "startLine": 27, + "startColumn": 41, + "charOffset": 897, + "charLength": 19, "snippet": { - "text": "Invoke" + "text": "XPathSelectElements" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 25, "startColumn": 1, - "charOffset": 789, - "charLength": 245, + "charOffset": 850, + "charLength": 214, "snippet": { - "text": " }\n\n public static IReadOnlyCollection<(TSettings Settings, IReadOnlyCollection Output)> Invoke(\n this CombinatorialConfigure configurator,\n Func> executor," + "text": " }\n\n public static IEnumerable XPathSelectElements(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d23cdc8de9bcee8ceb906084516303f9a2d75c61d919f35cc62bff685066abdb" + "equalIndicator/v1": "15b010b6a79e330ef33dceeb50ce3610efb6c301806c5af900f2e3130a14bc46" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126935,48 +130774,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Invoke' is never used", - "markdown": "Method 'Invoke' is never used" + "text": "Method 'XPathSelectAttributes' is never used", + "markdown": "Method 'XPathSelectAttributes' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Configure.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 46, - "startColumn": 113, - "charOffset": 1528, - "charLength": 6, + "startLine": 32, + "startColumn": 43, + "charOffset": 1114, + "charLength": 21, "snippet": { - "text": "Invoke" + "text": "XPathSelectAttributes" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 44, + "startLine": 30, "startColumn": 1, - "charOffset": 1409, - "charLength": 295, + "charOffset": 1065, + "charLength": 220, "snippet": { - "text": " }\n\n public static IReadOnlyCollection<(TSettings Settings, TResult Result, IReadOnlyCollection Output)> Invoke(\n this CombinatorialConfigure configurator,\n Func Output)> executor," + "text": " }\n\n public static IEnumerable XPathSelectAttributes(this XNode node, string query, params (string prefix, string uri)[] namespaces)\n {\n return node.XPathSelect(query, namespaces);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9dbd2ed4e9919a1720b549ea1d847643a1cb404935cf36bac4bae9d6451aea47" + "equalIndicator/v1": "b2777da666cccadb30f4f275a2b08773702bd233321fa3ffc2b71f064f6eb273" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -126991,48 +130829,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'IsParameter' is never used", - "markdown": "Method 'IsParameter' is never used" + "text": "Method 'RunSync' is never used", + "markdown": "Method 'RunSync' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Utilities/AsyncHelper.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 37, + "startLine": 29, "startColumn": 24, - "charOffset": 1293, - "charLength": 11, + "charOffset": 718, + "charLength": 7, "snippet": { - "text": "IsParameter" + "text": "RunSync" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 35, + "startLine": 27, "startColumn": 1, - "charOffset": 1168, - "charLength": 211, + "charOffset": 688, + "charLength": 82, "snippet": { - "text": " private IReadOnlyDictionary Variables => _environmentVariablesProvider.Invoke();\n\n public static bool IsParameter(string value)\n {\n return value != null && value.StartsWith(\"-\");" + "text": " }\n\n public static void RunSync(Func func)\n {\n s_taskFactory" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ed32cea23ea850893cede3d7f226e2046fd53449331b49aa93a0c92f980f841c" + "equalIndicator/v1": "3085454faa2e0b78e71907428f393593c537e567ef610af295c1e12be248e6eb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -127047,54 +130884,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetParameterMemberName' is never used", - "markdown": "Method 'GetParameterMemberName' is never used" + "text": "Method 'RunSync' is never used", + "markdown": "Method 'RunSync' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Utilities/AsyncHelper.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 52, - "startColumn": 26, - "charOffset": 1720, - "charLength": 22, + "startLine": 20, + "startColumn": 27, + "charOffset": 508, + "charLength": 7, "snippet": { - "text": "GetParameterMemberName" + "text": "RunSync" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 50, + "startLine": 18, "startColumn": 1, - "charOffset": 1688, - "charLength": 121, + "charOffset": 449, + "charLength": 136, "snippet": { - "text": " }\n\n public static string GetParameterMemberName(string name)\n {\n return name.Replace(\"-\", string.Empty);" + "text": " TaskScheduler.Default);\n\n public static TResult RunSync(Func> func)\n {\n return s_taskFactory" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f1ad42da1854d98c2d5e902a86d80dd0f2abc30af24df2d9f9bb056c48cecc28" + "equalIndicator/v1": "5d3dd1ff57ab8e28cecfe866c2783c864bf39d46017030dcea2918279beb6141" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -127103,33 +130939,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constructor 'Vertex' is never used", - "markdown": "Constructor 'Vertex' is never used" + "text": "Method 'RunSync' is never used", + "markdown": "Method 'RunSync' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", + "uri": "source/Nuke.Utilities/AsyncHelper.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 19, - "startColumn": 12, - "charOffset": 375, - "charLength": 6, + "startLine": 29, + "startColumn": 24, + "charOffset": 718, + "charLength": 7, "snippet": { - "text": "Vertex" + "text": "RunSync" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 17, + "startLine": 27, "startColumn": 1, - "charOffset": 357, - "charLength": 56, + "charOffset": 688, + "charLength": 82, "snippet": { - "text": " }\n\n public Vertex(T value)\n : this()\n {" + "text": " }\n\n public static void RunSync(Func func)\n {\n s_taskFactory" } } }, @@ -127142,9 +130978,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "84c47eed70ccf675d603492bdad001aa9f618150ca2c1f885898f8b1c0eae828" + "equalIndicator/v1": "00d7420a9495772378c902dab25c81b2973652f0068332565726f01a58f43597" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -127159,33 +130994,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constructor 'Vertex' is never used", - "markdown": "Constructor 'Vertex' is never used" + "text": "Method 'CreateBracket' is never used", + "markdown": "Method 'CreateBracket' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", + "uri": "source/Nuke.Utilities/DelegateDisposable.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 12, - "charOffset": 589, - "charLength": 6, + "startLine": 29, + "startColumn": 31, + "charOffset": 908, + "charLength": 13, "snippet": { - "text": "Vertex" + "text": "CreateBracket" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 27, "startColumn": 1, - "charOffset": 571, - "charLength": 105, + "charOffset": 779, + "charLength": 242, "snippet": { - "text": " }\n\n public Vertex(T value, IEnumerable> dependencies)\n : this(dependencies)\n {" + "text": " /// Creates an from a setup and cleanup delegate.\n /// \n public static IDisposable CreateBracket([InstantHandle] Func setup, [InstantHandle] Action cleanup)\n {\n T obj = default;" } } }, @@ -127198,15 +131033,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e5bf3dbe678659b1e6ba5e657c1aac70b794acc218543456ab6a473539391ed3" + "equalIndicator/v1": "a86550b18d93ed809a02d864cb743dfeca896c0e701db2d3a963fe2cff1e7413" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -127215,33 +131049,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Constructor 'Vertex' is never used", - "markdown": "Constructor 'Vertex' is never used" + "text": "Method 'CreateBracket' is never used", + "markdown": "Method 'CreateBracket' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", + "uri": "source/Nuke.Utilities/DelegateDisposable.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 12, - "charOffset": 589, - "charLength": 6, + "startLine": 29, + "startColumn": 31, + "charOffset": 908, + "charLength": 13, "snippet": { - "text": "Vertex" + "text": "CreateBracket" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 27, "startColumn": 1, - "charOffset": 571, - "charLength": 105, + "charOffset": 779, + "charLength": 242, "snippet": { - "text": " }\n\n public Vertex(T value, IEnumerable> dependencies)\n : this(dependencies)\n {" + "text": " /// Creates an from a setup and cleanup delegate.\n /// \n public static IDisposable CreateBracket([InstantHandle] Func setup, [InstantHandle] Action cleanup)\n {\n T obj = default;" } } }, @@ -127254,15 +131088,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "5637e6328941e862cc5e3db7697bbe2de701feeba5d2f683e04da9a37043a08f" + "equalIndicator/v1": "e93379f522fbaeb63fb9a06edfbb36e56d4640926beee96955ab3adef402a159" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -127271,48 +131104,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'WithJsonContent' is never used", - "markdown": "Method 'WithJsonContent' is never used" + "text": "Method 'CombineWith' is never used", + "markdown": "Method 'CombineWith' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpRequest.Content.cs", + "uri": "source/Nuke.Utilities/Disposable.CombineWith.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 30, - "startColumn": 38, - "charOffset": 968, - "charLength": 15, + "startColumn": 31, + "charOffset": 920, + "charLength": 11, "snippet": { - "text": "WithJsonContent" + "text": "CombineWith" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 28, "startColumn": 1, - "charOffset": 805, - "charLength": 326, + "charOffset": 776, + "charLength": 292, "snippet": { - "text": " /// Sets the JSON-serialized object as content via .\n /// \n public static HttpRequestBuilder WithJsonContent(this HttpRequestBuilder builder, T obj, JsonSerializerSettings settings)\n {\n var content = JsonConvert.SerializeObject(obj, settings);" + "text": " /// Combines an existing with another .\n /// \n public static IDisposable CombineWith(this IDisposable disposable, IDisposable otherDisposable)\n {\n return disposable.CombineWith(cleanup: otherDisposable.Dispose);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3548abc66574f00cf75a639290861eee5c2238b488eab4292222d1bd9614af62" + "equalIndicator/v1": "0064e56e3ab113532f0008af460d266ac13803eb69d617839fd95063ef948a98" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -127327,48 +131159,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'AddStringContent' is never used", - "markdown": "Method 'AddStringContent' is never used" + "text": "Constructor 'ArgumentParser' is never used", + "markdown": "Constructor 'ArgumentParser' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpRequest.Content.cs", + "uri": "source/Nuke.Utilities/ArgumentParser.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 68, - "startColumn": 44, - "charOffset": 2465, - "charLength": 16, + "startLine": 56, + "startColumn": 12, + "charOffset": 1682, + "charLength": 14, "snippet": { - "text": "AddStringContent" + "text": "ArgumentParser" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 66, + "startLine": 54, "startColumn": 1, - "charOffset": 2325, - "charLength": 279, + "charOffset": 1628, + "charLength": 125, "snippet": { - "text": " /// Adds a string as content to a .\n /// \n public static MultipartFormDataContent AddStringContent(this MultipartFormDataContent data, string name, string content)\n {\n data.Add(new StringContent(content), name);" + "text": " private readonly string[] _arguments;\n\n public ArgumentParser(string arguments)\n : this(Parse(arguments))\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7193dffafa93d628384b58806b3da75d2abb4c31d4a4a2be3f380cc0210e0ba3" + "equalIndicator/v1": "605c321d96c69d811b0c4509ca6ff450bd81d5ca44453a878884673a3795d3b4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -127383,54 +131214,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'None' is never used", - "markdown": "Enum member 'None' is never used" + "text": "Method 'Create' is never used", + "markdown": "Method 'Create' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ExecutionStatus.cs", + "uri": "source/Nuke.Utilities/Lazy.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, - "startColumn": 5, - "charOffset": 238, - "charLength": 4, + "startLine": 14, + "startColumn": 27, + "charOffset": 332, + "charLength": 6, "snippet": { - "text": "None" + "text": "Create" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 12, "startColumn": 1, - "charOffset": 204, - "charLength": 66, + "charOffset": 230, + "charLength": 173, "snippet": { - "text": "public enum ExecutionStatus\n{\n None,\n Scheduled,\n NotRun," + "text": " /// Creates a from a delegate.\n /// \n public static Lazy Create(Func provider)\n {\n return new Lazy(provider);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b0741ae738ae429dea52e43417178ab60b951b54a022c7a7e14fdc0b319cdcc5" + "equalIndicator/v1": "858e0dc268b362ce066d33f0a50f222963cb952e0642e25769624ba5aaf5bd30" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -127439,48 +131269,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" + "text": "Method 'IsString' is never used", + "markdown": "Method 'IsString' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/ModelExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 30, - "startColumn": 22, - "charOffset": 787, - "charLength": 3, + "startLine": 100, + "startColumn": 24, + "charOffset": 2866, + "charLength": 8, "snippet": { - "text": "Add" + "text": "IsString" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 28, + "startLine": 98, "startColumn": 1, - "charOffset": 683, - "charLength": 253, + "charOffset": 2836, + "charLength": 132, "snippet": { - "text": " private readonly List>> _arguments = new();\n\n public Arguments Add(string argumentFormat, bool? condition = true)\n {\n return condition.HasValue && (condition.Value || argumentFormat.Contains(\"{value}\"))" + "text": " }\n\n public static bool IsString(this Property property)\n {\n return property.Type.EqualsOrdinalIgnoreCase(\"string\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6b0e6b8d4645c731768c8cf72d143431e77f96f2e88f4c1a230d3933247cff6a" + "equalIndicator/v1": "233bb6be8fde730400aaf515e55f4a0fb265cb328b261faf7ae08d19f81e7977" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -127495,48 +131324,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" + "text": "Method 'DoubleQuoteInterpolated' is never used", + "markdown": "Method 'DoubleQuoteInterpolated' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/StringExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 37, - "startColumn": 22, - "charOffset": 1045, - "charLength": 3, + "startLine": 141, + "startColumn": 26, + "charOffset": 3087, + "charLength": 23, "snippet": { - "text": "Add" + "text": "DoubleQuoteInterpolated" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 35, + "startLine": 139, "startColumn": 1, - "charOffset": 1017, - "charLength": 144, + "charOffset": 3055, + "charLength": 120, "snippet": { - "text": " }\n\n public Arguments Add(string argumentFormat, T? value, char? disallowed = null, bool secret = false)\n where T : struct\n {" + "text": " }\n\n public static string DoubleQuoteInterpolated(this string text)\n {\n return $\"${text.DoubleQuote()}\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4dbfce45cdd10c7b47c7b7c375ac9cc3fbc90b5c92c168f6ad9a606f4a068a0d" + "equalIndicator/v1": "8219a542bf3db7f478be44411687478c3fa28b2705f03a82209c26d9e1e818b0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -127551,48 +131379,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" + "text": "Method 'ForEach' is never used", + "markdown": "Method 'ForEach' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Tooling.Generator/Writers/WriterExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, - "startColumn": 22, - "charOffset": 2031, - "charLength": 3, + "startLine": 36, + "startColumn": 28, + "charOffset": 1014, + "charLength": 7, "snippet": { - "text": "Add" + "text": "ForEach" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 34, "startColumn": 1, - "charOffset": 2003, - "charLength": 109, + "charOffset": 980, + "charLength": 135, "snippet": { - "text": " }\n\n public Arguments Add(\n string argumentFormat,\n [CanBeNull] IEnumerable values," + "text": " }\n\n public static TWrapper ForEach(\n this TWrapper writerWrapper,\n IEnumerable enumerable," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fa13541b1b1aa3f14fc3908d488b2177f17e7747763faf23c313a9c5474ee087" + "equalIndicator/v1": "244d51545227a820fabeb89a3acb10f4657af13a2281336a3c9fe48ca7e5af15" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -127607,54 +131434,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" + "text": "Property 'D' is never used", + "markdown": "Property 'D' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 91, - "startColumn": 22, - "charOffset": 2768, - "charLength": 3, + "startLine": 228, + "startColumn": 23, + "charOffset": 7871, + "charLength": 1, "snippet": { - "text": "Add" + "text": "D" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 89, + "startLine": 226, "startColumn": 1, - "charOffset": 2740, - "charLength": 143, + "charOffset": 7798, + "charLength": 124, "snippet": { - "text": " }\n\n public Arguments Add(\n string argumentFormat,\n [CanBeNull] IReadOnlyDictionary dictionary," + "text": " private interface IDuplicatedTargetBuild\n {\n public Target D => _ => _\n .Executes(() => { });\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d01739881f927638d8fc150fb731583c051a0d09d04dd4b4dc18c57bb8026127" + "equalIndicator/v1": "54e534c93c4e3167ac8fb8515bc59b0ea83b3b473c252ad38aeb640491778ee3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -127663,54 +131489,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" + "text": "Property 'Foo' is never used", + "markdown": "Property 'Foo' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 124, - "startColumn": 22, - "charOffset": 4031, + "startLine": 238, + "startColumn": 16, + "charOffset": 8114, "charLength": 3, "snippet": { - "text": "Add" + "text": "Foo" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 122, + "startLine": 236, "startColumn": 1, - "charOffset": 4003, - "charLength": 127, + "charOffset": 8038, + "charLength": 95, "snippet": { - "text": " }\n\n public Arguments Add(\n string argumentFormat,\n [CanBeNull] ILookup lookup," + "text": " private interface IDeclaringComponent : INukeBuild\n {\n Target Foo { get; }\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6ccdef9d4f11fe7ab1c66e879f904e7d4698b8c0621a82ce77a068cbeae2d1b6" + "equalIndicator/v1": "c467c3fc0531c3e1dbd7f52458448d33ba8ac21ba69ebb304864b2047ed762d8" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -127719,48 +131544,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Concatenate' is never used", - "markdown": "Method 'Concatenate' is never used" + "text": "Enum member 'Auto' is never used", + "markdown": "Enum member 'Auto' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Utilities.IO.Globbing/GlobbingCaseSensitivity.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 158, - "startColumn": 22, - "charOffset": 5285, - "charLength": 11, + "startLine": 19, + "startColumn": 5, + "charOffset": 572, + "charLength": 4, "snippet": { - "text": "Concatenate" + "text": "Auto" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 156, + "startLine": 17, "startColumn": 1, - "charOffset": 5257, - "charLength": 117, + "charOffset": 448, + "charLength": 148, "snippet": { - "text": " }\n\n public Arguments Concatenate(Arguments arguments)\n {\n _arguments.AddRange(arguments._arguments);" + "text": " /// means using case-insensitive matching when running on Windows, and case-sensitive otherwise.\n /// \n Auto,\n\n /// " } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities.IO.Globbing", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1cfa2202b9e6a158c31f98d8db937b52cac4f52110e5d3ada71c3d2f460f74e5" + "equalIndicator/v1": "535115bc68e601a5793cbe76860b23fcc19ea6753f7b2e589100d5e28e9af715" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -127775,54 +131599,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'Auto' is never used", - "markdown": "Enum member 'Auto' is never used" + "text": "Constant 'VisualStudioDebugFileName' is never used", + "markdown": "Constant 'VisualStudioDebugFileName' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.IO.Globbing/GlobbingCaseSensitivity.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 19, - "startColumn": 5, - "charOffset": 572, - "charLength": 4, + "startLine": 25, + "startColumn": 27, + "charOffset": 790, + "charLength": 25, "snippet": { - "text": "Auto" + "text": "VisualStudioDebugFileName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 17, + "startLine": 23, "startColumn": 1, - "charOffset": 448, - "charLength": 148, + "charOffset": 610, + "charLength": 299, "snippet": { - "text": " /// means using case-insensitive matching when running on Windows, and case-sensitive otherwise.\n /// \n Auto,\n\n /// " + "text": " internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";\n internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";\n\n internal const string TargetsSeparator = \"+\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.IO.Globbing", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "535115bc68e601a5793cbe76860b23fcc19ea6753f7b2e589100d5e28e9af715" + "equalIndicator/v1": "803ff238ffacd7a600fab4653fd910dc3e0d6f1eefde7f7b2ff2d369bfe77ebb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -127831,54 +131654,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Verbose' is never used", - "markdown": "Method 'Verbose' is never used" + "text": "Constant 'NukeCommonPackageId' is never used", + "markdown": "Constant 'NukeCommonPackageId' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.Theming.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, - "startColumn": 26, - "charOffset": 412, - "charLength": 7, + "startLine": 23, + "startColumn": 27, + "charOffset": 636, + "charLength": 19, "snippet": { - "text": "Verbose" + "text": "NukeCommonPackageId" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 21, "startColumn": 1, - "charOffset": 380, - "charLength": 135, + "charOffset": 495, + "charLength": 363, "snippet": { - "text": " }\n\n internal static void Verbose(string text = null)\n {\n (Instance?.Theme ?? Logging.DefaultTheme).WriteVerbose(text);" + "text": " internal const string NukeFileName = NukeDirectoryName;\n internal const string NukeDirectoryName = \".nuke\";\n internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";\n internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ccbf07add0fe37d3d3f6234e8bf34a9c75efdea8377931f597c5e1f7cd002975" + "equalIndicator/v1": "c7a480606ae3e545db640208ee0e6f32999584ae66a3388a6b7c0ec9b7595512" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -127887,54 +131709,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'FormatSuccess' is never used", - "markdown": "Method 'FormatSuccess' is never used" + "text": "Constant 'VisualStudioDebugFileName' is never used", + "markdown": "Constant 'VisualStudioDebugFileName' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Theming/IHostTheme.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 19, - "startColumn": 21, - "charOffset": 521, - "charLength": 13, + "startLine": 25, + "startColumn": 27, + "charOffset": 790, + "charLength": 25, "snippet": { - "text": "FormatSuccess" + "text": "VisualStudioDebugFileName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 17, + "startLine": 23, "startColumn": 1, - "charOffset": 459, - "charLength": 183, + "charOffset": 610, + "charLength": 299, "snippet": { - "text": " void WriteError(string text = null);\n\n internal string FormatSuccess(string text);\n internal string FormatVerbose(string text);\n internal string FormatDebug(string text);" + "text": " internal const string NukeCommonPackageId = nameof(Nuke) + \".\" + nameof(Common);\n internal const string BuildSchemaFileName = \"build.schema.json\";\n internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";\n\n internal const string TargetsSeparator = \"+\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6c19ccd156e33e3c5d42c6f90f20e09b61d7f46c202d15755376f649fabef6cf" + "equalIndicator/v1": "48f8f4786e3eba3ff03ef33d50601f7b6033ac3c69571bd81c94c8698d25d691" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -127943,54 +131764,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'FormatVerbose' is never used", - "markdown": "Method 'FormatVerbose' is never used" + "text": "Constant 'TargetsSeparator' is never used", + "markdown": "Constant 'TargetsSeparator' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Theming/IHostTheme.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 21, - "charOffset": 569, - "charLength": 13, + "startLine": 27, + "startColumn": 27, + "charOffset": 886, + "charLength": 16, "snippet": { - "text": "FormatVerbose" + "text": "TargetsSeparator" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 25, "startColumn": 1, - "charOffset": 500, - "charLength": 194, + "charOffset": 764, + "charLength": 274, "snippet": { - "text": "\n internal string FormatSuccess(string text);\n internal string FormatVerbose(string text);\n internal string FormatDebug(string text);\n internal string FormatInformation(string text);" + "text": " internal const string VisualStudioDebugFileName = $\"{VisualStudioDebugParameterName}.log\";\n\n internal const string TargetsSeparator = \"+\";\n internal const string RootDirectoryParameterName = \"Root\";\n internal const string InvokedTargetsParameterName = \"Target\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3729ddf2d60df70a66ba0195d0de21ea1be3f7e2ae53a5b4ce582fed9504d2c5" + "equalIndicator/v1": "4cc410ff28fbb6547f99f8f1b7c571dc58b3f3869dae6eab744fd74a906a4343" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -127999,54 +131819,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'FormatDebug' is never used", - "markdown": "Method 'FormatDebug' is never used" + "text": "Constant 'RootDirectoryParameterName' is never used", + "markdown": "Constant 'RootDirectoryParameterName' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Theming/IHostTheme.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 617, - "charLength": 11, + "startLine": 28, + "startColumn": 27, + "charOffset": 936, + "charLength": 26, "snippet": { - "text": "FormatDebug" + "text": "RootDirectoryParameterName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 26, "startColumn": 1, - "charOffset": 501, - "charLength": 241, + "charOffset": 859, + "charLength": 243, "snippet": { - "text": " internal string FormatSuccess(string text);\n internal string FormatVerbose(string text);\n internal string FormatDebug(string text);\n internal string FormatInformation(string text);\n internal string FormatWarning(string text);" + "text": "\n internal const string TargetsSeparator = \"+\";\n internal const string RootDirectoryParameterName = \"Root\";\n internal const string InvokedTargetsParameterName = \"Target\";\n internal const string SkippedTargetsParameterName = \"Skip\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e60c8ca31a073ec59189836cf94fc06791830061fceeba4ef718d587caf70a6e" + "equalIndicator/v1": "bf4b1fbf73ba759b2349ae18907f213b8a4d7c35c6be3b340776d311a71ad479" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128055,54 +131874,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'FormatWarning' is never used", - "markdown": "Method 'FormatWarning' is never used" + "text": "Constant 'SkippedTargetsParameterName' is never used", + "markdown": "Constant 'SkippedTargetsParameterName' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Theming/IHostTheme.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, - "startColumn": 21, - "charOffset": 715, - "charLength": 13, + "startLine": 30, + "startColumn": 27, + "charOffset": 1065, + "charLength": 27, "snippet": { - "text": "FormatWarning" + "text": "SkippedTargetsParameterName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 28, "startColumn": 1, - "charOffset": 597, - "charLength": 193, + "charOffset": 910, + "charLength": 265, "snippet": { - "text": " internal string FormatDebug(string text);\n internal string FormatInformation(string text);\n internal string FormatWarning(string text);\n internal string FormatError(string text);\n}" + "text": " internal const string RootDirectoryParameterName = \"Root\";\n internal const string InvokedTargetsParameterName = \"Target\";\n internal const string SkippedTargetsParameterName = \"Skip\";\n internal const string LoadedLocalProfilesParameterName = \"Profile\";\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c12be8a51a1ba407eeb92127c4b0eb2155382c9e0f10618dbbc0d9d260bb5026" + "equalIndicator/v1": "48146c21df71fab848f5aee9eced61f78e9659f02332da6f6a247a7ead5bd193" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128111,54 +131929,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'FormatError' is never used", - "markdown": "Method 'FormatError' is never used" + "text": "Constant 'GlobalToolVersionEnvironmentKey' is never used", + "markdown": "Constant 'GlobalToolVersionEnvironmentKey' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Theming/IHostTheme.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 21, - "charOffset": 763, - "charLength": 11, + "startLine": 38, + "startColumn": 27, + "charOffset": 1477, + "charLength": 31, "snippet": { - "text": "FormatError" + "text": "GlobalToolVersionEnvironmentKey" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 36, "startColumn": 1, - "charOffset": 643, - "charLength": 148, + "charOffset": 1391, + "charLength": 323, "snippet": { - "text": " internal string FormatInformation(string text);\n internal string FormatWarning(string text);\n internal string FormatError(string text);\n}\n" + "text": " internal const string DefaultProfileName = \"$default\";\n\n internal const string GlobalToolVersionEnvironmentKey = \"NUKE_GLOBAL_TOOL_VERSION\";\n internal const string GlobalToolStartTimeEnvironmentKey = \"NUKE_GLOBAL_TOOL_START_TIME\";\n internal const string InterceptorEnvironmentKey = \"NUKE_INTERNAL_INTERCEPTOR\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "cb8aea4d331b496afac1c99d32b4671975025fd60e2756de9342f20f2014b0ac" + "equalIndicator/v1": "6f8e18e5448840801eb22b8db8b3a0c3930510a7188bcec9ab053c9b4da449b3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128167,54 +131984,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'False' is never used", - "markdown": "Enum member 'False' is never used" + "text": "Constant 'GlobalToolStartTimeEnvironmentKey' is never used", + "markdown": "Constant 'GlobalToolStartTimeEnvironmentKey' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsSubmodules.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, - "startColumn": 5, - "charOffset": 253, - "charLength": 5, + "startLine": 39, + "startColumn": 27, + "charOffset": 1565, + "charLength": 33, "snippet": { - "text": "False" + "text": "GlobalToolStartTimeEnvironmentKey" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 37, "startColumn": 1, - "charOffset": 211, - "charLength": 72, + "charOffset": 1450, + "charLength": 265, "snippet": { - "text": "public enum GitHubActionsSubmodules\n{\n False,\n True,\n Recursive" + "text": "\n internal const string GlobalToolVersionEnvironmentKey = \"NUKE_GLOBAL_TOOL_VERSION\";\n internal const string GlobalToolStartTimeEnvironmentKey = \"NUKE_GLOBAL_TOOL_START_TIME\";\n internal const string InterceptorEnvironmentKey = \"NUKE_INTERNAL_INTERCEPTOR\";\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "32f493a2a00d62d15469f8d8b9fe194f167df03e5acee2519c9329c636ee257f" + "equalIndicator/v1": "b75cc463e18d42c2a800a1b6edffdb208c622d77d0bcdbb02ed6cdc54ebd5eed" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128223,54 +132039,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'True' is never used", - "markdown": "Enum member 'True' is never used" + "text": "Constant 'InterceptorEnvironmentKey' is never used", + "markdown": "Constant 'InterceptorEnvironmentKey' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsSubmodules.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, - "startColumn": 5, - "charOffset": 264, - "charLength": 4, + "startLine": 40, + "startColumn": 27, + "charOffset": 1658, + "charLength": 25, "snippet": { - "text": "True" + "text": "InterceptorEnvironmentKey" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 38, "startColumn": 1, - "charOffset": 247, - "charLength": 38, + "charOffset": 1451, + "charLength": 345, "snippet": { - "text": "{\n False,\n True,\n Recursive\n}" + "text": " internal const string GlobalToolVersionEnvironmentKey = \"NUKE_GLOBAL_TOOL_VERSION\";\n internal const string GlobalToolStartTimeEnvironmentKey = \"NUKE_GLOBAL_TOOL_START_TIME\";\n internal const string InterceptorEnvironmentKey = \"NUKE_INTERNAL_INTERCEPTOR\";\n\n internal static AbsolutePath GlobalTemporaryDirectory => Path.GetTempPath();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6a0daf3547e5e440c90cc2c526045e2dfddb8099f79ce112e72b439f8a6a565b" + "equalIndicator/v1": "c6a9f3431a761724df23d1e92368a8371994a1f9443a19b759a3013aec40063b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128279,48 +132094,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'WithBasicAuthentication' is never used", - "markdown": "Method 'WithBasicAuthentication' is never used" + "text": "Property 'GlobalTemporaryDirectory' is never used", + "markdown": "Property 'GlobalTemporaryDirectory' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpRequest.Authentication.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, - "startColumn": 38, - "charOffset": 724, - "charLength": 23, + "startLine": 42, + "startColumn": 34, + "charOffset": 1749, + "charLength": 24, "snippet": { - "text": "WithBasicAuthentication" + "text": "GlobalTemporaryDirectory" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 40, "startColumn": 1, - "charOffset": 609, - "charLength": 338, + "charOffset": 1632, + "charLength": 291, "snippet": { - "text": " /// Sets the username and password for authentication.\n /// \n public static HttpRequestBuilder WithBasicAuthentication(this HttpRequestBuilder builder, string username, string password)\n {\n return builder.WithAuthentication(\"Basic\", Convert.ToBase64String(Encoding.ASCII.GetBytes($\"{username}:{password}\")));" + "text": " internal const string InterceptorEnvironmentKey = \"NUKE_INTERNAL_INTERCEPTOR\";\n\n internal static AbsolutePath GlobalTemporaryDirectory => Path.GetTempPath();\n internal static AbsolutePath GlobalNukeDirectory => EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile) / \".nuke\";\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "57c4f0ef60b757dfdbc2ec72844c3ee40d18c12c9885c8562d5c8279ecb5bc63" + "equalIndicator/v1": "0017d394dbf809675c5312f4dacacd63bc60784a3200d4eff7bd1d2cf25fec37" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -128335,48 +132149,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'AssertStatusCode' is never used", - "markdown": "Method 'AssertStatusCode' is never used" + "text": "Method 'GetCompletionFile' is never used", + "markdown": "Method 'GetCompletionFile' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpResponse.Assert.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, - "startColumn": 41, - "charOffset": 468, - "charLength": 16, + "startLine": 73, + "startColumn": 34, + "charOffset": 2993, + "charLength": 17, "snippet": { - "text": "AssertStatusCode" + "text": "GetCompletionFile" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 71, "startColumn": 1, - "charOffset": 356, - "charLength": 206, + "charOffset": 2953, + "charLength": 158, "snippet": { - "text": " /// Asserts the status code of an HTTP response.\n /// \n public static HttpResponseInspector AssertStatusCode(\n this HttpResponseInspector inspector,\n HttpStatusCode status," + "text": " }\n\n internal static AbsolutePath GetCompletionFile(AbsolutePath rootDirectory)\n {\n var completionFileName = CompletionParameterName + \".yml\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "eef8848e626cf8bb91b8ed5bcd1add6fda532d1cd7a1449b84ea529131045e76" + "equalIndicator/v1": "49a2b522ff40b9b0cd6b8caea9010c65f782cf476d886e1be44dfe036c95a9e5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -128391,48 +132204,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'AssertStatusCode' is never used", - "markdown": "Method 'AssertStatusCode' is never used" + "text": "Method 'GetBuildAttemptFile' is never used", + "markdown": "Method 'GetBuildAttemptFile' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpResponse.Assert.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 38, - "startColumn": 41, - "charOffset": 1128, - "charLength": 16, + "startLine": 81, + "startColumn": 34, + "charOffset": 3337, + "charLength": 19, "snippet": { - "text": "AssertStatusCode" + "text": "GetBuildAttemptFile" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 36, + "startLine": 79, "startColumn": 1, - "charOffset": 1016, - "charLength": 259, + "charOffset": 3297, + "charLength": 168, "snippet": { - "text": " /// Asserts the status code of an HTTP response.\n /// \n public static HttpResponseInspector AssertStatusCode(this HttpResponseInspector inspector, Func errorSelector)\n {\n var response = inspector.Response;" + "text": " }\n\n internal static AbsolutePath GetBuildAttemptFile(AbsolutePath rootDirectory)\n {\n return GetTemporaryDirectory(rootDirectory) / \"build-attempt.log\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d5e61a33df47e8ea5f4021ebd4ff8de31f591be563777596817bcc6e3db2758c" + "equalIndicator/v1": "2d1e8469c56d0cd47b400a118254b7ece40d98b9cc2b6d7611b304dd42b033b1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -128447,48 +132259,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'AssertResponse' is never used", - "markdown": "Method 'AssertResponse' is never used" + "text": "Method 'GetVisualStudioDebugFile' is never used", + "markdown": "Method 'GetVisualStudioDebugFile' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpResponse.Assert.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, - "startColumn": 41, - "charOffset": 1839, - "charLength": 14, + "startLine": 86, + "startColumn": 32, + "charOffset": 3504, + "charLength": 24, "snippet": { - "text": "AssertResponse" + "text": "GetVisualStudioDebugFile" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 84, "startColumn": 1, - "charOffset": 1746, - "charLength": 243, + "charOffset": 3466, + "charLength": 191, "snippet": { - "text": " /// Asserts an HTTP response.\n /// \n public static HttpResponseInspector AssertResponse(this HttpResponseInspector inspector, Func errorSelector)\n {\n var response = inspector.Response;" + "text": " }\n\n public static AbsolutePath GetVisualStudioDebugFile(AbsolutePath rootDirectory)\n {\n return GetTemporaryDirectory(rootDirectory) / $\"{VisualStudioDebugParameterName}.log\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "02b88db66c52d421a1f2a1517ddc1d925b56d69ac2757ba71b215db305f08d36" + "equalIndicator/v1": "91d32fa086a50ab78e2244b169e38b856063f4a846b01e4bf54ca646b0cb1bd6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -128503,48 +132314,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'CreateRequest' is never used", - "markdown": "Method 'CreateRequest' is never used" + "text": "Method 'GetReSharperSurrogateFile' is never used", + "markdown": "Method 'GetReSharperSurrogateFile' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpClient.Request.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 38, - "charOffset": 678, - "charLength": 13, + "startLine": 91, + "startColumn": 32, + "charOffset": 3696, + "charLength": 25, "snippet": { - "text": "CreateRequest" + "text": "GetReSharperSurrogateFile" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 89, "startColumn": 1, - "charOffset": 589, - "charLength": 314, + "charOffset": 3658, + "charLength": 178, "snippet": { - "text": " /// Creates an HTTP request.\n /// \n public static HttpRequestBuilder CreateRequest(this HttpClient client, HttpMethod method, string baseAddress, string relativeUri)\n {\n return new HttpRequestBuilder(client, new HttpRequestMessage(method, new Uri(new Uri(baseAddress), relativeUri)));" + "text": " }\n\n public static AbsolutePath GetReSharperSurrogateFile(AbsolutePath rootDirectory)\n {\n return GetTemporaryDirectory(rootDirectory) / \"resharper-surrogate.log\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "226e9fe55133ba3cf52cc799a5a0429a4932c7d712d9462ee35eefbdebae6faf" + "equalIndicator/v1": "27377010427fa8e0c5d6323450f0993740e0522c9c17b90333cc78a03d815dd2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -128559,54 +132369,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetNamedArgument' is never used", - "markdown": "Method 'GetNamedArgument' is never used" + "text": "Method 'GetBuildSchemaFile' is never used", + "markdown": "Method 'GetBuildSchemaFile' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 51, - "startColumn": 21, - "charOffset": 1435, - "charLength": 16, + "startLine": 96, + "startColumn": 34, + "charOffset": 3877, + "charLength": 18, "snippet": { - "text": "GetNamedArgument" + "text": "GetBuildSchemaFile" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 49, + "startLine": 94, "startColumn": 1, - "charOffset": 1398, - "charLength": 158, + "charOffset": 3837, + "charLength": 162, "snippet": { - "text": "\n [CanBeNull]\n public static T GetNamedArgument(Expression> expression)\n {\n return GetNamedArgument(expression.GetMemberInfo());" + "text": " }\n\n internal static AbsolutePath GetBuildSchemaFile(AbsolutePath rootDirectory)\n {\n return GetNukeDirectory(rootDirectory) / BuildSchemaFileName;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ce6863fe4af3d768bcbb63c8b7f0084c09b16b62d16ffa2aec84f67bfce42ae8" + "equalIndicator/v1": "994cc6232e58b52392e5e6de5520866ec23d8cbd5beedcd90f01e0c626ecf603" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128615,54 +132424,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetNamedArgument' is never used", - "markdown": "Method 'GetNamedArgument' is never used" + "text": "Method 'GetParametersProfileFile' is never used", + "markdown": "Method 'GetParametersProfileFile' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 21, - "charOffset": 1600, - "charLength": 16, + "startLine": 112, + "startColumn": 34, + "charOffset": 4536, + "charLength": 24, "snippet": { - "text": "GetNamedArgument" + "text": "GetParametersProfileFile" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 110, "startColumn": 1, - "charOffset": 1563, - "charLength": 163, + "charOffset": 4496, + "charLength": 195, "snippet": { - "text": "\n [CanBeNull]\n public static T GetNamedArgument(Expression> expression)\n {\n return GetNamedArgument(expression.GetMemberInfo());" + "text": " }\n\n internal static AbsolutePath GetParametersProfileFile(AbsolutePath rootDirectory, string profile)\n {\n return GetNukeDirectory(rootDirectory) / GetParametersFileName(profile);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "306abcd44093293998b6364cd1b6986fe5ec364bb992bc07b9f4a04f3f1a483b" + "equalIndicator/v1": "b7514fdaad015db93be8c385466a5ea539f202aa5f943a97f8e58c0374bd213e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128671,54 +132479,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetAllPositionalArguments' is never used", - "markdown": "Method 'GetAllPositionalArguments' is never used" + "text": "Method 'GetProfileNames' is never used", + "markdown": "Method 'GetProfileNames' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 75, - "startColumn": 23, - "charOffset": 2194, - "charLength": 25, + "startLine": 122, + "startColumn": 39, + "charOffset": 4937, + "charLength": 15, "snippet": { - "text": "GetAllPositionalArguments" + "text": "GetProfileNames" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 73, + "startLine": 120, "startColumn": 1, - "charOffset": 2155, - "charLength": 184, + "charOffset": 4892, + "charLength": 150, "snippet": { - "text": "\n [CanBeNull]\n public static T[] GetAllPositionalArguments(char? separator = null)\n {\n return (T[]) Instance.GetPositionalCommandLineArguments(typeof(T), separator);" + "text": " }\n\n public static IEnumerable GetProfileNames(AbsolutePath rootDirectory)\n {\n return GetParametersProfileFiles(rootDirectory)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0a3e6972958929e6aef8831d2c33e059fdc62a0fe7611d15e94baa97600dd73d" + "equalIndicator/v1": "ccf5cf1957d85bc7f1b13a0c0f0fd695adf896aee5c1317e721ecebdd8890690" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128727,54 +132534,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetVariable' is never used", - "markdown": "Method 'GetVariable' is never used" + "text": "Method 'GetCredentialStoreName' is never used", + "markdown": "Method 'GetCredentialStoreName' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 81, - "startColumn": 21, - "charOffset": 2383, - "charLength": 11, + "startLine": 130, + "startColumn": 28, + "charOffset": 5246, + "charLength": 22, "snippet": { - "text": "GetVariable" + "text": "GetCredentialStoreName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 79, + "startLine": 128, "startColumn": 1, - "charOffset": 2346, - "charLength": 148, + "charOffset": 5212, + "charLength": 193, "snippet": { - "text": "\n [CanBeNull]\n public static T GetVariable(Expression> expression)\n {\n return GetVariable(expression.GetMemberInfo());" + "text": " }\n\n internal static string GetCredentialStoreName(AbsolutePath rootDirectory, [CanBeNull] string profile)\n {\n return $\"NUKE: {rootDirectory} ({profile ?? DefaultProfileName})\";" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d3ffe3444a59887786a9af7671ef459b13d1390acef353d6948bc4bb7ff0c427" + "equalIndicator/v1": "42b78dc7bd537b0ac118ec3bb3d793980c35550c94f79ad01ef3e905f7dcefd1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128783,54 +132589,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetVariable' is never used", - "markdown": "Method 'GetVariable' is never used" + "text": "Method 'GetProfilePasswordParameterName' is never used", + "markdown": "Method 'GetProfilePasswordParameterName' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Build.Shared/Constants.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 87, - "startColumn": 21, - "charOffset": 2538, - "charLength": 11, + "startLine": 135, + "startColumn": 28, + "charOffset": 5440, + "charLength": 31, "snippet": { - "text": "GetVariable" + "text": "GetProfilePasswordParameterName" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 85, + "startLine": 133, "startColumn": 1, - "charOffset": 2501, - "charLength": 153, + "charOffset": 5406, + "charLength": 221, "snippet": { - "text": "\n [CanBeNull]\n public static T GetVariable(Expression> expression)\n {\n return GetVariable(expression.GetMemberInfo());" + "text": " }\n\n internal static string GetProfilePasswordParameterName(string profile)\n {\n return $\"PARAMS_{profile.TrimStart(DefaultProfileName).ToUpperInvariant().Replace(\".\", \"_\")}_KEY\".Replace(\"_\", string.Empty);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "bebc26cc67bbdcb6572a6e58bf3ccdf115a10d6b151cdb00693cb4c8721d5efd" + "equalIndicator/v1": "a8eddf38bc15e79c73e132049bb570b24bfbadca553a0ed9d47c763119b40a2f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128839,54 +132644,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'GetVariable' is never used", - "markdown": "Method 'GetVariable' is never used" + "text": "Method 'GetItemsFromSchema' is never used", + "markdown": "Method 'GetItemsFromSchema' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 99, - "startColumn": 21, - "charOffset": 2919, - "charLength": 11, + "startLine": 17, + "startColumn": 57, + "charOffset": 459, + "charLength": 18, "snippet": { - "text": "GetVariable" + "text": "GetItemsFromSchema" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 97, + "startLine": 15, "startColumn": 1, - "charOffset": 2882, - "charLength": 192, + "charOffset": 363, + "charLength": 246, "snippet": { - "text": "\n [CanBeNull]\n public static T GetVariable(string parameterName, char? separator = null)\n {\n return (T) Instance.GetEnvironmentVariable(parameterName, typeof(T), separator);" + "text": "public static class CompletionUtility\n{\n public static IReadOnlyDictionary GetItemsFromSchema(AbsolutePath schemaFile, IEnumerable profileNames)\n {\n var schema = JsonDocument.Parse(schemaFile.ReadAllText());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5f118227e2cbd1e19d5de2ac8965feba6200587249e29778b8b8d78987a88c31" + "equalIndicator/v1": "76f7b857826bbfd463833d66e0de8f94853e421b07afb2b9799b3ff461af173c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128895,54 +132699,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'HasArgument' is never used", - "markdown": "Method 'HasArgument' is never used" + "text": "Method 'GetRelevantItems' is never used", + "markdown": "Method 'GetRelevantItems' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.Statics.cs", + "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 104, - "startColumn": 24, - "charOffset": 3105, - "charLength": 11, + "startLine": 39, + "startColumn": 39, + "charOffset": 1627, + "charLength": 16, "snippet": { - "text": "HasArgument" + "text": "GetRelevantItems" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 102, + "startLine": 37, "startColumn": 1, - "charOffset": 3075, - "charLength": 146, + "charOffset": 1538, + "charLength": 191, "snippet": { - "text": " }\n\n public static bool HasArgument(MemberInfo member)\n {\n return Instance.HasCommandLineArgument(GetParameterMemberName(member));" + "text": "\n // ReSharper disable once CognitiveComplexity\n public static IEnumerable GetRelevantItems(\n string words,\n IReadOnlyDictionary completionItems)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "814cca5d020d32159c3a374be0a5561592e17b2dbf7457d79358a3d24446f9ab" + "equalIndicator/v1": "18a3174df62b31a2df06cbc440a3624ea71e4c1b38dd425ac4b5dab1af7a36a6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -128951,48 +132754,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Create' is never used", - "markdown": "Method 'Create' is never used" + "text": "Property 'TargetFramework' is never used", + "markdown": "Property 'TargetFramework' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Lazy.cs", + "uri": "source/Nuke.MSBuildTasks/EmbedPackagesForSelfContainedTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 14, - "startColumn": 27, - "charOffset": 332, - "charLength": 6, + "startLine": 23, + "startColumn": 19, + "charOffset": 552, + "charLength": 15, "snippet": { - "text": "Create" + "text": "TargetFramework" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 12, + "startLine": 21, "startColumn": 1, - "charOffset": 230, - "charLength": 173, + "charOffset": 518, + "charLength": 77, "snippet": { - "text": " /// Creates a from a delegate.\n /// \n public static Lazy Create(Func provider)\n {\n return new Lazy(provider);" + "text": "\n [Required]\n public string TargetFramework { get; set; }\n\n [Output]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "858e0dc268b362ce066d33f0a50f222963cb952e0642e25769624ba5aaf5bd30" + "equalIndicator/v1": "73b7c41eb6c6fbf3625f0185c10f0a4cfed01032ab2f48bf001d06bc8e594fcc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -129007,54 +132809,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'NetCore10' is never used", - "markdown": "Enum member 'NetCore10' is never used" + "text": "Method 'GetMetadataOrNull' is never used", + "markdown": "Method 'GetMetadataOrNull' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", + "uri": "source/Nuke.MSBuildTasks/TaskItemExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 446, - "charLength": 9, + "startLine": 13, + "startColumn": 26, + "charOffset": 299, + "charLength": 17, "snippet": { - "text": "NetCore10" + "text": "GetMetadataOrNull" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 11, "startColumn": 1, - "charOffset": 408, - "charLength": 86, + "charOffset": 233, + "charLength": 209, "snippet": { - "text": " public enum Runtime\n {\n NetCore10,\n NetCore11,\n NetCore20," + "text": "public static class TaskItemExtensions\n{\n public static string GetMetadataOrNull(this ITaskItem taskItem, string metdataName)\n {\n return taskItem.MetadataNames.Cast().Contains(metdataName)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "018c5e277f52388d01ffc295caad1484ba18edaf1dcba7bf66d56b4ef7dc449e" + "equalIndicator/v1": "06960590bc36513039659881a405ae4278d39d09d617dab5777b324202f9a7e4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -129063,54 +132864,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'NetCore11' is never used", - "markdown": "Enum member 'NetCore11' is never used" + "text": "Method 'CreateRequest' is never used", + "markdown": "Method 'CreateRequest' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", + "uri": "source/Nuke.Utilities.Net/HttpClient.Request.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, - "startColumn": 9, - "charOffset": 465, - "charLength": 9, + "startLine": 24, + "startColumn": 38, + "charOffset": 678, + "charLength": 13, "snippet": { - "text": "NetCore11" + "text": "CreateRequest" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 22, "startColumn": 1, - "charOffset": 432, - "charLength": 81, + "charOffset": 589, + "charLength": 314, "snippet": { - "text": " {\n NetCore10,\n NetCore11,\n NetCore20,\n NetCore21," + "text": " /// Creates an HTTP request.\n /// \n public static HttpRequestBuilder CreateRequest(this HttpClient client, HttpMethod method, string baseAddress, string relativeUri)\n {\n return new HttpRequestBuilder(client, new HttpRequestMessage(method, new Uri(new Uri(baseAddress), relativeUri)));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0921311dde42642bbc43f589ffedde0571f6171df5d1b6a918d81119dc62d589" + "equalIndicator/v1": "226e9fe55133ba3cf52cc799a5a0429a4932c7d712d9462ee35eefbdebae6faf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -129119,54 +132919,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'NetCore20' is never used", - "markdown": "Enum member 'NetCore20' is never used" + "text": "Method 'WithBasicAuthentication' is never used", + "markdown": "Method 'WithBasicAuthentication' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", + "uri": "source/Nuke.Utilities.Net/HttpRequest.Authentication.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, - "startColumn": 9, - "charOffset": 484, - "charLength": 9, + "startLine": 25, + "startColumn": 38, + "charOffset": 724, + "charLength": 23, "snippet": { - "text": "NetCore20" + "text": "WithBasicAuthentication" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 23, "startColumn": 1, - "charOffset": 438, - "charLength": 94, + "charOffset": 609, + "charLength": 338, "snippet": { - "text": " NetCore10,\n NetCore11,\n NetCore20,\n NetCore21,\n NetCore31," + "text": " /// Sets the username and password for authentication.\n /// \n public static HttpRequestBuilder WithBasicAuthentication(this HttpRequestBuilder builder, string username, string password)\n {\n return builder.WithAuthentication(\"Basic\", Convert.ToBase64String(Encoding.ASCII.GetBytes($\"{username}:{password}\")));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7a9632ee69543dd31e4f9db3e77ca9b6052adb728e386479cd39c10d2b799dc1" + "equalIndicator/v1": "57c4f0ef60b757dfdbc2ec72844c3ee40d18c12c9885c8562d5c8279ecb5bc63" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -129175,54 +132974,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'NetCore21' is never used", - "markdown": "Enum member 'NetCore21' is never used" + "text": "Method 'WithJsonContent' is never used", + "markdown": "Method 'WithJsonContent' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", + "uri": "source/Nuke.Utilities.Net/HttpRequest.Content.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, - "startColumn": 9, - "charOffset": 503, - "charLength": 9, + "startLine": 30, + "startColumn": 38, + "charOffset": 968, + "charLength": 15, "snippet": { - "text": "NetCore21" + "text": "WithJsonContent" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 28, "startColumn": 1, - "charOffset": 457, - "charLength": 90, + "charOffset": 805, + "charLength": 326, "snippet": { - "text": " NetCore11,\n NetCore20,\n NetCore21,\n NetCore31,\n Net50," + "text": " /// Sets the JSON-serialized object as content via .\n /// \n public static HttpRequestBuilder WithJsonContent(this HttpRequestBuilder builder, T obj, JsonSerializerSettings settings)\n {\n var content = JsonConvert.SerializeObject(obj, settings);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "83ade3afea0e6cf1b341897c5e6e5bdfad5ba4bce23b1d56353942ed67b33bcd" + "equalIndicator/v1": "3548abc66574f00cf75a639290861eee5c2238b488eab4292222d1bd9614af62" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -129231,54 +133029,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'NetCore31' is never used", - "markdown": "Enum member 'NetCore31' is never used" + "text": "Method 'AddStringContent' is never used", + "markdown": "Method 'AddStringContent' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", + "uri": "source/Nuke.Utilities.Net/HttpRequest.Content.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 9, - "charOffset": 522, - "charLength": 9, + "startLine": 68, + "startColumn": 44, + "charOffset": 2465, + "charLength": 16, "snippet": { - "text": "NetCore31" + "text": "AddStringContent" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 66, "startColumn": 1, - "charOffset": 476, - "charLength": 86, + "charOffset": 2325, + "charLength": 279, "snippet": { - "text": " NetCore20,\n NetCore21,\n NetCore31,\n Net50,\n Net60," + "text": " /// Adds a string as content to a .\n /// \n public static MultipartFormDataContent AddStringContent(this MultipartFormDataContent data, string name, string content)\n {\n data.Add(new StringContent(content), name);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f1ca2585e3568ef12a20b1c667a1de5cbcf4da112fefd9bcd9d1ec3ed51f5a94" + "equalIndicator/v1": "7193dffafa93d628384b58806b3da75d2abb4c31d4a4a2be3f380cc0210e0ba3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -129287,54 +133084,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Enum member 'Net50' is never used", - "markdown": "Enum member 'Net50' is never used" + "text": "Method 'AssertStatusCode' is never used", + "markdown": "Method 'AssertStatusCode' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/NSwag/NSwagTasks.cs", + "uri": "source/Nuke.Utilities.Net/HttpResponse.Assert.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, - "startColumn": 9, - "charOffset": 541, - "charLength": 5, + "startLine": 18, + "startColumn": 41, + "charOffset": 468, + "charLength": 16, "snippet": { - "text": "Net50" + "text": "AssertStatusCode" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 16, "startColumn": 1, - "charOffset": 495, - "charLength": 79, + "charOffset": 356, + "charLength": 206, "snippet": { - "text": " NetCore21,\n NetCore31,\n Net50,\n Net60,\n Win" + "text": " /// Asserts the status code of an HTTP response.\n /// \n public static HttpResponseInspector AssertStatusCode(\n this HttpResponseInspector inspector,\n HttpStatusCode status," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d4d04c29361550cf20bb2f53b94a3e0af560c9f270f5beb68b49060b7ccccb43" + "equalIndicator/v1": "eef8848e626cf8bb91b8ed5bcd1add6fda532d1cd7a1449b84ea529131045e76" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -129343,48 +133139,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" + "text": "Method 'AssertStatusCode' is never used", + "markdown": "Method 'AssertStatusCode' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", + "uri": "source/Nuke.Utilities.Net/HttpResponse.Assert.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 16, - "charOffset": 682, - "charLength": 5, + "startLine": 38, + "startColumn": 41, + "charOffset": 1128, + "charLength": 16, "snippet": { - "text": "Count" + "text": "AssertStatusCode" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 36, "startColumn": 1, - "charOffset": 660, - "charLength": 120, + "charOffset": 1016, + "charLength": 259, "snippet": { - "text": " }\n\n public int Count => _collection.Count;\n\n public IEnumerator> GetEnumerator()" + "text": " /// Asserts the status code of an HTTP response.\n /// \n public static HttpResponseInspector AssertStatusCode(this HttpResponseInspector inspector, Func errorSelector)\n {\n var response = inspector.Response;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "637e9d0cac37af5f2157afbf642fef2e39e657b3db2dd03b2ecb9a38eb92ef4e" + "equalIndicator/v1": "d5e61a33df47e8ea5f4021ebd4ff8de31f591be563777596817bcc6e3db2758c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -129399,48 +133194,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'IndependentComponents' is never used", - "markdown": "Method 'IndependentComponents' is never used" + "text": "Method 'AssertResponse' is never used", + "markdown": "Method 'AssertResponse' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", + "uri": "source/Nuke.Utilities.Net/HttpResponse.Assert.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 38, - "startColumn": 55, - "charOffset": 993, - "charLength": 21, + "startLine": 59, + "startColumn": 41, + "charOffset": 1839, + "charLength": 14, "snippet": { - "text": "IndependentComponents" + "text": "AssertResponse" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 36, + "startLine": 57, "startColumn": 1, - "charOffset": 932, - "charLength": 134, + "charOffset": 1746, + "charLength": 243, "snippet": { - "text": " }\n\n public IEnumerable> IndependentComponents()\n {\n return this.Where(c => !c.IsCycle);" + "text": " /// Asserts an HTTP response.\n /// \n public static HttpResponseInspector AssertResponse(this HttpResponseInspector inspector, Func errorSelector)\n {\n var response = inspector.Response;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c83ba4a0c92fd755a9df64bf3fa3c899c23189f2d0f80b8d8fc3a00d1425e5d3" + "equalIndicator/v1": "02b88db66c52d421a1f2a1517ddc1d925b56d69ac2757ba71b215db305f08d36" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -129455,48 +133249,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Method 'Cycles' is never used", - "markdown": "Method 'Cycles' is never used" + "text": "Method 'GetBodyAsJson' is never used", + "markdown": "Method 'GetBodyAsJson' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", + "uri": "source/Nuke.Utilities.Net/HttpResponse.Body.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 43, - "startColumn": 55, - "charOffset": 1128, - "charLength": 6, + "startColumn": 39, + "charOffset": 1314, + "charLength": 13, "snippet": { - "text": "Cycles" + "text": "GetBodyAsJson" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 41, "startColumn": 1, - "charOffset": 1067, - "charLength": 118, + "charOffset": 1211, + "charLength": 258, "snippet": { - "text": " }\n\n public IEnumerable> Cycles()\n {\n return this.Where(c => c.IsCycle);" + "text": " /// Reads the HTTP response body as JSON.\n /// \n public static async Task GetBodyAsJson(this HttpResponseInspector inspector, JsonSerializerSettings settings)\n {\n return await inspector.GetBodyAsJson(settings);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "97f6142b6c16a5c2e131aa0a2a8b8cebfbbfe309611e123478025b541cec40cf" + "equalIndicator/v1": "fb275091b657c7bc924354ee51ff029902706abf3c9794618d67f00554be58c6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -129507,52 +133300,51 @@ } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "UnassignedField.Compiler", "kind": "fail", "level": "warning", "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" + "text": "Field 'String' is never assigned", + "markdown": "Field 'String' is never assigned" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", + "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 16, - "charOffset": 682, - "charLength": 5, + "startLine": 233, + "startColumn": 23, + "charOffset": 8489, + "charLength": 6, "snippet": { - "text": "Count" + "text": "String" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 231, "startColumn": 1, - "charOffset": 660, - "charLength": 120, + "charOffset": 8431, + "charLength": 129, "snippet": { - "text": " }\n\n public int Count => _collection.Count;\n\n public IEnumerator> GetEnumerator()" + "text": " private class ComplexType\n {\n public string String;\n public int Number;\n public AbsolutePath[] Paths;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d7f93327064d126b018e38904205f4aaff0974c13dd47ca1c64a4876f93aebe1" + "equalIndicator/v1": "85ee3cdd7431becc118e26dd62c201e59c459b9c2986092f6a36dd6091859b14" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -129563,52 +133355,51 @@ } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "UnassignedField.Compiler", "kind": "fail", "level": "warning", "message": { - "text": "Method 'IndependentComponents' is never used", - "markdown": "Method 'IndependentComponents' is never used" + "text": "Field 'Number' is never assigned", + "markdown": "Field 'Number' is never assigned" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentList.cs", + "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 38, - "startColumn": 55, - "charOffset": 993, - "charLength": 21, + "startLine": 234, + "startColumn": 20, + "charOffset": 8516, + "charLength": 6, "snippet": { - "text": "IndependentComponents" + "text": "Number" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 36, + "startLine": 232, "startColumn": 1, - "charOffset": 932, - "charLength": 134, + "charOffset": 8461, + "charLength": 105, "snippet": { - "text": " }\n\n public IEnumerable> IndependentComponents()\n {\n return this.Where(c => !c.IsCycle);" + "text": " {\n public string String;\n public int Number;\n public AbsolutePath[] Paths;\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8662a69ab50145b255b1a58acfda0b6dd87a90ae4d6c4c6438e9fe6864634bb6" + "equalIndicator/v1": "e8d5dae5256d4759dccd9a3b917d68b7f90396c0e72247353bc45864ba1b6efe" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -129619,447 +133410,439 @@ } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "UnassignedField.Compiler", "kind": "fail", "level": "warning", "message": { - "text": "Method 'RunSync' is never used", - "markdown": "Method 'RunSync' is never used" + "text": "Field 'Paths' is never assigned", + "markdown": "Field 'Paths' is never assigned" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/AsyncHelper.cs", + "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 27, - "charOffset": 508, - "charLength": 7, + "startLine": 235, + "startColumn": 31, + "charOffset": 8554, + "charLength": 5, "snippet": { - "text": "RunSync" + "text": "Paths" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 233, "startColumn": 1, - "charOffset": 449, - "charLength": 136, + "charOffset": 8467, + "charLength": 100, "snippet": { - "text": " TaskScheduler.Default);\n\n public static TResult RunSync(Func> func)\n {\n return s_taskFactory" + "text": " public string String;\n public int Number;\n public AbsolutePath[] Paths;\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5d3dd1ff57ab8e28cecfe866c2783c864bf39d46017030dcea2918279beb6141" + "equalIndicator/v1": "b7b25ad77ff4c53039c4d7b311c9eeaac4fa100d5d5089755157b6cd51df9cd9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "UnassignedField.Compiler", "kind": "fail", "level": "warning", "message": { - "text": "Method 'RunSync' is never used", - "markdown": "Method 'RunSync' is never used" + "text": "Field 'Boolean' is never assigned", + "markdown": "Field 'Boolean' is never assigned" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/AsyncHelper.cs", + "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 24, - "charOffset": 718, + "startLine": 240, + "startColumn": 22, + "charOffset": 8628, "charLength": 7, "snippet": { - "text": "RunSync" + "text": "Boolean" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 238, "startColumn": 1, - "charOffset": 688, - "charLength": 82, + "charOffset": 8568, + "charLength": 75, "snippet": { - "text": " }\n\n public static void RunSync(Func func)\n {\n s_taskFactory" + "text": " private class ComplexSubType\n {\n public bool? Boolean;\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "00d7420a9495772378c902dab25c81b2973652f0068332565726f01a58f43597" + "equalIndicator/v1": "6785cc7c0d8b8ce4b55efe31beac8b3afba48f388f4ae30a7f84cb74b49cdc1d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "ParameterTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Method 'RunSync' is never used", - "markdown": "Method 'RunSync' is never used" + "text": "Parameter can be of type 'IEnumerable'", + "markdown": "Parameter can be of type 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/AsyncHelper.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 24, - "charOffset": 718, - "charLength": 7, + "startLine": 85, + "startColumn": 69, + "charOffset": 3885, + "charLength": 8, "snippet": { - "text": "RunSync" + "text": "string[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 83, "startColumn": 1, - "charOffset": 688, - "charLength": 82, + "charOffset": 3800, + "charLength": 185, "snippet": { - "text": " }\n\n public static void RunSync(Func func)\n {\n s_taskFactory" + "text": "\n [CanBeNull]\n private static Dictionary GetGlobalSection(this string[] lines, string name, [CanBeNull] string solutionFile)\n {\n var sectionLines = lines" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3085454faa2e0b78e71907428f393593c537e567ef610af295c1e12be248e6eb" + "equalIndicator/v1": "8c5ea255f5e5d6ea053c449615135c9c0e15cf2746285f70a3a207570240a53b" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "ParameterTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Method 'GetValue' is never used", - "markdown": "Method 'GetValue' is never used" + "text": "Parameter can be of type 'IEnumerable'", + "markdown": "Parameter can be of type 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 26, - "charOffset": 648, + "startLine": 85, + "startColumn": 69, + "charOffset": 3885, "charLength": 8, "snippet": { - "text": "GetValue" + "text": "string[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 83, "startColumn": 1, - "charOffset": 579, - "charLength": 123, + "charOffset": 3800, + "charLength": 185, "snippet": { - "text": "public static class EnumerationExtensions\n{\n public static string GetValue(this T value)\n where T : Enum\n {" + "text": "\n [CanBeNull]\n private static Dictionary GetGlobalSection(this string[] lines, string name, [CanBeNull] string solutionFile)\n {\n var sectionLines = lines" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fcdf4a33fa1c78a9637553544bcf0e9e2665e671d295fa105b90621239311043" + "equalIndicator/v1": "a99cdf697e3acbc261e9f17c02b8b36373aa66a2c72aa2481422ce96ff86bca8" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "ParameterTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Method 'GetRequirement' is never used", - "markdown": "Method 'GetRequirement' is never used" + "text": "Parameter can be of type 'IEnumerable'", + "markdown": "Parameter can be of type 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/ToolRequirementAttributeBase.cs", + "uri": "source/Nuke.Build/Execution/Extensions/ArgumentsFromParametersFileAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, - "startColumn": 37, - "charOffset": 303, - "charLength": 14, + "startLine": 31, + "startColumn": 77, + "charOffset": 1056, + "charLength": 8, "snippet": { - "text": "GetRequirement" + "text": "string[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 29, "startColumn": 1, - "charOffset": 202, - "charLength": 142, + "charOffset": 921, + "charLength": 299, "snippet": { - "text": "public abstract class ToolRequirementAttributeBase : Attribute\n{\n public abstract ToolRequirement GetRequirement(string version = null);\n}\n" + "text": " var passwords = new Dictionary();\n\n IEnumerable ConvertToArguments(string profile, string name, string[] values)\n {\n var member = parameterMembers.SingleOrDefault(x => ParameterService.GetParameterMemberName(x).EqualsOrdinalIgnoreCase(name));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "422b5ffbbcb326fb95d4dfe154168c0d2afbd8b1a87af290d0b8e583c00b618d" + "equalIndicator/v1": "ab80cdb019766117e9ef1a62afd9fc3d405895a8949a7933093668bc8b786503" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "ParameterTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Constructor 'ArgumentParser' is never used", - "markdown": "Constructor 'ArgumentParser' is never used" + "text": "Parameter can be of type 'IEnumerable'", + "markdown": "Parameter can be of type 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/ArgumentParser.cs", + "uri": "source/Nuke.Build/Execution/BuildExecutor.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 56, - "startColumn": 12, - "charOffset": 1682, - "charLength": 14, + "startLine": 92, + "startColumn": 9, + "charOffset": 3471, + "charLength": 27, "snippet": { - "text": "ArgumentParser" + "text": "IReadOnlyCollection" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 90, "startColumn": 1, - "charOffset": 1628, - "charLength": 125, + "charOffset": 3405, + "charLength": 160, "snippet": { - "text": " private readonly string[] _arguments;\n\n public ArgumentParser(string arguments)\n : this(Parse(arguments))\n {" + "text": " NukeBuild build,\n ExecutableTarget target,\n IReadOnlyCollection previouslyExecutedTargets,\n bool failureMode = false)\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "605c321d96c69d811b0c4509ca6ff450bd81d5ca44453a878884673a3795d3b4" + "equalIndicator/v1": "1c38f9c85f930cc1d34884e6f80c74c9adcba4d6f7d5a097e4027047e2f917df" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "ParameterTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Method 'CombineWith' is never used", - "markdown": "Method 'CombineWith' is never used" + "text": "Parameter can be of type 'IEnumerable'", + "markdown": "Parameter can be of type 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Disposable.CombineWith.cs", + "uri": "source/Nuke.Build/Execution/ExecutionPlanner.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 30, - "startColumn": 31, - "charOffset": 920, - "charLength": 11, + "startLine": 90, + "startColumn": 9, + "charOffset": 3728, + "charLength": 37, "snippet": { - "text": "CombineWith" + "text": "IReadOnlyCollection" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 28, + "startLine": 88, "startColumn": 1, - "charOffset": 776, - "charLength": 292, + "charOffset": 3615, + "charLength": 284, "snippet": { - "text": " /// Combines an existing with another .\n /// \n public static IDisposable CombineWith(this IDisposable disposable, IDisposable otherDisposable)\n {\n return disposable.CombineWith(cleanup: otherDisposable.Dispose);" + "text": "\n private static IReadOnlyDictionary> GetVertexDictionary(\n IReadOnlyCollection executableTargets)\n {\n var vertexDictionary = executableTargets.ToDictionary(x => x, x => new Vertex(x));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0064e56e3ab113532f0008af460d266ac13803eb69d617839fd95063ef948a98" + "equalIndicator/v1": "47101d9c0d3be9beb0b2efb3f1c97a8ef56e0e5e45ce2ac648dcf2713e5118ca" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "ParameterTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Method 'AddPairWhenKeyNotNull' is never used", - "markdown": "Method 'AddPairWhenKeyNotNull' is never used" + "text": "Parameter can be of type 'IEnumerable'", + "markdown": "Parameter can be of type 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Dictionary.AddKeyValue.cs", + "uri": "source/Nuke.Build.Tests/BuildExecutorTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 45, - "charOffset": 897, - "charLength": 21, + "startLine": 176, + "startColumn": 37, + "charOffset": 4672, + "charLength": 18, "snippet": { - "text": "AddPairWhenKeyNotNull" + "text": "ExecutableTarget[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 174, "startColumn": 1, - "charOffset": 846, - "charLength": 168, + "charOffset": 4558, + "charLength": 222, "snippet": { - "text": " }\n\n public static IDictionary AddPairWhenKeyNotNull(\n this IDictionary dictionary,\n [CanBeNull] TKey key," + "text": " private void ExecuteBuild(ExecutableTarget[] skippedTargets = null)\n {\n static string[] SelectNames(ExecutableTarget[] targets) => targets?.Select(x => x.Name).ToArray();\n\n var build = new TestBuild();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7293a4a8806e33390e2ec534583196871604ba195343f7dca28e7c9ebb61752d" + "equalIndicator/v1": "ae33e87eca29e3e4a6b911b05186fafee69aeb349ee14450d814edc0d241d085" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NET 6.0" @@ -130067,111 +133850,109 @@ } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "ParameterTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Method 'DetectCycle' is never used", - "markdown": "Method 'DetectCycle' is never used" + "text": "Parameter can be of type 'IEnumerable'", + "markdown": "Parameter can be of type 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentFinder.cs", + "uri": "source/Nuke.Build.Tests/ExecutionPlannerTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, - "startColumn": 46, - "charOffset": 721, - "charLength": 11, + "startLine": 99, + "startColumn": 37, + "charOffset": 2587, + "charLength": 18, "snippet": { - "text": "DetectCycle" + "text": "ExecutableTarget[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 97, "startColumn": 1, - "charOffset": 526, - "charLength": 322, + "charOffset": 2453, + "charLength": 303, "snippet": { - "text": " /// Graph to detect cycles within.\n /// Set of strongly connected components (sets of vertices)\n public StronglyConnectedComponentList DetectCycle(IEnumerable> graph)\n {\n _stronglyConnectedComponents = new StronglyConnectedComponentList();" + "text": " private IEnumerable GetPlan(ExecutableTarget[] invokedTargets = null)\n {\n static string[] SelectNames(ExecutableTarget[] targets) => targets?.Select(x => x.Name).ToArray();\n\n return ExecutionPlanner.GetExecutionPlan(new[] { A, B, C }, SelectNames(invokedTargets));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e96c92a21755ed74d8248285e4ce40069734137cde9e1373a7568bd1a87bf259" + "equalIndicator/v1": "4555c1dc7e6ec6334e4ccd40f935c266c5cf5d3b86ed4d24d5262caa432dcaa1" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "ParameterTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Method 'GetBodyAsJson' is never used", - "markdown": "Method 'GetBodyAsJson' is never used" + "text": "Parameter can be of type 'IEnumerable'", + "markdown": "Parameter can be of type 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpResponse.Body.cs", + "uri": "source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 43, - "startColumn": 39, - "charOffset": 1314, - "charLength": 13, + "startLine": 69, + "startColumn": 9, + "charOffset": 2850, + "charLength": 28, "snippet": { - "text": "GetBodyAsJson" + "text": "IReadOnlyCollection" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 41, + "startLine": 67, "startColumn": 1, - "charOffset": 1211, - "charLength": 258, + "charOffset": 2760, + "charLength": 167, "snippet": { - "text": " /// Reads the HTTP response body as JSON.\n /// \n public static async Task GetBodyAsJson(this HttpResponseInspector inspector, JsonSerializerSettings settings)\n {\n return await inspector.GetBodyAsJson(settings);" + "text": " string name,\n IReadOnlyCollection solutionFolders,\n IReadOnlyCollection projects,\n bool isSolution = false)\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.SourceGenerators", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fb275091b657c7bc924354ee51ff029902706abf3c9794618d67f00554be58c6" + "equalIndicator/v1": "23b4e5201933d424e796d907a4c73c439d6f17c8fcfee4b862ffd311dbd859be" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NETStandard 2.0" @@ -130179,108 +133960,106 @@ } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "LocalFunctionHidesMethod", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'Npm' is never used", - "markdown": "Constant 'Npm' is never used" + "text": "Local function 'GetPackageExecutable' hides method 'string Nuke.Common.Tooling.NuGetToolPathResolver.GetPackageExecutable(string, string, string, string)'", + "markdown": "Local function 'GetPackageExecutable' hides method 'string Nuke.Common.Tooling.NuGetToolPathResolver.GetPackageExecutable(string, string, string, string)'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesCachePaths.cs", + "uri": "source/Nuke.Tooling/NuGetToolPathResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 15, - "startColumn": 25, - "charOffset": 474, - "charLength": 3, + "startLine": 59, + "startColumn": 23, + "charOffset": 2443, + "charLength": 20, "snippet": { - "text": "Npm" + "text": "GetPackageExecutable" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 13, + "startLine": 57, "startColumn": 1, - "charOffset": 352, - "charLength": 228, + "charOffset": 2373, + "charLength": 227, "snippet": { - "text": " public const string Nuke = \".nuke/temp\";\n public const string NuGet = \"~/.nuget/packages\";\n public const string Npm = \"~/.npm\";\n public const string Gradle = \"~/.gradle\";\n public const string Docker = \"~/docker\";" + "text": "\n // TODO: filter dll for .NET Framework\n static string GetPackageExecutable(IEnumerable executables)\n => executables\n .OrderByDescending(x => x.EndsWithOrdinalIgnoreCase(\".dll\"))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "16ccd6119bfdde728d9954352965335fed37520a3302bcf4497c3b70a6b17842" + "equalIndicator/v1": "aa79135b9c4096d70adf1e1d746060541d3c7773d73ff336df9e1a003606743e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "LocalFunctionHidesMethod", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'Gradle' is never used", - "markdown": "Constant 'Gradle' is never used" + "text": "Local function 'GetPackageExecutable' hides method 'string Nuke.Common.Tooling.NuGetToolPathResolver.GetPackageExecutable(string, string, string, string)'", + "markdown": "Local function 'GetPackageExecutable' hides method 'string Nuke.Common.Tooling.NuGetToolPathResolver.GetPackageExecutable(string, string, string, string)'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesCachePaths.cs", + "uri": "source/Nuke.Tooling/NuGetToolPathResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, - "startColumn": 25, - "charOffset": 514, - "charLength": 6, + "startLine": 59, + "startColumn": 23, + "charOffset": 2443, + "charLength": 20, "snippet": { - "text": "Gradle" + "text": "GetPackageExecutable" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 57, "startColumn": 1, - "charOffset": 397, - "charLength": 185, + "charOffset": 2373, + "charLength": 227, "snippet": { - "text": " public const string NuGet = \"~/.nuget/packages\";\n public const string Npm = \"~/.npm\";\n public const string Gradle = \"~/.gradle\";\n public const string Docker = \"~/docker\";\n}" + "text": "\n // TODO: filter dll for .NET Framework\n static string GetPackageExecutable(IEnumerable executables)\n => executables\n .OrderByDescending(x => x.EndsWithOrdinalIgnoreCase(\".dll\"))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7c770e60bf6f60ddc2330d692190b9a0ade0d8e90aca1977d0fdc7380c22e966" + "equalIndicator/v1": "154da3ad44e487b0eb7a3e562302ac74ee04a905cbe51da3eaf7cbdcf1bfaadc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -130291,108 +134070,106 @@ } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", "level": "warning", "message": { - "text": "Constant 'Docker' is never used", - "markdown": "Constant 'Docker' is never used" + "text": "Only implementations of method 'RenderForOutput' are used", + "markdown": "Only implementations of method 'RenderForOutput' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesCachePaths.cs", + "uri": "source/Nuke.Tooling/Arguments.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 17, - "startColumn": 25, - "charOffset": 560, - "charLength": 6, + "startLine": 18, + "startColumn": 12, + "charOffset": 426, + "charLength": 15, "snippet": { - "text": "Docker" + "text": "RenderForOutput" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 15, + "startLine": 16, "startColumn": 1, - "charOffset": 450, - "charLength": 133, + "charOffset": 343, + "charLength": 104, "snippet": { - "text": " public const string Npm = \"~/.npm\";\n public const string Gradle = \"~/.gradle\";\n public const string Docker = \"~/docker\";\n}\n" + "text": " string FilterSecrets(string text);\n string RenderForExecution();\n string RenderForOutput();\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "410898e4e10be0762357214c0931502f7f53747e1f9d79ea53439bfce9dc6a4d" + "equalIndicator/v1": "9000f43dfb5d7ef906791ea57320dbdfd2457470e4373c252784919d5a7c351c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UnusedMember.Global", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", "level": "warning", "message": { - "text": "Method 'SendGitterMessage' is never used", - "markdown": "Method 'SendGitterMessage' is never used" + "text": "Only implementations of property 'SkippedTargets' are used", + "markdown": "Only implementations of property 'SkippedTargets' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Gitter/GitterTasks.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 24, - "charOffset": 654, - "charLength": 17, + "startLine": 29, + "startColumn": 43, + "charOffset": 988, + "charLength": 14, "snippet": { - "text": "SendGitterMessage" + "text": "SkippedTargets" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 27, "startColumn": 1, - "charOffset": 582, - "charLength": 203, + "charOffset": 815, + "charLength": 330, "snippet": { - "text": " private static HttpClient s_client = new();\n\n public static void SendGitterMessage(string message, string roomId, string token)\n {\n SendGitterMessageAsync(message, roomId, token).Wait();" + "text": " IReadOnlyCollection ExecutionPlan { get; }\n IReadOnlyCollection InvokedTargets { get; }\n IReadOnlyCollection SkippedTargets { get; }\n IReadOnlyCollection ScheduledTargets { get; }\n IReadOnlyCollection RunningTargets { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4dfb4c8a663f54ca938557f619aa44baf45388a35dc0676acc7c91cb8ff9ec6c" + "equalIndicator/v1": "a6dd41566dea428f44834b670e95dac9d4e7d1f3878b42f374681aa04d09ed5e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -130403,55 +134180,54 @@ } }, { - "ruleId": "ParameterTypeCanBeEnumerable.Local", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" + "text": "Only implementations of property 'ScheduledTargets' are used", + "markdown": "Only implementations of property 'ScheduledTargets' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/ExecutionPlannerTest.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 99, - "startColumn": 37, - "charOffset": 2587, - "charLength": 18, + "startLine": 30, + "startColumn": 43, + "charOffset": 1054, + "charLength": 16, "snippet": { - "text": "ExecutableTarget[]" + "text": "ScheduledTargets" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 97, + "startLine": 28, "startColumn": 1, - "charOffset": 2453, - "charLength": 303, + "charOffset": 880, + "charLength": 331, "snippet": { - "text": " private IEnumerable GetPlan(ExecutableTarget[] invokedTargets = null)\n {\n static string[] SelectNames(ExecutableTarget[] targets) => targets?.Select(x => x.Name).ToArray();\n\n return ExecutionPlanner.GetExecutionPlan(new[] { A, B, C }, SelectNames(invokedTargets));" + "text": " IReadOnlyCollection InvokedTargets { get; }\n IReadOnlyCollection SkippedTargets { get; }\n IReadOnlyCollection ScheduledTargets { get; }\n IReadOnlyCollection RunningTargets { get; }\n IReadOnlyCollection AbortedTargets { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4555c1dc7e6ec6334e4ccd40f935c266c5cf5d3b86ed4d24d5262caa432dcaa1" + "equalIndicator/v1": "0c3a6026433d3c0a8f440168efa1d53854288d4da23fac443b16a445d3fd2147" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -130459,111 +134235,109 @@ } }, { - "ruleId": "ParameterTypeCanBeEnumerable.Local", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" + "text": "Only implementations of property 'RunningTargets' are used", + "markdown": "Only implementations of property 'RunningTargets' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 85, - "startColumn": 69, - "charOffset": 3885, - "charLength": 8, + "startLine": 31, + "startColumn": 43, + "charOffset": 1122, + "charLength": 14, "snippet": { - "text": "string[]" + "text": "RunningTargets" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 83, + "startLine": 29, "startColumn": 1, - "charOffset": 3800, - "charLength": 185, + "charOffset": 946, + "charLength": 330, "snippet": { - "text": "\n [CanBeNull]\n private static Dictionary GetGlobalSection(this string[] lines, string name, [CanBeNull] string solutionFile)\n {\n var sectionLines = lines" + "text": " IReadOnlyCollection SkippedTargets { get; }\n IReadOnlyCollection ScheduledTargets { get; }\n IReadOnlyCollection RunningTargets { get; }\n IReadOnlyCollection AbortedTargets { get; }\n IReadOnlyCollection FailedTargets { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8c5ea255f5e5d6ea053c449615135c9c0e15cf2746285f70a3a207570240a53b" + "equalIndicator/v1": "6a00638dd3fa2b7fdec88af2439d50ec7474b3afc07664d850c8d780fbe56ee6" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "ParameterTypeCanBeEnumerable.Local", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" + "text": "Only implementations of property 'AbortedTargets' are used", + "markdown": "Only implementations of property 'AbortedTargets' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 85, - "startColumn": 69, - "charOffset": 3885, - "charLength": 8, + "startLine": 32, + "startColumn": 43, + "charOffset": 1188, + "charLength": 14, "snippet": { - "text": "string[]" + "text": "AbortedTargets" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 83, + "startLine": 30, "startColumn": 1, - "charOffset": 3800, - "charLength": 185, + "charOffset": 1012, + "charLength": 332, "snippet": { - "text": "\n [CanBeNull]\n private static Dictionary GetGlobalSection(this string[] lines, string name, [CanBeNull] string solutionFile)\n {\n var sectionLines = lines" + "text": " IReadOnlyCollection ScheduledTargets { get; }\n IReadOnlyCollection RunningTargets { get; }\n IReadOnlyCollection AbortedTargets { get; }\n IReadOnlyCollection FailedTargets { get; }\n IReadOnlyCollection SucceededTargets { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a99cdf697e3acbc261e9f17c02b8b36373aa66a2c72aa2481422ce96ff86bca8" + "equalIndicator/v1": "792af77bb1fc3990d5b6033fb8b4768786d0ef411842769d989cf7486a8a3f15" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -130571,37 +134345,37 @@ } }, { - "ruleId": "ParameterTypeCanBeEnumerable.Local", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" + "text": "Only implementations of property 'FailedTargets' are used", + "markdown": "Only implementations of property 'FailedTargets' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ExecutionPlanner.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 90, - "startColumn": 9, - "charOffset": 3728, - "charLength": 37, + "startLine": 33, + "startColumn": 43, + "charOffset": 1254, + "charLength": 13, "snippet": { - "text": "IReadOnlyCollection" + "text": "FailedTargets" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 88, + "startLine": 31, "startColumn": 1, - "charOffset": 3615, - "charLength": 284, + "charOffset": 1080, + "charLength": 331, "snippet": { - "text": "\n private static IReadOnlyDictionary> GetVertexDictionary(\n IReadOnlyCollection executableTargets)\n {\n var vertexDictionary = executableTargets.ToDictionary(x => x, x => new Vertex(x));" + "text": " IReadOnlyCollection RunningTargets { get; }\n IReadOnlyCollection AbortedTargets { get; }\n IReadOnlyCollection FailedTargets { get; }\n IReadOnlyCollection SucceededTargets { get; }\n IReadOnlyCollection FinishedTargets { get; }" } } }, @@ -130614,12 +134388,11 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "47101d9c0d3be9beb0b2efb3f1c97a8ef56e0e5e45ce2ac648dcf2713e5118ca" + "equalIndicator/v1": "39ea58adfa149594fe98fd213ac105a40d5841da4f0ae211d3b3f95f47547b72" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -130627,37 +134400,37 @@ } }, { - "ruleId": "ParameterTypeCanBeEnumerable.Local", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" + "text": "Only implementations of property 'FinishedTargets' are used", + "markdown": "Only implementations of property 'FinishedTargets' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/Extensions/ArgumentsFromParametersFileAttribute.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 77, - "charOffset": 1056, - "charLength": 8, + "startLine": 35, + "startColumn": 43, + "charOffset": 1387, + "charLength": 15, "snippet": { - "text": "string[]" + "text": "FinishedTargets" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 33, "startColumn": 1, - "charOffset": 921, - "charLength": 299, + "charOffset": 1212, + "charLength": 231, "snippet": { - "text": " var passwords = new Dictionary();\n\n IEnumerable ConvertToArguments(string profile, string name, string[] values)\n {\n var member = parameterMembers.SingleOrDefault(x => ParameterService.GetParameterMemberName(x).EqualsOrdinalIgnoreCase(name));" + "text": " IReadOnlyCollection FailedTargets { get; }\n IReadOnlyCollection SucceededTargets { get; }\n IReadOnlyCollection FinishedTargets { get; }\n\n bool IsSuccessful { get; }" } } }, @@ -130670,12 +134443,11 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ab80cdb019766117e9ef1a62afd9fc3d405895a8949a7933093668bc8b786503" + "equalIndicator/v1": "f5e24b956806e62e690d3031ddc42bde89c4141b12b209f0255ea685ef965b01" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -130683,111 +134455,109 @@ } }, { - "ruleId": "ParameterTypeCanBeEnumerable.Local", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" + "text": "Only implementations of property 'IsFailing' are used", + "markdown": "Only implementations of property 'IsFailing' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 69, - "startColumn": 9, - "charOffset": 2850, - "charLength": 28, + "startLine": 38, + "startColumn": 10, + "charOffset": 1453, + "charLength": 9, "snippet": { - "text": "IReadOnlyCollection" + "text": "IsFailing" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 67, + "startLine": 36, "startColumn": 1, - "charOffset": 2760, - "charLength": 167, + "charOffset": 1412, + "charLength": 120, "snippet": { - "text": " string name,\n IReadOnlyCollection solutionFolders,\n IReadOnlyCollection projects,\n bool isSolution = false)\n {" + "text": "\n bool IsSuccessful { get; }\n bool IsFailing { get; }\n bool IsFinished { get; }\n int? ExitCode { get; set; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SourceGenerators", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "23b4e5201933d424e796d907a4c73c439d6f17c8fcfee4b862ffd311dbd859be" + "equalIndicator/v1": "2d9b906c26c69d9cde75518911641f4dfaa44b9b129556742f3280621bd44db8" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "ParameterTypeCanBeEnumerable.Local", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" + "text": "Only implementations of property 'IsFinished' are used", + "markdown": "Only implementations of property 'IsFinished' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/BuildExecutorTest.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 176, - "startColumn": 37, - "charOffset": 4672, - "charLength": 18, + "startLine": 39, + "startColumn": 10, + "charOffset": 1481, + "charLength": 10, "snippet": { - "text": "ExecutableTarget[]" + "text": "IsFinished" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 174, + "startLine": 37, "startColumn": 1, - "charOffset": 4558, - "charLength": 222, + "charOffset": 1413, + "charLength": 120, "snippet": { - "text": " private void ExecuteBuild(ExecutableTarget[] skippedTargets = null)\n {\n static string[] SelectNames(ExecutableTarget[] targets) => targets?.Select(x => x.Name).ToArray();\n\n var build = new TestBuild();" + "text": " bool IsSuccessful { get; }\n bool IsFailing { get; }\n bool IsFinished { get; }\n int? ExitCode { get; set; }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ae33e87eca29e3e4a6b911b05186fafee69aeb349ee14450d814edc0d241d085" + "equalIndicator/v1": "f31dc660b72043a016858a33aa000c7dd1d94322f027fd5c606217b117a88105" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -130795,37 +134565,37 @@ } }, { - "ruleId": "ParameterTypeCanBeEnumerable.Local", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" + "text": "Only implementations of property 'ExitCode' are used", + "markdown": "Only implementations of property 'ExitCode' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/BuildExecutor.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 92, - "startColumn": 9, - "charOffset": 3471, - "charLength": 27, + "startLine": 40, + "startColumn": 10, + "charOffset": 1510, + "charLength": 8, "snippet": { - "text": "IReadOnlyCollection" + "text": "ExitCode" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 90, + "startLine": 38, "startColumn": 1, - "charOffset": 3405, - "charLength": 160, + "charOffset": 1444, + "charLength": 129, "snippet": { - "text": " NukeBuild build,\n ExecutableTarget target,\n IReadOnlyCollection previouslyExecutedTargets,\n bool failureMode = false)\n {" + "text": " bool IsFailing { get; }\n bool IsFinished { get; }\n int? ExitCode { get; set; }\n\n AbsolutePath RootDirectory { get; }" } } }, @@ -130838,12 +134608,11 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "1c38f9c85f930cc1d34884e6f80c74c9adcba4d6f7d5a097e4027047e2f917df" + "equalIndicator/v1": "996a2e5633e9d3959f45e469faa8eea177468ae7e77d8b1b77e544aaf5f6c936" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -130855,48 +134624,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Only overrides of property 'SpecificTarget' are used", - "markdown": "Only overrides of property 'SpecificTarget' are used" + "text": "Only implementations of property 'Verbosity' are used", + "markdown": "Only implementations of property 'Verbosity' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 123, - "startColumn": 31, - "charOffset": 4968, - "charLength": 14, + "startLine": 49, + "startColumn": 15, + "charOffset": 1842, + "charLength": 9, "snippet": { - "text": "SpecificTarget" + "text": "Verbosity" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 121, + "startLine": 47, "startColumn": 1, - "charOffset": 4888, - "charLength": 144, + "charOffset": 1772, + "charLength": 134, "snippet": { - "text": " private class TestBaseBuild : NukeBuild\n {\n public virtual Target SpecificTarget => _ => _\n .Executes(() => { });\n }" + "text": " [CanBeNull] AbsolutePath BuildProjectFile { get; }\n\n Verbosity Verbosity { get; }\n Host Host { get; }\n bool Plan { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "cb19da0577956b649fbd6f10c6b3b7271f5000429a3add43eeb86cfb8ab07710" + "equalIndicator/v1": "2cafa125c61918bc6bce8530cb8b864e9d50097d66458e300f7b85964ac3ab05" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -130911,104 +134679,102 @@ "kind": "fail", "level": "warning", "message": { - "text": "Only implementations of method 'RenderForOutput' are used", - "markdown": "Only implementations of method 'RenderForOutput' are used" + "text": "Only implementations of property 'NoLogo' are used", + "markdown": "Only implementations of property 'NoLogo' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Arguments.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, - "startColumn": 12, - "charOffset": 426, - "charLength": 15, + "startLine": 53, + "startColumn": 10, + "charOffset": 1939, + "charLength": 6, "snippet": { - "text": "RenderForOutput" + "text": "NoLogo" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 51, "startColumn": 1, - "charOffset": 343, - "charLength": 104, + "charOffset": 1884, + "charLength": 133, "snippet": { - "text": " string FilterSecrets(string text);\n string RenderForExecution();\n string RenderForOutput();\n}\n" + "text": " bool Plan { get; }\n bool Help { get; }\n bool NoLogo { get; }\n bool IsLocalBuild { get; }\n bool IsServerBuild { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9000f43dfb5d7ef906791ea57320dbdfd2457470e4373c252784919d5a7c351c" + "equalIndicator/v1": "28be26ab0f7de4b544640b8db6ea6cdb086debc771a4e0adb8dcdeb78c5c87f4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "LocalFunctionHidesMethod", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", "level": "warning", "message": { - "text": "Local function 'GetPackageExecutable' hides method 'string Nuke.Common.Tooling.NuGetToolPathResolver.GetPackageExecutable(string, string, string, string)'", - "markdown": "Local function 'GetPackageExecutable' hides method 'string Nuke.Common.Tooling.NuGetToolPathResolver.GetPackageExecutable(string, string, string, string)'" + "text": "Only implementations of property 'Continue' are used", + "markdown": "Only implementations of property 'Continue' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetToolPathResolver.cs", + "uri": "source/Nuke.Build/INukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, - "startColumn": 23, - "charOffset": 2443, - "charLength": 20, + "startLine": 56, + "startColumn": 10, + "charOffset": 2027, + "charLength": 8, "snippet": { - "text": "GetPackageExecutable" + "text": "Continue" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 54, "startColumn": 1, - "charOffset": 2373, - "charLength": 227, + "charOffset": 1955, + "charLength": 123, "snippet": { - "text": "\n // TODO: filter dll for .NET Framework\n static string GetPackageExecutable(IEnumerable executables)\n => executables\n .OrderByDescending(x => x.EndsWithOrdinalIgnoreCase(\".dll\"))" + "text": " bool IsLocalBuild { get; }\n bool IsServerBuild { get; }\n bool Continue { get; }\n Partition Partition { get; }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "154da3ad44e487b0eb7a3e562302ac74ee04a905cbe51da3eaf7cbdcf1bfaadc" + "equalIndicator/v1": "6341d3e93f5b36e2bdc8b6896585e00bf8fe90ba3f3d7be584fe7f00cd3e8837" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -131019,58 +134785,57 @@ } }, { - "ruleId": "LocalFunctionHidesMethod", + "ruleId": "UnusedMemberInSuper.Global", "kind": "fail", "level": "warning", "message": { - "text": "Local function 'GetPackageExecutable' hides method 'string Nuke.Common.Tooling.NuGetToolPathResolver.GetPackageExecutable(string, string, string, string)'", - "markdown": "Local function 'GetPackageExecutable' hides method 'string Nuke.Common.Tooling.NuGetToolPathResolver.GetPackageExecutable(string, string, string, string)'" + "text": "Only overrides of property 'SpecificTarget' are used", + "markdown": "Only overrides of property 'SpecificTarget' are used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetToolPathResolver.cs", + "uri": "source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, - "startColumn": 23, - "charOffset": 2443, - "charLength": 20, + "startLine": 123, + "startColumn": 31, + "charOffset": 4968, + "charLength": 14, "snippet": { - "text": "GetPackageExecutable" + "text": "SpecificTarget" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 121, "startColumn": 1, - "charOffset": 2373, - "charLength": 227, + "charOffset": 4888, + "charLength": 144, "snippet": { - "text": "\n // TODO: filter dll for .NET Framework\n static string GetPackageExecutable(IEnumerable executables)\n => executables\n .OrderByDescending(x => x.EndsWithOrdinalIgnoreCase(\".dll\"))" + "text": " private class TestBaseBuild : NukeBuild\n {\n public virtual Target SpecificTarget => _ => _\n .Executes(() => { });\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "aa79135b9c4096d70adf1e1d746060541d3c7773d73ff336df9e1a003606743e" + "equalIndicator/v1": "cb19da0577956b649fbd6f10c6b3b7271f5000429a3add43eeb86cfb8ab07710" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -131120,7 +134885,6 @@ "partialFingerprints": { "equalIndicator/v1": "e59fa64a6997c46181158db41c96cc5118dc2db92673f45d87ad06ae0dc184d1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -131176,7 +134940,6 @@ "partialFingerprints": { "equalIndicator/v1": "4d778b3fe98cab77c64e6c1402620da7b884cbe584c6af856f150195f2345fd0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -131198,26 +134961,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ExecutionPlanner.cs", + "uri": "source/Nuke.Build/Execution/DelegateRequirementService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, - "startColumn": 21, - "charOffset": 720, - "charLength": 27, + "startLine": 20, + "startColumn": 63, + "charOffset": 579, + "charLength": 37, "snippet": { - "text": "IReadOnlyCollection" + "text": "IReadOnlyCollection" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 18, "startColumn": 1, - "charOffset": 561, - "charLength": 328, + "charOffset": 466, + "charLength": 223, "snippet": { - "text": " public static IReadOnlyCollection GetExecutionPlan(\n IReadOnlyCollection executableTargets,\n [CanBeNull] IReadOnlyCollection invokedTargetNames)\n {\n var invokedTargets = invokedTargetNames?.Select(x => GetExecutableTarget(x, executableTargets)).ToList() ??" + "text": "internal static class DelegateRequirementService\n{\n public static void ValidateRequirements(INukeBuild build, IReadOnlyCollection scheduledTargets)\n {\n foreach (var target in scheduledTargets)" } } }, @@ -131230,9 +134993,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e12bb6bf8793180b512dbcb21693ba830d9fbecc6d4ef2271960d5f2ae6037e9" + "equalIndicator/v1": "54f7146d741c6e85ee19e0e0415fee42161a04182d8e203e66a82893c6282a76" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -131254,26 +135016,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/DelegateRequirementService.cs", + "uri": "source/Nuke.Build/Execution/ExecutionPlanner.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 63, - "charOffset": 579, - "charLength": 37, + "startLine": 22, + "startColumn": 21, + "charOffset": 720, + "charLength": 27, "snippet": { - "text": "IReadOnlyCollection" + "text": "IReadOnlyCollection" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 20, "startColumn": 1, - "charOffset": 466, - "charLength": 223, + "charOffset": 561, + "charLength": 328, "snippet": { - "text": "internal static class DelegateRequirementService\n{\n public static void ValidateRequirements(INukeBuild build, IReadOnlyCollection scheduledTargets)\n {\n foreach (var target in scheduledTargets)" + "text": " public static IReadOnlyCollection GetExecutionPlan(\n IReadOnlyCollection executableTargets,\n [CanBeNull] IReadOnlyCollection invokedTargetNames)\n {\n var invokedTargets = invokedTargetNames?.Select(x => GetExecutableTarget(x, executableTargets)).ToList() ??" } } }, @@ -131286,9 +135048,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "54f7146d741c6e85ee19e0e0415fee42161a04182d8e203e66a82893c6282a76" + "equalIndicator/v1": "e12bb6bf8793180b512dbcb21693ba830d9fbecc6d4ef2271960d5f2ae6037e9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -131344,7 +135105,6 @@ "partialFingerprints": { "equalIndicator/v1": "41456a35fe1462328a530c2ed99d2d6019ef568a3476e2976b4756f2d1febd8f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -131400,7 +135160,6 @@ "partialFingerprints": { "equalIndicator/v1": "d12f579b53bbb9ca7e43cf224f8750ccba7cc64d31e8a725f75ef7834f8708f9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -131456,7 +135215,6 @@ "partialFingerprints": { "equalIndicator/v1": "1c904d07a681d0e4e4b6cc2f9cfe2d5425d35363994a3ed051b2c2a26563d404" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -131512,7 +135270,6 @@ "partialFingerprints": { "equalIndicator/v1": "cc438d12930716e84697a1358b05350fc335792954f405aec31a603ed595795e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -131568,7 +135325,6 @@ "partialFingerprints": { "equalIndicator/v1": "e325198f87ab68148de99d9726035509ad5fc4ecab6c251a611a68f089cd1f27" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -131624,7 +135380,6 @@ "partialFingerprints": { "equalIndicator/v1": "d45cfb5936bd78693248993a35be2ff723e4e6f8b4613a5b0f2733792e858e8e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -131680,7 +135435,6 @@ "partialFingerprints": { "equalIndicator/v1": "d6af79ca187d434a319d09c4e9a21885ef698cd908cc3ce73429e5af9bfc1ba7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -131736,7 +135490,6 @@ "partialFingerprints": { "equalIndicator/v1": "9b86e2b0a612ec75dbc85439b598b9c97637f1cc5c65c4a3a51b7a237434f632" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -131746,6 +135499,61 @@ ] } }, + { + "ruleId": "UseIndexFromEndExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Use index from end expression", + "markdown": "Use index from end expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Execution/Extensions/HandleHelpRequestsAttribute.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 69, + "startColumn": 23, + "charOffset": 2743, + "charLength": 15, + "snippet": { + "text": "lines.Count - 1" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 67, + "startColumn": 1, + "charOffset": 2675, + "charLength": 127, + "snippet": { + "text": " lines.Add(string.Empty);\n\n lines[lines.Count - 1] = $\"{lines.Last()} {word}\";\n }\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4623345273ac5d800d9a11993ded9317fd9a5f6c8877c6847198fb680a947030" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, { "ruleId": "UseIndexFromEndExpression", "kind": "fail", @@ -131792,7 +135600,6 @@ "partialFingerprints": { "equalIndicator/v1": "cbf31a640a422706bdee94e0b224bbe953adb86a2bc5e2aa9c3f0aa764be3a94" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -131803,52 +135610,106 @@ } }, { - "ruleId": "UseIndexFromEndExpression", + "ruleId": "UseArrayEmptyMethod", "kind": "fail", "level": "note", "message": { - "text": "Use index from end expression", - "markdown": "Use index from end expression" + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/Extensions/HandleHelpRequestsAttribute.cs", + "uri": "source/Nuke.Tooling/ExtensionHelper.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 69, - "startColumn": 23, - "charOffset": 2743, - "charLength": 15, + "startLine": 51, + "startColumn": 19, + "charOffset": 1942, + "charLength": 13, "snippet": { - "text": "lines.Count - 1" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 67, + "startLine": 49, "startColumn": 1, - "charOffset": 2675, - "charLength": 127, + "charOffset": 1772, + "charLength": 237, "snippet": { - "text": " lines.Add(string.Empty);\n\n lines[lines.Count - 1] = $\"{lines.Last()} {word}\";\n }\n" + "text": " return (dictionary.Contains(key)\n ? ((string) dictionary[key]).Split(new[] { separator }, StringSplitOptions.RemoveEmptyEntries)\n : new string[0])\n .Select(Convert).ToList();\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4623345273ac5d800d9a11993ded9317fd9a5f6c8877c6847198fb680a947030" + "equalIndicator/v1": "54a41c02fe39c639a537caf7b8afd12a4ca50a028722df16744016fbc9e1c8bf" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "UseArrayEmptyMethod", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/ExtensionHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 51, + "startColumn": 19, + "charOffset": 1942, + "charLength": 13, + "snippet": { + "text": "new string[0]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 49, + "startColumn": 1, + "charOffset": 1772, + "charLength": 237, + "snippet": { + "text": " return (dictionary.Contains(key)\n ? ((string) dictionary[key]).Split(new[] { separator }, StringSplitOptions.RemoveEmptyEntries)\n : new string[0])\n .Select(Convert).ToList();\n }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "532e36f70e51b44742ce217c1e376f1d696b73aa5335effcf44719fcbdb22de6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -131870,41 +135731,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CITest.cs", + "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 117, - "startColumn": 81, - "charOffset": 3906, + "startLine": 53, + "startColumn": 66, + "charOffset": 1756, "charLength": 13, "snippet": { - "text": "new object[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 115, + "startLine": 51, "startColumn": 1, - "charOffset": 3679, - "charLength": 286, + "charOffset": 1611, + "charLength": 238, "snippet": { - "text": " {\n var bindingFlags = BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.OptionalParamBinding;\n return Activator.CreateInstance(type, bindingFlags, binder: null, args: new object[0], culture: CultureInfo.CurrentCulture);\n }\n" + "text": "\n public override IEnumerable RelevantTargetNames => InvokedTargets;\n public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public AppVeyorService[] Services { get; set; } = new AppVeyorService[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8d79a10239627b101a5ae13dfbf4950a655a6a219064916c5a50a326c87c054b" + "equalIndicator/v1": "44e6ccbd594cde18f54e1b3f06f4d24bf2f5316ea0e7b05661da1b24425129d7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -131926,13 +135786,68 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/DataClassExtensionGenerator.cs", + "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 330, - "startColumn": 41, - "charOffset": 18606, + "startLine": 55, + "startColumn": 55, + "charOffset": 1826, + "charLength": 22, + "snippet": { + "text": "new AppVeyorService[0]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 53, + "startColumn": 1, + "charOffset": 1691, + "charLength": 288, + "snippet": { + "text": " public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public AppVeyorService[] Services { get; set; } = new AppVeyorService[0];\n public string[] InvokedTargets { get; set; } = new string[0];\n public string[] BranchesOnly { get; set; } = new string[0];" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9bccf93098f0823a3f7e11ec7f3520fd5643fe719c33fcca0905bda7996ce491" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UseArrayEmptyMethod", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 57, + "startColumn": 50, + "charOffset": 1965, "charLength": 13, "snippet": { "text": "new string[0]" @@ -131940,33 +135855,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 328, + "startLine": 55, "startColumn": 1, - "charOffset": 18447, - "charLength": 196, + "charOffset": 1772, + "charLength": 312, "snippet": { - "text": " private static DataClassWriter WriteMethod(this DataClassWriter writer, string name, string[] modifications)\n {\n return writer.WriteMethod(name, new string[0], modifications);\n }\n" + "text": " public AppVeyorService[] Services { get; set; } = new AppVeyorService[0];\n public string[] InvokedTargets { get; set; } = new string[0];\n public string[] BranchesOnly { get; set; } = new string[0];\n public string[] BranchesExcept { get; set; } = new string[0];\n public bool SkipTags { get; set; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "291405ce82fb361748d2c136379f6f9776040550a53e244d337708f84855c004" + "equalIndicator/v1": "e7f98479404d5218bb3ed93eec61a62ebee649e2f25c1c4c13c22acce892f0d3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -131982,47 +135896,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.Hash.cs", + "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, - "startColumn": 33, - "charOffset": 2346, - "charLength": 11, + "startLine": 56, + "startColumn": 52, + "charOffset": 1901, + "charLength": 13, "snippet": { - "text": "new byte[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 54, "startColumn": 1, - "charOffset": 2303, - "charLength": 163, + "charOffset": 1771, + "charLength": 274, "snippet": { - "text": " }\n\n md5.TransformFinalBlock(new byte[0], inputOffset: 0, inputCount: 0);\n\n return BitConverter.ToString(md5.Hash).Replace(\"-\", \"\").ToLower();" + "text": "\n public AppVeyorService[] Services { get; set; } = new AppVeyorService[0];\n public string[] InvokedTargets { get; set; } = new string[0];\n public string[] BranchesOnly { get; set; } = new string[0];\n public string[] BranchesExcept { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "83fe3fcbfad3c2bb4fbaba7321fa144fd02fee809dfd0f0761860336b089c87a" + "equalIndicator/v1": "7af05825079d2d134c350e15a762e4ba112e18ae7818cab2de84b77a4d17f183" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -132038,41 +135951,260 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.Hash.cs", + "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, - "startColumn": 33, - "charOffset": 2346, - "charLength": 11, + "startLine": 58, + "startColumn": 52, + "charOffset": 2031, + "charLength": 13, "snippet": { - "text": "new byte[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { + "startLine": 56, + "startColumn": 1, + "charOffset": 1850, + "charLength": 292, + "snippet": { + "text": " public string[] InvokedTargets { get; set; } = new string[0];\n public string[] BranchesOnly { get; set; } = new string[0];\n public string[] BranchesExcept { get; set; } = new string[0];\n public bool SkipTags { get; set; }\n public bool SkipBranchesWithPullRequest { get; set; }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "84471419a8a1772ec67f55f70fec687f35756c0c6b07eebe0517cc6ba3ed621a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UseArrayEmptyMethod", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uriBaseId": "SRCROOT" + }, + "region": { "startLine": 65, + "startColumn": 42, + "charOffset": 2386, + "charLength": 13, + "snippet": { + "text": "new string[0]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 63, "startColumn": 1, - "charOffset": 2303, - "charLength": 163, + "charOffset": 2244, + "charLength": 255, "snippet": { - "text": " }\n\n md5.TransformFinalBlock(new byte[0], inputOffset: 0, inputCount: 0);\n\n return BitConverter.ToString(md5.Hash).Replace(\"-\", \"\").ToLower();" + "text": " public string SkipCommitsMessage { get; set; }\n public string SkipCommitsAuthor { get; set; }\n public string[] Init { get; set; } = new string[0];\n public string[] Cache { get; set; } = new string[0];\n public string[] Secrets { get; set; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "972e2513639c840058805350ef3c83bd383de0f13d66589bb93c08307ca10499" + "equalIndicator/v1": "fc5a192410a88efd9a5b94ebd741583446d7053d90f81bf619a423da7a3a6e16" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UseArrayEmptyMethod", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 66, + "startColumn": 43, + "charOffset": 2443, + "charLength": 13, + "snippet": { + "text": "new string[0]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 64, + "startColumn": 1, + "charOffset": 2295, + "charLength": 245, + "snippet": { + "text": " public string SkipCommitsAuthor { get; set; }\n public string[] Init { get; set; } = new string[0];\n public string[] Cache { get; set; } = new string[0];\n public string[] Secrets { get; set; }\n public bool Submodules { get; set; }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "18796365a4e3934c16a56359bb9ff07c6d8565e7601647c85f4fafa3d3170291" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UseArrayEmptyMethod", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelines.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 237, + "startColumn": 16, + "charOffset": 11132, + "charLength": 13, + "snippet": { + "text": "new string[0]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 235, + "startColumn": 1, + "charOffset": 10974, + "charLength": 221, + "snippet": { + "text": " .Invoke(new Dictionary())\n .Select(x => $\"{x.Key}={EscapeValue(x.Value.ToString())}\").ToArray()\n ?? new string[0];\n\n Write(command, escapedTokens, message);" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "36812dca0b1f085dba9e6f465b21140faa9008c53a3707126a87683426bbf9e6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UseArrayEmptyMethod", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 60, + "startColumn": 52, + "charOffset": 2078, + "charLength": 13, + "snippet": { + "text": "new string[0]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 58, + "startColumn": 1, + "charOffset": 1947, + "charLength": 192, + "snippet": { + "text": " public override IEnumerable RelevantTargetNames => InvokedTargets;\n\n public string[] InvokedTargets { get; set; } = new string[0];\n\n public bool TriggerDisabled { get; set; }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e47d87949e889d22e28c039fa0e322aa8afdcc77620682fa839ff2ae117d8fef" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132094,13 +136226,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 73, - "startColumn": 25, - "charOffset": 3168, + "startLine": 94, + "startColumn": 60, + "charOffset": 2835, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132108,27 +136240,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 71, + "startLine": 92, "startColumn": 1, - "charOffset": 3016, - "charLength": 257, + "charOffset": 2769, + "charLength": 224, "snippet": { - "text": "\n var items = completionItems.GetValueOrDefault(parameter)?.Except(passedItems, StringComparer.OrdinalIgnoreCase) ??\n new string[0];\n\n if (parameter.EqualsOrdinalIgnoreCase(Constants.InvokedTargetsParameterName))" + "text": " }\n\n public string[] TriggerBranchesInclude { get; set; } = new string[0];\n public string[] TriggerBranchesExclude { get; set; } = new string[0];\n public string[] TriggerTagsInclude { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7803af3711130aa67b7f4a09e6527558e893116ceea8c0fb7320694f5d403f38" + "equalIndicator/v1": "48e744fad054ae0f0b206e6f7562d635b2e5c9247cadce2cda6b2c47f0019b87" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132150,13 +136281,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 73, - "startColumn": 25, - "charOffset": 3168, + "startLine": 96, + "startColumn": 56, + "charOffset": 2979, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132164,33 +136295,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 71, + "startLine": 94, "startColumn": 1, - "charOffset": 3016, - "charLength": 257, + "charOffset": 2776, + "charLength": 358, "snippet": { - "text": "\n var items = completionItems.GetValueOrDefault(parameter)?.Except(passedItems, StringComparer.OrdinalIgnoreCase) ??\n new string[0];\n\n if (parameter.EqualsOrdinalIgnoreCase(Constants.InvokedTargetsParameterName))" + "text": " public string[] TriggerBranchesInclude { get; set; } = new string[0];\n public string[] TriggerBranchesExclude { get; set; } = new string[0];\n public string[] TriggerTagsInclude { get; set; } = new string[0];\n public string[] TriggerTagsExclude { get; set; } = new string[0];\n public string[] TriggerPathsInclude { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0a2cfe75604f27a27c7466b38373c57ec487e4b9cd7e473179c9ea775d03afda" + "equalIndicator/v1": "1c42f5fa6445e2348985370a0203b11747693a65e74c118e2f2dc2a3178858f5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -132210,9 +136340,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 60, - "startColumn": 52, - "charOffset": 2078, + "startLine": 97, + "startColumn": 56, + "charOffset": 3049, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132220,12 +136350,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 58, + "startLine": 95, "startColumn": 1, - "charOffset": 1947, - "charLength": 192, + "charOffset": 2850, + "charLength": 355, "snippet": { - "text": " public override IEnumerable RelevantTargetNames => InvokedTargets;\n\n public string[] InvokedTargets { get; set; } = new string[0];\n\n public bool TriggerDisabled { get; set; }" + "text": " public string[] TriggerBranchesExclude { get; set; } = new string[0];\n public string[] TriggerTagsInclude { get; set; } = new string[0];\n public string[] TriggerTagsExclude { get; set; } = new string[0];\n public string[] TriggerPathsInclude { get; set; } = new string[0];\n public string[] TriggerPathsExclude { get; set; } = new string[0];" } } }, @@ -132238,9 +136368,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e47d87949e889d22e28c039fa0e322aa8afdcc77620682fa839ff2ae117d8fef" + "equalIndicator/v1": "31f15f69692d5487ff4424ace0aa3612afa1d5550959fe2f09f67d4fd3cc6579" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132266,9 +136395,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 94, + "startLine": 95, "startColumn": 60, - "charOffset": 2835, + "charOffset": 2909, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132276,12 +136405,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 92, + "startLine": 93, "startColumn": 1, - "charOffset": 2769, - "charLength": 224, + "charOffset": 2775, + "charLength": 288, "snippet": { - "text": " }\n\n public string[] TriggerBranchesInclude { get; set; } = new string[0];\n public string[] TriggerBranchesExclude { get; set; } = new string[0];\n public string[] TriggerTagsInclude { get; set; } = new string[0];" + "text": "\n public string[] TriggerBranchesInclude { get; set; } = new string[0];\n public string[] TriggerBranchesExclude { get; set; } = new string[0];\n public string[] TriggerTagsInclude { get; set; } = new string[0];\n public string[] TriggerTagsExclude { get; set; } = new string[0];" } } }, @@ -132294,9 +136423,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "48e744fad054ae0f0b206e6f7562d635b2e5c9247cadce2cda6b2c47f0019b87" + "equalIndicator/v1": "44b1100da2abc23bb8e64c47ea7391fab712a18c3fafaca9f5021db5f4ad855a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132322,9 +136450,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 95, - "startColumn": 60, - "charOffset": 2909, + "startLine": 99, + "startColumn": 57, + "charOffset": 3191, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132332,12 +136460,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 93, + "startLine": 97, "startColumn": 1, - "charOffset": 2775, - "charLength": 288, + "charOffset": 2994, + "charLength": 263, "snippet": { - "text": "\n public string[] TriggerBranchesInclude { get; set; } = new string[0];\n public string[] TriggerBranchesExclude { get; set; } = new string[0];\n public string[] TriggerTagsInclude { get; set; } = new string[0];\n public string[] TriggerTagsExclude { get; set; } = new string[0];" + "text": " public string[] TriggerTagsExclude { get; set; } = new string[0];\n public string[] TriggerPathsInclude { get; set; } = new string[0];\n public string[] TriggerPathsExclude { get; set; } = new string[0];\n\n public bool PullRequestsDisabled { get; set; }" } } }, @@ -132350,9 +136478,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "44b1100da2abc23bb8e64c47ea7391fab712a18c3fafaca9f5021db5f4ad855a" + "equalIndicator/v1": "a4b281217a9a7389b3a3de3135e923852388f60a7489333f31fb1189e742e038" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132378,9 +136505,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 96, - "startColumn": 56, - "charOffset": 2979, + "startLine": 98, + "startColumn": 57, + "charOffset": 3120, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132388,12 +136515,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 94, + "startLine": 96, "startColumn": 1, - "charOffset": 2776, - "charLength": 358, + "charOffset": 2924, + "charLength": 282, "snippet": { - "text": " public string[] TriggerBranchesInclude { get; set; } = new string[0];\n public string[] TriggerBranchesExclude { get; set; } = new string[0];\n public string[] TriggerTagsInclude { get; set; } = new string[0];\n public string[] TriggerTagsExclude { get; set; } = new string[0];\n public string[] TriggerPathsInclude { get; set; } = new string[0];" + "text": " public string[] TriggerTagsInclude { get; set; } = new string[0];\n public string[] TriggerTagsExclude { get; set; } = new string[0];\n public string[] TriggerPathsInclude { get; set; } = new string[0];\n public string[] TriggerPathsExclude { get; set; } = new string[0];\n" } } }, @@ -132406,9 +136533,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "1c42f5fa6445e2348985370a0203b11747693a65e74c118e2f2dc2a3178858f5" + "equalIndicator/v1": "8c245b9fb1b7d204097025db125127c3cc3af3d4c8ef993148f35e81c1eb3f4d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132434,9 +136560,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 97, - "startColumn": 56, - "charOffset": 3049, + "startLine": 109, + "startColumn": 65, + "charOffset": 3474, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132444,12 +136570,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 95, + "startLine": 107, "startColumn": 1, - "charOffset": 2850, - "charLength": 355, + "charOffset": 3403, + "charLength": 240, "snippet": { - "text": " public string[] TriggerBranchesExclude { get; set; } = new string[0];\n public string[] TriggerTagsInclude { get; set; } = new string[0];\n public string[] TriggerTagsExclude { get; set; } = new string[0];\n public string[] TriggerPathsInclude { get; set; } = new string[0];\n public string[] TriggerPathsExclude { get; set; } = new string[0];" + "text": " }\n\n public string[] PullRequestsBranchesInclude { get; set; } = new string[0];\n public string[] PullRequestsBranchesExclude { get; set; } = new string[0];\n public string[] PullRequestsPathsInclude { get; set; } = new string[0];" } } }, @@ -132462,9 +136588,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "31f15f69692d5487ff4424ace0aa3612afa1d5550959fe2f09f67d4fd3cc6579" + "equalIndicator/v1": "030f8138b15b6faeebc702ccc3a1499d6b8796dd05ae60355f8dca7ba8531577" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132490,9 +136615,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 98, - "startColumn": 57, - "charOffset": 3120, + "startLine": 110, + "startColumn": 65, + "charOffset": 3553, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132500,12 +136625,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 96, + "startLine": 108, "startColumn": 1, - "charOffset": 2924, - "charLength": 282, + "charOffset": 3409, + "charLength": 310, "snippet": { - "text": " public string[] TriggerTagsInclude { get; set; } = new string[0];\n public string[] TriggerTagsExclude { get; set; } = new string[0];\n public string[] TriggerPathsInclude { get; set; } = new string[0];\n public string[] TriggerPathsExclude { get; set; } = new string[0];\n" + "text": "\n public string[] PullRequestsBranchesInclude { get; set; } = new string[0];\n public string[] PullRequestsBranchesExclude { get; set; } = new string[0];\n public string[] PullRequestsPathsInclude { get; set; } = new string[0];\n public string[] PullRequestsPathsExclude { get; set; } = new string[0];" } } }, @@ -132518,9 +136643,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "8c245b9fb1b7d204097025db125127c3cc3af3d4c8ef993148f35e81c1eb3f4d" + "equalIndicator/v1": "95216bc625711071a08ea3f0a8167bcbc722962edf1420145341779d5bec89f7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132546,9 +136670,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 99, - "startColumn": 57, - "charOffset": 3191, + "startLine": 112, + "startColumn": 62, + "charOffset": 3705, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132556,12 +136680,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 97, + "startLine": 110, "startColumn": 1, - "charOffset": 2994, - "charLength": 263, + "charOffset": 3489, + "charLength": 349, "snippet": { - "text": " public string[] TriggerTagsExclude { get; set; } = new string[0];\n public string[] TriggerPathsInclude { get; set; } = new string[0];\n public string[] TriggerPathsExclude { get; set; } = new string[0];\n\n public bool PullRequestsDisabled { get; set; }" + "text": " public string[] PullRequestsBranchesExclude { get; set; } = new string[0];\n public string[] PullRequestsPathsInclude { get; set; } = new string[0];\n public string[] PullRequestsPathsExclude { get; set; } = new string[0];\n\n public string[] CacheKeyFiles { get; set; } = { \"**/global.json\", \"**/*.csproj\", \"**/Directory.Packages.props\" };" } } }, @@ -132574,9 +136698,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a4b281217a9a7389b3a3de3135e923852388f60a7489333f31fb1189e742e038" + "equalIndicator/v1": "26e2b7b4ccd7e7e42d89eba5efae9587992eec0696de9e64468ae81f63e48621" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132602,9 +136725,64 @@ "uriBaseId": "SRCROOT" }, "region": { + "startLine": 111, + "startColumn": 62, + "charOffset": 3629, + "charLength": 13, + "snippet": { + "text": "new string[0]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { "startLine": 109, - "startColumn": 65, - "charOffset": 3474, + "startColumn": 1, + "charOffset": 3410, + "charLength": 310, + "snippet": { + "text": " public string[] PullRequestsBranchesInclude { get; set; } = new string[0];\n public string[] PullRequestsBranchesExclude { get; set; } = new string[0];\n public string[] PullRequestsPathsInclude { get; set; } = new string[0];\n public string[] PullRequestsPathsExclude { get; set; } = new string[0];\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Common", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e4ab555c7ae60f9bab4e58d15e78afbbe88a16e35fc7f0e9667bf718f30667fb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "UseArrayEmptyMethod", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 118, + "startColumn": 51, + "charOffset": 4076, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132612,12 +136790,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 107, + "startLine": 116, "startColumn": 1, - "charOffset": 3403, - "charLength": 240, + "charOffset": 3953, + "charLength": 186, "snippet": { - "text": " }\n\n public string[] PullRequestsBranchesInclude { get; set; } = new string[0];\n public string[] PullRequestsBranchesExclude { get; set; } = new string[0];\n public string[] PullRequestsPathsInclude { get; set; } = new string[0];" + "text": "\n public string[] ImportVariableGroups { get; set; } = new string[0];\n public string[] ImportSecrets { get; set; } = new string[0];\n public bool EnableAccessToken { get; set; }\n" } } }, @@ -132630,9 +136808,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "030f8138b15b6faeebc702ccc3a1499d6b8796dd05ae60355f8dca7ba8531577" + "equalIndicator/v1": "2b3b4564f9ea2f9f6c45af661bae1057d1af0a4f458502652527168578202ea4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132658,9 +136835,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 110, - "startColumn": 65, - "charOffset": 3553, + "startLine": 117, + "startColumn": 58, + "charOffset": 4011, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132668,12 +136845,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 108, + "startLine": 115, "startColumn": 1, - "charOffset": 3409, - "charLength": 310, + "charOffset": 3839, + "charLength": 299, "snippet": { - "text": "\n public string[] PullRequestsBranchesInclude { get; set; } = new string[0];\n public string[] PullRequestsBranchesExclude { get; set; } = new string[0];\n public string[] PullRequestsPathsInclude { get; set; } = new string[0];\n public string[] PullRequestsPathsExclude { get; set; } = new string[0];" + "text": " public string[] CachePaths { get; set; } = { AzurePipelinesCachePaths.Nuke, AzurePipelinesCachePaths.NuGet };\n\n public string[] ImportVariableGroups { get; set; } = new string[0];\n public string[] ImportSecrets { get; set; } = new string[0];\n public bool EnableAccessToken { get; set; }" } } }, @@ -132686,9 +136863,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "95216bc625711071a08ea3f0a8167bcbc722962edf1420145341779d5bec89f7" + "equalIndicator/v1": "971101d137679755b5ab3452f352e5a6e64fac2473775e626f7fe907670c4332" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132714,9 +136890,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 111, - "startColumn": 62, - "charOffset": 3629, + "startLine": 180, + "startColumn": 34, + "charOffset": 6538, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132724,12 +136900,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 109, + "startLine": 178, "startColumn": 1, - "charOffset": 3410, - "charLength": 310, + "charOffset": 6373, + "charLength": 287, "snippet": { - "text": " public string[] PullRequestsBranchesInclude { get; set; } = new string[0];\n public string[] PullRequestsBranchesExclude { get; set; } = new string[0];\n public string[] PullRequestsPathsInclude { get; set; } = new string[0];\n public string[] PullRequestsPathsExclude { get; set; } = new string[0];\n" + "text": " BranchesInclude = PullRequestsBranchesInclude,\n BranchesExclude = PullRequestsBranchesExclude,\n TagsInclude = new string[0],\n TagsExclude = new string[0],\n PathsInclude = PullRequestsPathsInclude," } } }, @@ -132742,9 +136918,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e4ab555c7ae60f9bab4e58d15e78afbbe88a16e35fc7f0e9667bf718f30667fb" + "equalIndicator/v1": "a83f49c5cdfbeacafc98e541951f5250bb765e711a55a56de34cfb17d84e9192" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132770,9 +136945,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 112, - "startColumn": 62, - "charOffset": 3705, + "startLine": 181, + "startColumn": 34, + "charOffset": 6586, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132780,12 +136955,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 110, + "startLine": 179, "startColumn": 1, - "charOffset": 3489, - "charLength": 349, + "charOffset": 6439, + "charLength": 281, "snippet": { - "text": " public string[] PullRequestsBranchesExclude { get; set; } = new string[0];\n public string[] PullRequestsPathsInclude { get; set; } = new string[0];\n public string[] PullRequestsPathsExclude { get; set; } = new string[0];\n\n public string[] CacheKeyFiles { get; set; } = { \"**/global.json\", \"**/*.csproj\", \"**/Directory.Packages.props\" };" + "text": " BranchesExclude = PullRequestsBranchesExclude,\n TagsInclude = new string[0],\n TagsExclude = new string[0],\n PathsInclude = PullRequestsPathsInclude,\n PathsExclude = PullRequestsPathsExclude," } } }, @@ -132798,9 +136973,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "26e2b7b4ccd7e7e42d89eba5efae9587992eec0696de9e64468ae81f63e48621" + "equalIndicator/v1": "68f1053b42b504fddfa84dfb7518f640d677e0c31d2aa3025854af278066a44b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132826,22 +137000,22 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 117, - "startColumn": 58, - "charOffset": 4011, - "charLength": 13, + "startLine": 202, + "startColumn": 35, + "charOffset": 7493, + "charLength": 26, "snippet": { - "text": "new string[0]" + "text": "new AzurePipelinesStage[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 115, + "startLine": 200, "startColumn": 1, - "charOffset": 3839, - "charLength": 299, + "charOffset": 7374, + "charLength": 195, "snippet": { - "text": " public string[] CachePaths { get; set; } = { AzurePipelinesCachePaths.Nuke, AzurePipelinesCachePaths.NuGet };\n\n public string[] ImportVariableGroups { get; set; } = new string[0];\n public string[] ImportSecrets { get; set; } = new string[0];\n public bool EnableAccessToken { get; set; }" + "text": " DisplayName = image.GetValue(),\n Image = image,\n Dependencies = new AzurePipelinesStage[0],\n Jobs = jobs\n };" } } }, @@ -132854,9 +137028,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "971101d137679755b5ab3452f352e5a6e64fac2473775e626f7fe907670c4332" + "equalIndicator/v1": "ecb1cab5445b4e882533401e3025efa3bf69ade81b9f362169d7180084b24e17" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132878,13 +137051,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 118, - "startColumn": 51, - "charOffset": 4076, + "startLine": 47, + "startColumn": 66, + "charOffset": 1714, "charLength": 13, "snippet": { "text": "new string[0]" @@ -132892,12 +137065,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 116, + "startLine": 45, "startColumn": 1, - "charOffset": 3953, - "charLength": 186, + "charOffset": 1569, + "charLength": 242, "snippet": { - "text": "\n public string[] ImportVariableGroups { get; set; } = new string[0];\n public string[] ImportSecrets { get; set; } = new string[0];\n public bool EnableAccessToken { get; set; }\n" + "text": "\n public override IEnumerable RelevantTargetNames => InvokedTargets;\n public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public GitHubActionsTrigger[] On { get; set; } = new GitHubActionsTrigger[0];" } } }, @@ -132910,9 +137083,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "2b3b4564f9ea2f9f6c45af661bae1057d1af0a4f458502652527168578202ea4" + "equalIndicator/v1": "7642df03616a5679f45229301409da765b8282f9a7140b12e8730e1a6dd78917" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132934,26 +137106,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 180, - "startColumn": 34, - "charOffset": 6538, - "charLength": 13, + "startLine": 49, + "startColumn": 54, + "charOffset": 1783, + "charLength": 27, "snippet": { - "text": "new string[0]" + "text": "new GitHubActionsTrigger[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 178, + "startLine": 47, "startColumn": 1, - "charOffset": 6373, - "charLength": 287, + "charOffset": 1649, + "charLength": 300, "snippet": { - "text": " BranchesInclude = PullRequestsBranchesInclude,\n BranchesExclude = PullRequestsBranchesExclude,\n TagsInclude = new string[0],\n TagsExclude = new string[0],\n PathsInclude = PullRequestsPathsInclude," + "text": " public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public GitHubActionsTrigger[] On { get; set; } = new GitHubActionsTrigger[0];\n public string[] OnPushBranches { get; set; } = new string[0];\n public string[] OnPushBranchesIgnore { get; set; } = new string[0];" } } }, @@ -132966,9 +137138,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a83f49c5cdfbeacafc98e541951f5250bb765e711a55a56de34cfb17d84e9192" + "equalIndicator/v1": "a092682505586d985a5564ebd3281b19ee53cd43b7ba0c59de0d767d395ef6cf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -132990,13 +137161,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 181, - "startColumn": 34, - "charOffset": 6586, + "startLine": 51, + "startColumn": 58, + "charOffset": 1935, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133004,12 +137175,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 179, + "startLine": 49, "startColumn": 1, - "charOffset": 6439, - "charLength": 281, + "charOffset": 1730, + "charLength": 349, "snippet": { - "text": " BranchesExclude = PullRequestsBranchesExclude,\n TagsInclude = new string[0],\n TagsExclude = new string[0],\n PathsInclude = PullRequestsPathsInclude,\n PathsExclude = PullRequestsPathsExclude," + "text": " public GitHubActionsTrigger[] On { get; set; } = new GitHubActionsTrigger[0];\n public string[] OnPushBranches { get; set; } = new string[0];\n public string[] OnPushBranchesIgnore { get; set; } = new string[0];\n public string[] OnPushTags { get; set; } = new string[0];\n public string[] OnPushTagsIgnore { get; set; } = new string[0];" } } }, @@ -133022,9 +137193,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "68f1053b42b504fddfa84dfb7518f640d677e0c31d2aa3025854af278066a44b" + "equalIndicator/v1": "1678cf65bf36d9ca8700a1c23f7d90ab72fbf44700541eb55d1079fa04e62aa0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133046,26 +137216,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 202, - "startColumn": 35, - "charOffset": 7493, - "charLength": 26, + "startLine": 50, + "startColumn": 52, + "charOffset": 1863, + "charLength": 13, "snippet": { - "text": "new AzurePipelinesStage[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 200, + "startLine": 48, "startColumn": 1, - "charOffset": 7374, - "charLength": 195, + "charOffset": 1729, + "charLength": 282, "snippet": { - "text": " DisplayName = image.GetValue(),\n Image = image,\n Dependencies = new AzurePipelinesStage[0],\n Jobs = jobs\n };" + "text": "\n public GitHubActionsTrigger[] On { get; set; } = new GitHubActionsTrigger[0];\n public string[] OnPushBranches { get; set; } = new string[0];\n public string[] OnPushBranchesIgnore { get; set; } = new string[0];\n public string[] OnPushTags { get; set; } = new string[0];" } } }, @@ -133078,9 +137248,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ecb1cab5445b4e882533401e3025efa3bf69ade81b9f362169d7180084b24e17" + "equalIndicator/v1": "d05d5ea44ee1f7ffa34b1974c5df8f13903cbc62344e45c64ef15bd40549b016" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133102,47 +137271,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.Create.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 45, - "startColumn": 38, - "charOffset": 1181, - "charLength": 11, + "startLine": 52, + "startColumn": 48, + "charOffset": 1997, + "charLength": 13, "snippet": { - "text": "new byte[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 43, + "startLine": 50, "startColumn": 1, - "charOffset": 1111, - "charLength": 143, + "charOffset": 1812, + "charLength": 337, "snippet": { - "text": "\n if (!File.Exists(path))\n File.WriteAllBytes(path, new byte[0]);\n\n File.SetLastWriteTime(path, time ?? DateTime.Now);" + "text": " public string[] OnPushBranches { get; set; } = new string[0];\n public string[] OnPushBranchesIgnore { get; set; } = new string[0];\n public string[] OnPushTags { get; set; } = new string[0];\n public string[] OnPushTagsIgnore { get; set; } = new string[0];\n public string[] OnPushIncludePaths { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f41f43f095c70dae432cf37c2a384a965938e0465bc749d29956465e377fc989" + "equalIndicator/v1": "bebd88175ac0e2a5cc5ba1136f13522ce26baad332624e508461992d77f2771b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -133158,41 +137326,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/AbsolutePath.Create.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 45, - "startColumn": 38, - "charOffset": 1181, - "charLength": 11, + "startLine": 55, + "startColumn": 56, + "charOffset": 2205, + "charLength": 13, "snippet": { - "text": "new byte[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 43, + "startLine": 53, "startColumn": 1, - "charOffset": 1111, - "charLength": 143, + "charOffset": 2012, + "charLength": 349, "snippet": { - "text": "\n if (!File.Exists(path))\n File.WriteAllBytes(path, new byte[0]);\n\n File.SetLastWriteTime(path, time ?? DateTime.Now);" + "text": " public string[] OnPushTagsIgnore { get; set; } = new string[0];\n public string[] OnPushIncludePaths { get; set; } = new string[0];\n public string[] OnPushExcludePaths { get; set; } = new string[0];\n public string[] OnPullRequestBranches { get; set; } = new string[0];\n public string[] OnPullRequestTags { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3542e0440c023ebc70019dea8320459bedb598a38f8fbeab971ad40674add9ff" + "equalIndicator/v1": "a137e2f90e518362809bd5e4ac80d63be641ed2484ffbab8200579dfdb33aafa" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133214,13 +137381,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/NukeBuild.Statics.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, - "startColumn": 91, - "charOffset": 1153, + "startLine": 53, + "startColumn": 54, + "charOffset": 2065, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133228,83 +137395,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 889, - "charLength": 285, - "snippet": { - "text": " Verbosity = ParameterService.GetParameter(() => Verbosity) ?? Verbosity.Normal;\n Host = ParameterService.GetParameter(() => Host) ?? Host.Default;\n LoadedLocalProfiles = ParameterService.GetParameter(() => LoadedLocalProfiles) ?? new string[0];\n }\n" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Build", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e55ba915b0b9553e67019f0cef4c5f533e8b46562cd8b37e94bb9ba6912f18ae" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, - { - "ruleId": "UseArrayEmptyMethod", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'Array<(Project Project, string Framework)>.Empty()'", - "markdown": "Use 'Array\\<(Project Project, string Framework)\\>.Empty()'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Components/ICompile.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 12, - "charOffset": 3501, - "charLength": 42, - "snippet": { - "text": "new (Project Project, string Framework)[0]" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, + "startLine": 51, "startColumn": 1, - "charOffset": 3414, - "charLength": 173, + "charOffset": 1878, + "charLength": 341, "snippet": { - "text": "\n IEnumerable<(Project Project, string Framework)> PublishConfigurations\n => new (Project Project, string Framework)[0];\n\n int PublishDegreeOfParallelism => 10;" + "text": " public string[] OnPushBranchesIgnore { get; set; } = new string[0];\n public string[] OnPushTags { get; set; } = new string[0];\n public string[] OnPushTagsIgnore { get; set; } = new string[0];\n public string[] OnPushIncludePaths { get; set; } = new string[0];\n public string[] OnPushExcludePaths { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Components", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5572b18ce5bdbdb7a6355de9618b474282502962cd3436cbf05df70edb4d4319" + "equalIndicator/v1": "2bb607ccd040f61c793986b28f931f30f7620fca401c045eb200881413feb0fb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133330,22 +137440,22 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, - "startColumn": 54, - "charOffset": 1783, - "charLength": 27, + "startLine": 54, + "startColumn": 56, + "charOffset": 2135, + "charLength": 13, "snippet": { - "text": "new GitHubActionsTrigger[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 52, "startColumn": 1, - "charOffset": 1649, - "charLength": 300, + "charOffset": 1950, + "charLength": 342, "snippet": { - "text": " public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public GitHubActionsTrigger[] On { get; set; } = new GitHubActionsTrigger[0];\n public string[] OnPushBranches { get; set; } = new string[0];\n public string[] OnPushBranchesIgnore { get; set; } = new string[0];" + "text": " public string[] OnPushTags { get; set; } = new string[0];\n public string[] OnPushTagsIgnore { get; set; } = new string[0];\n public string[] OnPushIncludePaths { get; set; } = new string[0];\n public string[] OnPushExcludePaths { get; set; } = new string[0];\n public string[] OnPullRequestBranches { get; set; } = new string[0];" } } }, @@ -133358,9 +137468,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a092682505586d985a5564ebd3281b19ee53cd43b7ba0c59de0d767d395ef6cf" + "equalIndicator/v1": "db87678c1e3b7f901c87908427f87dd92b55db5f021c4c182be5e9f78bdf4f6b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133386,9 +137495,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 50, - "startColumn": 52, - "charOffset": 1863, + "startLine": 56, + "startColumn": 59, + "charOffset": 2278, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133396,12 +137505,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 48, + "startLine": 54, "startColumn": 1, - "charOffset": 1729, - "charLength": 282, + "charOffset": 2080, + "charLength": 358, "snippet": { - "text": "\n public GitHubActionsTrigger[] On { get; set; } = new GitHubActionsTrigger[0];\n public string[] OnPushBranches { get; set; } = new string[0];\n public string[] OnPushBranchesIgnore { get; set; } = new string[0];\n public string[] OnPushTags { get; set; } = new string[0];" + "text": " public string[] OnPushIncludePaths { get; set; } = new string[0];\n public string[] OnPushExcludePaths { get; set; } = new string[0];\n public string[] OnPullRequestBranches { get; set; } = new string[0];\n public string[] OnPullRequestTags { get; set; } = new string[0];\n public string[] OnPullRequestIncludePaths { get; set; } = new string[0];" } } }, @@ -133414,9 +137523,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "d05d5ea44ee1f7ffa34b1974c5df8f13903cbc62344e45c64ef15bd40549b016" + "equalIndicator/v1": "e69d403da4b7c7e319ea48e2fa809af1a6aa3ce6824ac62f1e057ee2cfb1fa05" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133442,9 +137550,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 51, - "startColumn": 58, - "charOffset": 1935, + "startLine": 59, + "startColumn": 63, + "charOffset": 2501, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133452,12 +137560,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 49, + "startLine": 57, "startColumn": 1, - "charOffset": 1730, - "charLength": 349, + "charOffset": 2293, + "charLength": 390, "snippet": { - "text": " public GitHubActionsTrigger[] On { get; set; } = new GitHubActionsTrigger[0];\n public string[] OnPushBranches { get; set; } = new string[0];\n public string[] OnPushBranchesIgnore { get; set; } = new string[0];\n public string[] OnPushTags { get; set; } = new string[0];\n public string[] OnPushTagsIgnore { get; set; } = new string[0];" + "text": " public string[] OnPullRequestTags { get; set; } = new string[0];\n public string[] OnPullRequestIncludePaths { get; set; } = new string[0];\n public string[] OnPullRequestExcludePaths { get; set; } = new string[0];\n public string[] OnWorkflowDispatchOptionalInputs { get; set; } = new string[0];\n public string[] OnWorkflowDispatchRequiredInputs { get; set; } = new string[0];" } } }, @@ -133470,9 +137578,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "1678cf65bf36d9ca8700a1c23f7d90ab72fbf44700541eb55d1079fa04e62aa0" + "equalIndicator/v1": "417f744eeb2f2fda3795e703629e192c4450f12a240d17b8d229d61d51db8306" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133498,9 +137605,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 47, - "startColumn": 66, - "charOffset": 1714, + "startLine": 58, + "startColumn": 63, + "charOffset": 2424, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133508,12 +137615,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 45, + "startLine": 56, "startColumn": 1, - "charOffset": 1569, - "charLength": 242, + "charOffset": 2220, + "charLength": 379, "snippet": { - "text": "\n public override IEnumerable RelevantTargetNames => InvokedTargets;\n public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public GitHubActionsTrigger[] On { get; set; } = new GitHubActionsTrigger[0];" + "text": " public string[] OnPullRequestBranches { get; set; } = new string[0];\n public string[] OnPullRequestTags { get; set; } = new string[0];\n public string[] OnPullRequestIncludePaths { get; set; } = new string[0];\n public string[] OnPullRequestExcludePaths { get; set; } = new string[0];\n public string[] OnWorkflowDispatchOptionalInputs { get; set; } = new string[0];" } } }, @@ -133526,9 +137633,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "7642df03616a5679f45229301409da765b8282f9a7140b12e8730e1a6dd78917" + "equalIndicator/v1": "58fc88f50294fcc4245af1a350d1bce78508a9ab41329912bf1233672da05330" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133554,9 +137660,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 52, - "startColumn": 48, - "charOffset": 1997, + "startLine": 57, + "startColumn": 55, + "charOffset": 2347, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133564,12 +137670,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 50, + "startLine": 55, "startColumn": 1, - "charOffset": 1812, - "charLength": 337, + "charOffset": 2150, + "charLength": 365, "snippet": { - "text": " public string[] OnPushBranches { get; set; } = new string[0];\n public string[] OnPushBranchesIgnore { get; set; } = new string[0];\n public string[] OnPushTags { get; set; } = new string[0];\n public string[] OnPushTagsIgnore { get; set; } = new string[0];\n public string[] OnPushIncludePaths { get; set; } = new string[0];" + "text": " public string[] OnPushExcludePaths { get; set; } = new string[0];\n public string[] OnPullRequestBranches { get; set; } = new string[0];\n public string[] OnPullRequestTags { get; set; } = new string[0];\n public string[] OnPullRequestIncludePaths { get; set; } = new string[0];\n public string[] OnPullRequestExcludePaths { get; set; } = new string[0];" } } }, @@ -133582,9 +137688,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "bebd88175ac0e2a5cc5ba1136f13522ce26baad332624e508461992d77f2771b" + "equalIndicator/v1": "521a31fd463134542375277aea37f966f188c0f05db48eced33c45d3ae86d211" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133610,9 +137715,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 53, - "startColumn": 54, - "charOffset": 2065, + "startLine": 60, + "startColumn": 70, + "charOffset": 2585, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133620,12 +137725,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 51, + "startLine": 58, "startColumn": 1, - "charOffset": 1878, - "charLength": 341, + "charOffset": 2362, + "charLength": 368, "snippet": { - "text": " public string[] OnPushBranchesIgnore { get; set; } = new string[0];\n public string[] OnPushTags { get; set; } = new string[0];\n public string[] OnPushTagsIgnore { get; set; } = new string[0];\n public string[] OnPushIncludePaths { get; set; } = new string[0];\n public string[] OnPushExcludePaths { get; set; } = new string[0];" + "text": " public string[] OnPullRequestIncludePaths { get; set; } = new string[0];\n public string[] OnPullRequestExcludePaths { get; set; } = new string[0];\n public string[] OnWorkflowDispatchOptionalInputs { get; set; } = new string[0];\n public string[] OnWorkflowDispatchRequiredInputs { get; set; } = new string[0];\n public string OnCronSchedule { get; set; }" } } }, @@ -133638,9 +137743,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "2bb607ccd040f61c793986b28f931f30f7620fca401c045eb200881413feb0fb" + "equalIndicator/v1": "8e33245af958fe55268507c585dac32c186a6266fbc46fadf2f975d9081dc605" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133666,9 +137770,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 54, - "startColumn": 56, - "charOffset": 2135, + "startLine": 64, + "startColumn": 51, + "charOffset": 2782, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133676,12 +137780,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 52, + "startLine": 62, "startColumn": 1, - "charOffset": 1950, - "charLength": 342, + "charOffset": 2684, + "charLength": 264, "snippet": { - "text": " public string[] OnPushTags { get; set; } = new string[0];\n public string[] OnPushTagsIgnore { get; set; } = new string[0];\n public string[] OnPushIncludePaths { get; set; } = new string[0];\n public string[] OnPushExcludePaths { get; set; } = new string[0];\n public string[] OnPullRequestBranches { get; set; } = new string[0];" + "text": " public string OnCronSchedule { get; set; }\n\n public string[] ImportSecrets { get; set; } = new string[0];\n public bool EnableGitHubToken { get; set; }\n public GitHubActionsPermissions[] WritePermissions { get; set; } = new GitHubActionsPermissions[0];" } } }, @@ -133694,9 +137798,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "db87678c1e3b7f901c87908427f87dd92b55db5f021c4c182be5e9f78bdf4f6b" + "equalIndicator/v1": "f79c40f443ecd678d9b7627eea1e8fe18d805d6074b96f193166a4a5f339d4c5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133722,9 +137825,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 55, - "startColumn": 56, - "charOffset": 2205, + "startLine": 61, + "startColumn": 70, + "charOffset": 2669, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133732,12 +137835,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 53, + "startLine": 59, "startColumn": 1, - "charOffset": 2012, - "charLength": 349, + "charOffset": 2439, + "charLength": 292, "snippet": { - "text": " public string[] OnPushTagsIgnore { get; set; } = new string[0];\n public string[] OnPushIncludePaths { get; set; } = new string[0];\n public string[] OnPushExcludePaths { get; set; } = new string[0];\n public string[] OnPullRequestBranches { get; set; } = new string[0];\n public string[] OnPullRequestTags { get; set; } = new string[0];" + "text": " public string[] OnPullRequestExcludePaths { get; set; } = new string[0];\n public string[] OnWorkflowDispatchOptionalInputs { get; set; } = new string[0];\n public string[] OnWorkflowDispatchRequiredInputs { get; set; } = new string[0];\n public string OnCronSchedule { get; set; }\n" } } }, @@ -133750,9 +137853,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a137e2f90e518362809bd5e4ac80d63be641ed2484ffbab8200579dfdb33aafa" + "equalIndicator/v1": "3714b6359170cd1c0d632afbcd481b9578a5cf74052e1e1fb99afa030753d81b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133778,22 +137880,22 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 55, - "charOffset": 2347, - "charLength": 13, + "startLine": 66, + "startColumn": 72, + "charOffset": 2916, + "charLength": 31, "snippet": { - "text": "new string[0]" + "text": "new GitHubActionsPermissions[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 64, "startColumn": 1, - "charOffset": 2150, - "charLength": 365, + "charOffset": 2732, + "charLength": 320, "snippet": { - "text": " public string[] OnPushExcludePaths { get; set; } = new string[0];\n public string[] OnPullRequestBranches { get; set; } = new string[0];\n public string[] OnPullRequestTags { get; set; } = new string[0];\n public string[] OnPullRequestIncludePaths { get; set; } = new string[0];\n public string[] OnPullRequestExcludePaths { get; set; } = new string[0];" + "text": " public string[] ImportSecrets { get; set; } = new string[0];\n public bool EnableGitHubToken { get; set; }\n public GitHubActionsPermissions[] WritePermissions { get; set; } = new GitHubActionsPermissions[0];\n public GitHubActionsPermissions[] ReadPermissions { get; set; } = new GitHubActionsPermissions[0];\n" } } }, @@ -133806,9 +137908,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "521a31fd463134542375277aea37f966f188c0f05db48eced33c45d3ae86d211" + "equalIndicator/v1": "fe0713418cf538e8b135bfe992b8cf9c65975a23a2882447c7b9c4bf750a3cf8" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133834,22 +137935,22 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 58, - "startColumn": 63, - "charOffset": 2424, - "charLength": 13, + "startLine": 67, + "startColumn": 71, + "charOffset": 3019, + "charLength": 31, "snippet": { - "text": "new string[0]" + "text": "new GitHubActionsPermissions[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 56, + "startLine": 65, "startColumn": 1, - "charOffset": 2220, - "charLength": 379, + "charOffset": 2797, + "charLength": 351, "snippet": { - "text": " public string[] OnPullRequestBranches { get; set; } = new string[0];\n public string[] OnPullRequestTags { get; set; } = new string[0];\n public string[] OnPullRequestIncludePaths { get; set; } = new string[0];\n public string[] OnPullRequestExcludePaths { get; set; } = new string[0];\n public string[] OnWorkflowDispatchOptionalInputs { get; set; } = new string[0];" + "text": " public bool EnableGitHubToken { get; set; }\n public GitHubActionsPermissions[] WritePermissions { get; set; } = new GitHubActionsPermissions[0];\n public GitHubActionsPermissions[] ReadPermissions { get; set; } = new GitHubActionsPermissions[0];\n\n public string[] CacheIncludePatterns { get; set; } = { \".nuke/temp\", \"~/.nuget/packages\" };" } } }, @@ -133862,9 +137963,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "58fc88f50294fcc4245af1a350d1bce78508a9ab41329912bf1233672da05330" + "equalIndicator/v1": "c64475d3fecefa509afda6893cbb144747ac7654e8bc06e368d082c3df7fcfc1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133890,9 +137990,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, - "startColumn": 63, - "charOffset": 2501, + "startLine": 70, + "startColumn": 58, + "charOffset": 3206, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133900,12 +138000,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 68, "startColumn": 1, - "charOffset": 2293, - "charLength": 390, + "charOffset": 3052, + "charLength": 287, "snippet": { - "text": " public string[] OnPullRequestTags { get; set; } = new string[0];\n public string[] OnPullRequestIncludePaths { get; set; } = new string[0];\n public string[] OnPullRequestExcludePaths { get; set; } = new string[0];\n public string[] OnWorkflowDispatchOptionalInputs { get; set; } = new string[0];\n public string[] OnWorkflowDispatchRequiredInputs { get; set; } = new string[0];" + "text": "\n public string[] CacheIncludePatterns { get; set; } = { \".nuke/temp\", \"~/.nuget/packages\" };\n public string[] CacheExcludePatterns { get; set; } = new string[0];\n public string[] CacheKeyFiles { get; set; } = { \"**/global.json\", \"**/*.csproj\", \"**/Directory.Packages.props\" };\n" } } }, @@ -133918,9 +138018,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "417f744eeb2f2fda3795e703629e192c4450f12a240d17b8d229d61d51db8306" + "equalIndicator/v1": "9f21d43fc218144513503ec55069a0af443b56f4e789c34eb56ce58a94d83715" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -133946,9 +138045,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 60, - "startColumn": 70, - "charOffset": 2585, + "startLine": 81, + "startColumn": 52, + "charOffset": 3655, "charLength": 13, "snippet": { "text": "new string[0]" @@ -133956,12 +138055,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 58, + "startLine": 79, "startColumn": 1, - "charOffset": 2362, - "charLength": 368, + "charOffset": 3542, + "charLength": 174, "snippet": { - "text": " public string[] OnPullRequestIncludePaths { get; set; } = new string[0];\n public string[] OnPullRequestExcludePaths { get; set; } = new string[0];\n public string[] OnWorkflowDispatchOptionalInputs { get; set; } = new string[0];\n public string[] OnWorkflowDispatchRequiredInputs { get; set; } = new string[0];\n public string OnCronSchedule { get; set; }" + "text": " public bool JobConcurrencyCancelInProgress { get; set; }\n\n public string[] InvokedTargets { get; set; } = new string[0];\n\n public GitHubActionsSubmodules Submodules" } } }, @@ -133974,9 +138073,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "8e33245af958fe55268507c585dac32c186a6266fbc46fadf2f975d9081dc605" + "equalIndicator/v1": "a2c269ca0854a57fef8bfba25d823e65fdd0cf285487be0d04866681fb31aab2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134002,9 +138100,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 56, - "startColumn": 59, - "charOffset": 2278, + "startLine": 235, + "startColumn": 47, + "charOffset": 10224, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134012,12 +138110,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 233, "startColumn": 1, - "charOffset": 2080, - "charLength": 358, + "charOffset": 10045, + "charLength": 305, "snippet": { - "text": " public string[] OnPushIncludePaths { get; set; } = new string[0];\n public string[] OnPushExcludePaths { get; set; } = new string[0];\n public string[] OnPullRequestBranches { get; set; } = new string[0];\n public string[] OnPullRequestTags { get; set; } = new string[0];\n public string[] OnPullRequestIncludePaths { get; set; } = new string[0];" + "text": " Kind = GitHubActionsTrigger.PullRequest,\n Branches = OnPullRequestBranches,\n BranchesIgnore = new string[0],\n Tags = OnPullRequestTags,\n TagsIgnore = new string[0]," } } }, @@ -134030,9 +138128,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e69d403da4b7c7e319ea48e2fa809af1a6aa3ce6824ac62f1e057ee2cfb1fa05" + "equalIndicator/v1": "25e631f920669b888b27c9738419c7d3c3de95e1049507a8ea8b916439f069ef" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134058,9 +138155,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 61, - "startColumn": 70, - "charOffset": 2669, + "startLine": 237, + "startColumn": 43, + "charOffset": 10336, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134068,12 +138165,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 59, + "startLine": 235, "startColumn": 1, - "charOffset": 2439, - "charLength": 292, + "charOffset": 10178, + "charLength": 313, "snippet": { - "text": " public string[] OnPullRequestExcludePaths { get; set; } = new string[0];\n public string[] OnWorkflowDispatchOptionalInputs { get; set; } = new string[0];\n public string[] OnWorkflowDispatchRequiredInputs { get; set; } = new string[0];\n public string OnCronSchedule { get; set; }\n" + "text": " BranchesIgnore = new string[0],\n Tags = OnPullRequestTags,\n TagsIgnore = new string[0],\n IncludePaths = OnPullRequestIncludePaths,\n ExcludePaths = OnPullRequestExcludePaths" } } }, @@ -134086,9 +138183,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "3714b6359170cd1c0d632afbcd481b9578a5cf74052e1e1fb99afa030753d81b" + "equalIndicator/v1": "37ca66314eb1253d3eca7bd570029cce8298ee16436611412ec75e664a0e8f48" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134110,13 +138206,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Common/CI/SpaceAutomation/SpaceAutomationAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 64, - "startColumn": 51, - "charOffset": 2782, + "startLine": 39, + "startColumn": 66, + "charOffset": 1247, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134124,12 +138220,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 62, + "startLine": 37, "startColumn": 1, - "charOffset": 2684, - "charLength": 264, + "charOffset": 1102, + "charLength": 203, "snippet": { - "text": " public string OnCronSchedule { get; set; }\n\n public string[] ImportSecrets { get; set; } = new string[0];\n public bool EnableGitHubToken { get; set; }\n public GitHubActionsPermissions[] WritePermissions { get; set; } = new GitHubActionsPermissions[0];" + "text": "\n public override IEnumerable RelevantTargetNames => InvokedTargets;\n public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public string VolumeSize { get; set; }" } } }, @@ -134142,9 +138238,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "f79c40f443ecd678d9b7627eea1e8fe18d805d6074b96f193166a4a5f339d4c5" + "equalIndicator/v1": "53bdc8a4ba450aba973eb48186b06e807b6b04757a0f4f3fd5e2619083b4f59b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134166,26 +138261,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Common/CI/SpaceAutomation/SpaceAutomationAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, - "startColumn": 71, - "charOffset": 3019, - "charLength": 31, + "startLine": 52, + "startColumn": 52, + "charOffset": 1654, + "charLength": 13, "snippet": { - "text": "new GitHubActionsPermissions[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 50, "startColumn": 1, - "charOffset": 2797, - "charLength": 351, + "charOffset": 1596, + "charLength": 96, "snippet": { - "text": " public bool EnableGitHubToken { get; set; }\n public GitHubActionsPermissions[] WritePermissions { get; set; } = new GitHubActionsPermissions[0];\n public GitHubActionsPermissions[] ReadPermissions { get; set; } = new GitHubActionsPermissions[0];\n\n public string[] CacheIncludePatterns { get; set; } = { \".nuke/temp\", \"~/.nuget/packages\" };" + "text": " }\n\n public string[] InvokedTargets { get; set; } = new string[0];\n\n public bool OnPush" } } }, @@ -134198,9 +138293,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c64475d3fecefa509afda6893cbb144747ac7654e8bc06e368d082c3df7fcfc1" + "equalIndicator/v1": "5067a0d271e657a18c09029282841fcc1473c29887a0549e800e79ac9f0b2380" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134222,13 +138316,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Common/CI/SpaceAutomation/SpaceAutomationAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 70, - "startColumn": 58, - "charOffset": 3206, + "startLine": 68, + "startColumn": 51, + "charOffset": 2222, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134236,12 +138330,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 68, + "startLine": 66, "startColumn": 1, - "charOffset": 3052, - "charLength": 287, + "charOffset": 2124, + "charLength": 145, "snippet": { - "text": "\n public string[] CacheIncludePatterns { get; set; } = { \".nuke/temp\", \"~/.nuget/packages\" };\n public string[] CacheExcludePatterns { get; set; } = new string[0];\n public string[] CacheKeyFiles { get; set; } = { \"**/global.json\", \"**/*.csproj\", \"**/Directory.Packages.props\" };\n" + "text": "\n public string OnCronSchedule { get; set; }\n public string[] ImportSecrets { get; set; } = new string[0];\n\n public int TimeoutInMinutes" } } }, @@ -134254,9 +138348,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "9f21d43fc218144513503ec55069a0af443b56f4e789c34eb56ce58a94d83715" + "equalIndicator/v1": "87242842221f8690f5c031ff24eed7616f2f3587c7dd933b3bc46870a0251efd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134278,26 +138371,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCity.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 66, - "startColumn": 72, - "charOffset": 2916, - "charLength": 31, + "startLine": 91, + "startColumn": 19, + "charOffset": 3309, + "charLength": 13, "snippet": { - "text": "new GitHubActionsPermissions[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 64, + "startLine": 89, "startColumn": 1, - "charOffset": 2732, - "charLength": 320, + "charOffset": 3167, + "charLength": 174, "snippet": { - "text": " public string[] ImportSecrets { get; set; } = new string[0];\n public bool EnableGitHubToken { get; set; }\n public GitHubActionsPermissions[] WritePermissions { get; set; } = new GitHubActionsPermissions[0];\n public GitHubActionsPermissions[] ReadPermissions { get; set; } = new GitHubActionsPermissions[0];\n" + "text": " return file.FileExists()\n ? file.ReadAllLines().ToImmutableList() as IReadOnlyCollection\n : new string[0];\n });\n }" } } }, @@ -134310,9 +138403,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "fe0713418cf538e8b135bfe992b8cf9c65975a23a2882447c7b9c4bf750a3cf8" + "equalIndicator/v1": "8b592b013880460456a02993e1411bdd735a3f6527505cba542d7451248bb13f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134334,13 +138426,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 81, - "startColumn": 52, - "charOffset": 3655, + "startLine": 43, + "startColumn": 61, + "charOffset": 1541, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134348,12 +138440,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 79, + "startLine": 41, "startColumn": 1, - "charOffset": 3542, - "charLength": 174, + "charOffset": 1419, + "charLength": 271, "snippet": { - "text": " public bool JobConcurrencyCancelInProgress { get; set; }\n\n public string[] InvokedTargets { get; set; } = new string[0];\n\n public GitHubActionsSubmodules Submodules" + "text": " public bool CleanCheckoutDirectory { get; set; } = true;\n\n public string[] VcsTriggerBranchFilters { get; set; } = new string[0];\n public string[] VcsTriggerRules { get; set; } = { \"+:**\" };\n public string[] VcsTriggeredTargets { get; set; } = new string[0];" } } }, @@ -134366,9 +138458,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "a2c269ca0854a57fef8bfba25d823e65fdd0cf285487be0d04866681fb31aab2" + "equalIndicator/v1": "604efe7dea0c8e9c3157d0a044ed9bed21a7aef1c8307326c60a11e2a7a7d20f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134390,13 +138481,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 235, - "startColumn": 47, - "charOffset": 10224, + "startLine": 33, + "startColumn": 64, + "charOffset": 1186, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134404,12 +138495,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 233, + "startLine": 31, "startColumn": 1, - "charOffset": 10045, - "charLength": 305, + "charOffset": 1055, + "charLength": 222, "snippet": { - "text": " Kind = GitHubActionsTrigger.PullRequest,\n Branches = OnPullRequestBranches,\n BranchesIgnore = new string[0],\n Tags = OnPullRequestTags,\n TagsIgnore = new string[0]," + "text": " private AbsolutePath PomFile => TeamcityDirectory / \"pom.xml\";\n\n public override IEnumerable RelevantTargetNames => new string[0]\n .Concat(VcsTriggeredTargets)\n .Concat(NightlyTriggeredTargets)" } } }, @@ -134422,9 +138513,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "25e631f920669b888b27c9738419c7d3c3de95e1049507a8ea8b916439f069ef" + "equalIndicator/v1": "1d84b17a8dc07fc002bfe0c8b47fd3ae530b632fc34ef2aa30d8a2e24d44d88b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134446,13 +138536,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 237, - "startColumn": 43, - "charOffset": 10336, + "startLine": 45, + "startColumn": 57, + "charOffset": 1676, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134460,12 +138550,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 235, + "startLine": 43, "startColumn": 1, - "charOffset": 10178, - "charLength": 313, + "charOffset": 1481, + "charLength": 267, "snippet": { - "text": " BranchesIgnore = new string[0],\n Tags = OnPullRequestTags,\n TagsIgnore = new string[0],\n IncludePaths = OnPullRequestIncludePaths,\n ExcludePaths = OnPullRequestExcludePaths" + "text": " public string[] VcsTriggerBranchFilters { get; set; } = new string[0];\n public string[] VcsTriggerRules { get; set; } = { \"+:**\" };\n public string[] VcsTriggeredTargets { get; set; } = new string[0];\n\n public bool NightlyBuildAlways { get; set; } = true;" } } }, @@ -134478,9 +138568,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "37ca66314eb1253d3eca7bd570029cce8298ee16436611412ec75e664a0e8f48" + "equalIndicator/v1": "d4660211deec39bbb7058a77f14443ac846d136c3e5e99f3bad721ed3f5d7c5a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134502,13 +138591,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/Reflection/ReflectionUtilityTest.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 85, - "startColumn": 35, - "charOffset": 2796, + "startLine": 50, + "startColumn": 61, + "charOffset": 1956, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134516,27 +138605,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 83, + "startLine": 48, "startColumn": 1, - "charOffset": 2712, - "charLength": 198, + "charOffset": 1749, + "charLength": 298, "snippet": { - "text": " public void TestConversionCollections()\n {\n ReflectionUtility.Convert(new string[0], typeof(string[]))\n .Should().BeOfType().Which\n .Should().BeEmpty();" + "text": " public string[] NightlyTriggerBranchFilters { get; set; } = new string[0];\n public string[] NightlyTriggerRules { get; set; } = { \"+:**\" };\n public string[] NightlyTriggeredTargets { get; set; } = new string[0];\n\n public string[] ManuallyTriggeredTargets { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1ff39f2c8c8548104f97f2df46cfb32216808ee137cd44f78331af23435421d0" + "equalIndicator/v1": "fc2d34d88356f65ff6bc7c123a7d56ff1636bbc099d4faa9fb40ab4ddcc4a2ae" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134551,48 +138639,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Use 'Array<(string PackageId, string Version)>.Empty()'", - "markdown": "Use 'Array\\<(string PackageId, string Version)\\>.Empty()'" + "text": "Use 'Array.Empty()'", + "markdown": "Use 'Array.Empty()'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Components/IReportIssues.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 43, - "startColumn": 75, - "charOffset": 1347, - "charLength": 41, + "startLine": 48, + "startColumn": 65, + "charOffset": 1813, + "charLength": 13, "snippet": { - "text": "new (string PackageId, string Version)[0]" + "text": "new string[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 41, + "startLine": 46, "startColumn": 1, - "charOffset": 1260, - "charLength": 215, + "charOffset": 1691, + "charLength": 279, "snippet": { - "text": " });\n\n IEnumerable<(string PackageId, string Version)> InspectCodePlugins => new (string PackageId, string Version)[0];\n\n sealed Configure InspectCodeSettingsBase => _ => _" + "text": "\n public bool NightlyBuildAlways { get; set; } = true;\n public string[] NightlyTriggerBranchFilters { get; set; } = new string[0];\n public string[] NightlyTriggerRules { get; set; } = { \"+:**\" };\n public string[] NightlyTriggeredTargets { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Components", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7861ae53c681c06c9e63a5ad1c7055a2d179f33e79c99e8f93cc29e03029a553" + "equalIndicator/v1": "53f9e9e2087d443f5be761154f7196eff9ea62de93ad414277ba0f44906f97ec" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134614,13 +138701,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Components/IReportIssues.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 58, - "startColumn": 52, - "charOffset": 2001, + "startLine": 52, + "startColumn": 62, + "charOffset": 2033, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134628,27 +138715,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 56, + "startLine": 50, "startColumn": 1, - "charOffset": 1858, - "charLength": 228, + "charOffset": 1896, + "charLength": 217, "snippet": { - "text": " bool InspectCodeReportIssueSummary => true;\n bool InspectCodeReportWarnings => true;\n IEnumerable InspectCodeFailOnIssues => new string[0];\n IEnumerable InspectCodeFailOnCategories => new string[0];\n" + "text": " public string[] NightlyTriggeredTargets { get; set; } = new string[0];\n\n public string[] ManuallyTriggeredTargets { get; set; } = new string[0];\n\n public string[] ImportSecrets { get; set; } = new string[0];" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Components", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b3c5c8c3dc268cee7203cc9c70ced68239f2f844bfdb0cb6d5040c33677dbf4d" + "equalIndicator/v1": "556a46f4187ee49db8c965031e5ee3c2aa6e2084f896a5f278c0107d41d70d1c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134670,13 +138756,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Components/IReportIssues.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, - "startColumn": 56, - "charOffset": 2071, + "startLine": 54, + "startColumn": 51, + "charOffset": 2099, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134684,27 +138770,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 52, "startColumn": 1, - "charOffset": 1906, - "charLength": 215, + "charOffset": 1972, + "charLength": 193, "snippet": { - "text": " bool InspectCodeReportWarnings => true;\n IEnumerable InspectCodeFailOnIssues => new string[0];\n IEnumerable InspectCodeFailOnCategories => new string[0];\n\n void InspectCodeCheckResults()" + "text": " public string[] ManuallyTriggeredTargets { get; set; } = new string[0];\n\n public string[] ImportSecrets { get; set; } = new string[0];\n\n protected override StreamWriter CreateStream()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Components", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3df1a5487172a8bc472eab99034497c3f1ecc12914484de885e58f9aadbec3e1" + "equalIndicator/v1": "eb2e422dfac66826b5d4abd76aa2afe5a8c296ae3b748e68ee375388a8042879" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134726,41 +138811,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/FormattingRewriter.cs", + "uri": "source/Nuke.Common.Tests/CITest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 61, - "startColumn": 57, - "charOffset": 2441, - "charLength": 19, + "startLine": 117, + "startColumn": 81, + "charOffset": 3906, + "charLength": 13, "snippet": { - "text": "new SyntaxTrivia[0]" + "text": "new object[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 59, + "startLine": 115, "startColumn": 1, - "charOffset": 2281, - "charLength": 210, + "charOffset": 3679, + "charLength": 286, "snippet": { - "text": " .WithModifiers(TokenList(node\n .Modifiers.Select((x, i) => x\n .WithLeadingTrivia(i == 0 ? new SyntaxTrivia[0] : new[] { Space })))));\n }\n" + "text": " {\n var bindingFlags = BindingFlags.CreateInstance | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.OptionalParamBinding;\n return Activator.CreateInstance(type, bindingFlags, binder: null, args: new object[0], culture: CultureInfo.CurrentCulture);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "93ddefc2804721520341c25c61e4f3b78d728e15848aa397258234cb6922ad64" + "equalIndicator/v1": "8d79a10239627b101a5ae13dfbf4950a655a6a219064916c5a50a326c87c054b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134782,13 +138866,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ToolInvocationRewriter.cs", + "uri": "source/Nuke.Build/CICD/ChainedConfigurationAttributeBase.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 87, - "startColumn": 42, - "charOffset": 4040, + "startLine": 20, + "startColumn": 53, + "charOffset": 655, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134796,27 +138880,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 85, + "startLine": 18, "startColumn": 1, - "charOffset": 3927, - "charLength": 195, + "charOffset": 535, + "charLength": 287, "snippet": { - "text": " Original = original;\n Replacement = replacement;\n Positionals = positionals ?? new string[0];\n Renames = renames ?? new Dictionary();\n" + "text": "\n public string[] NonEntryTargets { get; set; } = new string[0];\n public string[] ExcludedTargets { get; set; } = new string[0];\n\n protected IEnumerable GetInvokedTargets(ExecutableTarget executableTarget, IReadOnlyCollection relevantTargets)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c830d728e6958fd6528047ff5e964c2c167d40c1808e485c5ab6f6352478e7b2" + "equalIndicator/v1": "ca7f8afd1bd37716f0d87326d04da9d0301ef0990e37b60f0cb0fd1f94e13e19" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134872,7 +138955,6 @@ "partialFingerprints": { "equalIndicator/v1": "9d7ea229eff1a43db3f7479cd0c2e66fab1190820bdbaf361fdfd4d8ed8b1357" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134894,13 +138976,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/CICD/ChainedConfigurationAttributeBase.cs", + "uri": "source/Nuke.Build/Execution/BuildExecutor.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 53, - "charOffset": 655, + "startLine": 72, + "startColumn": 24, + "charOffset": 2801, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134908,12 +138990,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 70, "startColumn": 1, - "charOffset": 535, - "charLength": 287, + "charOffset": 2705, + "charLength": 176, "snippet": { - "text": "\n public string[] NonEntryTargets { get; set; } = new string[0];\n public string[] ExcludedTargets { get; set; } = new string[0];\n\n protected IEnumerable GetInvokedTargets(ExecutableTarget executableTarget, IReadOnlyCollection relevantTargets)" + "text": " {\n if (!build.Continue || !BuildAttemptFile.Exists())\n return new string[0];\n\n var previousBuild = BuildAttemptFile.ReadAllLines();" } } }, @@ -134926,9 +139008,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ca7f8afd1bd37716f0d87326d04da9d0301ef0990e37b60f0cb0fd1f94e13e19" + "equalIndicator/v1": "5f32f6205c98533c691777612a74fb12c7e951d4273cc1946f35bcc7d9e393bf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -134950,13 +139031,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.cs", + "uri": "source/Nuke.Build/Execution/BuildExecutor.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 93, - "startColumn": 25, - "charOffset": 3586, + "startLine": 78, + "startColumn": 24, + "charOffset": 3058, "charLength": 13, "snippet": { "text": "new string[0]" @@ -134964,27 +139045,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 91, + "startLine": 76, "startColumn": 1, - "charOffset": 3456, - "charLength": 209, + "charOffset": 2948, + "charLength": 139, "snippet": { - "text": "\n return PromptForConfirmation($\"Could not find {missingItem}. Do you want to setup a build?\")\n ? Setup(new string[0], rootDirectory, buildScript: null)\n : 0;\n }" + "text": " {\n Log.Warning(\"Build invocation changed. Restarting ...\");\n return new string[0];\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d208759d779aad83e46f2627a74f2ef44729ec833f71b043b4cdefbbbf8a62cf" + "equalIndicator/v1": "6f3ebc4c9a40135666e3798b4062825e85b09a4272d05b74a6f6d67e27c55114" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135006,13 +139086,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelines.cs", + "uri": "source/Nuke.Build/NukeBuild.Statics.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 238, - "startColumn": 16, - "charOffset": 11153, + "startLine": 34, + "startColumn": 91, + "charOffset": 1153, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135020,27 +139100,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 236, + "startLine": 32, "startColumn": 1, - "charOffset": 10995, - "charLength": 221, + "charOffset": 889, + "charLength": 285, "snippet": { - "text": " .Invoke(new Dictionary())\n .Select(x => $\"{x.Key}={EscapeValue(x.Value.ToString())}\").ToArray()\n ?? new string[0];\n\n Write(command, escapedTokens, message);" + "text": " Verbosity = ParameterService.GetParameter(() => Verbosity) ?? Verbosity.Normal;\n Host = ParameterService.GetParameter(() => Host) ?? Host.Default;\n LoadedLocalProfiles = ParameterService.GetParameter(() => LoadedLocalProfiles) ?? new string[0];\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e3d21c05315cc33eb35862f14cc766f8098386ad7b83261ab5d8d3c0b598e7b3" + "equalIndicator/v1": "e55ba915b0b9553e67019f0cef4c5f533e8b46562cd8b37e94bb9ba6912f18ae" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135062,26 +139141,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/ArgumentParser.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.Create.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 131, - "startColumn": 67, - "charOffset": 4323, - "charLength": 13, + "startLine": 45, + "startColumn": 38, + "charOffset": 1181, + "charLength": 11, "snippet": { - "text": "new string[0]" + "text": "new byte[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 129, + "startLine": 43, "startColumn": 1, - "charOffset": 4043, - "charLength": 316, + "charOffset": 1111, + "charLength": 143, "snippet": { - "text": " $\"Argumenet '{argumentName}' with value [ {values.JoinCommaSpace()} ] cannot be split with separator '{separator}'\");\n values = separator.HasValue && values.Any(x => x.Contains(separator.Value))\n ? values.SingleOrDefault()?.Split(separator.Value) ?? new string[0]\n : values;\n" + "text": "\n if (!File.Exists(path))\n File.WriteAllBytes(path, new byte[0]);\n\n File.SetLastWriteTime(path, time ?? DateTime.Now);" } } }, @@ -135094,15 +139173,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "5b9a5ebb4c055943202cd9d8d880458a515a6d5bf9e138128ec7eb10b0f4e401" + "equalIndicator/v1": "3542e0440c023ebc70019dea8320459bedb598a38f8fbeab971ad40674add9ff" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -135118,26 +139196,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/ArgumentParser.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.Create.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 131, - "startColumn": 67, - "charOffset": 4323, - "charLength": 13, + "startLine": 45, + "startColumn": 38, + "charOffset": 1181, + "charLength": 11, "snippet": { - "text": "new string[0]" + "text": "new byte[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 129, + "startLine": 43, "startColumn": 1, - "charOffset": 4043, - "charLength": 316, + "charOffset": 1111, + "charLength": 143, "snippet": { - "text": " $\"Argumenet '{argumentName}' with value [ {values.JoinCommaSpace()} ] cannot be split with separator '{separator}'\");\n values = separator.HasValue && values.Any(x => x.Contains(separator.Value))\n ? values.SingleOrDefault()?.Split(separator.Value) ?? new string[0]\n : values;\n" + "text": "\n if (!File.Exists(path))\n File.WriteAllBytes(path, new byte[0]);\n\n File.SetLastWriteTime(path, time ?? DateTime.Now);" } } }, @@ -135150,15 +139228,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "97ee346a039a56b1fd3967e649a8e5289c45ef8afad245837a17db7b22cf4ab5" + "equalIndicator/v1": "f41f43f095c70dae432cf37c2a384a965938e0465bc749d29956465e377fc989" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -135174,41 +139251,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.Hash.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 33, - "startColumn": 64, - "charOffset": 1186, - "charLength": 13, + "startLine": 67, + "startColumn": 33, + "charOffset": 2346, + "charLength": 11, "snippet": { - "text": "new string[0]" + "text": "new byte[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 31, + "startLine": 65, "startColumn": 1, - "charOffset": 1055, - "charLength": 222, + "charOffset": 2303, + "charLength": 163, "snippet": { - "text": " private AbsolutePath PomFile => TeamcityDirectory / \"pom.xml\";\n\n public override IEnumerable RelevantTargetNames => new string[0]\n .Concat(VcsTriggeredTargets)\n .Concat(NightlyTriggeredTargets)" + "text": " }\n\n md5.TransformFinalBlock(new byte[0], inputOffset: 0, inputCount: 0);\n\n return BitConverter.ToString(md5.Hash).Replace(\"-\", \"\").ToLower();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1d84b17a8dc07fc002bfe0c8b47fd3ae530b632fc34ef2aa30d8a2e24d44d88b" + "equalIndicator/v1": "972e2513639c840058805350ef3c83bd383de0f13d66589bb93c08307ca10499" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135230,47 +139306,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Utilities/IO/AbsolutePath.Hash.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 43, - "startColumn": 61, - "charOffset": 1541, - "charLength": 13, + "startLine": 67, + "startColumn": 33, + "charOffset": 2346, + "charLength": 11, "snippet": { - "text": "new string[0]" + "text": "new byte[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 41, + "startLine": 65, "startColumn": 1, - "charOffset": 1419, - "charLength": 271, + "charOffset": 2303, + "charLength": 163, "snippet": { - "text": " public bool CleanCheckoutDirectory { get; set; } = true;\n\n public string[] VcsTriggerBranchFilters { get; set; } = new string[0];\n public string[] VcsTriggerRules { get; set; } = { \"+:**\" };\n public string[] VcsTriggeredTargets { get; set; } = new string[0];" + "text": " }\n\n md5.TransformFinalBlock(new byte[0], inputOffset: 0, inputCount: 0);\n\n return BitConverter.ToString(md5.Hash).Replace(\"-\", \"\").ToLower();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "604efe7dea0c8e9c3157d0a044ed9bed21a7aef1c8307326c60a11e2a7a7d20f" + "equalIndicator/v1": "83fe3fcbfad3c2bb4fbaba7321fa144fd02fee809dfd0f0761860336b089c87a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -135286,13 +139361,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Utilities/ArgumentParser.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 45, - "startColumn": 57, - "charOffset": 1676, + "startLine": 131, + "startColumn": 67, + "charOffset": 4323, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135300,27 +139375,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 43, + "startLine": 129, "startColumn": 1, - "charOffset": 1481, - "charLength": 267, + "charOffset": 4043, + "charLength": 316, "snippet": { - "text": " public string[] VcsTriggerBranchFilters { get; set; } = new string[0];\n public string[] VcsTriggerRules { get; set; } = { \"+:**\" };\n public string[] VcsTriggeredTargets { get; set; } = new string[0];\n\n public bool NightlyBuildAlways { get; set; } = true;" + "text": " $\"Argumenet '{argumentName}' with value [ {values.JoinCommaSpace()} ] cannot be split with separator '{separator}'\");\n values = separator.HasValue && values.Any(x => x.Contains(separator.Value))\n ? values.SingleOrDefault()?.Split(separator.Value) ?? new string[0]\n : values;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d4660211deec39bbb7058a77f14443ac846d136c3e5e99f3bad721ed3f5d7c5a" + "equalIndicator/v1": "97ee346a039a56b1fd3967e649a8e5289c45ef8afad245837a17db7b22cf4ab5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135342,13 +139416,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Utilities/ArgumentParser.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 48, - "startColumn": 65, - "charOffset": 1813, + "startLine": 131, + "startColumn": 67, + "charOffset": 4323, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135356,33 +139430,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 46, + "startLine": 129, "startColumn": 1, - "charOffset": 1691, - "charLength": 279, + "charOffset": 4043, + "charLength": 316, "snippet": { - "text": "\n public bool NightlyBuildAlways { get; set; } = true;\n public string[] NightlyTriggerBranchFilters { get; set; } = new string[0];\n public string[] NightlyTriggerRules { get; set; } = { \"+:**\" };\n public string[] NightlyTriggeredTargets { get; set; } = new string[0];" + "text": " $\"Argumenet '{argumentName}' with value [ {values.JoinCommaSpace()} ] cannot be split with separator '{separator}'\");\n values = separator.HasValue && values.Any(x => x.Contains(separator.Value))\n ? values.SingleOrDefault()?.Split(separator.Value) ?? new string[0]\n : values;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "53f9e9e2087d443f5be761154f7196eff9ea62de93ad414277ba0f44906f97ec" + "equalIndicator/v1": "5b9a5ebb4c055943202cd9d8d880458a515a6d5bf9e138128ec7eb10b0f4e401" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -135391,48 +139464,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Use 'Array<(Project Project, string Framework)>.Empty()'", + "markdown": "Use 'Array\\<(Project Project, string Framework)\\>.Empty()'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Components/ICompile.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 50, - "startColumn": 61, - "charOffset": 1956, - "charLength": 13, + "startLine": 83, + "startColumn": 12, + "charOffset": 3501, + "charLength": 42, "snippet": { - "text": "new string[0]" + "text": "new (Project Project, string Framework)[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 48, + "startLine": 81, "startColumn": 1, - "charOffset": 1749, - "charLength": 298, + "charOffset": 3414, + "charLength": 173, "snippet": { - "text": " public string[] NightlyTriggerBranchFilters { get; set; } = new string[0];\n public string[] NightlyTriggerRules { get; set; } = { \"+:**\" };\n public string[] NightlyTriggeredTargets { get; set; } = new string[0];\n\n public string[] ManuallyTriggeredTargets { get; set; } = new string[0];" + "text": "\n IEnumerable<(Project Project, string Framework)> PublishConfigurations\n => new (Project Project, string Framework)[0];\n\n int PublishDegreeOfParallelism => 10;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Components", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fc2d34d88356f65ff6bc7c123a7d56ff1636bbc099d4faa9fb40ab4ddcc4a2ae" + "equalIndicator/v1": "5572b18ce5bdbdb7a6355de9618b474282502962cd3436cbf05df70edb4d4319" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135447,48 +139519,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Use 'Array<(string PackageId, string Version)>.Empty()'", + "markdown": "Use 'Array\\<(string PackageId, string Version)\\>.Empty()'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Components/IReportIssues.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 52, - "startColumn": 62, - "charOffset": 2033, - "charLength": 13, + "startLine": 43, + "startColumn": 75, + "charOffset": 1347, + "charLength": 41, "snippet": { - "text": "new string[0]" + "text": "new (string PackageId, string Version)[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 50, + "startLine": 41, "startColumn": 1, - "charOffset": 1896, - "charLength": 217, + "charOffset": 1260, + "charLength": 215, "snippet": { - "text": " public string[] NightlyTriggeredTargets { get; set; } = new string[0];\n\n public string[] ManuallyTriggeredTargets { get; set; } = new string[0];\n\n public string[] ImportSecrets { get; set; } = new string[0];" + "text": " });\n\n IEnumerable<(string PackageId, string Version)> InspectCodePlugins => new (string PackageId, string Version)[0];\n\n sealed Configure InspectCodeSettingsBase => _ => _" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Components", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "556a46f4187ee49db8c965031e5ee3c2aa6e2084f896a5f278c0107d41d70d1c" + "equalIndicator/v1": "7861ae53c681c06c9e63a5ad1c7055a2d179f33e79c99e8f93cc29e03029a553" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135510,13 +139581,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Components/IReportIssues.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 54, - "startColumn": 51, - "charOffset": 2099, + "startLine": 58, + "startColumn": 52, + "charOffset": 2001, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135524,27 +139595,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 52, + "startLine": 56, "startColumn": 1, - "charOffset": 1972, - "charLength": 193, + "charOffset": 1858, + "charLength": 228, "snippet": { - "text": " public string[] ManuallyTriggeredTargets { get; set; } = new string[0];\n\n public string[] ImportSecrets { get; set; } = new string[0];\n\n protected override StreamWriter CreateStream()" + "text": " bool InspectCodeReportIssueSummary => true;\n bool InspectCodeReportWarnings => true;\n IEnumerable InspectCodeFailOnIssues => new string[0];\n IEnumerable InspectCodeFailOnCategories => new string[0];\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Components", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "eb2e422dfac66826b5d4abd76aa2afe5a8c296ae3b748e68ee375388a8042879" + "equalIndicator/v1": "b3c5c8c3dc268cee7203cc9c70ced68239f2f844bfdb0cb6d5040c33677dbf4d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135566,13 +139636,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/SpaceAutomationAttribute.cs", + "uri": "source/Nuke.Components/IReportIssues.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 66, - "charOffset": 1247, + "startLine": 59, + "startColumn": 56, + "charOffset": 2071, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135580,27 +139650,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 57, "startColumn": 1, - "charOffset": 1102, - "charLength": 203, + "charOffset": 1906, + "charLength": 215, "snippet": { - "text": "\n public override IEnumerable RelevantTargetNames => InvokedTargets;\n public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public string VolumeSize { get; set; }" + "text": " bool InspectCodeReportWarnings => true;\n IEnumerable InspectCodeFailOnIssues => new string[0];\n IEnumerable InspectCodeFailOnCategories => new string[0];\n\n void InspectCodeCheckResults()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Components", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "53bdc8a4ba450aba973eb48186b06e807b6b04757a0f4f3fd5e2619083b4f59b" + "equalIndicator/v1": "3df1a5487172a8bc472eab99034497c3f1ecc12914484de885e58f9aadbec3e1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135622,41 +139691,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/SpaceAutomationAttribute.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/FormattingRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 52, - "startColumn": 52, - "charOffset": 1654, - "charLength": 13, + "startLine": 61, + "startColumn": 57, + "charOffset": 2441, + "charLength": 19, "snippet": { - "text": "new string[0]" + "text": "new SyntaxTrivia[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 50, + "startLine": 59, "startColumn": 1, - "charOffset": 1596, - "charLength": 96, + "charOffset": 2281, + "charLength": 210, "snippet": { - "text": " }\n\n public string[] InvokedTargets { get; set; } = new string[0];\n\n public bool OnPush" + "text": " .WithModifiers(TokenList(node\n .Modifiers.Select((x, i) => x\n .WithLeadingTrivia(i == 0 ? new SyntaxTrivia[0] : new[] { Space })))));\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5067a0d271e657a18c09029282841fcc1473c29887a0549e800e79ac9f0b2380" + "equalIndicator/v1": "93ddefc2804721520341c25c61e4f3b78d728e15848aa397258234cb6922ad64" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135678,13 +139746,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/SpaceAutomationAttribute.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ToolInvocationRewriter.cs", "uriBaseId": "SRCROOT" }, - "region": { - "startLine": 68, - "startColumn": 51, - "charOffset": 2222, + "region": { + "startLine": 87, + "startColumn": 42, + "charOffset": 4040, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135692,27 +139760,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 66, + "startLine": 85, "startColumn": 1, - "charOffset": 2124, - "charLength": 145, + "charOffset": 3927, + "charLength": 195, "snippet": { - "text": "\n public string OnCronSchedule { get; set; }\n public string[] ImportSecrets { get; set; } = new string[0];\n\n public int TimeoutInMinutes" + "text": " Original = original;\n Replacement = replacement;\n Positionals = positionals ?? new string[0];\n Renames = renames ?? new Dictionary();\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "87242842221f8690f5c031ff24eed7616f2f3587c7dd933b3bc46870a0251efd" + "equalIndicator/v1": "c830d728e6958fd6528047ff5e964c2c167d40c1808e485c5ab6f6352478e7b2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135734,13 +139801,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/ParameterServiceTest.cs", + "uri": "source/Nuke.GlobalTool/Program.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 34, - "charOffset": 598, + "startLine": 93, + "startColumn": 25, + "charOffset": 3586, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135748,27 +139815,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 91, "startColumn": 1, - "charOffset": 424, - "charLength": 256, + "charOffset": 3456, + "charLength": 209, "snippet": { - "text": " private ParameterService GetService(string[] commandLineArguments = null, IDictionary environmentVariables = null)\n {\n commandLineArguments ??= new string[0];\n environmentVariables ??= new Dictionary();\n" + "text": "\n return PromptForConfirmation($\"Could not find {missingItem}. Do you want to setup a build?\")\n ? Setup(new string[0], rootDirectory, buildScript: null)\n : 0;\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "57513dc622e604d57a31745d1cae5e469da22773b934bf5001c93ae6532ce68e" + "equalIndicator/v1": "d208759d779aad83e46f2627a74f2ef44729ec833f71b043b4cdefbbbf8a62cf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135790,13 +139856,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/DataClassExtensionGenerator.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 53, - "startColumn": 66, - "charOffset": 1756, + "startLine": 330, + "startColumn": 41, + "charOffset": 18606, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135804,33 +139870,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 51, + "startLine": 328, "startColumn": 1, - "charOffset": 1611, - "charLength": 238, + "charOffset": 18447, + "charLength": 196, "snippet": { - "text": "\n public override IEnumerable RelevantTargetNames => InvokedTargets;\n public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public AppVeyorService[] Services { get; set; } = new AppVeyorService[0];" + "text": " private static DataClassWriter WriteMethod(this DataClassWriter writer, string name, string[] modifications)\n {\n return writer.WriteMethod(name, new string[0], modifications);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "44e6ccbd594cde18f54e1b3f06f4d24bf2f5316ea0e7b05661da1b24425129d7" + "equalIndicator/v1": "291405ce82fb361748d2c136379f6f9776040550a53e244d337708f84855c004" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -135846,41 +139911,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uri": "source/Nuke.Build.Tests/BuildExecutorTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 55, - "startColumn": 55, - "charOffset": 1826, - "charLength": 22, + "startLine": 41, + "startColumn": 38, + "charOffset": 1134, + "charLength": 23, "snippet": { - "text": "new AppVeyorService[0]" + "text": "new ExecutableTarget[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 53, + "startLine": 39, "startColumn": 1, - "charOffset": 1691, - "charLength": 288, + "charOffset": 1034, + "charLength": 163, "snippet": { - "text": " public override IEnumerable IrrelevantTargetNames => new string[0];\n\n public AppVeyorService[] Services { get; set; } = new AppVeyorService[0];\n public string[] InvokedTargets { get; set; } = new string[0];\n public string[] BranchesOnly { get; set; } = new string[0];" + "text": " public void TestParameterSkipped_AllWithoutInvoked()\n {\n ExecuteBuild(skippedTargets: new ExecutableTarget[0]);\n AssertSkipped(A, B, C);\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9bccf93098f0823a3f7e11ec7f3520fd5643fe719c33fcca0905bda7996ce491" + "equalIndicator/v1": "e43827683d7ce7e3cc254d2f3a4663db170eb1c427f5050cecbd02cf405c71e5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135902,41 +139966,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uri": "source/Nuke.Build.Tests/BuildExecutorTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 56, - "startColumn": 52, - "charOffset": 1901, - "charLength": 13, + "startLine": 49, + "startColumn": 38, + "charOffset": 1333, + "charLength": 23, "snippet": { - "text": "new string[0]" + "text": "new ExecutableTarget[0]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 47, "startColumn": 1, - "charOffset": 1771, - "charLength": 274, + "charOffset": 1264, + "charLength": 151, "snippet": { - "text": "\n public AppVeyorService[] Services { get; set; } = new AppVeyorService[0];\n public string[] InvokedTargets { get; set; } = new string[0];\n public string[] BranchesOnly { get; set; } = new string[0];\n public string[] BranchesExcept { get; set; } = new string[0];" + "text": " {\n C.Invoked = true;\n ExecuteBuild(skippedTargets: new ExecutableTarget[0]);\n AssertSucceeded(C);\n AssertSkipped(A, B);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7af05825079d2d134c350e15a762e4ba112e18ae7818cab2de84b77a4d17f183" + "equalIndicator/v1": "551f876d0e4ddf6673fa3a9172f9dee9f09cf7ea79b9aff8ac17482a36fed2b8" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -135958,13 +140021,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uri": "source/Nuke.Build.Tests/ParameterServiceTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 50, - "charOffset": 1965, + "startLine": 20, + "startColumn": 34, + "charOffset": 598, "charLength": 13, "snippet": { "text": "new string[0]" @@ -135972,27 +140035,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 18, "startColumn": 1, - "charOffset": 1772, - "charLength": 312, + "charOffset": 424, + "charLength": 256, "snippet": { - "text": " public AppVeyorService[] Services { get; set; } = new AppVeyorService[0];\n public string[] InvokedTargets { get; set; } = new string[0];\n public string[] BranchesOnly { get; set; } = new string[0];\n public string[] BranchesExcept { get; set; } = new string[0];\n public bool SkipTags { get; set; }" + "text": " private ParameterService GetService(string[] commandLineArguments = null, IDictionary environmentVariables = null)\n {\n commandLineArguments ??= new string[0];\n environmentVariables ??= new Dictionary();\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e7f98479404d5218bb3ed93eec61a62ebee649e2f25c1c4c13c22acce892f0d3" + "equalIndicator/v1": "57513dc622e604d57a31745d1cae5e469da22773b934bf5001c93ae6532ce68e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -136014,13 +140076,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uri": "source/Nuke.Utilities.Tests/Reflection/ReflectionUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 58, - "startColumn": 52, - "charOffset": 2031, + "startLine": 85, + "startColumn": 35, + "charOffset": 2796, "charLength": 13, "snippet": { "text": "new string[0]" @@ -136028,27 +140090,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 56, + "startLine": 83, "startColumn": 1, - "charOffset": 1850, - "charLength": 292, + "charOffset": 2712, + "charLength": 198, "snippet": { - "text": " public string[] InvokedTargets { get; set; } = new string[0];\n public string[] BranchesOnly { get; set; } = new string[0];\n public string[] BranchesExcept { get; set; } = new string[0];\n public bool SkipTags { get; set; }\n public bool SkipBranchesWithPullRequest { get; set; }" + "text": " public void TestConversionCollections()\n {\n ReflectionUtility.Convert(new string[0], typeof(string[]))\n .Should().BeOfType().Which\n .Should().BeEmpty();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "84471419a8a1772ec67f55f70fec687f35756c0c6b07eebe0517cc6ba3ed621a" + "equalIndicator/v1": "1ff39f2c8c8548104f97f2df46cfb32216808ee137cd44f78331af23435421d0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -136070,13 +140131,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 65, - "startColumn": 42, - "charOffset": 2386, + "startLine": 73, + "startColumn": 25, + "charOffset": 3168, "charLength": 13, "snippet": { "text": "new string[0]" @@ -136084,27 +140145,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 63, + "startLine": 71, "startColumn": 1, - "charOffset": 2244, - "charLength": 255, + "charOffset": 3016, + "charLength": 257, "snippet": { - "text": " public string SkipCommitsMessage { get; set; }\n public string SkipCommitsAuthor { get; set; }\n public string[] Init { get; set; } = new string[0];\n public string[] Cache { get; set; } = new string[0];\n public string[] Secrets { get; set; }" + "text": "\n var items = completionItems.GetValueOrDefault(parameter)?.Except(passedItems, StringComparer.OrdinalIgnoreCase) ??\n new string[0];\n\n if (parameter.EqualsOrdinalIgnoreCase(Constants.InvokedTargetsParameterName))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fc5a192410a88efd9a5b94ebd741583446d7053d90f81bf619a423da7a3a6e16" + "equalIndicator/v1": "7803af3711130aa67b7f4a09e6527558e893116ceea8c0fb7320694f5d403f38" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -136126,13 +140186,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/AppVeyorAttribute.cs", + "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 66, - "startColumn": 43, - "charOffset": 2443, + "startLine": 73, + "startColumn": 25, + "charOffset": 3168, "charLength": 13, "snippet": { "text": "new string[0]" @@ -136140,83 +140200,81 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 64, + "startLine": 71, "startColumn": 1, - "charOffset": 2295, - "charLength": 245, + "charOffset": 3016, + "charLength": 257, "snippet": { - "text": " public string SkipCommitsAuthor { get; set; }\n public string[] Init { get; set; } = new string[0];\n public string[] Cache { get; set; } = new string[0];\n public string[] Secrets { get; set; }\n public bool Submodules { get; set; }" + "text": "\n var items = completionItems.GetValueOrDefault(parameter)?.Except(passedItems, StringComparer.OrdinalIgnoreCase) ??\n new string[0];\n\n if (parameter.EqualsOrdinalIgnoreCase(Constants.InvokedTargetsParameterName))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "18796365a4e3934c16a56359bb9ff07c6d8565e7601647c85f4fafa3d3170291" + "equalIndicator/v1": "0a2cfe75604f27a27c7466b38373c57ec487e4b9cd7e473179c9ea775d03afda" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UseArrayEmptyMethod", + "ruleId": "MergeIntoNegatedPattern", "kind": "fail", "level": "note", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Merge into pattern", + "markdown": "Merge into pattern" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ExtensionHelper.cs", + "uri": "source/Nuke.GlobalTool/Program.Navigation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 51, - "startColumn": 19, - "charOffset": 1942, - "charLength": 13, + "startLine": 54, + "startColumn": 29, + "charOffset": 2065, + "charLength": 2, "snippet": { - "text": "new string[0]" + "text": "||" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 49, + "startLine": 52, "startColumn": 1, - "charOffset": 1772, - "charLength": 237, + "charOffset": 1960, + "charLength": 199, "snippet": { - "text": " return (dictionary.Contains(key)\n ? ((string) dictionary[key]).Split(new[] { separator }, StringSplitOptions.RemoveEmptyEntries)\n : new string[0])\n .Select(Convert).ToList();\n }" + "text": " {\n var content = SessionFile.Existing()?.ReadAllLines().ToList();\n if (content == null || content.Count <= 1)\n {\n Console.Error.WriteLine(\"No previous directory\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "532e36f70e51b44742ce217c1e376f1d696b73aa5335effcf44719fcbdb22de6" + "equalIndicator/v1": "f81257f228d80f1e22105710339bf45e861ba2ec14988f5e07766e9699546a20" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -136227,447 +140285,439 @@ } }, { - "ruleId": "UseArrayEmptyMethod", + "ruleId": "MemberCanBeProtected.Global", "kind": "fail", "level": "note", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Property 'TestTempDirectory' can be made protected", + "markdown": "Property 'TestTempDirectory' can be made protected" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ExtensionHelper.cs", + "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 51, - "startColumn": 19, - "charOffset": 1942, - "charLength": 13, + "startLine": 22, + "startColumn": 5, + "charOffset": 605, + "charLength": 6, "snippet": { - "text": "new string[0]" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 49, + "startLine": 20, "startColumn": 1, - "charOffset": 1772, - "charLength": 237, + "charOffset": 500, + "charLength": 226, "snippet": { - "text": " return (dictionary.Contains(key)\n ? ((string) dictionary[key]).Split(new[] { separator }, StringSplitOptions.RemoveEmptyEntries)\n : new string[0])\n .Select(Convert).ToList();\n }" + "text": " public AbsolutePath TestProjectDirectory { get; }\n public AbsolutePath RootDirectory { get; }\n public AbsolutePath TestTempDirectory { get; }\n\n protected FileSystemDependentTest(ITestOutputHelper testOutputHelper)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "54a41c02fe39c639a537caf7b8afd12a4ca50a028722df16744016fbc9e1c8bf" + "equalIndicator/v1": "919b8447b402e18abc12e3257b942a0b5bcd83cd7e23415befb4b6b3170b2192" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UseArrayEmptyMethod", + "ruleId": "UnusedAutoPropertyAccessor.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Auto-property accessor 'PackageId.get' is never used", + "markdown": "Auto-property accessor 'PackageId.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/BuildExecutorTest.cs", + "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, - "startColumn": 38, - "charOffset": 1134, - "charLength": 23, + "startLine": 24, + "startColumn": 31, + "charOffset": 544, + "charLength": 4, "snippet": { - "text": "new ExecutableTarget[0]" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 22, "startColumn": 1, - "charOffset": 1034, - "charLength": 163, + "charOffset": 507, + "charLength": 51, "snippet": { - "text": " public void TestParameterSkipped_AllWithoutInvoked()\n {\n ExecuteBuild(skippedTargets: new ExecutableTarget[0]);\n AssertSkipped(A, B, C);\n }" + "text": " }\n\n public string PackageId { get; set; }\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e43827683d7ce7e3cc254d2f3a4663db170eb1c427f5050cecbd02cf405c71e5" + "equalIndicator/v1": "8747f3b3cdf9e2c87b5a227ee71f0c603ff1f9deb819d5e52531219e0e5a219f" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UseArrayEmptyMethod", + "ruleId": "UnusedAutoPropertyAccessor.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Auto-property accessor 'PackageId.get' is never used", + "markdown": "Auto-property accessor 'PackageId.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/BuildExecutorTest.cs", + "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, - "startColumn": 38, - "charOffset": 1333, - "charLength": 23, + "startLine": 25, + "startColumn": 31, + "charOffset": 704, + "charLength": 4, "snippet": { - "text": "new ExecutableTarget[0]" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 23, "startColumn": 1, - "charOffset": 1264, - "charLength": 151, + "charOffset": 667, + "charLength": 90, "snippet": { - "text": " {\n C.Invoked = true;\n ExecuteBuild(skippedTargets: new ExecutableTarget[0]);\n AssertSucceeded(C);\n AssertSkipped(A, B);" + "text": " }\n\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "551f876d0e4ddf6673fa3a9172f9dee9f09cf7ea79b9aff8ac17482a36fed2b8" + "equalIndicator/v1": "ce9358a3248ef02a0a07d3b60c560240539ce8edd00aa4042e67b02e4a487847" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UseArrayEmptyMethod", + "ruleId": "UnusedAutoPropertyAccessor.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Auto-property accessor 'Version.get' is never used", + "markdown": "Auto-property accessor 'Version.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCity.cs", + "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 92, - "startColumn": 19, - "charOffset": 3330, - "charLength": 13, + "startLine": 26, + "startColumn": 29, + "charOffset": 744, + "charLength": 4, "snippet": { - "text": "new string[0]" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 90, + "startLine": 24, "startColumn": 1, - "charOffset": 3188, - "charLength": 174, + "charOffset": 673, + "charLength": 84, "snippet": { - "text": " return file.FileExists()\n ? file.ReadAllLines().ToImmutableList() as IReadOnlyCollection\n : new string[0];\n });\n }" + "text": "\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "bf5bbe250fa149e4079b093726506dd46bd91b25a1793db02265c8c2ae3cac1d" + "equalIndicator/v1": "77529996e853eb03385fe85d554f6003d4e35616013f9d727520debd1bf7a840" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UseArrayEmptyMethod", + "ruleId": "UnusedAutoPropertyAccessor.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Auto-property accessor 'PackageId.get' is never used", + "markdown": "Auto-property accessor 'PackageId.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/BuildExecutor.cs", + "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 72, - "startColumn": 24, - "charOffset": 2801, - "charLength": 13, + "startLine": 25, + "startColumn": 31, + "charOffset": 667, + "charLength": 4, "snippet": { - "text": "new string[0]" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 70, + "startLine": 23, "startColumn": 1, - "charOffset": 2705, - "charLength": 176, + "charOffset": 630, + "charLength": 90, "snippet": { - "text": " {\n if (!build.Continue || !BuildAttemptFile.Exists())\n return new string[0];\n\n var previousBuild = BuildAttemptFile.ReadAllLines();" + "text": " }\n\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5f32f6205c98533c691777612a74fb12c7e951d4273cc1946f35bcc7d9e393bf" + "equalIndicator/v1": "eef271cffa4dfd97d8efbbccd1ec19f67dfec73691af53e9a44834991a130e91" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UseArrayEmptyMethod", + "ruleId": "UnusedAutoPropertyAccessor.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Use 'Array.Empty()'", - "markdown": "Use 'Array.Empty()'" + "text": "Auto-property accessor 'Version.get' is never used", + "markdown": "Auto-property accessor 'Version.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/BuildExecutor.cs", + "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 78, - "startColumn": 24, - "charOffset": 3058, - "charLength": 13, + "startLine": 26, + "startColumn": 29, + "charOffset": 707, + "charLength": 4, "snippet": { - "text": "new string[0]" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 76, + "startLine": 24, "startColumn": 1, - "charOffset": 2948, - "charLength": 139, + "charOffset": 636, + "charLength": 85, "snippet": { - "text": " {\n Log.Warning(\"Build invocation changed. Restarting ...\");\n return new string[0];\n }\n" + "text": "\n public string PackageId { get; set; }\n public string Version { get; set; }\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6f3ebc4c9a40135666e3798b4062825e85b09a4272d05b74a6f6d67e27c55114" + "equalIndicator/v1": "c7145e085dd2ed326eb5e227b2adfa07427b1aa86cee2cfa3ddc0a43eca63ece" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MemberCanBeProtected.Global", + "ruleId": "UnusedAutoPropertyAccessor.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Property 'TestTempDirectory' can be made protected", - "markdown": "Property 'TestTempDirectory' can be made protected" + "text": "Auto-property accessor 'PathExecutable.get' is never used", + "markdown": "Auto-property accessor 'PathExecutable.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", + "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, - "startColumn": 5, - "charOffset": 605, - "charLength": 6, + "startLine": 24, + "startColumn": 36, + "charOffset": 543, + "charLength": 4, "snippet": { - "text": "public" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 22, "startColumn": 1, - "charOffset": 500, - "charLength": 226, + "charOffset": 501, + "charLength": 56, "snippet": { - "text": " public AbsolutePath TestProjectDirectory { get; }\n public AbsolutePath RootDirectory { get; }\n public AbsolutePath TestTempDirectory { get; }\n\n protected FileSystemDependentTest(ITestOutputHelper testOutputHelper)" + "text": " }\n\n public string PathExecutable { get; set; }\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "919b8447b402e18abc12e3257b942a0b5bcd83cd7e23415befb4b6b3170b2192" + "equalIndicator/v1": "e1be3f5c8825ff3addfc4cc53514d917a16f7d678634cc0ee1d4d22fe3271d10" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "MergeIntoNegatedPattern", + "ruleId": "UnusedAutoPropertyAccessor.Global", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" + "text": "Auto-property accessor 'PathExecutable.get' is never used", + "markdown": "Auto-property accessor 'PathExecutable.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Navigation.cs", + "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 54, - "startColumn": 29, - "charOffset": 2065, - "charLength": 2, + "startLine": 24, + "startColumn": 36, + "charOffset": 543, + "charLength": 4, "snippet": { - "text": "||" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 52, + "startLine": 22, "startColumn": 1, - "charOffset": 1960, - "charLength": 199, + "charOffset": 501, + "charLength": 56, "snippet": { - "text": " {\n var content = SessionFile.Existing()?.ReadAllLines().ToList();\n if (content == null || content.Count <= 1)\n {\n Console.Error.WriteLine(\"No previous directory\");" + "text": " }\n\n public string PathExecutable { get; set; }\n}\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f81257f228d80f1e22105710339bf45e861ba2ec14988f5e07766e9699546a20" + "equalIndicator/v1": "79f0fa7364c623e0bd9b4c2863ad687a26112b1e19d9ca89382a207de7964e38" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -136720,7 +140770,6 @@ "partialFingerprints": { "equalIndicator/v1": "15c9be4048317497d920484e773d4522487b253b3f42dbfd34eeca817da9a302" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -136776,7 +140825,6 @@ "partialFingerprints": { "equalIndicator/v1": "411a8ed5c63eeef0d527e87296bb0d02e7d6522054ba705617b090f4e170085e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -136832,7 +140880,6 @@ "partialFingerprints": { "equalIndicator/v1": "aac29f8f890f3de674076800372a0444c0c6bbccfc9437affa623eb6c12d874d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -136888,7 +140935,6 @@ "partialFingerprints": { "equalIndicator/v1": "a1d057808d84ad6f86f3da020457cd71b74dbe530c0be259dc863ba0d5d27cd9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -136903,54 +140949,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'ProjectAssetsFile.set' is never used", - "markdown": "Auto-property accessor 'ProjectAssetsFile.set' is never used" + "text": "Auto-property accessor 'Key.get' is never used", + "markdown": "Auto-property accessor 'Key.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/EmbedPackagesForSelfContainedTask.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultKey.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 44, - "charOffset": 511, + "startLine": 13, + "startColumn": 33, + "charOffset": 322, "charLength": 4, "snippet": { - "text": "set;" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 11, "startColumn": 1, - "charOffset": 451, - "charLength": 82, + "charOffset": 250, + "charLength": 150, "snippet": { - "text": "{\n [Required]\n public string ProjectAssetsFile { get; set; }\n\n [Required]" + "text": " public class AzureKeyVaultKey\n {\n public JsonWebKey Key { get; internal set; }\n public string Secret { get; internal set; }\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "10f913e4f6d4a04d806940e9edac4f5a838bb698527330c92fc96f6e4b8e037d" + "equalIndicator/v1": "11ddcedda47ec0824e21b9d8337dba8179e50feb4602a26b744968ef62fa163a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -136959,20 +141004,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'TargetOutputs.get' is never used", - "markdown": "Auto-property accessor 'TargetOutputs.get' is never used" + "text": "Auto-property accessor 'Secret.get' is never used", + "markdown": "Auto-property accessor 'Secret.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/EmbedPackagesForSelfContainedTask.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultKey.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 40, - "charOffset": 635, + "startLine": 14, + "startColumn": 32, + "charOffset": 374, "charLength": 4, "snippet": { "text": "get;" @@ -136980,33 +141025,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 12, "startColumn": 1, - "charOffset": 582, - "charLength": 108, + "charOffset": 284, + "charLength": 118, "snippet": { - "text": "\n [Output]\n public ITaskItem[] TargetOutputs { get; set; }\n\n protected override bool ExecuteInner()" + "text": " {\n public JsonWebKey Key { get; internal set; }\n public string Secret { get; internal set; }\n }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "60d9a7c389ad5fdeb1cfa60981fe159004b74c42f3229823a271204933433235" + "equalIndicator/v1": "bc575892bc80d3e577db929d8354c720efb5e60ea3ec99a81c8297117104c561" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -137015,20 +141059,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'ProjectAssetsFile.set' is never used", - "markdown": "Auto-property accessor 'ProjectAssetsFile.set' is never used" + "text": "Auto-property accessor 'Version.set' is never used", + "markdown": "Auto-property accessor 'Version.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/PackPackageToolsTask.cs", + "uri": "source/Nuke.Build/RequiresAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 21, - "startColumn": 44, - "charOffset": 549, + "startColumn": 34, + "charOffset": 565, "charLength": 4, "snippet": { "text": "set;" @@ -137038,143 +141082,30 @@ "contextRegion": { "startLine": 19, "startColumn": 1, - "charOffset": 489, - "charLength": 82, - "snippet": { - "text": "{\n [Required]\n public string ProjectAssetsFile { get; set; }\n\n [Required]" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.MSBuildTasks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "825996d1997504c4ee0d22a5908fc14ff1e5792d740eb348c5f0da20c3c34566" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'NuGetPackageRoot.set' is never used", - "markdown": "Auto-property accessor 'NuGetPackageRoot.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/PackPackageToolsTask.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 43, - "charOffset": 614, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 556, - "charLength": 80, - "snippet": { - "text": "\n [Required]\n public string NuGetPackageRoot { get; set; }\n\n [Required]" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.MSBuildTasks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2fe6a93924cc719660e2f6e852b6cad1b19d702226bdfa3d743f4ca2fb80dbfc" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'TargetFramework.set' is never used", - "markdown": "Auto-property accessor 'TargetFramework.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/PackPackageToolsTask.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 42, - "charOffset": 678, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 621, - "charLength": 77, + "charOffset": 503, + "charLength": 122, "snippet": { - "text": "\n [Required]\n public string TargetFramework { get; set; }\n\n [Output]" + "text": " where T : IRequireTool\n{\n public string Version { get; set; }\n\n public override ToolRequirement GetRequirement()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "27f2fdc8ea3d2a598ff0312abaa0bb057efe2df36c48daa98aba264674ebe749" + "equalIndicator/v1": "af3d1aca59c89a544ba09d45f1a535693a7689377276c8ee5c633795d514d2b6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -137183,20 +141114,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'TargetOutputs.get' is never used", - "markdown": "Auto-property accessor 'TargetOutputs.get' is never used" + "text": "Auto-property accessor 'Value.get' is never used", + "markdown": "Auto-property accessor 'Value.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/PackPackageToolsTask.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 30, - "startColumn": 40, - "charOffset": 738, + "startLine": 41, + "startColumn": 22, + "charOffset": 806, "charLength": 4, "snippet": { "text": "get;" @@ -137204,27 +141135,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 28, + "startLine": 39, "startColumn": 1, - "charOffset": 685, - "charLength": 108, + "charOffset": 745, + "charLength": 124, "snippet": { - "text": "\n [Output]\n public ITaskItem[] TargetOutputs { get; set; }\n\n protected override bool ExecuteInner()" + "text": " internal int LowLink { get; set; }\n\n public T Value { get; }\n\n public ICollection> Dependencies { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ec647f78252eebe844185d2c906760a89232cc57a6a871d08d9470f59822fc07" + "equalIndicator/v1": "5c153391a51ba7a78e91ab8e3458aed89212b506c459760d6b5cc12e458eca02" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137239,20 +141169,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'Key.get' is never used", - "markdown": "Auto-property accessor 'Key.get' is never used" + "text": "Auto-property accessor 'TestOutputHelper.get' is never used", + "markdown": "Auto-property accessor 'TestOutputHelper.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultKey.cs", + "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, - "startColumn": 33, - "charOffset": 322, + "startLine": 17, + "startColumn": 49, + "charOffset": 405, "charLength": 4, "snippet": { "text": "get;" @@ -137260,27 +141190,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 15, "startColumn": 1, - "charOffset": 250, - "charLength": 150, + "charOffset": 309, + "charLength": 190, "snippet": { - "text": " public class AzureKeyVaultKey\n {\n public JsonWebKey Key { get; internal set; }\n public string Secret { get; internal set; }\n }" + "text": "public abstract class FileSystemDependentTest\n{\n public ITestOutputHelper TestOutputHelper { get; }\n public string TestName { get; }\n public AbsolutePath ExecutionDirectory { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "11ddcedda47ec0824e21b9d8337dba8179e50feb4602a26b744968ef62fa163a" + "equalIndicator/v1": "f6b34db485f35a23508388e8945e82fc2831a72ac524418e3f7ea16a5f23cbfd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137295,20 +141224,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'Secret.get' is never used", - "markdown": "Auto-property accessor 'Secret.get' is never used" + "text": "Auto-property accessor 'TestProjectDirectory.get' is never used", + "markdown": "Auto-property accessor 'TestProjectDirectory.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultKey.cs", + "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 14, - "startColumn": 32, - "charOffset": 374, + "startLine": 20, + "startColumn": 48, + "charOffset": 547, "charLength": 4, "snippet": { "text": "get;" @@ -137316,27 +141245,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 12, + "startLine": 18, "startColumn": 1, - "charOffset": 284, - "charLength": 118, + "charOffset": 412, + "charLength": 239, "snippet": { - "text": " {\n public JsonWebKey Key { get; internal set; }\n public string Secret { get; internal set; }\n }\n}" + "text": " public string TestName { get; }\n public AbsolutePath ExecutionDirectory { get; }\n public AbsolutePath TestProjectDirectory { get; }\n public AbsolutePath RootDirectory { get; }\n public AbsolutePath TestTempDirectory { get; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "bc575892bc80d3e577db929d8354c720efb5e60ea3ec99a81c8297117104c561" + "equalIndicator/v1": "55fc66783181272ded2aab88f10dcd9dbe43c1d667d3ca7a359bbdd8695f420f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137351,20 +141279,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'Value.get' is never used", - "markdown": "Auto-property accessor 'Value.get' is never used" + "text": "Auto-property accessor 'RootDirectory.get' is never used", + "markdown": "Auto-property accessor 'RootDirectory.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/Vertex.cs", + "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, - "startColumn": 22, - "charOffset": 806, + "startLine": 21, + "startColumn": 41, + "charOffset": 594, "charLength": 4, "snippet": { "text": "get;" @@ -137372,33 +141300,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 19, "startColumn": 1, - "charOffset": 745, - "charLength": 124, + "charOffset": 448, + "charLength": 204, "snippet": { - "text": " internal int LowLink { get; set; }\n\n public T Value { get; }\n\n public ICollection> Dependencies { get; }" + "text": " public AbsolutePath ExecutionDirectory { get; }\n public AbsolutePath TestProjectDirectory { get; }\n public AbsolutePath RootDirectory { get; }\n public AbsolutePath TestTempDirectory { get; }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5c153391a51ba7a78e91ab8e3458aed89212b506c459760d6b5cc12e458eca02" + "equalIndicator/v1": "e0d2c29b7f33527ea222c38019ba3b122eb229245d9e28d7d33a05fa4068648a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -137448,7 +141375,6 @@ "partialFingerprints": { "equalIndicator/v1": "3c75983c9721aaf52799b3fa5618959ddffc5609a2db3831eaf57fa756ce0b61" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137504,7 +141430,6 @@ "partialFingerprints": { "equalIndicator/v1": "70097bd4666285b4d6e25c39cd4a3d6200a4c4b506d4dc6a7ae675831923b644" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137560,7 +141485,6 @@ "partialFingerprints": { "equalIndicator/v1": "1c36fbf65dcb06c2ab9134f43c7494964f5607bf89154069f432bd8f0c6af4a1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137616,7 +141540,6 @@ "partialFingerprints": { "equalIndicator/v1": "608632907e005865f28fe25d391119b27559acd6780750ed00d80d82080b762a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137631,48 +141554,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'PackageId.get' is never used", - "markdown": "Auto-property accessor 'PackageId.get' is never used" + "text": "Auto-property accessor 'SpecificationFiles.set' is never used", + "markdown": "Auto-property accessor 'SpecificationFiles.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirement.cs", + "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, - "startColumn": 31, - "charOffset": 667, + "startLine": 20, + "startColumn": 50, + "charOffset": 545, "charLength": 4, "snippet": { - "text": "get;" + "text": "set;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 18, "startColumn": 1, - "charOffset": 630, - "charLength": 90, + "charOffset": 453, + "charLength": 140, "snippet": { - "text": " }\n\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" + "text": "{\n [Microsoft.Build.Framework.Required]\n public ITaskItem[] SpecificationFiles { get; set; }\n\n [Microsoft.Build.Framework.Required]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "eef271cffa4dfd97d8efbbccd1ec19f67dfec73691af53e9a44834991a130e91" + "equalIndicator/v1": "f62bd14d5ac048ed10a96f17cf75b4178b94399109ee1ee7afe33232244c089a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137687,48 +141609,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'Version.get' is never used", - "markdown": "Auto-property accessor 'Version.get' is never used" + "text": "Auto-property accessor 'BaseDirectory.set' is never used", + "markdown": "Auto-property accessor 'BaseDirectory.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirement.cs", + "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 26, - "startColumn": 29, - "charOffset": 707, + "startLine": 23, + "startColumn": 40, + "charOffset": 633, "charLength": 4, "snippet": { - "text": "get;" + "text": "set;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 24, + "startLine": 21, "startColumn": 1, - "charOffset": 636, - "charLength": 85, + "charOffset": 552, + "charLength": 138, "snippet": { - "text": "\n public string PackageId { get; set; }\n public string Version { get; set; }\n}\n" + "text": "\n [Microsoft.Build.Framework.Required]\n public string BaseDirectory { get; set; }\n\n public bool UseNestedNamespaces { get; set; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c7145e085dd2ed326eb5e227b2adfa07427b1aa86cee2cfa3ddc0a43eca63ece" + "equalIndicator/v1": "619fb99254dfc79706bec3282698ca31d5e639ca64fba8fb59ddb7aaa82f9588" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137743,48 +141664,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'PackageId.get' is never used", - "markdown": "Auto-property accessor 'PackageId.get' is never used" + "text": "Auto-property accessor 'UseNestedNamespaces.set' is never used", + "markdown": "Auto-property accessor 'UseNestedNamespaces.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirement.cs", + "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 31, - "charOffset": 544, + "startLine": 25, + "startColumn": 44, + "charOffset": 684, "charLength": 4, "snippet": { - "text": "get;" + "text": "set;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 23, "startColumn": 1, - "charOffset": 507, - "charLength": 51, + "charOffset": 594, + "charLength": 113, "snippet": { - "text": " }\n\n public string PackageId { get; set; }\n}\n" + "text": " public string BaseDirectory { get; set; }\n\n public bool UseNestedNamespaces { get; set; }\n\n [CanBeNull]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8747f3b3cdf9e2c87b5a227ee71f0c603ff1f9deb819d5e52531219e0e5a219f" + "equalIndicator/v1": "745f78332fa6a6704261189aa478557648da62aaa1e27b789061d16bd9e2a97d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -137799,110 +141719,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'TestOutputHelper.get' is never used", - "markdown": "Auto-property accessor 'TestOutputHelper.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 49, - "charOffset": 405, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 309, - "charLength": 190, - "snippet": { - "text": "public abstract class FileSystemDependentTest\n{\n public ITestOutputHelper TestOutputHelper { get; }\n public string TestName { get; }\n public AbsolutePath ExecutionDirectory { get; }" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Utilities.Tests", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6b34db485f35a23508388e8945e82fc2831a72ac524418e3f7ea16a5f23cbfd" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'TestProjectDirectory.get' is never used", - "markdown": "Auto-property accessor 'TestProjectDirectory.get' is never used" + "text": "Auto-property accessor 'BaseNamespace.set' is never used", + "markdown": "Auto-property accessor 'BaseNamespace.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", + "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 48, - "charOffset": 547, + "startLine": 28, + "startColumn": 40, + "charOffset": 747, "charLength": 4, "snippet": { - "text": "get;" + "text": "set;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 26, "startColumn": 1, - "charOffset": 412, - "charLength": 239, + "charOffset": 691, + "charLength": 110, "snippet": { - "text": " public string TestName { get; }\n public AbsolutePath ExecutionDirectory { get; }\n public AbsolutePath TestProjectDirectory { get; }\n public AbsolutePath RootDirectory { get; }\n public AbsolutePath TestTempDirectory { get; }" + "text": "\n [CanBeNull]\n public string BaseNamespace { get; set; }\n\n public bool UpdateReferences { get; set; }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "55fc66783181272ded2aab88f10dcd9dbe43c1d667d3ca7a359bbdd8695f420f" + "equalIndicator/v1": "388df41990576d1aae11080182124fcfe9f4f5609fa85c531e4b07be727792b9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -137911,54 +141774,53 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'RootDirectory.get' is never used", - "markdown": "Auto-property accessor 'RootDirectory.get' is never used" + "text": "Auto-property accessor 'UpdateReferences.set' is never used", + "markdown": "Auto-property accessor 'UpdateReferences.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/IO/FileSystemDependentTest.cs", + "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, + "startLine": 30, "startColumn": 41, - "charOffset": 594, + "charOffset": 795, "charLength": 4, "snippet": { - "text": "get;" + "text": "set;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 28, "startColumn": 1, - "charOffset": 448, - "charLength": 204, + "charOffset": 708, + "charLength": 137, "snippet": { - "text": " public AbsolutePath ExecutionDirectory { get; }\n public AbsolutePath TestProjectDirectory { get; }\n public AbsolutePath RootDirectory { get; }\n public AbsolutePath TestTempDirectory { get; }\n" + "text": " public string BaseNamespace { get; set; }\n\n public bool UpdateReferences { get; set; }\n\n protected override bool ExecuteInner()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e0d2c29b7f33527ea222c38019ba3b122eb229245d9e28d7d33a05fa4068648a" + "equalIndicator/v1": "3e92353ff0361c6786b51913b089b33b4c4a3ed108ee826f0ced8197cb59801c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -137967,48 +141829,47 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'PackageId.get' is never used", - "markdown": "Auto-property accessor 'PackageId.get' is never used" + "text": "Auto-property accessor 'ProjectAssetsFile.set' is never used", + "markdown": "Auto-property accessor 'ProjectAssetsFile.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirement.cs", + "uri": "source/Nuke.MSBuildTasks/EmbedPackagesForSelfContainedTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, - "startColumn": 31, - "charOffset": 704, + "startLine": 20, + "startColumn": 44, + "charOffset": 511, "charLength": 4, "snippet": { - "text": "get;" + "text": "set;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 18, "startColumn": 1, - "charOffset": 667, - "charLength": 90, + "charOffset": 451, + "charLength": 82, "snippet": { - "text": " }\n\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" + "text": "{\n [Required]\n public string ProjectAssetsFile { get; set; }\n\n [Required]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ce9358a3248ef02a0a07d3b60c560240539ce8edd00aa4042e67b02e4a487847" + "equalIndicator/v1": "10f913e4f6d4a04d806940e9edac4f5a838bb698527330c92fc96f6e4b8e037d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138023,20 +141884,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'Version.get' is never used", - "markdown": "Auto-property accessor 'Version.get' is never used" + "text": "Auto-property accessor 'TargetOutputs.get' is never used", + "markdown": "Auto-property accessor 'TargetOutputs.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirement.cs", + "uri": "source/Nuke.MSBuildTasks/EmbedPackagesForSelfContainedTask.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 26, - "startColumn": 29, - "charOffset": 744, + "startColumn": 40, + "charOffset": 635, "charLength": 4, "snippet": { "text": "get;" @@ -138046,25 +141907,24 @@ "contextRegion": { "startLine": 24, "startColumn": 1, - "charOffset": 673, - "charLength": 84, + "charOffset": 582, + "charLength": 108, "snippet": { - "text": "\n public string PackageId { get; set; }\n public string Version { get; set; }\n}" + "text": "\n [Output]\n public ITaskItem[] TargetOutputs { get; set; }\n\n protected override bool ExecuteInner()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "77529996e853eb03385fe85d554f6003d4e35616013f9d727520debd1bf7a840" + "equalIndicator/v1": "60d9a7c389ad5fdeb1cfa60981fe159004b74c42f3229823a271204933433235" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138079,20 +141939,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'SpecificationFiles.set' is never used", - "markdown": "Auto-property accessor 'SpecificationFiles.set' is never used" + "text": "Auto-property accessor 'ProjectAssetsFile.set' is never used", + "markdown": "Auto-property accessor 'ProjectAssetsFile.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", + "uri": "source/Nuke.MSBuildTasks/PackPackageToolsTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 50, - "charOffset": 519, + "startLine": 21, + "startColumn": 44, + "charOffset": 549, "charLength": 4, "snippet": { "text": "set;" @@ -138100,12 +141960,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 19, "startColumn": 1, - "charOffset": 453, - "charLength": 88, + "charOffset": 489, + "charLength": 82, "snippet": { - "text": "{\n [Required]\n public ITaskItem[] SpecificationFiles { get; set; }\n\n [Required]" + "text": "{\n [Required]\n public string ProjectAssetsFile { get; set; }\n\n [Required]" } } }, @@ -138118,9 +141978,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "744f876ae1b343b95357050653b429710c0800b43d20eda03446154ab7b36077" + "equalIndicator/v1": "825996d1997504c4ee0d22a5908fc14ff1e5792d740eb348c5f0da20c3c34566" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138135,20 +141994,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'BaseDirectory.set' is never used", - "markdown": "Auto-property accessor 'BaseDirectory.set' is never used" + "text": "Auto-property accessor 'NuGetPackageRoot.set' is never used", + "markdown": "Auto-property accessor 'NuGetPackageRoot.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", + "uri": "source/Nuke.MSBuildTasks/PackPackageToolsTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, - "startColumn": 40, - "charOffset": 581, + "startLine": 24, + "startColumn": 43, + "charOffset": 614, "charLength": 4, "snippet": { "text": "set;" @@ -138156,12 +142015,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 22, "startColumn": 1, - "charOffset": 526, - "charLength": 112, + "charOffset": 556, + "charLength": 80, "snippet": { - "text": "\n [Required]\n public string BaseDirectory { get; set; }\n\n public bool UseNestedNamespaces { get; set; }" + "text": "\n [Required]\n public string NuGetPackageRoot { get; set; }\n\n [Required]" } } }, @@ -138174,9 +142033,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "35d8122ae40f7e1bfbd65b473af1ed212a687cd648608fc70fd8d6944e94efea" + "equalIndicator/v1": "2fe6a93924cc719660e2f6e852b6cad1b19d702226bdfa3d743f4ca2fb80dbfc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138191,20 +142049,20 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'UseNestedNamespaces.set' is never used", - "markdown": "Auto-property accessor 'UseNestedNamespaces.set' is never used" + "text": "Auto-property accessor 'TargetFramework.set' is never used", + "markdown": "Auto-property accessor 'TargetFramework.set' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", + "uri": "source/Nuke.MSBuildTasks/PackPackageToolsTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, - "startColumn": 44, - "charOffset": 632, + "startLine": 27, + "startColumn": 42, + "charOffset": 678, "charLength": 4, "snippet": { "text": "set;" @@ -138212,12 +142070,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 25, "startColumn": 1, - "charOffset": 542, - "charLength": 113, + "charOffset": 621, + "charLength": 77, "snippet": { - "text": " public string BaseDirectory { get; set; }\n\n public bool UseNestedNamespaces { get; set; }\n\n [CanBeNull]" + "text": "\n [Required]\n public string TargetFramework { get; set; }\n\n [Output]" } } }, @@ -138230,9 +142088,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "70aee553b995f0038dafd0c03744717ab6ec340037a3ed5f030b91a6258d8bd9" + "equalIndicator/v1": "27f2fdc8ea3d2a598ff0312abaa0bb057efe2df36c48daa98aba264674ebe749" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138247,33 +142104,33 @@ "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'BaseNamespace.set' is never used", - "markdown": "Auto-property accessor 'BaseNamespace.set' is never used" + "text": "Auto-property accessor 'TargetOutputs.get' is never used", + "markdown": "Auto-property accessor 'TargetOutputs.get' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", + "uri": "source/Nuke.MSBuildTasks/PackPackageToolsTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 28, + "startLine": 30, "startColumn": 40, - "charOffset": 695, + "charOffset": 738, "charLength": 4, "snippet": { - "text": "set;" + "text": "get;" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 26, + "startLine": 28, "startColumn": 1, - "charOffset": 639, - "charLength": 110, + "charOffset": 685, + "charLength": 108, "snippet": { - "text": "\n [CanBeNull]\n public string BaseNamespace { get; set; }\n\n public bool UpdateReferences { get; set; }" + "text": "\n [Output]\n public ITaskItem[] TargetOutputs { get; set; }\n\n protected override bool ExecuteInner()" } } }, @@ -138286,9 +142143,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e66985792afec119ef0a5f8711c2dce87ca6fcb0bd2d5fccbe35757cc8e133d9" + "equalIndicator/v1": "ec647f78252eebe844185d2c906760a89232cc57a6a871d08d9470f59822fc07" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138299,108 +142155,106 @@ } }, { - "ruleId": "UnusedAutoPropertyAccessor.Global", + "ruleId": "UnusedVariable", "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'UpdateReferences.set' is never used", - "markdown": "Auto-property accessor 'UpdateReferences.set' is never used" + "text": "Local variable 'option' is never used", + "markdown": "Local variable 'option' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/CodeGenerationTask.cs", + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 30, - "startColumn": 41, - "charOffset": 743, - "charLength": 4, + "startLine": 103, + "startColumn": 26, + "charOffset": 3635, + "charLength": 6, "snippet": { - "text": "set;" + "text": "option" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 28, + "startLine": 101, "startColumn": 1, - "charOffset": 656, - "charLength": 137, + "charOffset": 3560, + "charLength": 202, "snippet": { - "text": " public string BaseNamespace { get; set; }\n\n public bool UpdateReferences { get; set; }\n\n protected override bool ExecuteInner()" + "text": "\n Console.CursorTop -= options.Length;\n foreach (var option in options)\n Console.WriteLine(' '.Repeat(BufferWidth));\n Console.CursorTop -= options.Length;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "69628a32284cbeb9c9ad9b07f7e65fd4f6b553aab83a27fcbb72bcdaeb4740eb" + "equalIndicator/v1": "fa7165bbfd54e42c9a1cd35ccc9d32e038c46dbb15f3996cb2d3c69274fef3e6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UnusedAutoPropertyAccessor.Global", + "ruleId": "UnusedVariable", "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'Version.set' is never used", - "markdown": "Auto-property accessor 'Version.set' is never used" + "text": "Local variable 'index' is never used", + "markdown": "Local variable 'index' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/RequiresAttribute.cs", + "uri": "source/Nuke.Components/ITweetTips.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, - "startColumn": 34, - "charOffset": 565, - "charLength": 4, + "startLine": 40, + "startColumn": 17, + "charOffset": 1115, + "charLength": 5, "snippet": { - "text": "set;" + "text": "index" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 38, "startColumn": 1, - "charOffset": 503, - "charLength": 122, + "charOffset": 992, + "charLength": 272, "snippet": { - "text": " where T : IRequireTool\n{\n public string Version { get; set; }\n\n public override ToolRequirement GetRequirement()" + "text": "\n var tweetDirectories = TweetDirectory.GlobDirectories(\"*\").OrderBy(x => (string) x).ToList();\n var index = (int) (DateTime.Now.Ticks / TimeSpan.FromDays(7).Ticks) % tweetDirectories.Count;\n var tweetDirectory = tweetDirectories.Last();\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Components", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "af3d1aca59c89a544ba09d45f1a535693a7689377276c8ee5c633795d514d2b6" + "equalIndicator/v1": "cd4b4eff33f39ab89d7fdd3339fe6689851c685b54081d4a93308a05047075b5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138411,52 +142265,51 @@ } }, { - "ruleId": "UnusedAutoPropertyAccessor.Global", + "ruleId": "UnusedVariable", "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'PathExecutable.get' is never used", - "markdown": "Auto-property accessor 'PathExecutable.get' is never used" + "text": "Local variable 'memberAccessExpression' is never used", + "markdown": "Local variable 'memberAccessExpression' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/TargetDefinitionRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 36, - "charOffset": 543, - "charLength": 4, + "startLine": 28, + "startColumn": 13, + "charOffset": 942, + "charLength": 22, "snippet": { - "text": "get;" + "text": "memberAccessExpression" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 26, "startColumn": 1, - "charOffset": 501, - "charLength": 56, + "charOffset": 919, + "charLength": 255, "snippet": { - "text": " }\n\n public string PathExecutable { get; set; }\n}\n" + "text": " }\n\n var memberAccessExpression = node.Expression as MemberAccessExpressionSyntax;\n // if (memberAccessExpression?.GetIdentifierName() == \"IsDependentOn\" ||\n // memberAccessExpression?.GetIdentifierName() == \"IsDependeeOf\")" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "79f0fa7364c623e0bd9b4c2863ad687a26112b1e19d9ca89382a207de7964e38" + "equalIndicator/v1": "65895454e3d3860ea88442ce91c74431614abe1ad88de17ebd018b246ed9da2f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138467,58 +142320,57 @@ } }, { - "ruleId": "UnusedAutoPropertyAccessor.Global", + "ruleId": "UnusedVariable", "kind": "fail", "level": "warning", "message": { - "text": "Auto-property accessor 'PathExecutable.get' is never used", - "markdown": "Auto-property accessor 'PathExecutable.get' is never used" + "text": "Local variable 'position' is never used", + "markdown": "Local variable 'position' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", + "uri": "source/Nuke.GlobalTool/Program.Complete.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 24, - "startColumn": 36, - "charOffset": 543, - "charLength": 4, + "startLine": 41, + "startColumn": 13, + "charOffset": 1181, + "charLength": 8, "snippet": { - "text": "get;" + "text": "position" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 22, + "startLine": 39, "startColumn": 1, - "charOffset": 501, - "charLength": 56, + "charOffset": 1158, + "charLength": 209, "snippet": { - "text": " }\n\n public string PathExecutable { get; set; }\n}\n" + "text": " }\n\n var position = EnvironmentInfo.GetNamedArgument(\"position\");\n var completionItems = IsLegacy(rootDirectory)\n ? completionFile.ReadYaml>()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e1be3f5c8825ff3addfc4cc53514d917a16f7d678634cc0ee1d4d22fe3271d10" + "equalIndicator/v1": "9a1b1828e41005a87a7158705ac3f0ac57026ec9ff8a8d21bf74d2852cc24d12" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -138568,7 +142420,6 @@ "partialFingerprints": { "equalIndicator/v1": "4c78ed01f51da12d3dc1e2eab86f6ca10cc26041750918c29406531e088c8851" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138624,7 +142475,6 @@ "partialFingerprints": { "equalIndicator/v1": "6fbc53463e79be40de12a527b5ea9e108dd72abbc60baadb0b857501766bf903" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138635,55 +142485,54 @@ } }, { - "ruleId": "UnusedVariable", + "ruleId": "ReturnTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Local variable 'option' is never used", - "markdown": "Local variable 'option' is never used" + "text": "Return type can be 'IEnumerable'", + "markdown": "Return type can be 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Utilities/ArgumentParser.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 103, - "startColumn": 26, - "charOffset": 3635, - "charLength": 6, + "startLine": 31, + "startColumn": 20, + "charOffset": 772, + "charLength": 8, "snippet": { - "text": "option" + "text": "string[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 101, + "startLine": 29, "startColumn": 1, - "charOffset": 3560, - "charLength": 202, + "charOffset": 746, + "charLength": 100, "snippet": { - "text": "\n Console.CursorTop -= options.Length;\n foreach (var option in options)\n Console.WriteLine(' '.Repeat(BufferWidth));\n Console.CursorTop -= options.Length;" + "text": " }\n\n private static string[] Parse(string arguments)\n {\n var inSingleQuotes = false;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fa7165bbfd54e42c9a1cd35ccc9d32e038c46dbb15f3996cb2d3c69274fef3e6" + "equalIndicator/v1": "e82f21107b82934dbad6f993303eccef61dd73108952a54575f6bd00e3166b7e" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NET 6.0" @@ -138691,111 +142540,109 @@ } }, { - "ruleId": "UnusedVariable", + "ruleId": "ReturnTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Local variable 'position' is never used", - "markdown": "Local variable 'position' is never used" + "text": "Return type can be 'IEnumerable'", + "markdown": "Return type can be 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Complete.cs", + "uri": "source/Nuke.Utilities/ArgumentParser.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, - "startColumn": 13, - "charOffset": 1181, + "startLine": 31, + "startColumn": 20, + "charOffset": 772, "charLength": 8, "snippet": { - "text": "position" + "text": "string[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 29, "startColumn": 1, - "charOffset": 1158, - "charLength": 209, + "charOffset": 746, + "charLength": 100, "snippet": { - "text": " }\n\n var position = EnvironmentInfo.GetNamedArgument(\"position\");\n var completionItems = IsLegacy(rootDirectory)\n ? completionFile.ReadYaml>()" + "text": " }\n\n private static string[] Parse(string arguments)\n {\n var inSingleQuotes = false;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9a1b1828e41005a87a7158705ac3f0ac57026ec9ff8a8d21bf74d2852cc24d12" + "equalIndicator/v1": "28982f2e6eed2c3dfc4f5e554c2e88d70ab184afad23996553b825a6111808a6" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UnusedVariable", + "ruleId": "ReturnTypeCanBeEnumerable.Local", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Local variable 'index' is never used", - "markdown": "Local variable 'index' is never used" + "text": "Type can be 'IEnumerable'", + "markdown": "Type can be 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Components/ITweetTips.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 40, - "startColumn": 17, - "charOffset": 1115, - "charLength": 5, + "startLine": 25, + "startColumn": 20, + "charOffset": 863, + "charLength": 8, "snippet": { - "text": "index" + "text": "string[]" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 38, + "startLine": 23, "startColumn": 1, - "charOffset": 992, - "charLength": 272, + "charOffset": 725, + "charLength": 190, "snippet": { - "text": "\n var tweetDirectories = TweetDirectory.GlobDirectories(\"*\").OrderBy(x => (string) x).ToList();\n var index = (int) (DateTime.Now.Ticks / TimeSpan.FromDays(7).Ticks) % tweetDirectories.Count;\n var tweetDirectory = tweetDirectories.Last();\n" + "text": " private static readonly SyntaxTrivia EndMultilineComment = SyntaxTrivia(SyntaxKind.MultiLineCommentTrivia, \"*/\");\n\n private static string[] NamespaceImports =>\n new[]\n {" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Components", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "cd4b4eff33f39ab89d7fdd3339fe6689851c685b54081d4a93308a05047075b5" + "equalIndicator/v1": "142767377f1cc7eee2cf6b1357a6b4accf647f0c602b1eb38ce0a0a564151b43" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NET 6.0" @@ -138803,52 +142650,51 @@ } }, { - "ruleId": "UnusedVariable", + "ruleId": "PossibleNullReferenceException", "kind": "fail", "level": "warning", "message": { - "text": "Local variable 'memberAccessExpression' is never used", - "markdown": "Local variable 'memberAccessExpression' is never used" + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/TargetDefinitionRewriter.cs", + "uri": "source/Nuke.Tooling/NuGetToolPathResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 28, - "startColumn": 13, - "charOffset": 942, - "charLength": 22, + "startLine": 70, + "startColumn": 23, + "charOffset": 3002, + "charLength": 84, "snippet": { - "text": "memberAccessExpression" + "text": "Assembly.GetEntryAssembly().NotNull().GetCustomAttribute()" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 26, + "startLine": 68, "startColumn": 1, - "charOffset": 919, - "charLength": 255, + "charOffset": 2917, + "charLength": 289, "snippet": { - "text": " }\n\n var memberAccessExpression = node.Expression as MemberAccessExpressionSyntax;\n // if (memberAccessExpression?.GetIdentifierName() == \"IsDependentOn\" ||\n // memberAccessExpression?.GetIdentifierName() == \"IsDependeeOf\")" + "text": " return GetPackageExecutable(frameworks.Single());\n\n framework ??= Assembly.GetEntryAssembly().NotNull().GetCustomAttribute()\n .FrameworkDisplayName.Replace(\".NET \", \"net\");\n var sortedFrameworks = frameworks.Select(x => x.Key)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "65895454e3d3860ea88442ce91c74431614abe1ad88de17ebd018b246ed9da2f" + "equalIndicator/v1": "78c7b48734b89faad60777995e07445e34b34e78394244d9cb6e0ea71ce1c552" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -138859,167 +142705,109 @@ } }, { - "ruleId": "ReturnTypeCanBeEnumerable.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Type can be 'IEnumerable'", - "markdown": "Type can be 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 20, - "charOffset": 863, - "charLength": 8, - "snippet": { - "text": "string[]" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 725, - "charLength": 190, - "snippet": { - "text": " private static readonly SyntaxTrivia EndMultilineComment = SyntaxTrivia(SyntaxKind.MultiLineCommentTrivia, \"*/\");\n\n private static string[] NamespaceImports =>\n new[]\n {" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.GlobalTool", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "142767377f1cc7eee2cf6b1357a6b4accf647f0c602b1eb38ce0a0a564151b43" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, - { - "ruleId": "ReturnTypeCanBeEnumerable.Local", + "ruleId": "PossibleNullReferenceException", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Return type can be 'IEnumerable'", - "markdown": "Return type can be 'IEnumerable'" + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/ArgumentParser.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsCheckoutStep.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 31, - "startColumn": 20, - "charOffset": 772, - "charLength": 8, + "startColumn": 57, + "charOffset": 949, + "charLength": 21, "snippet": { - "text": "string[]" + "text": "Submodules.ToString()" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 29, "startColumn": 1, - "charOffset": 746, - "charLength": 100, + "charOffset": 830, + "charLength": 287, "snippet": { - "text": " }\n\n private static string[] Parse(string arguments)\n {\n var inSingleQuotes = false;" + "text": " {\n if (Submodules.HasValue)\n writer.WriteLine($\"submodules: {Submodules.ToString().ToLowerInvariant()}\");\n if(Lfs.HasValue)\n writer.WriteLine($\"lfs: {Lfs.ToString().ToLowerInvariant()}\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "28982f2e6eed2c3dfc4f5e554c2e88d70ab184afad23996553b825a6111808a6" + "equalIndicator/v1": "02f4a6e3e8f8b7a17cb8d6cf4336cb1ea59b64b376f0cf13ce7dee925c1ec8dd" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "ReturnTypeCanBeEnumerable.Local", + "ruleId": "PossibleNullReferenceException", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Return type can be 'IEnumerable'", - "markdown": "Return type can be 'IEnumerable'" + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/ArgumentParser.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 20, - "charOffset": 772, - "charLength": 8, + "startLine": 178, + "startColumn": 71, + "charOffset": 7632, + "charLength": 15, "snippet": { - "text": "string[]" + "text": "artifact.Parent" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 176, "startColumn": 1, - "charOffset": 746, - "charLength": 100, + "charOffset": 7472, + "charLength": 364, "snippet": { - "text": " }\n\n private static string[] Parse(string arguments)\n {\n var inSingleQuotes = false;" + "text": " yield return new GitHubActionsArtifactStep\n {\n Name = artifact.ToString().TrimStart(artifact.Parent.ToString()).TrimStart('/', '\\\\'),\n Path = Build.RootDirectory.GetUnixRelativePathTo(artifact),\n Condition = PublishCondition" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e82f21107b82934dbad6f993303eccef61dd73108952a54575f6bd00e3166b7e" + "equalIndicator/v1": "66aae237ae196c7a0abf4db7896d976a3a344b51b10316617bd6d918d6eaefed" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -139038,41 +142826,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common.Tests/CITest.cs", + "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 123, - "startColumn": 23, - "charOffset": 4161, - "charLength": 28, + "startLine": 304, + "startColumn": 34, + "charOffset": 13926, + "charLength": 9, "snippet": { - "text": "property.GetValue(obj: null)" + "text": "attribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 121, + "startLine": 302, "startColumn": 1, - "charOffset": 4011, - "charLength": 186, + "charOffset": 13717, + "charLength": 358, "snippet": { - "text": " {\n var property = type.GetProperty($\"IsRunning{type.Name}\", BindingFlags.NonPublic | BindingFlags.Static).NotNull();\n return (bool) property.GetValue(obj: null);\n }\n" + "text": " // TODO: #555 - Should this use ParameterService.GetParameterMemberName(member) ?\n Name = ParameterService.GetParameterMemberName(member),\n Description = attribute.Description,\n Options = valueSet?.ToDictionary(x => x.Item1, x => x.Item2),\n Type = GetParameterType()," } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common.Tests", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "983b54e50f9cbcf52b6c9221e74dc575f1dd899f752e62fba7483b53b95aca43" + "equalIndicator/v1": "c20e764c0eb805f0b848b63985cb422d817d4b88bebc6909b9fe8adce9888e0e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139094,13 +142881,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.ProjectModel.Tests/ProjectModelTest.cs", + "uri": "source/Nuke.Common/Tools/NSwag/NSwagSettings.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, - "startColumn": 9, - "charOffset": 1567, + "startLine": 58, + "startColumn": 16, + "charOffset": 1789, "charLength": 7, "snippet": { "text": "package" @@ -139108,27 +142895,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 56, "startColumn": 1, - "charOffset": 1393, - "charLength": 240, + "charOffset": 1635, + "charLength": 275, "snippet": { - "text": " var package = msbuildProject.GetItems(\"PackageReference\").FirstOrDefault(x => x.EvaluatedInclude == \"Microsoft.Build\");\n package.Should().NotBeNull();\n package.GetMetadataValue(\"Version\").Should().Be(\"16.9.0\");\n }\n}" + "text": " {\n var package = NuGetPackageResolver.GetLocalInstalledPackage(\"nswag.msbuild\", NuGetToolPathResolver.NuGetPackagesConfigFile);\n return package.Directory / (package.Version.Version >= new Version(major: 11, minor: 18, build: 1) ? \"tools\" : \"build\");\n }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.ProjectModel.Tests", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b7598846e1b71249d8f20e61aa6ae7192a449718d48c575c27038ffaca73acd7" + "equalIndicator/v1": "464c0697f6b634092cf406cb26b517f2bbba47237a836999089cc24b0fb0330f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139150,41 +142936,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel.Tests/SolutionModelTest.cs", + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 31, - "startColumn": 9, - "charOffset": 1026, - "charLength": 12, + "startLine": 78, + "startColumn": 63, + "charOffset": 3177, + "charLength": 25, "snippet": { - "text": "buildProject" + "text": "response.Headers.Location" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 29, + "startLine": 76, "startColumn": 1, - "charOffset": 885, - "charLength": 255, + "charOffset": 3051, + "charLength": 258, "snippet": { - "text": " var buildProject = solution.AllProjects.SingleOrDefault(x => x.Name == \"_build\");\n buildProject.Should().NotBeNull();\n buildProject.Is(ProjectType.CSharpProject).Should().BeTrue();\n\n // solution.SaveAs(solution.Path + \".bak\");" + "text": " response.AssertStatusCode(HttpStatusCode.Created);\n\n Log.Information(\"Signing request created: {Url}\", response.Headers.Location.AbsoluteUri.Replace(\"api/v1\", \"Web\"));\n return response.Headers.Location.AbsoluteUri;\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel.Tests", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e132e7f6f4e55d120fa024b4650be671c086018ec6206d5149c7534a85b3f099" + "equalIndicator/v1": "c853067e42649244cf05fbbc157616f1d6b5fb48c7a618a1f26edb523e9e00c5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139206,41 +142991,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, + "startLine": 251, "startColumn": 16, - "charOffset": 899, - "charLength": 68, + "charOffset": 10728, + "charLength": 25, "snippet": { - "text": "assembly.GetCustomAttribute()" + "text": "response.Headers.Location" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 249, "startColumn": 1, - "charOffset": 796, - "charLength": 201, + "charOffset": 10612, + "charLength": 161, "snippet": { - "text": " private static string GetAssemblyInformationalVersion(this Assembly assembly)\n {\n return assembly.GetCustomAttribute().InformationalVersion;\n }\n}" + "text": "\n var response = SendRequestWithRetry(httpClient, CreateHttpRequest, HttpStatusCode.Created);\n return response.Headers.Location.AbsoluteUri;\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "832fd63755f7a4b832fd0effe57188303770de62ddf467e5ec725b7669adc407" + "equalIndicator/v1": "e85f9616cc29ac66a7acd6920742f66176f342535d59b55ae6bf5333fecb25f2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139262,41 +143046,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ParameterService.cs", + "uri": "source/Nuke.Common.Tests/CITest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 74, - "startColumn": 16, - "charOffset": 2505, - "charLength": 9, + "startLine": 123, + "startColumn": 23, + "charOffset": 4161, + "charLength": 28, "snippet": { - "text": "attribute" + "text": "property.GetValue(obj: null)" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 72, + "startLine": 121, "startColumn": 1, - "charOffset": 2411, - "charLength": 137, + "charOffset": 4011, + "charLength": 186, "snippet": { - "text": " {\n var attribute = member.GetCustomAttribute();\n return attribute.Description?.TrimEnd('.');\n }\n" + "text": " {\n var property = type.GetProperty($\"IsRunning{type.Name}\", BindingFlags.NonPublic | BindingFlags.Static).NotNull();\n return (bool) property.GetValue(obj: null);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Common.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1a3b693e379289bcd6e6c6d639d2032fd91856f444c58e6d3da7aec8e5d0ea3a" + "equalIndicator/v1": "983b54e50f9cbcf52b6c9221e74dc575f1dd899f752e62fba7483b53b95aca43" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139322,9 +143105,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, - "startColumn": 26, - "charOffset": 2288, + "startLine": 74, + "startColumn": 16, + "charOffset": 2505, "charLength": 9, "snippet": { "text": "attribute" @@ -139332,12 +143115,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 72, "startColumn": 1, - "charOffset": 2082, - "charLength": 244, + "charOffset": 2411, + "charLength": 137, "snippet": { - "text": " var attribute = member.GetCustomAttribute();\n var prefix = member.DeclaringType.NotNull().GetCustomAttribute()?.Prefix;\n return prefix + (attribute.Name ?? member.Name);\n }\n" + "text": " {\n var attribute = member.GetCustomAttribute();\n return attribute.Description?.TrimEnd('.');\n }\n" } } }, @@ -139350,9 +143133,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "1bf25b9193ed8669f859e3b769da98ff8fc2f5a874cbe6b3e1648ff3747031c7" + "equalIndicator/v1": "1a3b693e379289bcd6e6c6d639d2032fd91856f444c58e6d3da7aec8e5d0ea3a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139378,9 +143160,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 135, + "startLine": 67, "startColumn": 26, - "charOffset": 5121, + "charOffset": 2288, "charLength": 9, "snippet": { "text": "attribute" @@ -139388,12 +143170,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 133, + "startLine": 65, "startColumn": 1, - "charOffset": 5017, - "charLength": 283, + "charOffset": 2082, + "charLength": 244, "snippet": { - "text": " {\n var attribute = member.GetCustomAttribute();\n var separator = (attribute.Separator ?? string.Empty).SingleOrDefault();\n return provider.Invoke(GetParameterMemberName(member), destinationType ?? member.GetMemberType(), separator);\n }" + "text": " var attribute = member.GetCustomAttribute();\n var prefix = member.DeclaringType.NotNull().GetCustomAttribute()?.Prefix;\n return prefix + (attribute.Name ?? member.Name);\n }\n" } } }, @@ -139406,9 +143188,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "382140dde1303700641718929e42bd962bfebda4b33733b7f188aff5e11abea8" + "equalIndicator/v1": "1bf25b9193ed8669f859e3b769da98ff8fc2f5a874cbe6b3e1648ff3747031c7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139434,9 +143215,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 118, - "startColumn": 21, - "charOffset": 4423, + "startLine": 135, + "startColumn": 26, + "charOffset": 5121, "charLength": 9, "snippet": { "text": "attribute" @@ -139444,12 +143225,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 116, + "startLine": 133, "startColumn": 1, - "charOffset": 4381, - "charLength": 185, + "charOffset": 5017, + "charLength": 283, "snippet": { - "text": " try\n {\n return (attribute.GetValueSet(member, instance) ??\n TryGetFromValueProvider() ??\n TryGetFromEnumerationClass() ??" + "text": " {\n var attribute = member.GetCustomAttribute();\n var separator = (attribute.Separator ?? string.Empty).SingleOrDefault();\n return provider.Invoke(GetParameterMemberName(member), destinationType ?? member.GetMemberType(), separator);\n }" } } }, @@ -139462,9 +143243,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ea93789a723fdc6f5bba292f5677b552be3aaad3ce65b1b7dd4cb6f7b81b03f0" + "equalIndicator/v1": "382140dde1303700641718929e42bd962bfebda4b33733b7f188aff5e11abea8" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139486,41 +143266,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Tests/NuGetPackageResolverTest.cs", + "uri": "source/Nuke.Build/Execution/ParameterService.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 9, - "charOffset": 1612, - "charLength": 6, + "startLine": 118, + "startColumn": 21, + "charOffset": 4423, + "charLength": 9, "snippet": { - "text": "result" + "text": "attribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 116, "startColumn": 1, - "charOffset": 1433, - "charLength": 357, + "charOffset": 4381, + "charLength": 185, "snippet": { - "text": " var result = NuGetPackageResolver.GetGlobalInstalledPackage(\"xunit.runner.console\", version: null, packagesConfigFile: null);\n result.Should().NotBeNull();\n result.Id.Should().Be(\"xunit.runner.console\");\n result.File.Name.Should().EndWith(\"nupkg\");\n result.Version.OriginalVersion.Should().Be(XunitConsolePackageVersion);" + "text": " try\n {\n return (attribute.GetValueSet(member, instance) ??\n TryGetFromValueProvider() ??\n TryGetFromEnumerationClass() ??" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Tests", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b43c5e08d7e240000d45a3b26708bcfcae40e57fced294ac0bd901d723d4b4e7" + "equalIndicator/v1": "ea93789a723fdc6f5bba292f5677b552be3aaad3ce65b1b7dd4cb6f7b81b03f0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139542,41 +143321,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Tests/NuGetPackageResolverTest.cs", + "uri": "source/Nuke.Utilities/Collections/Dictionary.AddKeyValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, - "startColumn": 9, - "charOffset": 2054, - "charLength": 6, + "startLine": 28, + "startColumn": 29, + "charOffset": 800, + "charLength": 5, "snippet": { - "text": "result" + "text": "value" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 26, "startColumn": 1, - "charOffset": 1876, - "charLength": 256, + "charOffset": 722, + "charLength": 129, "snippet": { - "text": " var result = NuGetPackageResolver.GetLocalInstalledPackage(\"xunit.runner.console\", ProjectFile, resolveDependencies: false);\n result.Should().NotBeNull();\n result.Version.OriginalVersion.Should().Be(XunitConsolePackageVersion);\n }\n" + "text": " [CanBeNull] TValue value = default)\n {\n dictionary.Add(key, value.ToString());\n return dictionary;\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ec8d7b14c45b26da956a701ddc09365caf3fab04fd51605be36208d47aae9f72" + "equalIndicator/v1": "9e82f0a3c3f0728b251bda0035601268c3b859d9c675fa27217ffaac07f15ad0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139598,47 +143376,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Tests/NuGetPackageResolverTest.cs", + "uri": "source/Nuke.Utilities/Collections/Dictionary.AddKeyValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 56, - "startColumn": 9, - "charOffset": 2350, - "charLength": 6, + "startLine": 28, + "startColumn": 29, + "charOffset": 800, + "charLength": 5, "snippet": { - "text": "result" + "text": "value" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 26, "startColumn": 1, - "charOffset": 2204, - "charLength": 224, + "charOffset": 722, + "charLength": 129, "snippet": { - "text": " {\n var result = NuGetPackageResolver.GetLocalInstalledPackage(\"xunit.runner.console\", AssetsFile, resolveDependencies: false);\n result.Version.OriginalVersion.Should().Be(XunitConsolePackageVersion);\n }\n" + "text": " [CanBeNull] TValue value = default)\n {\n dictionary.Add(key, value.ToString());\n return dictionary;\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Tests", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9ace0991561557d9fd58efb7f173f733e9f52d5c7174e8de06e7b63a6e8d3ced" + "equalIndicator/v1": "9a656094b4a29e383baf9999e7db642031f4318842235710db1e93c77e08910f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -139654,41 +143431,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 78, - "startColumn": 63, - "charOffset": 3177, - "charLength": 25, + "startLine": 39, + "startColumn": 17, + "charOffset": 1270, + "charLength": 1, "snippet": { - "text": "response.Headers.Location" + "text": "x" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 76, + "startLine": 37, "startColumn": 1, - "charOffset": 3051, - "charLength": 258, + "charOffset": 1176, + "charLength": 206, "snippet": { - "text": " response.AssertStatusCode(HttpStatusCode.Created);\n\n Log.Information(\"Signing request created: {Url}\", response.Headers.Location.AbsoluteUri.Replace(\"api/v1\", \"Web\"));\n return response.Headers.Location.AbsoluteUri;\n }" + "text": " if (ReferenceEquals(y, objB: null))\n return false;\n if (x.GetType() != y.GetType())\n return false;\n return Equals(_selector(x), _selector(y));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c853067e42649244cf05fbbc157616f1d6b5fb48c7a618a1f26edb523e9e00c5" + "equalIndicator/v1": "0bcfc92032c4430f5153d509f415390fecb887661155e9f7b7df4c6c25cb4afe" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139710,41 +143486,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 251, - "startColumn": 16, - "charOffset": 10728, - "charLength": 25, + "startLine": 39, + "startColumn": 32, + "charOffset": 1285, + "charLength": 1, "snippet": { - "text": "response.Headers.Location" + "text": "y" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 249, + "startLine": 37, "startColumn": 1, - "charOffset": 10612, - "charLength": 161, + "charOffset": 1176, + "charLength": 206, "snippet": { - "text": "\n var response = SendRequestWithRetry(httpClient, CreateHttpRequest, HttpStatusCode.Created);\n return response.Headers.Location.AbsoluteUri;\n }\n" + "text": " if (ReferenceEquals(y, objB: null))\n return false;\n if (x.GetType() != y.GetType())\n return false;\n return Equals(_selector(x), _selector(y));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e85f9616cc29ac66a7acd6920742f66176f342535d59b55ae6bf5333fecb25f2" + "equalIndicator/v1": "21f61c48008def254adc85bfc674a96dbcdca2f927fc60ce8fe93c43d400ef5e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139800,7 +143575,6 @@ "partialFingerprints": { "equalIndicator/v1": "ca09b6bfb69f0a92b14ef267a664b5a0175520e650905cb7535869c6387df487" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139856,7 +143630,6 @@ "partialFingerprints": { "equalIndicator/v1": "b4a5907a9914f5033e3d1eae0cebb056a2d8ebc57971d2d104d1a7332f9aea19" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -139878,82 +143651,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 17, - "charOffset": 1270, - "charLength": 1, - "snippet": { - "text": "x" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 1176, - "charLength": 206, - "snippet": { - "text": " if (ReferenceEquals(y, objB: null))\n return false;\n if (x.GetType() != y.GetType())\n return false;\n return Equals(_selector(x), _selector(y));" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Utilities", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0bcfc92032c4430f5153d509f415390fecb887661155e9f7b7df4c6c25cb4afe" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Enumerable.Distinct.cs", + "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 39, - "startColumn": 32, - "charOffset": 1285, - "charLength": 1, + "startLine": 27, + "startColumn": 16, + "charOffset": 899, + "charLength": 68, "snippet": { - "text": "y" + "text": "assembly.GetCustomAttribute()" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 37, + "startLine": 25, "startColumn": 1, - "charOffset": 1176, - "charLength": 206, + "charOffset": 796, + "charLength": 201, "snippet": { - "text": " if (ReferenceEquals(y, objB: null))\n return false;\n if (x.GetType() != y.GetType())\n return false;\n return Equals(_selector(x), _selector(y));" + "text": " private static string GetAssemblyInformationalVersion(this Assembly assembly)\n {\n return assembly.GetCustomAttribute().InformationalVersion;\n }\n}" } } }, @@ -139966,9 +143683,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "21f61c48008def254adc85bfc674a96dbcdca2f927fc60ce8fe93c43d400ef5e" + "equalIndicator/v1": "832fd63755f7a4b832fd0effe57188303770de62ddf467e5ec725b7669adc407" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140024,7 +143740,6 @@ "partialFingerprints": { "equalIndicator/v1": "a8ea7941b3b03d2909d331e493f5028a505f7ada78a8da27680acd4657d6018e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140080,7 +143795,6 @@ "partialFingerprints": { "equalIndicator/v1": "fc94029f5583dbb41a3e1e87a1e026af10dd254f85d4feb317f46059c4313050" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140102,41 +143816,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 178, - "startColumn": 71, - "charOffset": 7632, - "charLength": 15, + "startLine": 88, + "startColumn": 16, + "charOffset": 2420, + "charLength": 84, "snippet": { - "text": "artifact.Parent" + "text": "Assembly.GetEntryAssembly().NotNull().GetCustomAttribute()" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 176, + "startLine": 86, "startColumn": 1, - "charOffset": 7472, - "charLength": 364, + "charOffset": 2344, + "charLength": 195, "snippet": { - "text": " yield return new GitHubActionsArtifactStep\n {\n Name = artifact.ToString().TrimStart(artifact.Parent.ToString()).TrimStart('/', '\\\\'),\n Path = Build.RootDirectory.GetUnixRelativePathTo(artifact),\n Condition = PublishCondition" + "text": " /// \n public static FrameworkName Framework\n => new(Assembly.GetEntryAssembly().NotNull().GetCustomAttribute().FrameworkName);\n\n /// " } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "66aae237ae196c7a0abf4db7896d976a3a344b51b10316617bd6d918d6eaefed" + "equalIndicator/v1": "e1c3d73f7298f24a3b974e81ee6cad4a209d216c49694e3630befe9d114973ca" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140158,13 +143871,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/NSwag/NSwagSettings.cs", + "uri": "source/Nuke.ProjectModel.Tests/ProjectModelTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 56, - "startColumn": 16, - "charOffset": 1704, + "startLine": 44, + "startColumn": 9, + "charOffset": 1567, "charLength": 7, "snippet": { "text": "package" @@ -140172,27 +143885,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 42, "startColumn": 1, - "charOffset": 1550, - "charLength": 275, + "charOffset": 1393, + "charLength": 240, "snippet": { - "text": " {\n var package = NuGetPackageResolver.GetLocalInstalledPackage(\"nswag.msbuild\", NuGetToolPathResolver.NuGetPackagesConfigFile);\n return package.Directory / (package.Version.Version >= new Version(major: 11, minor: 18, build: 1) ? \"tools\" : \"build\");\n }\n}" + "text": " var package = msbuildProject.GetItems(\"PackageReference\").FirstOrDefault(x => x.EvaluatedInclude == \"Microsoft.Build\");\n package.Should().NotBeNull();\n package.GetMetadataValue(\"Version\").Should().Be(\"16.9.0\");\n }\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.ProjectModel.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "47276a5e9f835612f7bb890d84621f0d25303269ab86e4e430c9e83deca0cdd0" + "equalIndicator/v1": "b7598846e1b71249d8f20e61aa6ae7192a449718d48c575c27038ffaca73acd7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140214,41 +143926,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetToolPathResolver.cs", + "uri": "source/Nuke.GlobalTool/Program.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 70, - "startColumn": 23, - "charOffset": 3002, - "charLength": 84, + "startLine": 83, + "startColumn": 25, + "charOffset": 3167, + "charLength": 50, "snippet": { - "text": "Assembly.GetEntryAssembly().NotNull().GetCustomAttribute()" + "text": "commandHandler.Invoke(obj: null, commandArguments)" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 68, + "startLine": 81, "startColumn": 1, - "charOffset": 2917, - "charLength": 289, + "charOffset": 3031, + "charLength": 198, "snippet": { - "text": " return GetPackageExecutable(frameworks.Single());\n\n framework ??= Assembly.GetEntryAssembly().NotNull().GetCustomAttribute()\n .FrameworkDisplayName.Replace(\".NET \", \"net\");\n var sortedFrameworks = frameworks.Select(x => x.Key)" + "text": "\n var commandArguments = new object[] { args.Skip(count: 1).ToArray(), rootDirectory, buildScript };\n return (int)commandHandler.Invoke(obj: null, commandArguments);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "78c7b48734b89faad60777995e07445e34b34e78394244d9cb6e0ea71ce1c552" + "equalIndicator/v1": "b65e9ea04c047a4a9ce76a2cd5ccce8eb1016a0606106db6ffd4cefe020f4d47" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140270,26 +143981,26 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.cs", + "uri": "source/Nuke.GlobalTool/ProjectUpdater.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 83, - "startColumn": 25, - "charOffset": 3167, - "charLength": 50, + "startLine": 44, + "startColumn": 9, + "charOffset": 1608, + "charLength": 11, "snippet": { - "text": "commandHandler.Invoke(obj: null, commandArguments)" + "text": "packageItem" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 81, + "startLine": 42, "startColumn": 1, - "charOffset": 3031, - "charLength": 198, + "charOffset": 1579, + "charLength": 98, "snippet": { - "text": "\n var commandArguments = new object[] { args.Skip(count: 1).ToArray(), rootDirectory, buildScript };\n return (int)commandHandler.Invoke(obj: null, commandArguments);\n }\n" + "text": " return;\n\n packageItem.SetMetadataValue(\"Version\", latestPackageVersion);\n }\n" } } }, @@ -140302,9 +144013,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "b65e9ea04c047a4a9ce76a2cd5ccce8eb1016a0606106db6ffd4cefe020f4d47" + "equalIndicator/v1": "8cb2f1b5c20da86cf96eea3af8e1fe8abd8011031374da056a27f26dc57d7094" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140326,41 +144036,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/TeamCityAttribute.cs", + "uri": "source/Nuke.Tooling.Tests/NuGetPackageResolverTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 304, - "startColumn": 34, - "charOffset": 13926, - "charLength": 9, + "startLine": 56, + "startColumn": 9, + "charOffset": 2350, + "charLength": 6, "snippet": { - "text": "attribute" + "text": "result" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 302, + "startLine": 54, "startColumn": 1, - "charOffset": 13717, - "charLength": 358, + "charOffset": 2204, + "charLength": 224, "snippet": { - "text": " // TODO: #555 - Should this use ParameterService.GetParameterMemberName(member) ?\n Name = ParameterService.GetParameterMemberName(member),\n Description = attribute.Description,\n Options = valueSet?.ToDictionary(x => x.Item1, x => x.Item2),\n Type = GetParameterType()," + "text": " {\n var result = NuGetPackageResolver.GetLocalInstalledPackage(\"xunit.runner.console\", AssetsFile, resolveDependencies: false);\n result.Version.OriginalVersion.Should().Be(XunitConsolePackageVersion);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c20e764c0eb805f0b848b63985cb422d817d4b88bebc6909b9fe8adce9888e0e" + "equalIndicator/v1": "9ace0991561557d9fd58efb7f173f733e9f52d5c7174e8de06e7b63a6e8d3ced" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140382,47 +144091,46 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Dictionary.AddKeyValue.cs", + "uri": "source/Nuke.Tooling.Tests/NuGetPackageResolverTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 28, - "startColumn": 29, - "charOffset": 800, - "charLength": 5, + "startLine": 49, + "startColumn": 9, + "charOffset": 2054, + "charLength": 6, "snippet": { - "text": "value" + "text": "result" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 26, + "startLine": 47, "startColumn": 1, - "charOffset": 722, - "charLength": 129, + "charOffset": 1876, + "charLength": 256, "snippet": { - "text": " [CanBeNull] TValue value = default)\n {\n dictionary.Add(key, value.ToString());\n return dictionary;\n }" + "text": " var result = NuGetPackageResolver.GetLocalInstalledPackage(\"xunit.runner.console\", ProjectFile, resolveDependencies: false);\n result.Should().NotBeNull();\n result.Version.OriginalVersion.Should().Be(XunitConsolePackageVersion);\n }\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9a656094b4a29e383baf9999e7db642031f4318842235710db1e93c77e08910f" + "equalIndicator/v1": "ec8d7b14c45b26da956a701ddc09365caf3fab04fd51605be36208d47aae9f72" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -140438,41 +144146,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Dictionary.AddKeyValue.cs", + "uri": "source/Nuke.Tooling.Tests/NuGetPackageResolverTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 28, - "startColumn": 29, - "charOffset": 800, - "charLength": 5, + "startLine": 39, + "startColumn": 9, + "charOffset": 1612, + "charLength": 6, "snippet": { - "text": "value" + "text": "result" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 26, + "startLine": 37, "startColumn": 1, - "charOffset": 722, - "charLength": 129, + "charOffset": 1433, + "charLength": 357, "snippet": { - "text": " [CanBeNull] TValue value = default)\n {\n dictionary.Add(key, value.ToString());\n return dictionary;\n }" + "text": " var result = NuGetPackageResolver.GetGlobalInstalledPackage(\"xunit.runner.console\", version: null, packagesConfigFile: null);\n result.Should().NotBeNull();\n result.Id.Should().Be(\"xunit.runner.console\");\n result.File.Name.Should().EndWith(\"nupkg\");\n result.Version.OriginalVersion.Should().Be(XunitConsolePackageVersion);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9e82f0a3c3f0728b251bda0035601268c3b859d9c675fa27217ffaac07f15ad0" + "equalIndicator/v1": "b43c5e08d7e240000d45a3b26708bcfcae40e57fced294ac0bd901d723d4b4e7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140494,41 +144201,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsCheckoutStep.cs", + "uri": "source/Nuke.SolutionModel.Tests/SolutionModelTest.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 31, - "startColumn": 57, - "charOffset": 949, - "charLength": 21, + "startColumn": 9, + "charOffset": 1026, + "charLength": 12, "snippet": { - "text": "Submodules.ToString()" + "text": "buildProject" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 29, "startColumn": 1, - "charOffset": 830, - "charLength": 287, + "charOffset": 885, + "charLength": 255, "snippet": { - "text": " {\n if (Submodules.HasValue)\n writer.WriteLine($\"submodules: {Submodules.ToString().ToLowerInvariant()}\");\n if(Lfs.HasValue)\n writer.WriteLine($\"lfs: {Lfs.ToString().ToLowerInvariant()}\");" + "text": " var buildProject = solution.AllProjects.SingleOrDefault(x => x.Name == \"_build\");\n buildProject.Should().NotBeNull();\n buildProject.Is(ProjectType.CSharpProject).Should().BeTrue();\n\n // solution.SaveAs(solution.Path + \".bak\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.SolutionModel.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "02f4a6e3e8f8b7a17cb8d6cf4336cb1ea59b64b376f0cf13ce7dee925c1ec8dd" + "equalIndicator/v1": "e132e7f6f4e55d120fa024b4650be671c086018ec6206d5149c7534a85b3f099" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -140539,111 +144245,109 @@ } }, { - "ruleId": "PossibleNullReferenceException", + "ruleId": "InvokeAsExtensionMethod", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" + "text": "Invoke as extension method", + "markdown": "Invoke as extension method" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/ProjectUpdater.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, - "startColumn": 9, - "charOffset": 1608, - "charLength": 11, + "startLine": 164, + "startColumn": 16, + "charOffset": 6977, + "charLength": 7, "snippet": { - "text": "packageItem" + "text": "NotNull" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 162, "startColumn": 1, - "charOffset": 1579, - "charLength": 98, + "charOffset": 6889, + "charLength": 180, "snippet": { - "text": " return;\n\n packageItem.SetMetadataValue(\"Version\", latestPackageVersion);\n }\n" + "text": " public static void Serialize(Solution solution, Stream stream)\n {\n Assert.NotNull(solution.Path);\n\n using var writer = new StreamWriter(stream, Encoding.UTF8);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8cb2f1b5c20da86cf96eea3af8e1fe8abd8011031374da056a27f26dc57d7094" + "equalIndicator/v1": "4fb2b37bf7ef815453fb5fd5c1cd6cb38f80ff15cc833e74c6a2db47b8c9022c" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "PossibleNullReferenceException", + "ruleId": "InvokeAsExtensionMethod", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" + "text": "Invoke as extension method", + "markdown": "Invoke as extension method" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/EnvironmentInfo.Platform.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 88, + "startLine": 164, "startColumn": 16, - "charOffset": 2420, - "charLength": 84, + "charOffset": 6977, + "charLength": 7, "snippet": { - "text": "Assembly.GetEntryAssembly().NotNull().GetCustomAttribute()" + "text": "NotNull" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 86, + "startLine": 162, "startColumn": 1, - "charOffset": 2344, - "charLength": 195, + "charOffset": 6889, + "charLength": 180, "snippet": { - "text": " /// \n public static FrameworkName Framework\n => new(Assembly.GetEntryAssembly().NotNull().GetCustomAttribute().FrameworkName);\n\n /// " + "text": " public static void Serialize(Solution solution, Stream stream)\n {\n Assert.NotNull(solution.Path);\n\n using var writer = new StreamWriter(stream, Encoding.UTF8);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e1c3d73f7298f24a3b974e81ee6cad4a209d216c49694e3630befe9d114973ca" + "equalIndicator/v1": "aab7b6da00760dbf4ce55e96287ec0480156c85c7849a9b86d6c6c5e8e43439a" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NET 6.0" @@ -140662,13 +144366,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Build/CICD/GenerateBuildServerConfigurationsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 164, + "startLine": 23, "startColumn": 16, - "charOffset": 6977, + "charOffset": 758, "charLength": 7, "snippet": { "text": "NotNull" @@ -140676,33 +144380,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 162, + "startLine": 21, "startColumn": 1, - "charOffset": 6889, - "charLength": 180, + "charOffset": 722, + "charLength": 111, "snippet": { - "text": " public static void Serialize(Solution solution, Stream stream)\n {\n Assert.NotNull(solution.Path);\n\n using var writer = new StreamWriter(stream, Encoding.UTF8);" + "text": " return;\n\n Assert.NotNull(Build.RootDirectory);\n\n var generator = GetGenerators(Build)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4fb2b37bf7ef815453fb5fd5c1cd6cb38f80ff15cc833e74c6a2db47b8c9022c" + "equalIndicator/v1": "57cdcd11faea461192630d1099d44aff088767d2e22788ad95222b617cabe301" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -140718,13 +144421,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.GlobalTool/Program.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 164, - "startColumn": 16, - "charOffset": 6977, + "startLine": 77, + "startColumn": 20, + "charOffset": 2716, "charLength": 7, "snippet": { "text": "NotNull" @@ -140732,27 +144435,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 162, + "startLine": 75, "startColumn": 1, - "charOffset": 6889, - "charLength": 180, + "charOffset": 2444, + "charLength": 517, "snippet": { - "text": " public static void Serialize(Solution solution, Stream stream)\n {\n Assert.NotNull(solution.Path);\n\n using var writer = new StreamWriter(stream, Encoding.UTF8);" + "text": " var availableCommands = typeof(Program).GetMethods(ReflectionUtility.Static).Where(x => x.ReturnType == typeof(int)).ToList();\n var commandHandler = availableCommands.SingleOrDefault(x => x.Name.EqualsOrdinalIgnoreCase(command));\n Assert.NotNull(commandHandler,\n new[] { $\"Command '{command}' is not supported, available commands are:\" }\n .Concat(availableCommands.Where(x => x.IsPublic).Select(x => $\" - {x.Name}\").OrderBy(x => x)).JoinNewLine());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "aab7b6da00760dbf4ce55e96287ec0480156c85c7849a9b86d6c6c5e8e43439a" + "equalIndicator/v1": "ea6d495fd556c7dc80f5163f2ba587ede0ea7078506c1acf3ae6ed43bfab3abc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -140808,7 +144510,6 @@ "partialFingerprints": { "equalIndicator/v1": "d592edb401150f8a015d6b6c97148c6f3fe818eac5bdfe35b0b338da2a54e665" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -140830,13 +144531,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/CICD/GenerateBuildServerConfigurationsAttribute.cs", + "uri": "source/Nuke.GlobalTool/Program.Update.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, + "startLine": 28, "startColumn": 16, - "charOffset": 758, + "charOffset": 710, "charLength": 7, "snippet": { "text": "NotNull" @@ -140844,27 +144545,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 26, "startColumn": 1, - "charOffset": 722, - "charLength": 111, + "charOffset": 665, + "charLength": 102, "snippet": { - "text": " return;\n\n Assert.NotNull(Build.RootDirectory);\n\n var generator = GetGenerators(Build)" + "text": " Logging.Configure();\n\n Assert.NotNull(rootDirectory);\n\n if (buildScript != null)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "57cdcd11faea461192630d1099d44aff088767d2e22788ad95222b617cabe301" + "equalIndicator/v1": "9919b15eda904aa98291f426ed7e3144ebd43e3a6ab8c52e68d4bbcacdd46c6e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -140875,108 +144575,216 @@ } }, { - "ruleId": "InvokeAsExtensionMethod", + "ruleId": "SuggestBaseTypeForParameterInConstructor", "kind": "fail", "level": "note", "message": { - "text": "Invoke as extension method", - "markdown": "Invoke as extension method" + "text": "Parameter can be of type 'Nuke.CodeGeneration.Writers.IWriter'", + "markdown": "Parameter can be of type 'Nuke.CodeGeneration.Writers.IWriter'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Update.cs", + "uri": "source/Nuke.Tooling.Generator/Writers/DataClassWriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 28, - "startColumn": 16, - "charOffset": 710, - "charLength": 7, + "startLine": 13, + "startColumn": 49, + "charOffset": 339, + "charLength": 10, "snippet": { - "text": "NotNull" + "text": "ToolWriter" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 26, + "startLine": 11, "startColumn": 1, - "charOffset": 665, - "charLength": 102, + "charOffset": 243, + "charLength": 151, + "snippet": { + "text": "public class DataClassWriter : IWriterWrapper\n{\n public DataClassWriter(DataClass dataClass, ToolWriter writer)\n {\n DataClass = dataClass;" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling.Generator", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ee0f427256072d34f9a0cd74146c8adb2ef34c51ab3342bc330df84464fcd215" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "SuggestBaseTypeForParameterInConstructor", + "kind": "fail", + "level": "note", + "message": { + "text": "Parameter can be of type 'Nuke.CodeGeneration.Writers.IWriter'", + "markdown": "Parameter can be of type 'Nuke.CodeGeneration.Writers.IWriter'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling.Generator/Writers/TaskWriter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 13, + "startColumn": 34, + "charOffset": 319, + "charLength": 10, + "snippet": { + "text": "ToolWriter" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 11, + "startColumn": 1, + "charOffset": 243, + "charLength": 125, + "snippet": { + "text": "public class TaskWriter : IWriterWrapper\n{\n public TaskWriter(Task task, ToolWriter toolWriter)\n {\n Task = task;" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling.Generator", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d869b31ebefe34f8054e899403f59cab5e2d2f83cce3f03f8b4adc30487a33a5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'EnumValueAttribute' is never instantiated", + "markdown": "Class 'EnumValueAttribute' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Enumeration.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 17, + "startColumn": 14, + "charOffset": 430, + "charLength": 18, + "snippet": { + "text": "EnumValueAttribute" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 15, + "startColumn": 1, + "charOffset": 375, + "charLength": 131, "snippet": { - "text": " Logging.Configure();\n\n Assert.NotNull(rootDirectory);\n\n if (buildScript != null)" + "text": "\n[AttributeUsage(AttributeTargets.Field)]\npublic class EnumValueAttribute : Attribute\n{\n public EnumValueAttribute(string value)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9919b15eda904aa98291f426ed7e3144ebd43e3a6ab8c52e68d4bbcacdd46c6e" + "equalIndicator/v1": "4628cd350aafcec2eb0cde45b74b853091b53c8d51040daf4e320dcd86d3e81f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "InvokeAsExtensionMethod", + "ruleId": "ClassNeverInstantiated.Global", "kind": "fail", "level": "note", "message": { - "text": "Invoke as extension method", - "markdown": "Invoke as extension method" + "text": "Class 'SchemaUtility' is never instantiated", + "markdown": "Class 'SchemaUtility' is never instantiated" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.cs", + "uri": "source/Nuke.Build/Utilities/SchemaUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 77, - "startColumn": 20, - "charOffset": 2716, - "charLength": 7, + "startLine": 17, + "startColumn": 14, + "charOffset": 429, + "charLength": 13, "snippet": { - "text": "NotNull" + "text": "SchemaUtility" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 75, + "startLine": 15, "startColumn": 1, - "charOffset": 2444, - "charLength": 517, + "charOffset": 382, + "charLength": 124, "snippet": { - "text": " var availableCommands = typeof(Program).GetMethods(ReflectionUtility.Static).Where(x => x.ReturnType == typeof(int)).ToList();\n var commandHandler = availableCommands.SingleOrDefault(x => x.Name.EqualsOrdinalIgnoreCase(command));\n Assert.NotNull(commandHandler,\n new[] { $\"Command '{command}' is not supported, available commands are:\" }\n .Concat(availableCommands.Where(x => x.IsPublic).Select(x => $\" - {x.Name}\").OrderBy(x => x)).JoinNewLine());" + "text": "namespace Nuke.Common.Execution;\n\npublic class SchemaUtility\n{\n public static void WriteBuildSchemaFile(INukeBuild build)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ea6d495fd556c7dc80f5163f2ba587ede0ea7078506c1acf3ae6ed43bfab3abc" + "equalIndicator/v1": "78413091d91d0e260edaee58caf7e0ccb7ace3a1c2fed511551dc6b8b0abe771" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -140987,114 +144795,112 @@ } }, { - "ruleId": "SuggestBaseTypeForParameterInConstructor", + "ruleId": "ClassNeverInstantiated.Global", "kind": "fail", "level": "note", "message": { - "text": "Parameter can be of type 'Nuke.CodeGeneration.Writers.IWriter'", - "markdown": "Parameter can be of type 'Nuke.CodeGeneration.Writers.IWriter'" + "text": "Class 'ConsoleUtility' is never instantiated", + "markdown": "Class 'ConsoleUtility' is never instantiated" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Writers/DataClassWriter.cs", + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 13, - "startColumn": 49, - "charOffset": 339, - "charLength": 10, + "startColumn": 14, + "charOffset": 287, + "charLength": 14, "snippet": { - "text": "ToolWriter" + "text": "ConsoleUtility" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 11, "startColumn": 1, - "charOffset": 243, - "charLength": 151, + "charOffset": 240, + "charLength": 172, "snippet": { - "text": "public class DataClassWriter : IWriterWrapper\n{\n public DataClassWriter(DataClass dataClass, ToolWriter writer)\n {\n DataClass = dataClass;" + "text": "namespace Nuke.Common.Utilities;\n\npublic class ConsoleUtility\n{\n private static int BufferWidth => EnvironmentInfo.IsWin ? Console.BufferWidth - 1 : Console.BufferWidth;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ee0f427256072d34f9a0cd74146c8adb2ef34c51ab3342bc330df84464fcd215" + "equalIndicator/v1": "2ab78e800cc4f650fa4888aa2f17e80f6de3cf0aeab12d5fd9aaff334165a758" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "SuggestBaseTypeForParameterInConstructor", + "ruleId": "ClassNeverInstantiated.Global", "kind": "fail", "level": "note", "message": { - "text": "Parameter can be of type 'Nuke.CodeGeneration.Writers.IWriter'", - "markdown": "Parameter can be of type 'Nuke.CodeGeneration.Writers.IWriter'" + "text": "Class 'OptionalAttribute' is never instantiated", + "markdown": "Class 'OptionalAttribute' is never instantiated" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Writers/TaskWriter.cs", + "uri": "source/Nuke.Build/ParameterAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, - "startColumn": 34, - "charOffset": 319, - "charLength": 10, + "startLine": 76, + "startColumn": 14, + "charOffset": 2252, + "charLength": 17, "snippet": { - "text": "ToolWriter" + "text": "OptionalAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 74, "startColumn": 1, - "charOffset": 243, - "charLength": 125, + "charOffset": 2169, + "charLength": 116, "snippet": { - "text": "public class TaskWriter : IWriterWrapper\n{\n public TaskWriter(Task task, ToolWriter toolWriter)\n {\n Task = task;" + "text": "\n[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]\npublic class OptionalAttribute : Attribute\n{\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d869b31ebefe34f8054e899403f59cab5e2d2f83cce3f03f8b4adc30487a33a5" + "equalIndicator/v1": "41f49ee8c93c54a9eb974a707482aebc85c3673959a1d863cdab621245b11c34" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -141103,48 +144909,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'ConsoleUtility' is never instantiated", - "markdown": "Class 'ConsoleUtility' is never instantiated" + "text": "Class 'DictionaryExtensionsTest' is never instantiated", + "markdown": "Class 'DictionaryExtensionsTest' is never instantiated" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Utilities.Tests/Collections/DictionaryExtensionsTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 13, + "startLine": 15, "startColumn": 14, - "charOffset": 287, - "charLength": 14, + "charOffset": 351, + "charLength": 24, "snippet": { - "text": "ConsoleUtility" + "text": "DictionaryExtensionsTest" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 11, + "startLine": 13, "startColumn": 1, - "charOffset": 240, - "charLength": 172, + "charOffset": 308, + "charLength": 80, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic class ConsoleUtility\n{\n private static int BufferWidth => EnvironmentInfo.IsWin ? Console.BufferWidth - 1 : Console.BufferWidth;" + "text": "namespace Nuke.Common.Tests;\n\npublic class DictionaryExtensionsTest\n{\n [Fact]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2ab78e800cc4f650fa4888aa2f17e80f6de3cf0aeab12d5fd9aaff334165a758" + "equalIndicator/v1": "44449cb17ac4c3fa5f45641f5bafcd355b4547e1fb9d5b8698094c4dd6669d96" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -141155,108 +144960,106 @@ } }, { - "ruleId": "ClassNeverInstantiated.Global", + "ruleId": "UnusedType.Global", "kind": "fail", "level": "note", "message": { - "text": "Class 'DictionaryExtensionsTest' is never instantiated", - "markdown": "Class 'DictionaryExtensionsTest' is never instantiated" + "text": "Class 'AptGetPackageRequirementAttribute' is never used", + "markdown": "Class 'AptGetPackageRequirementAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Tests/Collections/DictionaryExtensionsTest.cs", + "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirementAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 15, + "startLine": 12, "startColumn": 14, - "charOffset": 351, - "charLength": 24, + "charOffset": 294, + "charLength": 33, "snippet": { - "text": "DictionaryExtensionsTest" + "text": "AptGetPackageRequirementAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 13, + "startLine": 10, "startColumn": 1, - "charOffset": 308, - "charLength": 80, + "charOffset": 230, + "charLength": 170, "snippet": { - "text": "namespace Nuke.Common.Tests;\n\npublic class DictionaryExtensionsTest\n{\n [Fact]" + "text": "\n[BaseTypeRequired(typeof(IRequireAptGetPackage))]\npublic class AptGetPackageRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _packageId;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Tests", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "44449cb17ac4c3fa5f45641f5bafcd355b4547e1fb9d5b8698094c4dd6669d96" + "equalIndicator/v1": "a8662ce719f4619806945666f4d25a17d2e1e226a6e35b7a270fbd248ff2e14b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "ClassNeverInstantiated.Global", + "ruleId": "UnusedType.Global", "kind": "fail", "level": "note", "message": { - "text": "Class 'OptionalAttribute' is never instantiated", - "markdown": "Class 'OptionalAttribute' is never instantiated" + "text": "Class 'AptGetPackageRequirementAttribute' is never used", + "markdown": "Class 'AptGetPackageRequirementAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/ParameterAttribute.cs", + "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirementAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 76, + "startLine": 12, "startColumn": 14, - "charOffset": 2252, - "charLength": 17, + "charOffset": 294, + "charLength": 33, "snippet": { - "text": "OptionalAttribute" + "text": "AptGetPackageRequirementAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 74, + "startLine": 10, "startColumn": 1, - "charOffset": 2169, - "charLength": 116, + "charOffset": 230, + "charLength": 170, "snippet": { - "text": "\n[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]\npublic class OptionalAttribute : Attribute\n{\n}" + "text": "\n[BaseTypeRequired(typeof(IRequireAptGetPackage))]\npublic class AptGetPackageRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _packageId;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "41f49ee8c93c54a9eb974a707482aebc85c3673959a1d863cdab621245b11c34" + "equalIndicator/v1": "dc585cd73523b3ba03bce67c424b8e092a9ac1e85312a22aa38ff8e1613fb744" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -141267,37 +145070,37 @@ } }, { - "ruleId": "ClassNeverInstantiated.Global", + "ruleId": "UnusedType.Global", "kind": "fail", "level": "note", "message": { - "text": "Class 'EnumValueAttribute' is never instantiated", - "markdown": "Class 'EnumValueAttribute' is never instantiated" + "text": "Class 'NpmPackageRequirementAttribute' is never used", + "markdown": "Class 'NpmPackageRequirementAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", + "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirementAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 17, + "startLine": 12, "startColumn": 14, - "charOffset": 430, - "charLength": 18, + "charOffset": 291, + "charLength": 30, "snippet": { - "text": "EnumValueAttribute" + "text": "NpmPackageRequirementAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 15, + "startLine": 10, "startColumn": 1, - "charOffset": 375, - "charLength": 131, + "charOffset": 230, + "charLength": 164, "snippet": { - "text": "\n[AttributeUsage(AttributeTargets.Field)]\npublic class EnumValueAttribute : Attribute\n{\n public EnumValueAttribute(string value)" + "text": "\n[BaseTypeRequired(typeof(IRequireNpmPackage))]\npublic class NpmPackageRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _packageId;" } } }, @@ -141310,9 +145113,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "4628cd350aafcec2eb0cde45b74b853091b53c8d51040daf4e320dcd86d3e81f" + "equalIndicator/v1": "b5d2ab67bccbfd0859c02b8636a91b1a46c94371decee59c826dce638b83adbc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -141323,226 +145125,222 @@ } }, { - "ruleId": "ClassNeverInstantiated.Global", + "ruleId": "UnusedType.Global", "kind": "fail", "level": "note", "message": { - "text": "Class 'SchemaUtility' is never instantiated", - "markdown": "Class 'SchemaUtility' is never instantiated" + "text": "Class 'NuGetPackageRequirementAttribute' is never used", + "markdown": "Class 'NuGetPackageRequirementAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/SchemaUtility.cs", + "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirementAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 17, + "startLine": 12, "startColumn": 14, - "charOffset": 429, - "charLength": 13, + "charOffset": 293, + "charLength": 32, "snippet": { - "text": "SchemaUtility" + "text": "NuGetPackageRequirementAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 15, + "startLine": 10, "startColumn": 1, - "charOffset": 382, - "charLength": 124, + "charOffset": 230, + "charLength": 168, "snippet": { - "text": "namespace Nuke.Common.Execution;\n\npublic class SchemaUtility\n{\n public static void WriteBuildSchemaFile(INukeBuild build)" + "text": "\n[BaseTypeRequired(typeof(IRequireNuGetPackage))]\npublic class NuGetPackageRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _packageId;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "78413091d91d0e260edaee58caf7e0ccb7ace3a1c2fed511551dc6b8b0abe771" + "equalIndicator/v1": "8aabf9b7e1c9e346aa7fdaff901431e1a22e232a37d00de56f35a44532763691" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "ClassNeverInstantiated.Global", + "ruleId": "UnusedType.Global", "kind": "fail", "level": "note", "message": { - "text": "Class 'Rider' is never instantiated", - "markdown": "Class 'Rider' is never instantiated" + "text": "Class 'PathToolRequirementAttribute' is never used", + "markdown": "Class 'PathToolRequirementAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Terminal.cs", + "uri": "source/Nuke.Tooling/Requirements/PathToolRequirementAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, + "startLine": 12, "startColumn": 14, - "charOffset": 380, - "charLength": 5, + "charOffset": 289, + "charLength": 28, "snippet": { - "text": "Rider" + "text": "PathToolRequirementAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 10, "startColumn": 1, - "charOffset": 364, - "charLength": 55, + "charOffset": 230, + "charLength": 165, "snippet": { - "text": "}\n\npublic class Rider : Terminal\n{\n [UsedImplicitly]" + "text": "\n[BaseTypeRequired(typeof(IRequirePathTool))]\npublic class PathToolRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _pathExecutable;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "40f5d02cbaf192db3ccc9f04f00fcd73ce000470404e157e8086e565e6a9d7aa" + "equalIndicator/v1": "2683403254e6f874bb8e88d5cbdbc01fa33f968070bd75a387a48b077feff5b8" }, - "baselineState": "new", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "ClassNeverInstantiated.Global", + "ruleId": "UnusedType.Global", "kind": "fail", "level": "note", "message": { - "text": "Class 'VSCode' is never instantiated", - "markdown": "Class 'VSCode' is never instantiated" + "text": "Class 'EnumerationExtensions' is never used", + "markdown": "Class 'EnumerationExtensions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Terminal.cs", + "uri": "source/Nuke.Tooling/Enumeration.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 27, - "startColumn": 14, - "charOffset": 826, - "charLength": 6, + "startColumn": 21, + "charOffset": 599, + "charLength": 21, "snippet": { - "text": "VSCode" + "text": "EnumerationExtensions" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 25, "startColumn": 1, - "charOffset": 810, - "charLength": 56, + "charOffset": 576, + "charLength": 97, "snippet": { - "text": "}\n\npublic class VSCode : Terminal\n{\n [UsedImplicitly]" + "text": "}\n\npublic static class EnumerationExtensions\n{\n public static string GetValue(this T value)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5656f3a5a0251053356a44662a1216b8de1293374d297c63deb9e8386936ec2d" + "equalIndicator/v1": "7d2a23c3ab387f9ced2f6e88e4de350d31ca3fe6fc5f96b2c6cbdbee5512af03" }, - "baselineState": "new", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "ClassNeverInstantiated.Global", + "ruleId": "UnusedType.Global", "kind": "fail", "level": "note", "message": { - "text": "Class 'VisualStudio' is never instantiated", - "markdown": "Class 'VisualStudio' is never instantiated" + "text": "Class 'ConfigureExtensions' is never used", + "markdown": "Class 'ConfigureExtensions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Terminal.cs", + "uri": "source/Nuke.Tooling/Configure.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 35, - "startColumn": 14, - "charOffset": 1093, - "charLength": 12, + "startLine": 22, + "startColumn": 21, + "charOffset": 621, + "charLength": 19, "snippet": { - "text": "VisualStudio" + "text": "ConfigureExtensions" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 33, + "startLine": 20, "startColumn": 1, - "charOffset": 1077, - "charLength": 62, + "charOffset": 579, + "charLength": 148, "snippet": { - "text": "}\n\npublic class VisualStudio : Terminal\n{\n [UsedImplicitly]" + "text": " where T : new();\n\npublic static class ConfigureExtensions\n{\n public static T InvokeSafe([CanBeNull] this Configure configurator, T obj)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8685f97e1f5b0a1dcb79a609876595878e828d991d5edc59bff56a0b43ef8706" + "equalIndicator/v1": "faa9a405ee10cf713956b737909d85955f32976c36c71b535d4945dbc81f06a0" }, - "baselineState": "new", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -141551,48 +145349,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'XElementExtensions' is never used", - "markdown": "Class 'XElementExtensions' is never used" + "text": "Class 'ToolingExtensions' is never used", + "markdown": "Class 'ToolingExtensions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XElement.GetAttributeValue.cs", + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, - "startColumn": 29, - "charOffset": 255, - "charLength": 18, + "startLine": 12, + "startColumn": 21, + "charOffset": 285, + "charLength": 17, "snippet": { - "text": "XElementExtensions" + "text": "ToolingExtensions" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 10, "startColumn": 1, - "charOffset": 193, - "charLength": 161, + "charOffset": 233, + "charLength": 169, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XElementExtensions\n{\n public static string GetAttributeValue(this XElement element, string name)" + "text": "namespace Nuke.Common.Tooling;\n\npublic static class ToolingExtensions\n{\n public static AbsolutePath SetExecutable(this AbsolutePath path, bool updateVcsIndex = false)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a73cbe074d84a79c289788d819bb5304fdbfa09583d9a35652d94909e18b5f7e" + "equalIndicator/v1": "c0a8bb9a701d87b96c82cb0d497e1a076fe469ba804a05c1f49f61851f470811" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -141607,54 +145404,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'ResourceUtility' is never used", - "markdown": "Class 'ResourceUtility' is never used" + "text": "Class 'ToolingExtensions' is never used", + "markdown": "Class 'ToolingExtensions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", + "uri": "source/Nuke.Tooling/ToolingExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 14, + "startLine": 12, "startColumn": 21, - "charOffset": 341, - "charLength": 15, + "charOffset": 285, + "charLength": 17, "snippet": { - "text": "ResourceUtility" + "text": "ToolingExtensions" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 12, + "startLine": 10, "startColumn": 1, - "charOffset": 287, - "charLength": 134, + "charOffset": 233, + "charLength": 169, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static class ResourceUtility\n{\n public static string GetResourceAllText(string postfix)" + "text": "namespace Nuke.Common.Tooling;\n\npublic static class ToolingExtensions\n{\n public static AbsolutePath SetExecutable(this AbsolutePath path, bool updateVcsIndex = false)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ed6c673cb5966e7a14a8159e68c4e085b8171874b68fcd2ebcaf10008682a9c3" + "equalIndicator/v1": "90f95e0adc5f42bdd00fa70f7b15efe62b9963692b2abc7723937e363fcf641f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -141663,54 +145459,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'TaskItemExtensions' is never used", - "markdown": "Class 'TaskItemExtensions' is never used" + "text": "Class 'LocalExecutableAttribute' is never used", + "markdown": "Class 'LocalExecutableAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/TaskItemExtensions.cs", + "uri": "source/Nuke.Common/Attributes/LocalPathAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, - "startColumn": 21, - "charOffset": 253, - "charLength": 18, + "startLine": 58, + "startColumn": 14, + "charOffset": 1672, + "charLength": 24, "snippet": { - "text": "TaskItemExtensions" + "text": "LocalExecutableAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 56, "startColumn": 1, - "charOffset": 203, - "charLength": 158, + "charOffset": 1602, + "charLength": 184, "snippet": { - "text": "namespace Nuke.MSBuildTasks;\n\npublic static class TaskItemExtensions\n{\n public static string GetMetadataOrNull(this ITaskItem taskItem, string metdataName)" + "text": "\n[Obsolete($\"Use {nameof(LocalPathAttribute)} instead\")]\npublic class LocalExecutableAttribute : LocalPathAttribute\n{\n public LocalExecutableAttribute(string absoluteOrRelativePath)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3e417cb9ce9685c8a3b601427b150d0b5679c20160d4c377ab3ea084f549d155" + "equalIndicator/v1": "be68460a2a22547726f65bcd6cd1c38982c888bf74656f9d26d3cfcaece33d6d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -141719,54 +145514,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'AssemblyExtensions' is never used", - "markdown": "Class 'AssemblyExtensions' is never used" + "text": "Class 'PackageExecutableAttribute' is never used", + "markdown": "Class 'PackageExecutableAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", + "uri": "source/Nuke.Common/Attributes/NuGetPackageAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, - "startColumn": 21, - "charOffset": 249, - "charLength": 18, + "startLine": 69, + "startColumn": 14, + "charOffset": 2248, + "charLength": 26, "snippet": { - "text": "AssemblyExtensions" + "text": "PackageExecutableAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 67, "startColumn": 1, - "charOffset": 195, - "charLength": 144, + "charOffset": 2175, + "charLength": 207, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static class AssemblyExtensions\n{\n public static string GetInformationalText(this Assembly assembly)" + "text": "\n[Obsolete($\"Use {nameof(NuGetPackageAttribute)} instead\")]\npublic class PackageExecutableAttribute : NuGetPackageAttribute\n{\n public PackageExecutableAttribute(string packageId, string packageExecutable)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "561b424a9befc8992344a87207d7def9c0402bac3b53e1b6dca7170d485ba035" + "equalIndicator/v1": "8260832ec438d14690aad6a5bb58f2e5f3f21466e32ceba8e4cbf641da421604" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -141775,54 +145569,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'CompletionUtility' is never used", - "markdown": "Class 'CompletionUtility' is never used" + "text": "Class 'PathExecutableAttribute' is never used", + "markdown": "Class 'PathExecutableAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", + "uri": "source/Nuke.Common/Attributes/PathVariableAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 15, - "startColumn": 21, - "charOffset": 383, - "charLength": 17, + "startLine": 56, + "startColumn": 14, + "charOffset": 1741, + "charLength": 23, "snippet": { - "text": "CompletionUtility" + "text": "PathExecutableAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 13, + "startLine": 54, "startColumn": 1, - "charOffset": 329, - "charLength": 207, + "charOffset": 1668, + "charLength": 187, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static class CompletionUtility\n{\n public static IReadOnlyDictionary GetItemsFromSchema(AbsolutePath schemaFile, IEnumerable profileNames)" + "text": "\n[Obsolete($\"Use {nameof(PathVariableAttribute)} instead\")]\npublic class PathExecutableAttribute : PathVariableAttribute\n{\n public PathExecutableAttribute(string pathExecutable = null)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Shared", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "14f2063e0dcd8e6fa01e6b8b8a377668e75f576201684c6c3b9b16839ea6700b" + "equalIndicator/v1": "7288d2e2fe47230000e7a0c4b75e4efde5d83428d8e94f0c3b7b4587489f7466" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -141831,54 +145624,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'ConfigureExtensions' is never used", - "markdown": "Class 'ConfigureExtensions' is never used" + "text": "Class 'GitterTasks' is never used", + "markdown": "Class 'GitterTasks' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Configure.cs", + "uri": "source/Nuke.Common/Gitter/GitterTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, + "startLine": 20, "startColumn": 21, - "charOffset": 621, - "charLength": 19, + "charOffset": 568, + "charLength": 11, "snippet": { - "text": "ConfigureExtensions" + "text": "GitterTasks" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 18, "startColumn": 1, - "charOffset": 579, - "charLength": 148, + "charOffset": 543, + "charLength": 86, "snippet": { - "text": " where T : new();\n\npublic static class ConfigureExtensions\n{\n public static T InvokeSafe([CanBeNull] this Configure configurator, T obj)" + "text": "//}\n\npublic static class GitterTasks\n{\n private static HttpClient s_client = new();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "faa9a405ee10cf713956b737909d85955f32976c36c71b535d4945dbc81f06a0" + "equalIndicator/v1": "fd672f2b8f654d7e88035a92f762a234454ad16f7fa73f1dd0d714cc88d9eaf8" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -141887,48 +145679,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'PackageExecutableAttribute' is never used", - "markdown": "Class 'PackageExecutableAttribute' is never used" + "text": "Class 'PartitionAttribute' is never used", + "markdown": "Class 'PartitionAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Attributes/NuGetPackageAttribute.cs", + "uri": "source/Nuke.Build/CICD/PartitionAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 69, + "startLine": 11, "startColumn": 14, - "charOffset": 2248, - "charLength": 26, + "charOffset": 235, + "charLength": 18, "snippet": { - "text": "PackageExecutableAttribute" + "text": "PartitionAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 67, + "startLine": 9, "startColumn": 1, - "charOffset": 2175, - "charLength": 207, + "charOffset": 195, + "charLength": 122, "snippet": { - "text": "\n[Obsolete($\"Use {nameof(NuGetPackageAttribute)} instead\")]\npublic class PackageExecutableAttribute : NuGetPackageAttribute\n{\n public PackageExecutableAttribute(string packageId, string packageExecutable)" + "text": "namespace Nuke.Common.CI;\n\npublic class PartitionAttribute : ParameterAttribute\n{\n public PartitionAttribute(int total)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8260832ec438d14690aad6a5bb58f2e5f3f21466e32ceba8e4cbf641da421604" + "equalIndicator/v1": "ae88c77e01dc02185027de94a57a8a601ded0cabecb3600c12564678b9112cbe" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -141943,33 +145734,33 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'PartitionAttribute' is never used", - "markdown": "Class 'PartitionAttribute' is never used" + "text": "Class 'RequiresAttribute' is never used", + "markdown": "Class 'RequiresAttribute' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/CICD/PartitionAttribute.cs", + "uri": "source/Nuke.Build/RequiresAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, + "startLine": 18, "startColumn": 14, - "charOffset": 235, - "charLength": 18, + "charOffset": 462, + "charLength": 17, "snippet": { - "text": "PartitionAttribute" + "text": "RequiresAttribute" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 16, "startColumn": 1, - "charOffset": 195, - "charLength": 122, + "charOffset": 356, + "charLength": 175, "snippet": { - "text": "namespace Nuke.Common.CI;\n\npublic class PartitionAttribute : ParameterAttribute\n{\n public PartitionAttribute(int total)" + "text": "\n[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true)]\npublic class RequiresAttribute : RequiresAttribute\n where T : IRequireTool\n{" } } }, @@ -141982,9 +145773,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ae88c77e01dc02185027de94a57a8a601ded0cabecb3600c12564678b9112cbe" + "equalIndicator/v1": "daa2fe54f6eb04806d7ffaac13ceb1a2673b0558413d6e46acdc785e24a5ed62" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -141999,54 +145789,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'NuGetPackageRequirementAttribute' is never used", - "markdown": "Class 'NuGetPackageRequirementAttribute' is never used" + "text": "Class 'Rider' is never used", + "markdown": "Class 'Rider' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NuGetPackageRequirementAttribute.cs", + "uri": "source/Nuke.Build/Terminal.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, + "startLine": 16, "startColumn": 14, - "charOffset": 293, - "charLength": 32, + "charOffset": 330, + "charLength": 5, "snippet": { - "text": "NuGetPackageRequirementAttribute" + "text": "Rider" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 14, "startColumn": 1, - "charOffset": 230, - "charLength": 168, + "charOffset": 314, + "charLength": 74, "snippet": { - "text": "\n[BaseTypeRequired(typeof(IRequireNuGetPackage))]\npublic class NuGetPackageRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _packageId;" + "text": "}\n\npublic class Rider : Terminal\n{\n internal static bool IsRunningRider" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8aabf9b7e1c9e346aa7fdaff901431e1a22e232a37d00de56f35a44532763691" + "equalIndicator/v1": "5c7c980f62b37741be4560e46d45fa82a3c1aaa37d8d3a849d46ac2303ae4566" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -142055,54 +145844,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'NpmPackageRequirementAttribute' is never used", - "markdown": "Class 'NpmPackageRequirementAttribute' is never used" + "text": "Class 'VSCode' is never used", + "markdown": "Class 'VSCode' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/NpmPackageRequirementAttribute.cs", + "uri": "source/Nuke.Build/Terminal.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, + "startLine": 24, "startColumn": 14, - "charOffset": 291, - "charLength": 30, + "charOffset": 755, + "charLength": 6, "snippet": { - "text": "NpmPackageRequirementAttribute" + "text": "VSCode" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 22, "startColumn": 1, - "charOffset": 230, - "charLength": 164, + "charOffset": 739, + "charLength": 76, "snippet": { - "text": "\n[BaseTypeRequired(typeof(IRequireNpmPackage))]\npublic class NpmPackageRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _packageId;" + "text": "}\n\npublic class VSCode : Terminal\n{\n internal static bool IsRunningVSCode" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b5d2ab67bccbfd0859c02b8636a91b1a46c94371decee59c826dce638b83adbc" + "equalIndicator/v1": "f85b735d01848f5d929b9faddcd9a3f34837da37a1b0a832ba98540883051154" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -142111,54 +145899,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'Lazy' is never used", - "markdown": "Class 'Lazy' is never used" + "text": "Class 'VisualStudio' is never used", + "markdown": "Class 'VisualStudio' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Lazy.cs", + "uri": "source/Nuke.Build/Terminal.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 9, - "startColumn": 21, - "charOffset": 205, - "charLength": 4, + "startLine": 31, + "startColumn": 14, + "charOffset": 1001, + "charLength": 12, "snippet": { - "text": "Lazy" + "text": "VisualStudio" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 7, + "startLine": 29, "startColumn": 1, - "charOffset": 151, - "charLength": 78, + "charOffset": 985, + "charLength": 88, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static class Lazy\n{\n /// " + "text": "}\n\npublic class VisualStudio : Terminal\n{\n internal static bool IsRunningVisualStudio" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ad9c000d9ef5f349a007a58c0a475bf6ed8d00319a9b42edb940bc845f4dd3c0" + "equalIndicator/v1": "e08acb8daccb8746c149474c67a6aa9e57f44febfeac31573c13fab5f6a8c706" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -142167,33 +145954,33 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'AsyncHelper' is never used", - "markdown": "Class 'AsyncHelper' is never used" + "text": "Class 'StronglyConnectedComponentFinder' is never used", + "markdown": "Class 'StronglyConnectedComponentFinder' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/AsyncHelper.cs", + "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentFinder.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, - "startColumn": 23, - "charOffset": 270, - "charLength": 11, + "startLine": 11, + "startColumn": 16, + "charOffset": 253, + "charLength": 32, "snippet": { - "text": "AsyncHelper" + "text": "StronglyConnectedComponentFinder" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 9, "startColumn": 1, - "charOffset": 224, - "charLength": 120, + "charOffset": 204, + "charLength": 162, "snippet": { - "text": "namespace Nuke.Common;\n\ninternal static class AsyncHelper\n{\n private static readonly TaskFactory s_taskFactory = new(" + "text": "namespace Nuke.Common.Utilities;\n\ninternal class StronglyConnectedComponentFinder\n{\n private StronglyConnectedComponentList _stronglyConnectedComponents;" } } }, @@ -142206,9 +145993,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "6e70ab01ba1892d66cff29583c93b6820b956dc5adf9bf3aa5d1550cefd3438f" + "equalIndicator/v1": "10ab25d9035a1c9d6a3928370fc6a9a9a05fb95ee14740dc76f0718873666be5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -142223,48 +146009,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'EnumerationExtensions' is never used", - "markdown": "Class 'EnumerationExtensions' is never used" + "text": "Class 'AssemblyExtensions' is never used", + "markdown": "Class 'AssemblyExtensions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", + "uri": "source/Nuke.Utilities/Reflection/Assembly.Versioning.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, + "startLine": 11, "startColumn": 21, - "charOffset": 599, - "charLength": 21, + "charOffset": 249, + "charLength": 18, "snippet": { - "text": "EnumerationExtensions" + "text": "AssemblyExtensions" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 9, "startColumn": 1, - "charOffset": 576, - "charLength": 97, + "charOffset": 195, + "charLength": 144, "snippet": { - "text": "}\n\npublic static class EnumerationExtensions\n{\n public static string GetValue(this T value)" + "text": "namespace Nuke.Common.Utilities;\n\npublic static class AssemblyExtensions\n{\n public static string GetInformationalText(this Assembly assembly)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7d2a23c3ab387f9ced2f6e88e4de350d31ca3fe6fc5f96b2c6cbdbee5512af03" + "equalIndicator/v1": "561b424a9befc8992344a87207d7def9c0402bac3b53e1b6dca7170d485ba035" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -142279,54 +146064,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'AptGetPackageRequirementAttribute' is never used", - "markdown": "Class 'AptGetPackageRequirementAttribute' is never used" + "text": "Class 'ResourceUtility' is never used", + "markdown": "Class 'ResourceUtility' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirementAttribute.cs", + "uri": "source/Nuke.Utilities/Reflection/ResourceUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, - "startColumn": 14, - "charOffset": 294, - "charLength": 33, + "startLine": 14, + "startColumn": 21, + "charOffset": 341, + "charLength": 15, "snippet": { - "text": "AptGetPackageRequirementAttribute" + "text": "ResourceUtility" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 12, "startColumn": 1, - "charOffset": 230, - "charLength": 170, + "charOffset": 287, + "charLength": 134, "snippet": { - "text": "\n[BaseTypeRequired(typeof(IRequireAptGetPackage))]\npublic class AptGetPackageRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _packageId;" + "text": "namespace Nuke.Common.Utilities;\n\npublic static class ResourceUtility\n{\n public static string GetResourceAllText(string postfix)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "dc585cd73523b3ba03bce67c424b8e092a9ac1e85312a22aa38ff8e1613fb744" + "equalIndicator/v1": "ed6c673cb5966e7a14a8159e68c4e085b8171874b68fcd2ebcaf10008682a9c3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -142335,48 +146119,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'AptGetPackageRequirementAttribute' is never used", - "markdown": "Class 'AptGetPackageRequirementAttribute' is never used" + "text": "Class 'XElementExtensions' is never used", + "markdown": "Class 'XElementExtensions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirementAttribute.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XElement.GetAttributeValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, - "startColumn": 14, - "charOffset": 294, - "charLength": 33, + "startLine": 11, + "startColumn": 29, + "charOffset": 255, + "charLength": 18, "snippet": { - "text": "AptGetPackageRequirementAttribute" + "text": "XElementExtensions" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 9, "startColumn": 1, - "charOffset": 230, - "charLength": 170, + "charOffset": 193, + "charLength": 161, "snippet": { - "text": "\n[BaseTypeRequired(typeof(IRequireAptGetPackage))]\npublic class AptGetPackageRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _packageId;" + "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XElementExtensions\n{\n public static string GetAttributeValue(this XElement element, string name)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a8662ce719f4619806945666f4d25a17d2e1e226a6e35b7a270fbd248ff2e14b" + "equalIndicator/v1": "a73cbe074d84a79c289788d819bb5304fdbfa09583d9a35652d94909e18b5f7e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -142391,33 +146174,33 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'DisposableExtensions' is never used", - "markdown": "Class 'DisposableExtensions' is never used" + "text": "Class 'AsyncHelper' is never used", + "markdown": "Class 'AsyncHelper' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Disposable.CombineWith.cs", + "uri": "source/Nuke.Utilities/AsyncHelper.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, - "startColumn": 21, - "charOffset": 253, - "charLength": 20, + "startLine": 12, + "startColumn": 23, + "charOffset": 270, + "charLength": 11, "snippet": { - "text": "DisposableExtensions" + "text": "AsyncHelper" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 10, "startColumn": 1, - "charOffset": 199, - "charLength": 94, + "charOffset": 224, + "charLength": 120, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static class DisposableExtensions\n{\n /// " + "text": "namespace Nuke.Common;\n\ninternal static class AsyncHelper\n{\n private static readonly TaskFactory s_taskFactory = new(" } } }, @@ -142430,9 +146213,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c0dc1ace853ea1600ef706e0912415503cbef3fc11b8494435fa505fa2db8ffe" + "equalIndicator/v1": "6e70ab01ba1892d66cff29583c93b6820b956dc5adf9bf3aa5d1550cefd3438f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -142447,48 +146229,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'NukeBuild' is never used", - "markdown": "Class 'NukeBuild' is never used" + "text": "Class 'DisposableExtensions' is never used", + "markdown": "Class 'DisposableExtensions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SourceGenerators/Shims/NukeBuild.cs", + "uri": "source/Nuke.Utilities/Disposable.CombineWith.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 10, - "startColumn": 23, - "charOffset": 216, - "charLength": 9, + "startLine": 11, + "startColumn": 21, + "charOffset": 253, + "charLength": 20, "snippet": { - "text": "NukeBuild" + "text": "DisposableExtensions" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 8, + "startLine": 9, "startColumn": 1, - "charOffset": 170, - "charLength": 59, + "charOffset": 199, + "charLength": 94, "snippet": { - "text": "namespace Nuke.Common;\n\ninternal static class NukeBuild\n{\n}" + "text": "namespace Nuke.Common.Utilities;\n\npublic static class DisposableExtensions\n{\n /// " } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SourceGenerators", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f2fc826d09209cb61e9e292f43e16233c457f2e677fb5f3a723ae31db2640989" + "equalIndicator/v1": "c0dc1ace853ea1600ef706e0912415503cbef3fc11b8494435fa505fa2db8ffe" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -142503,54 +146284,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'PathExecutableAttribute' is never used", - "markdown": "Class 'PathExecutableAttribute' is never used" + "text": "Class 'Lazy' is never used", + "markdown": "Class 'Lazy' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Attributes/PathVariableAttribute.cs", + "uri": "source/Nuke.Utilities/Lazy.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 56, - "startColumn": 14, - "charOffset": 1741, - "charLength": 23, + "startLine": 9, + "startColumn": 21, + "charOffset": 205, + "charLength": 4, "snippet": { - "text": "PathExecutableAttribute" + "text": "Lazy" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 54, + "startLine": 7, "startColumn": 1, - "charOffset": 1668, - "charLength": 187, + "charOffset": 151, + "charLength": 78, "snippet": { - "text": "\n[Obsolete($\"Use {nameof(PathVariableAttribute)} instead\")]\npublic class PathExecutableAttribute : PathVariableAttribute\n{\n public PathExecutableAttribute(string pathExecutable = null)" + "text": "namespace Nuke.Common.Utilities;\n\npublic static class Lazy\n{\n /// " } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7288d2e2fe47230000e7a0c4b75e4efde5d83428d8e94f0c3b7b4587489f7466" + "equalIndicator/v1": "ad9c000d9ef5f349a007a58c0a475bf6ed8d00319a9b42edb940bc845f4dd3c0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -142559,54 +146339,53 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'LocalExecutableAttribute' is never used", - "markdown": "Class 'LocalExecutableAttribute' is never used" + "text": "Class 'CompletionUtility' is never used", + "markdown": "Class 'CompletionUtility' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Attributes/LocalPathAttribute.cs", + "uri": "source/Nuke.Build.Shared/CompletionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 58, - "startColumn": 14, - "charOffset": 1672, - "charLength": 24, + "startLine": 15, + "startColumn": 21, + "charOffset": 383, + "charLength": 17, "snippet": { - "text": "LocalExecutableAttribute" + "text": "CompletionUtility" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 56, + "startLine": 13, "startColumn": 1, - "charOffset": 1602, - "charLength": 184, + "charOffset": 329, + "charLength": 207, "snippet": { - "text": "\n[Obsolete($\"Use {nameof(LocalPathAttribute)} instead\")]\npublic class LocalExecutableAttribute : LocalPathAttribute\n{\n public LocalExecutableAttribute(string absoluteOrRelativePath)" + "text": "namespace Nuke.Common.Utilities;\n\npublic static class CompletionUtility\n{\n public static IReadOnlyDictionary GetItemsFromSchema(AbsolutePath schemaFile, IEnumerable profileNames)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Shared", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "be68460a2a22547726f65bcd6cd1c38982c888bf74656f9d26d3cfcaece33d6d" + "equalIndicator/v1": "14f2063e0dcd8e6fa01e6b8b8a377668e75f576201684c6c3b9b16839ea6700b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -142615,48 +146394,47 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'StronglyConnectedComponentFinder' is never used", - "markdown": "Class 'StronglyConnectedComponentFinder' is never used" + "text": "Class 'TaskItemExtensions' is never used", + "markdown": "Class 'TaskItemExtensions' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Collections/Graph/StronglyConnectedComponentFinder.cs", + "uri": "source/Nuke.MSBuildTasks/TaskItemExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 11, - "startColumn": 16, + "startColumn": 21, "charOffset": 253, - "charLength": 32, + "charLength": 18, "snippet": { - "text": "StronglyConnectedComponentFinder" + "text": "TaskItemExtensions" }, "sourceLanguage": "C#" }, "contextRegion": { "startLine": 9, "startColumn": 1, - "charOffset": 204, - "charLength": 162, + "charOffset": 203, + "charLength": 158, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\ninternal class StronglyConnectedComponentFinder\n{\n private StronglyConnectedComponentList _stronglyConnectedComponents;" + "text": "namespace Nuke.MSBuildTasks;\n\npublic static class TaskItemExtensions\n{\n public static string GetMetadataOrNull(this ITaskItem taskItem, string metdataName)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "10ab25d9035a1c9d6a3928370fc6a9a9a05fb95ee14740dc76f0718873666be5" + "equalIndicator/v1": "3e417cb9ce9685c8a3b601427b150d0b5679c20160d4c377ab3ea084f549d155" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -142671,107 +146449,105 @@ "kind": "fail", "level": "note", "message": { - "text": "Class 'RequiresAttribute' is never used", - "markdown": "Class 'RequiresAttribute' is never used" + "text": "Class 'NukeBuild' is never used", + "markdown": "Class 'NukeBuild' is never used" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/RequiresAttribute.cs", + "uri": "source/Nuke.SourceGenerators/Shims/NukeBuild.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, - "startColumn": 14, - "charOffset": 462, - "charLength": 17, + "startLine": 10, + "startColumn": 23, + "charOffset": 216, + "charLength": 9, "snippet": { - "text": "RequiresAttribute" + "text": "NukeBuild" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 8, "startColumn": 1, - "charOffset": 356, - "charLength": 175, + "charOffset": 170, + "charLength": 59, "snippet": { - "text": "\n[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true)]\npublic class RequiresAttribute : RequiresAttribute\n where T : IRequireTool\n{" + "text": "namespace Nuke.Common;\n\ninternal static class NukeBuild\n{\n}" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.SourceGenerators", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "daa2fe54f6eb04806d7ffaac13ceb1a2673b0558413d6e46acdc785e24a5ed62" + "equalIndicator/v1": "f2fc826d09209cb61e9e292f43e16233c457f2e677fb5f3a723ae31db2640989" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, { - "ruleId": "UnusedType.Global", + "ruleId": "MemberCanBePrivate.Local", "kind": "fail", - "level": "note", + "level": "warning", "message": { - "text": "Class 'GitterTasks' is never used", - "markdown": "Class 'GitterTasks' is never used" + "text": "Method 'Generate' can be made private", + "markdown": "Method 'Generate' can be made private" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Gitter/GitterTasks.cs", + "uri": "source/Nuke.Build.Tests/SchemaUtilityTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 21, - "charOffset": 568, - "charLength": 11, + "startLine": 74, + "startColumn": 9, + "charOffset": 2174, + "charLength": 6, "snippet": { - "text": "GitterTasks" + "text": "public" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 72, "startColumn": 1, - "charOffset": 543, - "charLength": 86, + "charOffset": 2155, + "charLength": 104, "snippet": { - "text": "//}\n\npublic static class GitterTasks\n{\n private static HttpClient s_client = new();" + "text": " }\n\n public JsonSchema Generate()\n {\n var userSchema = new JsonSchema();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fd672f2b8f654d7e88035a92f762a234454ad16f7fa73f1dd0d714cc88d9eaf8" + "equalIndicator/v1": "c88630a365ba16bf0171ea456a0490de9a5da686f2c72c5a3a241333b8601724" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", "tags": [ "C#", ".NET 6.0" @@ -142779,93 +146555,92 @@ } }, { - "ruleId": "UnusedType.Global", + "ruleId": "UseStringInterpolation", "kind": "fail", "level": "note", "message": { - "text": "Class 'PathToolRequirementAttribute' is never used", - "markdown": "Class 'PathToolRequirementAttribute' is never used" + "text": "Use string interpolation expression", + "markdown": "Use string interpolation expression" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/PathToolRequirementAttribute.cs", + "uri": "source/Nuke.Common/Tools/Twitter/TwitterTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 12, - "startColumn": 14, - "charOffset": 289, - "charLength": 28, + "startLine": 89, + "startColumn": 16, + "charOffset": 3418, + "charLength": 13, "snippet": { - "text": "PathToolRequirementAttribute" + "text": "string.Format" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 10, + "startLine": 87, "startColumn": 1, - "charOffset": 230, - "charLength": 165, + "charOffset": 3323, + "charLength": 286, "snippet": { - "text": "\n[BaseTypeRequired(typeof(IRequirePathTool))]\npublic class PathToolRequirementAttribute : ToolRequirementAttributeBase\n{\n private readonly string _pathExecutable;" + "text": " private static string GetOAuthHeader(Dictionary data)\n {\n return string.Format(\"OAuth {0}\",\n data.Where(x => x.Key.StartsWith(\"oauth_\"))\n .Select(x => $\"{Uri.EscapeDataString(x.Key)}={Uri.EscapeDataString(x.Value).DoubleQuote()}\")" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2683403254e6f874bb8e88d5cbdbc01fa33f968070bd75a387a48b077feff5b8" + "equalIndicator/v1": "56c003aea36860caa9ed460af994cc19109ca02616680b112104dcd40a738ca9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "UseStringInterpolation", + "ruleId": "FieldCanBeMadeReadOnly.Local", "kind": "fail", "level": "note", "message": { - "text": "Use string interpolation expression", - "markdown": "Use string interpolation expression" + "text": "Field can be made readonly", + "markdown": "Field can be made readonly" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Twitter/TwitterTasks.cs", + "uri": "source/Nuke.Common/Gitter/GitterTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 89, - "startColumn": 16, - "charOffset": 3418, - "charLength": 13, + "startLine": 22, + "startColumn": 31, + "charOffset": 612, + "charLength": 8, "snippet": { - "text": "string.Format" + "text": "s_client" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 87, + "startLine": 20, "startColumn": 1, - "charOffset": 3323, - "charLength": 286, + "charOffset": 548, + "charLength": 168, "snippet": { - "text": " private static string GetOAuthHeader(Dictionary data)\n {\n return string.Format(\"OAuth {0}\",\n data.Where(x => x.Key.StartsWith(\"oauth_\"))\n .Select(x => $\"{Uri.EscapeDataString(x.Key)}={Uri.EscapeDataString(x.Value).DoubleQuote()}\")" + "text": "public static class GitterTasks\n{\n private static HttpClient s_client = new();\n\n public static void SendGitterMessage(string message, string roomId, string token)" } } }, @@ -142878,9 +146653,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "56c003aea36860caa9ed460af994cc19109ca02616680b112104dcd40a738ca9" + "equalIndicator/v1": "8c2989e68dc05ed195ad9910523fb0164fa5fabcd80ee59912dac69ee9e481d5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -142902,41 +146676,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/InvocationRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 23, - "charOffset": 2068, - "charLength": 6, + "startLine": 35, + "startColumn": 61, + "charOffset": 1753, + "charLength": 25, "snippet": { - "text": "Action" + "text": "ConvertStringToIdentifier" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 33, "startColumn": 1, - "charOffset": 1989, - "charLength": 218, + "charOffset": 1681, + "charLength": 171, "snippet": { - "text": " {\n public string Description = \"description\";\n public Action Action = () => { };\n public Expression> Requirement = () => true;\n public Func StaticCondition = () => true;" + "text": " };\n\n private static Func ConvertStringToIdentifier = x =>\n {\n var literalExpression = (LiteralExpressionSyntax) x;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6c42b860cbce600f6518c20215ad8157ce18606b5900a9e15b24ba9366e318fc" + "equalIndicator/v1": "1b21aae3ff1ad079e8ee5983a5852ec35565d574461b2ead4478ac88aa4738b7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -142958,41 +146731,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/InvocationRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 58, - "startColumn": 39, - "charOffset": 2126, - "charLength": 11, + "startLine": 42, + "startColumn": 61, + "charOffset": 2035, + "charLength": 24, "snippet": { - "text": "Requirement" + "text": "ConvertLambdaBodyToBlock" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 56, + "startLine": 40, "startColumn": 1, - "charOffset": 1995, - "charLength": 270, + "charOffset": 1967, + "charLength": 164, "snippet": { - "text": " public string Description = \"description\";\n public Action Action = () => { };\n public Expression> Requirement = () => true;\n public Func StaticCondition = () => true;\n public Func DynamicCondition = () => false;" + "text": " };\n\n private static Func ConvertLambdaBodyToBlock = x =>\n {\n var lambdaExpression = (LambdaExpressionSyntax) x;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2a0a4694ab153fb80d8bf2b66750adfc1302e313b1ddd4053902b1ca60c56e86" + "equalIndicator/v1": "beac57c9b0eeb23b3e8ef1aec0f2f9026e30d25a817dad69ce9873e0d3a5e4ad" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143018,22 +146790,22 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, - "startColumn": 27, - "charOffset": 2178, - "charLength": 15, + "startLine": 57, + "startColumn": 23, + "charOffset": 2068, + "charLength": 6, "snippet": { - "text": "StaticCondition" + "text": "Action" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 55, "startColumn": 1, - "charOffset": 2046, - "charLength": 220, + "charOffset": 1989, + "charLength": 218, "snippet": { - "text": " public Action Action = () => { };\n public Expression> Requirement = () => true;\n public Func StaticCondition = () => true;\n public Func DynamicCondition = () => false;\n" + "text": " {\n public string Description = \"description\";\n public Action Action = () => { };\n public Expression> Requirement = () => true;\n public Func StaticCondition = () => true;" } } }, @@ -143046,9 +146818,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e41a2ed34aff9e0cc2c0cc0f2fd0a7a159cd3d489b1c037652c4821a91a2e4e8" + "equalIndicator/v1": "6c42b860cbce600f6518c20215ad8157ce18606b5900a9e15b24ba9366e318fc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143074,93 +146845,36 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 60, - "startColumn": 27, - "charOffset": 2234, - "charLength": 16, - "snippet": { - "text": "DynamicCondition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { "startLine": 58, - "startColumn": 1, - "charOffset": 2088, - "charLength": 212, - "snippet": { - "text": " public Expression> Requirement = () => true;\n public Func StaticCondition = () => true;\n public Func DynamicCondition = () => false;\n\n public Target A => _ => _" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Build.Tests", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6226471198082a6850b4efc0faba775e0c9f8e833e34fc9145089b89df8aa94f" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/InvocationRewriter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 61, - "charOffset": 1753, - "charLength": 25, + "startColumn": 39, + "charOffset": 2126, + "charLength": 11, "snippet": { - "text": "ConvertStringToIdentifier" + "text": "Requirement" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 33, + "startLine": 56, "startColumn": 1, - "charOffset": 1681, - "charLength": 171, + "charOffset": 1995, + "charLength": 270, "snippet": { - "text": " };\n\n private static Func ConvertStringToIdentifier = x =>\n {\n var literalExpression = (LiteralExpressionSyntax) x;" + "text": " public string Description = \"description\";\n public Action Action = () => { };\n public Expression> Requirement = () => true;\n public Func StaticCondition = () => true;\n public Func DynamicCondition = () => false;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1b21aae3ff1ad079e8ee5983a5852ec35565d574461b2ead4478ac88aa4738b7" + "equalIndicator/v1": "2a0a4694ab153fb80d8bf2b66750adfc1302e313b1ddd4053902b1ca60c56e86" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143182,41 +146896,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/InvocationRewriter.cs", + "uri": "source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 42, - "startColumn": 61, - "charOffset": 2035, - "charLength": 24, + "startLine": 59, + "startColumn": 27, + "charOffset": 2178, + "charLength": 15, "snippet": { - "text": "ConvertLambdaBodyToBlock" + "text": "StaticCondition" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 40, + "startLine": 57, "startColumn": 1, - "charOffset": 1967, - "charLength": 164, + "charOffset": 2046, + "charLength": 220, "snippet": { - "text": " };\n\n private static Func ConvertLambdaBodyToBlock = x =>\n {\n var lambdaExpression = (LambdaExpressionSyntax) x;" + "text": " public Action Action = () => { };\n public Expression> Requirement = () => true;\n public Func StaticCondition = () => true;\n public Func DynamicCondition = () => false;\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "beac57c9b0eeb23b3e8ef1aec0f2f9026e30d25a817dad69ce9873e0d3a5e4ad" + "equalIndicator/v1": "e41a2ed34aff9e0cc2c0cc0f2fd0a7a159cd3d489b1c037652c4821a91a2e4e8" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143238,41 +146951,40 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Gitter/GitterTasks.cs", + "uri": "source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 22, - "startColumn": 31, - "charOffset": 612, - "charLength": 8, + "startLine": 60, + "startColumn": 27, + "charOffset": 2234, + "charLength": 16, "snippet": { - "text": "s_client" + "text": "DynamicCondition" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 20, + "startLine": 58, "startColumn": 1, - "charOffset": 548, - "charLength": 168, + "charOffset": 2088, + "charLength": 212, "snippet": { - "text": "public static class GitterTasks\n{\n private static HttpClient s_client = new();\n\n public static void SendGitterMessage(string message, string roomId, string token)" + "text": " public Expression> Requirement = () => true;\n public Func StaticCondition = () => true;\n public Func DynamicCondition = () => false;\n\n public Target A => _ => _" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8c2989e68dc05ed195ad9910523fb0164fa5fabcd80ee59912dac69ee9e481d5" + "equalIndicator/v1": "6226471198082a6850b4efc0faba775e0c9f8e833e34fc9145089b89df8aa94f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143294,13 +147006,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Tooling/Enumeration.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, + "startLine": 99, "startColumn": 13, - "charOffset": 1589, + "charOffset": 2698, "charLength": 2, "snippet": { "text": "if" @@ -143308,27 +147020,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 97, "startColumn": 1, - "charOffset": 1521, - "charLength": 192, + "charOffset": 2566, + "charLength": 261, "snippet": { - "text": " {\n var reader = node.CreateReader();\n if (reader.NameTable != null)\n {\n xmlNamespaceManager = new XmlNamespaceManager(reader.NameTable);" + "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n var matchingFields = typeof(T).GetFields(ReflectionUtility.Static)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9d239519a83401134214d2b5e2cb6ac3dc2b06f028835c26f95deea1545508b3" + "equalIndicator/v1": "339d8d01876c95079368ab1a2c74962cb8278ca9f71dacef6c8188bca4e4568f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143350,13 +147061,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Tooling/Enumeration.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, - "startColumn": 9, - "charOffset": 1493, + "startLine": 99, + "startColumn": 13, + "charOffset": 2698, "charLength": 2, "snippet": { "text": "if" @@ -143364,33 +147075,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 97, "startColumn": 1, - "charOffset": 1428, - "charLength": 148, + "charOffset": 2566, + "charLength": 261, "snippet": { - "text": " XmlNamespaceManager xmlNamespaceManager = null;\n\n if (namespaces?.Length > 0)\n {\n var reader = node.CreateReader();" + "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n var matchingFields = typeof(T).GetFields(ReflectionUtility.Static)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "671ecc2b3185f47c6dde5473776dcbac2b94b7cbee58ede167c1a162cb781014" + "equalIndicator/v1": "027d5bc07a16f0165755545ec1c9f8197d8200fe8e58c5e862596bcdb3214409" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -143406,13 +147116,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 44, - "startColumn": 13, - "charOffset": 1589, + "startLine": 139, + "startColumn": 9, + "charOffset": 5756, "charLength": 2, "snippet": { "text": "if" @@ -143420,33 +147130,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 42, + "startLine": 137, "startColumn": 1, - "charOffset": 1521, - "charLength": 192, + "charOffset": 5737, + "charLength": 172, "snippet": { - "text": " {\n var reader = node.CreateReader();\n if (reader.NameTable != null)\n {\n xmlNamespaceManager = new XmlNamespaceManager(reader.NameTable);" + "text": " }\n\n if (resolveDependencies && !IsLegacyFile(packagesConfigFile))\n {\n var packagesToCheck = new Queue(installedPackages);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f88669d075c377b6056d205ba1bac0b5636ba1278cb2df8ebe776822a6bbd0d8" + "equalIndicator/v1": "8511ca8ce990ce8f63c55bc4e044a68fa3c65dcfeb643e52c5a0d3de7a7d91ee" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -143462,13 +147171,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 41, + "startLine": 301, "startColumn": 9, - "charOffset": 1493, + "charOffset": 12656, "charLength": 2, "snippet": { "text": "if" @@ -143476,33 +147185,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 39, + "startLine": 299, "startColumn": 1, - "charOffset": 1428, - "charLength": 148, + "charOffset": 12637, + "charLength": 176, "snippet": { - "text": " XmlNamespaceManager xmlNamespaceManager = null;\n\n if (namespaces?.Length > 0)\n {\n var reader = node.CreateReader();" + "text": " }\n\n if (EnvironmentInfo.IsUnix)\n {\n directories.Add(EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile).NotNull() / \".config\" / \"NuGet\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c0bb81350fec585c7734153e956322ec89b7555ce5f3ad57edd927064a0f879f" + "equalIndicator/v1": "c21105b9bdd52f062f7b1a5375f1bc4dd33883b2c0988e1d6c5d37682f221f96" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -143518,13 +147226,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/MinVer/MinVerAttribute.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, + "startLine": 139, "startColumn": 9, - "charOffset": 981, + "charOffset": 5756, "charLength": 2, "snippet": { "text": "if" @@ -143532,27 +147240,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 137, "startColumn": 1, - "charOffset": 951, - "charLength": 135, + "charOffset": 5737, + "charLength": 172, "snippet": { - "text": " .Result;\n\n if (UpdateBuildNumber)\n {\n AzurePipelines.Instance?.UpdateBuildNumber(version.Version);" + "text": " }\n\n if (resolveDependencies && !IsLegacyFile(packagesConfigFile))\n {\n var packagesToCheck = new Queue(installedPackages);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b2286076075017684d0afe404be90ea740ea5bb0256aa314a963d215b81b6d16" + "equalIndicator/v1": "dd5d71ff2500dabe0ae4238a31e10a459c12bc55fd0c3abf815ecbdd7659ff1b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143574,13 +147281,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/DotNet/DotNetTasks.cs", + "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 65, - "startColumn": 13, - "charOffset": 1596, + "startLine": 301, + "startColumn": 9, + "charOffset": 12656, "charLength": 2, "snippet": { "text": "if" @@ -143588,27 +147295,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 63, + "startLine": 299, "startColumn": 1, - "charOffset": 1569, - "charLength": 120, + "charOffset": 12637, + "charLength": 176, "snippet": { - "text": " }\n\n if (i >= 6 &&\n 'w' == output[i - 6] &&\n 'a' == output[i - 5] &&" + "text": " }\n\n if (EnvironmentInfo.IsUnix)\n {\n directories.Add(EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile).NotNull() / \".config\" / \"NuGet\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a80b95f8d2aba8757f3b959c2d67369b5a46163fa77ff3824243be31d863d6cc" + "equalIndicator/v1": "34761c3df8eb6e992b66eb101629943fb755715f27415b3834a793f3a2fb8e4e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143630,13 +147336,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/DataClassGenerator.cs", + "uri": "source/Nuke.Tooling/ProcessTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 178, + "startLine": 123, "startColumn": 9, - "charOffset": 6727, + "charOffset": 4281, "charLength": 2, "snippet": { "text": "if" @@ -143644,27 +147350,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 176, + "startLine": 121, "startColumn": 1, - "charOffset": 6708, - "charLength": 137, + "charOffset": 4203, + "charLength": 170, "snippet": { - "text": " }\n\n if (property.IsLookupTable())\n {\n var (keyType, valueType) = property.GetLookupTableKeyValueTypes();" + "text": " outputFilter ??= x => x;\n Assert.FileExists(toolPath);\n if (logInvocation ?? DefaultLogInvocation)\n {\n // TODO: logging additional" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "55fd24ef17109855eb4fbc7c23f01c49f034314c9aa6c9c76d1a0ffc907edc93" + "equalIndicator/v1": "50fa5ed7d3ff3bbf7a644fe1c09edbbfbba1e4f57c13b0f9f7faeed82c57a171" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143686,13 +147391,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/NerdbankGitVersioning/NerdbankGitVersioningAttribute.cs", + "uri": "source/Nuke.Tooling/SettingsEntity.NewInstance.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, + "startLine": 27, "startColumn": 9, - "charOffset": 1025, + "charOffset": 817, "charLength": 2, "snippet": { "text": "if" @@ -143700,33 +147405,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 25, "startColumn": 1, - "charOffset": 995, - "charLength": 135, + "charOffset": 735, + "charLength": 262, "snippet": { - "text": " .Result;\n\n if (UpdateBuildNumber)\n {\n AzurePipelines.Instance?.UpdateBuildNumber(version.SemVer2);" + "text": "\n var newInstance = (T) binaryFormatter.Deserialize(memoryStream);\n if (newInstance is ToolSettings toolSettings)\n {\n toolSettings.ProcessArgumentConfigurator = ((ToolSettings) (object) settingsEntity).ProcessArgumentConfigurator;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "fa1c69f680f80027a402bc9edcd931f5c21b9d814b0006f2e916a5a5ec951e3b" + "equalIndicator/v1": "2dca9d6455f6337fccd5221f824b22fbb707640f60a5793e42f49d27c377b95a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -143742,13 +147446,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationConfiguration.cs", + "uri": "source/Nuke.Tooling/SettingsEntity.NewInstance.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 13, - "charOffset": 1705, + "startLine": 27, + "startColumn": 9, + "charOffset": 817, "charLength": 2, "snippet": { "text": "if" @@ -143756,27 +147460,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 25, "startColumn": 1, - "charOffset": 1678, - "charLength": 106, + "charOffset": 735, + "charLength": 262, "snippet": { - "text": " }\n\n if (TimeoutInMinutes != null)\n {\n writer.WriteLine();" + "text": "\n var newInstance = (T) binaryFormatter.Deserialize(memoryStream);\n if (newInstance is ToolSettings toolSettings)\n {\n toolSettings.ProcessArgumentConfigurator = ((ToolSettings) (object) settingsEntity).ProcessArgumentConfigurator;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1ad8eff5b2643c7da86c64be26753dc70e221b9e8c4910e27de77f9b64a0ef9f" + "equalIndicator/v1": "84c8f9fd3f860c92a2244751b828629d2e2e14494aefc3453934aaa0f5e1ba0f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143798,13 +147501,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/CredentialStore.cs", + "uri": "source/Nuke.Tooling/ProcessTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 99, - "startColumn": 13, - "charOffset": 3540, + "startLine": 123, + "startColumn": 9, + "charOffset": 4281, "charLength": 2, "snippet": { "text": "if" @@ -143812,27 +147515,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 97, + "startLine": 121, "startColumn": 1, - "charOffset": 3513, - "charLength": 131, + "charOffset": 4203, + "charLength": 170, "snippet": { - "text": " }\n\n if (!password.IsNullOrEmpty() && password.Length >= 10)\n {\n generated = false;" + "text": " outputFilter ??= x => x;\n Assert.FileExists(toolPath);\n if (logInvocation ?? DefaultLogInvocation)\n {\n // TODO: logging additional" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ade3bcbd0cbfe588bb235e19fdb551a6f321578f1f683604c93df85a837bfa15" + "equalIndicator/v1": "c9291a5977b89ef244561dfc5ff17ca76a63989b48d940dd2d3daa517fdb5568" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143888,7 +147590,6 @@ "partialFingerprints": { "equalIndicator/v1": "009fb95fe09f6a49caef40f6c164a61c12e10477de77b7fb11e74c3f9fa07bd6" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143910,13 +147611,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultConfigurationAttribute.cs", + "uri": "source/Nuke.Common/Attributes/SolutionAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 49, - "startColumn": 13, - "charOffset": 2758, + "startLine": 59, + "startColumn": 9, + "charOffset": 2068, "charLength": 2, "snippet": { "text": "if" @@ -143924,12 +147625,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 47, + "startLine": 57, "startColumn": 1, - "charOffset": 2710, - "charLength": 184, + "charOffset": 1951, + "charLength": 281, "snippet": { - "text": " };\n\n if (configuration.BaseUrl == null ||\n configuration.TenantId == null ||\n configuration.ClientId == null ||" + "text": " var solution = ((Solution)deserializer.Invoke(obj: null, new object[] { solutionFile })).NotNull();\n\n if (!SuppressBuildProjectCheck)\n {\n var buildProject = solution.AllProjects.SingleOrDefault(x => x.Directory.Equals(Build.BuildProjectDirectory));" } } }, @@ -143942,9 +147643,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "47d20136ef2965e7efc418d9db5078169126fbfcea18ef48e88e2889179e9e51" + "equalIndicator/v1": "d74868e10b6206b68c68fdf025c2661a90af746599f0993adfb84ad630000368" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -143966,13 +147666,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Utilities/TemplateUtility.cs", + "uri": "source/Nuke.Common/ChangeLog/ChangeLogTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 170, - "startColumn": 13, - "charOffset": 6021, + "startLine": 32, + "startColumn": 9, + "charOffset": 954, "charLength": 2, "snippet": { "text": "if" @@ -143980,12 +147680,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 168, + "startLine": 30, "startColumn": 1, - "charOffset": 5953, - "charLength": 192, + "charOffset": 897, + "charLength": 156, "snippet": { - "text": " for (var i = 0; i < lines.Count; i++)\n {\n if (i > 0 &&\n string.IsNullOrWhiteSpace(lines[i - 1]) &&\n string.IsNullOrWhiteSpace(lines[i]))" + "text": " .Replace(\",\", \"%2C\")).ToList();\n\n if (repository.IsGitHubRepository())\n {\n changelogSectionNotes.Add(string.Empty);" } } }, @@ -143998,9 +147698,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "41264770ee4eac6c81cf0e40c444c4c9c3ed420513a1a6994e89dcce89a343df" + "equalIndicator/v1": "2bf18449da654cd28c52644cb7d381c5a576238842950585d6f11ea05b178e54" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144022,13 +147721,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Telemetry/Telemetry.cs", + "uri": "source/Nuke.Common/ChangeLog/ChangeLogTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 64, - "startColumn": 13, - "charOffset": 2606, + "startLine": 228, + "startColumn": 9, + "charOffset": 10106, "charLength": 2, "snippet": { "text": "if" @@ -144036,27 +147735,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 62, + "startLine": 226, "startColumn": 1, - "charOffset": 2439, - "charLength": 298, + "charOffset": 9975, + "charLength": 264, "snippet": { - "text": " var cookieName = Assembly.GetEntryAssembly().NotNull().GetName().Name;\n var cookieFile = GetCookieFile(cookieName, CurrentVersion);\n if (!cookieFile.Exists())\n {\n PrintDisclosure($\"create awareness cookie for {cookieName.SingleQuote()}\");" + "text": " private static void UpdateVersionSummary(string tag, List content, [CanBeNull] GitRepository repository)\n {\n if (repository != null && repository.IsGitHubRepository())\n {\n var sections = GetReleaseSections(content).ToList();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "9576bbae4f85cb01863d971b849b06f877e1a329ff6d1ee3bf9445d70d1eef8e" + "equalIndicator/v1": "6642c57943f7bfbdf4550d7d36d359a19de358f025d65d923439b5e364f12c86" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144078,13 +147776,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationPushTrigger.cs", + "uri": "source/Nuke.Common/CI/AppVeyor/Configuration/AppVeyorBranches.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 61, - "startColumn": 17, - "charOffset": 2287, + "startLine": 29, + "startColumn": 9, + "charOffset": 724, "charLength": 2, "snippet": { "text": "if" @@ -144092,12 +147790,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 59, + "startLine": 27, "startColumn": 1, - "charOffset": 2252, - "charLength": 133, + "charOffset": 705, + "charLength": 100, "snippet": { - "text": " }\n\n if (HasPathFilter())\n {\n using (writer.WriteBlock(\"pathFilter\"))" + "text": " }\n\n if (Except.Length > 0)\n {\n using (writer.WriteBlock(\"except:\"))" } } }, @@ -144110,9 +147808,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "7a2c81999b243f0443fd115dc79236c9b4e6a215176c7003c791ced1b53037a0" + "equalIndicator/v1": "95abfa48fc31c2a8133634fe763c11a2e358b54b70d68288f1a2ae4279190626" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144134,13 +147831,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationPushTrigger.cs", + "uri": "source/Nuke.Common/CI/AppVeyor/Configuration/AppVeyorConfiguration.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 38, + "startLine": 141, "startColumn": 9, - "charOffset": 1286, + "charOffset": 4510, "charLength": 2, "snippet": { "text": "if" @@ -144148,12 +147845,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 36, + "startLine": 139, "startColumn": 1, - "charOffset": 1234, - "charLength": 135, + "charOffset": 4491, + "charLength": 83, "snippet": { - "text": " OnPushPathExcludes != null;\n\n if (OnPush != null ||\n HasBranchFilter() ||\n HasPathFilter())" + "text": " }\n\n if (Secrets.Count > 0)\n {\n writer.WriteLine();" } } }, @@ -144166,9 +147863,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "1c6784ffcb750d9e48fca0d307ead64f8e13f88ee49f545b87b181d809a40ca0" + "equalIndicator/v1": "25c2b06483a4340fe58c8f1e761a36762fc3a2087c53d92b0b6cab2f46dd94bc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144190,13 +147886,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Attributes/ShutdownDotNetAfterServerBuildAttribute.cs", + "uri": "source/Nuke.Common/CI/AzurePipelines/Configuration/AzurePipelinesCmdStep.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 25, - "startColumn": 9, - "charOffset": 648, + "startLine": 37, + "startColumn": 13, + "charOffset": 1227, "charLength": 2, "snippet": { "text": "if" @@ -144204,27 +147900,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 23, + "startLine": 35, "startColumn": 1, - "charOffset": 600, - "charLength": 219, + "charOffset": 1200, + "charLength": 113, "snippet": { - "text": " public void OnBuildFinished()\n {\n if (Build.IsServerBuild &&\n // NOTE: this should only be necessary if the interceptor build has no .NET CLI installed\n !Build.IsInterceptorExecution)" + "text": " }\n\n if (Imports.Count > 0)\n {\n using (writer.WriteBlock(\"env:\"))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f3f04f82179f04917017cdc6a67952e67103ec3a6cd9ed9f8357fdc95e167fdb" + "equalIndicator/v1": "3c011b2d64864342db7ff50b1527ecc8bd5f755e3852a4f5f189782a4f314dac" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144246,13 +147941,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Attributes/SolutionAttribute.cs", + "uri": "source/Nuke.Common/CI/AzurePipelines/Configuration/AzurePipelinesVcsPushTrigger.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, + "startLine": 77, "startColumn": 9, - "charOffset": 2068, + "charOffset": 2347, "charLength": 2, "snippet": { "text": "if" @@ -144260,12 +147955,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 75, "startColumn": 1, - "charOffset": 1951, - "charLength": 281, + "charOffset": 2328, + "charLength": 104, "snippet": { - "text": " var solution = ((Solution)deserializer.Invoke(obj: null, new object[] { solutionFile })).NotNull();\n\n if (!SuppressBuildProjectCheck)\n {\n var buildProject = solution.AllProjects.SingleOrDefault(x => x.Directory.Equals(Build.BuildProjectDirectory));" + "text": " }\n\n if (exclusions.Count > 0)\n {\n using (writer.WriteBlock(\"exclude:\"))" } } }, @@ -144278,9 +147973,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "d74868e10b6206b68c68fdf025c2661a90af746599f0993adfb84ad630000368" + "equalIndicator/v1": "240950460fd7bcdeee256ada5d367d44a720d84ce320b793d09135bae6e30c8b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144302,13 +147996,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/ToolSerializer.cs", + "uri": "source/Nuke.Common/CI/AzurePipelines/Configuration/AzurePipelinesVcsPushTrigger.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 77, - "startColumn": 17, - "charOffset": 2498, + "startLine": 55, + "startColumn": 9, + "charOffset": 1707, "charLength": 2, "snippet": { "text": "if" @@ -144316,33 +148010,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 75, + "startLine": 53, "startColumn": 1, - "charOffset": 2463, - "charLength": 211, + "charOffset": 1688, + "charLength": 132, "snippet": { - "text": " }\n\n if (x is SettingsClass && property.PropertyType == typeof(bool))\n {\n var defaultTrueProperties = new[] { nameof(DataClass.ExtensionMethods) };" + "text": " }\n\n if (PathsInclude.Length > 0 || PathsExclude.Length > 0)\n {\n using (writer.WriteBlock(\"paths:\"))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7377c7cf0788dedf0859c5206b8a04106d58ffd706361d8b81617d99f568a85a" + "equalIndicator/v1": "84f0005c10028ce3a0db448ff4509979f72563a6683f35016a2a8627883d6f8d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -144358,13 +148051,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/OctoVersion/OctoVersionAttribute.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsCheckoutStep.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 156, + "startLine": 23, "startColumn": 9, - "charOffset": 6158, + "charOffset": 623, "charLength": 2, "snippet": { "text": "if" @@ -144372,12 +148065,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 154, + "startLine": 21, "startColumn": 1, - "charOffset": 6116, - "charLength": 150, + "charOffset": 557, + "charLength": 175, "snippet": { - "text": " outputFile.DeleteFile();\n\n if (UpdateBuildNumber)\n {\n AzurePipelines.Instance?.UpdateBuildNumber(version.FullSemVer);" + "text": " writer.WriteLine(\"- uses: actions/checkout@v3\");\n\n if (Submodules.HasValue || Lfs.HasValue || FetchDepth.HasValue)\n {\n using (writer.Indent())" } } }, @@ -144390,9 +148083,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "eb9184999c111d3e0f82cf1004223ff81f9d6e38dad12239810210b34686ead1" + "equalIndicator/v1": "af572a11b9b13481c3421b7b7f5178280863cc1d2075208e110167981889428a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144414,13 +148106,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsRunStep.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, + "startLine": 26, "startColumn": 9, - "charOffset": 3071, + "charOffset": 831, "charLength": 2, "snippet": { "text": "if" @@ -144428,33 +148120,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 24, "startColumn": 1, - "charOffset": 2893, - "charLength": 318, + "charOffset": 739, + "charLength": 160, "snippet": { - "text": " .GetGlobalSection(\"NestedProjects\", solutionFile)\n ?.ToDictionary(x => Guid.Parse(x.Key.Trim('{', '}')), x => Guid.Parse(x.Value.Trim('{', '}')));\n if (projectToSolutionFolder != null)\n {\n var solutionFolders = primitiveProjects.Values.OfType().ToList();" + "text": " writer.WriteLine($\" run: ./{BuildCmdPath} {InvokedTargets.JoinSpace()}\");\n\n if (Imports.Count > 0)\n {\n using (writer.Indent())" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a610cd1f53d1b9e522303b6a14a0ff586666bb0bae51cbba9c0a15b7e3b04448" + "equalIndicator/v1": "0aaa96debe3628fdbe2531fc54999799bf018cc82c499af321096670ea7066f5" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -144470,13 +148161,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsVcsTrigger.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 67, - "startColumn": 9, - "charOffset": 3071, + "startLine": 70, + "startColumn": 13, + "charOffset": 2042, "charLength": 2, "snippet": { "text": "if" @@ -144484,27 +148175,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 65, + "startLine": 68, "startColumn": 1, - "charOffset": 2893, - "charLength": 318, + "charOffset": 2015, + "charLength": 140, "snippet": { - "text": " .GetGlobalSection(\"NestedProjects\", solutionFile)\n ?.ToDictionary(x => Guid.Parse(x.Key.Trim('{', '}')), x => Guid.Parse(x.Value.Trim('{', '}')));\n if (projectToSolutionFolder != null)\n {\n var solutionFolders = primitiveProjects.Values.OfType().ToList();" + "text": " }\n\n if (IncludePaths.Length > 0 || ExcludePaths.Length > 0)\n {\n writer.WriteLine(\"paths:\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SolutionModel", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e17c1261d8f17fb1c5dcfd834687475aa4299831a9faa5f7db9bff1975a1277c" + "equalIndicator/v1": "4d1adca85ac6f310593e2e40eb6f2803b507b7daaafcaed458625ac017f03378" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144526,13 +148216,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.ProjectModel/ProjectModelTasks.cs", + "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 110, + "startLine": 165, "startColumn": 9, - "charOffset": 4082, + "charOffset": 6986, "charLength": 2, "snippet": { "text": "if" @@ -144540,33 +148230,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 108, + "startLine": 163, "startColumn": 1, - "charOffset": 4034, - "charLength": 177, + "charOffset": 6953, + "charLength": 108, "snippet": { - "text": " .OrderBy(x => x).ToList();\n\n if (targetFramework == null && targetFrameworks.Count > 1)\n {\n projectCollection.UnloadProject(msbuildProject);" + "text": " };\n\n if (PublishArtifacts)\n {\n var artifacts = relevantTargets" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.ProjectModel", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "50eeaa3e802b2688a73336e812c22698c5a4b1c34c8ef52f0016d985de7ebae3" + "equalIndicator/v1": "567c53c9b9e1eb672f62c15c5e2bf4756967327afc8b6cffeba1160e2a442a8e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 7.0" + ".NET 6.0" ] } }, @@ -144582,13 +148271,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.ProjectModel/ProjectModelTasks.cs", + "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationConfiguration.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 110, - "startColumn": 9, - "charOffset": 4082, + "startLine": 57, + "startColumn": 13, + "charOffset": 1705, "charLength": 2, "snippet": { "text": "if" @@ -144596,27 +148285,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 108, + "startLine": 55, "startColumn": 1, - "charOffset": 4034, - "charLength": 177, + "charOffset": 1678, + "charLength": 106, "snippet": { - "text": " .OrderBy(x => x).ToList();\n\n if (targetFramework == null && targetFrameworks.Count > 1)\n {\n projectCollection.UnloadProject(msbuildProject);" + "text": " }\n\n if (TimeoutInMinutes != null)\n {\n writer.WriteLine();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.ProjectModel", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8a49ee755503efaff685369982403994e54393625ece9574b1e2e5949d85b40e" + "equalIndicator/v1": "1ad8eff5b2643c7da86c64be26753dc70e221b9e8c4910e27de77f9b64a0ef9f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144638,13 +148326,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationPushTrigger.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 186, - "startColumn": 9, - "charOffset": 8000, + "startLine": 61, + "startColumn": 17, + "charOffset": 2287, "charLength": 2, "snippet": { "text": "if" @@ -144652,33 +148340,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 184, + "startLine": 59, "startColumn": 1, - "charOffset": 7943, - "charLength": 164, + "charOffset": 2252, + "charLength": 133, "snippet": { - "text": " return GetHeadPart(path, count: 2);\n\n if (HasUncRoot(path))\n {\n var separatorIndex = path.IndexOf(UncSeparator, startIndex: 2);" + "text": " }\n\n if (HasPathFilter())\n {\n using (writer.WriteBlock(\"pathFilter\"))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "d80e18e49dedd2bd5c5c248341b2c9ff2df7b91a5a8361455df3709f1adb9c06" + "equalIndicator/v1": "7a2c81999b243f0443fd115dc79236c9b4e6a215176c7003c791ced1b53037a0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -144694,13 +148381,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationPushTrigger.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 265, + "startLine": 38, "startColumn": 9, - "charOffset": 10433, + "charOffset": 1286, "charLength": 2, "snippet": { "text": "if" @@ -144708,33 +148395,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 263, + "startLine": 36, "startColumn": 1, - "charOffset": 10381, - "charLength": 112, + "charOffset": 1234, + "charLength": 135, "snippet": { - "text": " {\n var root = GetPathRoot(path);\n if (root != null)\n {\n if (IsWinRoot(root))" + "text": " OnPushPathExcludes != null;\n\n if (OnPush != null ||\n HasBranchFilter() ||\n HasPathFilter())" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3326c3a66f525086521e97d82073cf17da1ad42a424af8cc125716f5944a2699" + "equalIndicator/v1": "1c6784ffcb750d9e48fca0d307ead64f8e13f88ee49f545b87b181d809a40ca0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -144750,13 +148436,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationResources.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 186, + "startLine": 20, "startColumn": 9, - "charOffset": 8000, + "charOffset": 505, "charLength": 2, "snippet": { "text": "if" @@ -144764,27 +148450,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 184, + "startLine": 18, "startColumn": 1, - "charOffset": 7943, - "charLength": 164, + "charOffset": 435, + "charLength": 166, "snippet": { - "text": " return GetHeadPart(path, count: 2);\n\n if (HasUncRoot(path))\n {\n var separatorIndex = path.IndexOf(UncSeparator, startIndex: 2);" + "text": " public override void Write(CustomFileWriter writer)\n {\n if (Cpu != null || Memory != null)\n {\n using (writer.WriteBlock($\"resources\"))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "07c51f299bb3b45bb332d2f0074b0f11e798b9b07feb2c77d23d614b8e8d4271" + "equalIndicator/v1": "4eb72d9b618b6fd718df54f5462f7ca4ac99c716e5d37f951a3c8b7d227ab826" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144806,13 +148491,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", + "uri": "source/Nuke.Common/CI/TeamCity/Configuration/TeamCityProject.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 265, - "startColumn": 9, - "charOffset": 10433, + "startLine": 34, + "startColumn": 13, + "charOffset": 1075, "charLength": 2, "snippet": { "text": "if" @@ -144820,27 +148505,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 263, + "startLine": 32, "startColumn": 1, - "charOffset": 10381, - "charLength": 112, + "charOffset": 1030, + "charLength": 132, "snippet": { - "text": " {\n var root = GetPathRoot(path);\n if (root != null)\n {\n if (IsWinRoot(root))" + "text": " writer.WriteLine();\n\n if (Parameters.Any())\n {\n using (writer.WriteBlock(\"params\"))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1aaa084afe007df535de2d54209d0625e89d9b53563005bc92198d0df301eb5d" + "equalIndicator/v1": "927596a45d9cf68e70397744ec35bbeb220506f4764e0e90b36ad5af8ae5ee03" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144862,13 +148546,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs", + "uri": "source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVaultConfigurationAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 163, - "startColumn": 9, - "charOffset": 7741, + "startLine": 49, + "startColumn": 13, + "charOffset": 2758, "charLength": 2, "snippet": { "text": "if" @@ -144876,27 +148560,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 161, + "startLine": 47, "startColumn": 1, - "charOffset": 7722, - "charLength": 159, + "charOffset": 2710, + "charLength": 184, "snippet": { - "text": " }\n\n if (node.GetIdentifierName() == \"CleanDirectories\")\n {\n var expressionSyntax = node.GetSingleArgument();" + "text": " };\n\n if (configuration.BaseUrl == null ||\n configuration.TenantId == null ||\n configuration.ClientId == null ||" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b9028aea36eda9320085125451b551d4837769c35c99a7b33dc49a6e484ce954" + "equalIndicator/v1": "47d20136ef2965e7efc418d9db5078169126fbfcea18ef48e88e2889179e9e51" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144918,13 +148601,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", + "uri": "source/Nuke.Common/Tools/DotNet/DotNetTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 123, - "startColumn": 17, - "charOffset": 4256, + "startLine": 65, + "startColumn": 13, + "charOffset": 1596, "charLength": 2, "snippet": { "text": "if" @@ -144932,27 +148615,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 121, + "startLine": 63, "startColumn": 1, - "charOffset": 4177, - "charLength": 159, + "charOffset": 1569, + "charLength": 120, "snippet": { - "text": " if (key.Key == ConsoleKey.Backspace)\n {\n if (secret.Length > 0)\n {\n var charsToRemove =" + "text": " }\n\n if (i >= 6 &&\n 'w' == output[i - 6] &&\n 'a' == output[i - 5] &&" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ce3699e7b6fbb25b1646e786cf34c49803a6fbeaa22044d836ff4595d718e55c" + "equalIndicator/v1": "a80b95f8d2aba8757f3b959c2d67369b5a46163fa77ff3824243be31d863d6cc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -144974,13 +148656,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Logging.cs", + "uri": "source/Nuke.Common/Tools/GitVersion/GitVersionAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 156, + "startLine": 59, "startColumn": 9, - "charOffset": 5956, + "charOffset": 2311, "charLength": 2, "snippet": { "text": "if" @@ -144988,27 +148670,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 154, + "startLine": 57, "startColumn": 1, - "charOffset": 5880, - "charLength": 177, + "charOffset": 2281, + "charLength": 141, "snippet": { - "text": "\n var buildLogFile = build.TemporaryDirectory / \"build.log\";\n if (buildLogFile.Exists())\n {\n using var filestream = File.OpenWrite(buildLogFile);" + "text": " .Result;\n\n if (UpdateBuildNumber)\n {\n AzurePipelines.Instance?.UpdateBuildNumber(gitVersion.FullSemVer);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f941bc0dcdf1d587120a3d04408a9b0b7c8644db94655f95d4b846b9c25e2e70" + "equalIndicator/v1": "dddb2a38d48703696219686d64f0c6bdb2c75e696c5660f03cca6bc369501ebf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145030,13 +148711,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", + "uri": "source/Nuke.Common/Tools/MinVer/MinVerAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 256, + "startLine": 34, "startColumn": 9, - "charOffset": 10906, + "charOffset": 981, "charLength": 2, "snippet": { "text": "if" @@ -145044,12 +148725,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 254, + "startLine": 32, "startColumn": 1, - "charOffset": 10774, - "charLength": 269, + "charOffset": 951, + "charLength": 135, "snippet": { - "text": " private static HttpResponseMessage AssertStatusCode(this HttpResponseMessage response, HttpStatusCode statusCode)\n {\n if (response.StatusCode != statusCode)\n {\n var content = response.Content.ReadAsStringAsync().GetAwaiter().GetResult();" + "text": " .Result;\n\n if (UpdateBuildNumber)\n {\n AzurePipelines.Instance?.UpdateBuildNumber(version.Version);" } } }, @@ -145062,9 +148743,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "b36c8ea6b09ea065d2839ccca39dfd73b56b03936f8de32058ca9d633b839b09" + "equalIndicator/v1": "b2286076075017684d0afe404be90ea740ea5bb0256aa314a963d215b81b6d16" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145086,13 +148766,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/ChangeLog/ChangeLogTasks.cs", + "uri": "source/Nuke.Common/Tools/NerdbankGitVersioning/NerdbankGitVersioningAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { "startLine": 32, "startColumn": 9, - "charOffset": 954, + "charOffset": 1025, "charLength": 2, "snippet": { "text": "if" @@ -145102,10 +148782,10 @@ "contextRegion": { "startLine": 30, "startColumn": 1, - "charOffset": 897, - "charLength": 156, + "charOffset": 995, + "charLength": 135, "snippet": { - "text": " .Replace(\",\", \"%2C\")).ToList();\n\n if (repository.IsGitHubRepository())\n {\n changelogSectionNotes.Add(string.Empty);" + "text": " .Result;\n\n if (UpdateBuildNumber)\n {\n AzurePipelines.Instance?.UpdateBuildNumber(version.SemVer2);" } } }, @@ -145118,9 +148798,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "2bf18449da654cd28c52644cb7d381c5a576238842950585d6f11ea05b178e54" + "equalIndicator/v1": "fa1c69f680f80027a402bc9edcd931f5c21b9d814b0006f2e916a5a5ec951e3b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145142,13 +148821,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/ChangeLog/ChangeLogTasks.cs", + "uri": "source/Nuke.Common/Tools/OctoVersion/OctoVersionAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 228, + "startLine": 156, "startColumn": 9, - "charOffset": 10106, + "charOffset": 6158, "charLength": 2, "snippet": { "text": "if" @@ -145156,12 +148835,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 226, + "startLine": 154, "startColumn": 1, - "charOffset": 9975, - "charLength": 264, + "charOffset": 6116, + "charLength": 150, "snippet": { - "text": " private static void UpdateVersionSummary(string tag, List content, [CanBeNull] GitRepository repository)\n {\n if (repository != null && repository.IsGitHubRepository())\n {\n var sections = GetReleaseSections(content).ToList();" + "text": " outputFile.DeleteFile();\n\n if (UpdateBuildNumber)\n {\n AzurePipelines.Instance?.UpdateBuildNumber(version.FullSemVer);" } } }, @@ -145174,9 +148853,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "6642c57943f7bfbdf4550d7d36d359a19de358f025d65d923439b5e364f12c86" + "equalIndicator/v1": "eb9184999c111d3e0f82cf1004223ff81f9d6e38dad12239810210b34686ead1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145198,13 +148876,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/CICD/Partition.cs", + "uri": "source/Nuke.Common/Tools/SignPath/SignPathTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 13, - "charOffset": 955, + "startLine": 256, + "startColumn": 9, + "charOffset": 10906, "charLength": 2, "snippet": { "text": "if" @@ -145212,27 +148890,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 254, "startColumn": 1, - "charOffset": 823, - "charLength": 231, + "charOffset": 10774, + "charLength": 269, "snippet": { - "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n var values = stringValue.Split('/');" + "text": " private static HttpResponseMessage AssertStatusCode(this HttpResponseMessage response, HttpStatusCode statusCode)\n {\n if (response.StatusCode != statusCode)\n {\n var content = response.Content.ReadAsStringAsync().GetAwaiter().GetResult();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5abae0f14f9a1786b660ddf40482a6a6fbcada9ba323dd5e56a6b433447fdb81" + "equalIndicator/v1": "b36c8ea6b09ea065d2839ccca39dfd73b56b03936f8de32058ca9d633b839b09" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145254,13 +148931,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/Configuration/AppVeyorBranches.cs", + "uri": "source/Nuke.Common/Utilities/TemplateUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 29, - "startColumn": 9, - "charOffset": 724, + "startLine": 170, + "startColumn": 13, + "charOffset": 6021, "charLength": 2, "snippet": { "text": "if" @@ -145268,12 +148945,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 27, + "startLine": 168, "startColumn": 1, - "charOffset": 705, - "charLength": 100, + "charOffset": 5953, + "charLength": 192, "snippet": { - "text": " }\n\n if (Except.Length > 0)\n {\n using (writer.WriteBlock(\"except:\"))" + "text": " for (var i = 0; i < lines.Count; i++)\n {\n if (i > 0 &&\n string.IsNullOrWhiteSpace(lines[i - 1]) &&\n string.IsNullOrWhiteSpace(lines[i]))" } } }, @@ -145286,9 +148963,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "95abfa48fc31c2a8133634fe763c11a2e358b54b70d68288f1a2ae4279190626" + "equalIndicator/v1": "41264770ee4eac6c81cf0e40c444c4c9c3ed420513a1a6994e89dcce89a343df" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145310,13 +148986,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 139, + "startLine": 67, "startColumn": 9, - "charOffset": 5756, + "charOffset": 3071, "charLength": 2, "snippet": { "text": "if" @@ -145324,33 +149000,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 137, + "startLine": 65, "startColumn": 1, - "charOffset": 5737, - "charLength": 172, + "charOffset": 2893, + "charLength": 318, "snippet": { - "text": " }\n\n if (resolveDependencies && !IsLegacyFile(packagesConfigFile))\n {\n var packagesToCheck = new Queue(installedPackages);" + "text": " .GetGlobalSection(\"NestedProjects\", solutionFile)\n ?.ToDictionary(x => Guid.Parse(x.Key.Trim('{', '}')), x => Guid.Parse(x.Value.Trim('{', '}')));\n if (projectToSolutionFolder != null)\n {\n var solutionFolders = primitiveProjects.Values.OfType().ToList();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "dd5d71ff2500dabe0ae4238a31e10a459c12bc55fd0c3abf815ecbdd7659ff1b" + "equalIndicator/v1": "a610cd1f53d1b9e522303b6a14a0ff586666bb0bae51cbba9c0a15b7e3b04448" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -145366,13 +149041,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.SolutionModel/SolutionSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 301, + "startLine": 67, "startColumn": 9, - "charOffset": 12656, + "charOffset": 3071, "charLength": 2, "snippet": { "text": "if" @@ -145380,27 +149055,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 299, + "startLine": 65, "startColumn": 1, - "charOffset": 12637, - "charLength": 176, + "charOffset": 2893, + "charLength": 318, "snippet": { - "text": " }\n\n if (EnvironmentInfo.IsUnix)\n {\n directories.Add(EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile).NotNull() / \".config\" / \"NuGet\");" + "text": " .GetGlobalSection(\"NestedProjects\", solutionFile)\n ?.ToDictionary(x => Guid.Parse(x.Key.Trim('{', '}')), x => Guid.Parse(x.Value.Trim('{', '}')));\n if (projectToSolutionFolder != null)\n {\n var solutionFolders = primitiveProjects.Values.OfType().ToList();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.SolutionModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "34761c3df8eb6e992b66eb101629943fb755715f27415b3834a793f3a2fb8e4e" + "equalIndicator/v1": "e17c1261d8f17fb1c5dcfd834687475aa4299831a9faa5f7db9bff1975a1277c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145422,13 +149096,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Utilities.Text.Json/Base64JsonConverter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 139, + "startLine": 19, "startColumn": 9, - "charOffset": 5756, + "charOffset": 502, "charLength": 2, "snippet": { "text": "if" @@ -145436,27 +149110,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 137, + "startLine": 17, "startColumn": 1, - "charOffset": 5737, - "charLength": 172, + "charOffset": 382, + "charLength": 247, "snippet": { - "text": " }\n\n if (resolveDependencies && !IsLegacyFile(packagesConfigFile))\n {\n var packagesToCheck = new Queue(installedPackages);" + "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string base64Json)\n {\n var json = Encoding.UTF8.GetString(Convert.FromBase64String(base64Json));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities.Text.Json", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8511ca8ce990ce8f63c55bc4e044a68fa3c65dcfeb643e52c5a0d3de7a7d91ee" + "equalIndicator/v1": "28a3301ba870171e7d8b5ecddaeb2d0db9be90bfa9b4b1dc62844469385a1eea" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145478,13 +149151,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/NuGetPackageResolver.cs", + "uri": "source/Nuke.Build/Attributes/ShutdownDotNetAfterServerBuildAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 301, + "startLine": 25, "startColumn": 9, - "charOffset": 12656, + "charOffset": 648, "charLength": 2, "snippet": { "text": "if" @@ -145492,33 +149165,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 299, + "startLine": 23, "startColumn": 1, - "charOffset": 12637, - "charLength": 176, + "charOffset": 600, + "charLength": 219, "snippet": { - "text": " }\n\n if (EnvironmentInfo.IsUnix)\n {\n directories.Add(EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile).NotNull() / \".config\" / \"NuGet\");" + "text": " public void OnBuildFinished()\n {\n if (Build.IsServerBuild &&\n // NOTE: this should only be necessary if the interceptor build has no .NET CLI installed\n !Build.IsInterceptorExecution)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c21105b9bdd52f062f7b1a5375f1bc4dd33883b2c0988e1d6c5d37682f221f96" + "equalIndicator/v1": "f3f04f82179f04917017cdc6a67952e67103ec3a6cd9ed9f8357fdc95e167fdb" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -145534,13 +149206,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/Extensions/HandlePlanRequestsAttribute.cs", + "uri": "source/Nuke.Build/CICD/Partition.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 829, + "startLine": 32, + "startColumn": 13, + "charOffset": 955, "charLength": 2, "snippet": { "text": "if" @@ -145548,12 +149220,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 30, "startColumn": 1, - "charOffset": 754, - "charLength": 124, + "charOffset": 823, + "charLength": 231, "snippet": { - "text": " IReadOnlyCollection executionPlan)\n {\n if (Build.Plan)\n {\n ShowPlan();" + "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n var values = stringValue.Split('/');" } } }, @@ -145566,9 +149238,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "c180892a3d5d6f6075cb834b43851764dffcf539f704075e7806dbcd2526cfa0" + "equalIndicator/v1": "5abae0f14f9a1786b660ddf40482a6a6fbcada9ba323dd5e56a6b433447fdb81" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145590,13 +149261,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Cake.cs", + "uri": "source/Nuke.Build/Execution/Extensions/HandleHelpRequestsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 73, + "startLine": 21, "startColumn": 9, - "charOffset": 2502, + "charOffset": 617, "charLength": 2, "snippet": { "text": "if" @@ -145604,27 +149275,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 71, + "startLine": 19, "startColumn": 1, - "charOffset": 2483, - "charLength": 151, + "charOffset": 542, + "charLength": 170, "snippet": { - "text": " }\n\n if (buildProjectFile != null)\n {\n var packages = GetCakeFiles().SelectMany(x => GetCakePackages(x.ReadAllText()));" + "text": " IReadOnlyCollection executionPlan)\n {\n if (Build.Help || executionPlan.Count == 0)\n {\n Host.Debug(GetTargetsText());" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "806ad34a784d7618e2fed387dd80d901b493e384b9e7566ae96516b2a2a5cfce" + "equalIndicator/v1": "c537dc18f830d863305f556830fd8ed79269d51798443d77802e91d3c0354631" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145646,13 +149316,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ProcessTasks.cs", + "uri": "source/Nuke.Build/Execution/Extensions/HandlePlanRequestsAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 123, + "startLine": 27, "startColumn": 9, - "charOffset": 4251, + "charOffset": 829, "charLength": 2, "snippet": { "text": "if" @@ -145660,27 +149330,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 121, + "startLine": 25, "startColumn": 1, - "charOffset": 4173, - "charLength": 170, + "charOffset": 754, + "charLength": 124, "snippet": { - "text": " outputFilter ??= x => x;\n Assert.FileExists(toolPath);\n if (logInvocation ?? DefaultLogInvocation)\n {\n // TODO: logging additional" + "text": " IReadOnlyCollection executionPlan)\n {\n if (Build.Plan)\n {\n ShowPlan();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "94d11d5ec83d57a3442e62e499ddf9383da5325c6828a69db19a11e59893fb26" + "equalIndicator/v1": "c180892a3d5d6f6075cb834b43851764dffcf539f704075e7806dbcd2526cfa0" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145702,13 +149371,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ProcessTasks.cs", + "uri": "source/Nuke.Build/Execution/Extensions/UpdateNotificationAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 123, + "startLine": 18, "startColumn": 9, - "charOffset": 4251, + "charOffset": 532, "charLength": 2, "snippet": { "text": "if" @@ -145716,33 +149385,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 121, + "startLine": 16, "startColumn": 1, - "charOffset": 4173, - "charLength": 170, + "charOffset": 430, + "charLength": 173, "snippet": { - "text": " outputFilter ??= x => x;\n Assert.FileExists(toolPath);\n if (logInvocation ?? DefaultLogInvocation)\n {\n // TODO: logging additional" + "text": " public void OnBuildCreated(IReadOnlyCollection executableTargets)\n {\n if (Build.IsLocalBuild && ShouldNotify)\n {\n Notify();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "904bda388358eca9498112f6036f666713976dd7030129cdb0b9377f345d396b" + "equalIndicator/v1": "6a847b409aa88d2b12f6e33cb838b3b7bb1993ba7cfa9adcb1d2df0dcc1d174b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -145758,13 +149426,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/GitHubActionsAttribute.cs", + "uri": "source/Nuke.Build/Execution/BuildExecutor.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 165, - "startColumn": 9, - "charOffset": 6986, + "startLine": 75, + "startColumn": 13, + "charOffset": 2894, "charLength": 2, "snippet": { "text": "if" @@ -145772,27 +149440,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 163, + "startLine": 73, "startColumn": 1, - "charOffset": 6953, - "charLength": 108, + "charOffset": 2816, + "charLength": 218, "snippet": { - "text": " };\n\n if (PublishArtifacts)\n {\n var artifacts = relevantTargets" + "text": "\n var previousBuild = BuildAttemptFile.ReadAllLines();\n if (previousBuild.FirstOrDefault() != invocationHash)\n {\n Log.Warning(\"Build invocation changed. Restarting ...\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "567c53c9b9e1eb672f62c15c5e2bf4756967327afc8b6cffeba1160e2a442a8e" + "equalIndicator/v1": "2518a1b212c31e096c31c08ac69f651d587aa8919ca22fa59562576f80169072" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145848,63 +149515,6 @@ "partialFingerprints": { "equalIndicator/v1": "32154ca77ae039c54298200bfcfdee2f11694b0826a12467e75c912f0294ca4a" }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsRunStep.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 9, - "charOffset": 831, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 739, - "charLength": 160, - "snippet": { - "text": " writer.WriteLine($\" run: ./{BuildCmdPath} {InvokedTargets.JoinSpace()}\");\n\n if (Imports.Count > 0)\n {\n using (writer.Indent())" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Common", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0aaa96debe3628fdbe2531fc54999799bf018cc82c499af321096670ea7066f5" - }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145926,13 +149536,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/TeamCity/Configuration/TeamCityProject.cs", + "uri": "source/Nuke.Build/Telemetry/Telemetry.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 34, + "startLine": 64, "startColumn": 13, - "charOffset": 1075, + "charOffset": 2606, "charLength": 2, "snippet": { "text": "if" @@ -145940,27 +149550,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 32, + "startLine": 62, "startColumn": 1, - "charOffset": 1030, - "charLength": 132, + "charOffset": 2439, + "charLength": 298, "snippet": { - "text": " writer.WriteLine();\n\n if (Parameters.Any())\n {\n using (writer.WriteBlock(\"params\"))" + "text": " var cookieName = Assembly.GetEntryAssembly().NotNull().GetName().Name;\n var cookieFile = GetCookieFile(cookieName, CurrentVersion);\n if (!cookieFile.Exists())\n {\n PrintDisclosure($\"create awareness cookie for {cookieName.SingleQuote()}\");" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "927596a45d9cf68e70397744ec35bbeb220506f4764e0e90b36ad5af8ae5ee03" + "equalIndicator/v1": "9576bbae4f85cb01863d971b849b06f877e1a329ff6d1ee3bf9445d70d1eef8e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -145982,13 +149591,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsVcsTrigger.cs", + "uri": "source/Nuke.Build/Utilities/ConsoleUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 70, - "startColumn": 13, - "charOffset": 2042, + "startLine": 123, + "startColumn": 17, + "charOffset": 4256, "charLength": 2, "snippet": { "text": "if" @@ -145996,27 +149605,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 68, + "startLine": 121, "startColumn": 1, - "charOffset": 2015, - "charLength": 140, + "charOffset": 4177, + "charLength": 159, "snippet": { - "text": " }\n\n if (IncludePaths.Length > 0 || ExcludePaths.Length > 0)\n {\n writer.WriteLine(\"paths:\");" + "text": " if (key.Key == ConsoleKey.Backspace)\n {\n if (secret.Length > 0)\n {\n var charsToRemove =" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4d1adca85ac6f310593e2e40eb6f2803b507b7daaafcaed458625ac017f03378" + "equalIndicator/v1": "ce3699e7b6fbb25b1646e786cf34c49803a6fbeaa22044d836ff4595d718e55c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146038,13 +149646,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/TargetDefinitionRewriter.cs", + "uri": "source/Nuke.Build/Utilities/CredentialStore.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 87, - "startColumn": 9, - "charOffset": 3748, + "startLine": 99, + "startColumn": 13, + "charOffset": 3540, "charLength": 2, "snippet": { "text": "if" @@ -146052,27 +149660,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 85, + "startLine": 97, "startColumn": 1, - "charOffset": 3709, - "charLength": 204, + "charOffset": 3513, + "charLength": 131, "snippet": { - "text": " .LastOrDefault();\n\n if (innerInvocationExpression?.GetIdentifierName() == \"Task\")\n {\n var name = innerInvocationExpression.GetSingleArgument()" + "text": " }\n\n if (!password.IsNullOrEmpty() && password.Length >= 10)\n {\n generated = false;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "e24d6835d4b2170c3d58ac39c0d5f008d7006991ce41e2a51df367b08b7ef453" + "equalIndicator/v1": "ade3bcbd0cbfe588bb235e19fdb551a6f321578f1f683604c93df85a837bfa15" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146094,13 +149701,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", + "uri": "source/Nuke.Build/Host.Activation.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 99, + "startLine": 55, "startColumn": 13, - "charOffset": 2698, + "charOffset": 1804, "charLength": 2, "snippet": { "text": "if" @@ -146108,27 +149715,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 97, + "startLine": 53, "startColumn": 1, - "charOffset": 2566, - "charLength": 261, + "charOffset": 1672, + "charLength": 301, "snippet": { - "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n var matchingFields = typeof(T).GetFields(ReflectionUtility.Static)" + "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n var matchingHosts = AvailableTypes.Where(x => x.FullName.EndsWithOrdinalIgnoreCase(stringValue)).ToList();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "027d5bc07a16f0165755545ec1c9f8197d8200fe8e58c5e862596bcdb3214409" + "equalIndicator/v1": "58037467d5693d7e92f33f74754b8bffb52df4aab5aa2874b1b7d551774178dd" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146150,13 +149756,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Enumeration.cs", + "uri": "source/Nuke.Build/Logging.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 99, - "startColumn": 13, - "charOffset": 2698, + "startLine": 156, + "startColumn": 9, + "charOffset": 5956, "charLength": 2, "snippet": { "text": "if" @@ -146164,33 +149770,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 97, + "startLine": 154, "startColumn": 1, - "charOffset": 2566, - "charLength": 261, + "charOffset": 5880, + "charLength": 177, "snippet": { - "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n var matchingFields = typeof(T).GetFields(ReflectionUtility.Static)" + "text": "\n var buildLogFile = build.TemporaryDirectory / \"build.log\";\n if (buildLogFile.Exists())\n {\n using var filestream = File.OpenWrite(buildLogFile);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "339d8d01876c95079368ab1a2c74962cb8278ca9f71dacef6c8188bca4e4568f" + "equalIndicator/v1": "f941bc0dcdf1d587120a3d04408a9b0b7c8644db94655f95d4b846b9c25e2e70" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -146206,13 +149811,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 123, + "startLine": 186, "startColumn": 9, - "charOffset": 4976, + "charOffset": 8000, "charLength": 2, "snippet": { "text": "if" @@ -146220,27 +149825,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 121, + "startLine": 184, "startColumn": 1, - "charOffset": 4909, - "charLength": 200, + "charOffset": 7943, + "charLength": 164, "snippet": { - "text": " .WithTrailingTrivia(EndMultilineComment);\n\n if (identifierName == \"RunTarget\")\n {\n var expression = invocationExpression.GetSingleArgument();" + "text": " return GetHeadPart(path, count: 2);\n\n if (HasUncRoot(path))\n {\n var separatorIndex = path.IndexOf(UncSeparator, startIndex: 2);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8837f0d1ed4a73128d1e7903e66148cb8916459be53e1bbdc6bb753998a18b8a" + "equalIndicator/v1": "07c51f299bb3b45bb332d2f0074b0f11e798b9b07feb2c77d23d614b8e8d4271" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146262,13 +149866,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/Configuration/AzurePipelinesVcsPushTrigger.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 55, + "startLine": 265, "startColumn": 9, - "charOffset": 1707, + "charOffset": 10433, "charLength": 2, "snippet": { "text": "if" @@ -146276,27 +149880,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 53, + "startLine": 263, "startColumn": 1, - "charOffset": 1688, - "charLength": 132, + "charOffset": 10381, + "charLength": 112, "snippet": { - "text": " }\n\n if (PathsInclude.Length > 0 || PathsExclude.Length > 0)\n {\n using (writer.WriteBlock(\"paths:\"))" + "text": " {\n var root = GetPathRoot(path);\n if (root != null)\n {\n if (IsWinRoot(root))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "84f0005c10028ce3a0db448ff4509979f72563a6683f35016a2a8627883d6f8d" + "equalIndicator/v1": "1aaa084afe007df535de2d54209d0625e89d9b53563005bc92198d0df301eb5d" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146318,13 +149921,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/Configuration/AzurePipelinesVcsPushTrigger.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 77, + "startLine": 186, "startColumn": 9, - "charOffset": 2347, + "charOffset": 8000, "charLength": 2, "snippet": { "text": "if" @@ -146332,33 +149935,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 75, + "startLine": 184, "startColumn": 1, - "charOffset": 2328, - "charLength": 104, + "charOffset": 7943, + "charLength": 164, "snippet": { - "text": " }\n\n if (exclusions.Count > 0)\n {\n using (writer.WriteBlock(\"exclude:\"))" + "text": " return GetHeadPart(path, count: 2);\n\n if (HasUncRoot(path))\n {\n var separatorIndex = path.IndexOf(UncSeparator, startIndex: 2);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "240950460fd7bcdeee256ada5d367d44a720d84ce320b793d09135bae6e30c8b" + "equalIndicator/v1": "d80e18e49dedd2bd5c5c248341b2c9ff2df7b91a5a8361455df3709f1adb9c06" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -146374,13 +149976,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/SettingsEntity.NewInstance.cs", + "uri": "source/Nuke.Utilities/IO/PathConstruction.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, + "startLine": 265, "startColumn": 9, - "charOffset": 817, + "charOffset": 10433, "charLength": 2, "snippet": { "text": "if" @@ -146388,33 +149990,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 263, "startColumn": 1, - "charOffset": 735, - "charLength": 262, + "charOffset": 10381, + "charLength": 112, "snippet": { - "text": "\n var newInstance = (T) binaryFormatter.Deserialize(memoryStream);\n if (newInstance is ToolSettings toolSettings)\n {\n toolSettings.ProcessArgumentConfigurator = ((ToolSettings) (object) settingsEntity).ProcessArgumentConfigurator;" + "text": " {\n var root = GetPathRoot(path);\n if (root != null)\n {\n if (IsWinRoot(root))" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "84c8f9fd3f860c92a2244751b828629d2e2e14494aefc3453934aaa0f5e1ba0f" + "equalIndicator/v1": "3326c3a66f525086521e97d82073cf17da1ad42a424af8cc125716f5944a2699" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -146430,13 +150031,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/SettingsEntity.NewInstance.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 817, + "startLine": 44, + "startColumn": 13, + "charOffset": 1589, "charLength": 2, "snippet": { "text": "if" @@ -146444,33 +150045,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 42, "startColumn": 1, - "charOffset": 735, - "charLength": 262, + "charOffset": 1521, + "charLength": 192, "snippet": { - "text": "\n var newInstance = (T) binaryFormatter.Deserialize(memoryStream);\n if (newInstance is ToolSettings toolSettings)\n {\n toolSettings.ProcessArgumentConfigurator = ((ToolSettings) (object) settingsEntity).ProcessArgumentConfigurator;" + "text": " {\n var reader = node.CreateReader();\n if (reader.NameTable != null)\n {\n xmlNamespaceManager = new XmlNamespaceManager(reader.NameTable);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2dca9d6455f6337fccd5221f824b22fbb707640f60a5793e42f49d27c377b95a" + "equalIndicator/v1": "f88669d075c377b6056d205ba1bac0b5636ba1278cb2df8ebe776822a6bbd0d8" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -146486,13 +150086,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/Configuration/AzurePipelinesCmdStep.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 37, - "startColumn": 13, - "charOffset": 1227, + "startLine": 41, + "startColumn": 9, + "charOffset": 1493, "charLength": 2, "snippet": { "text": "if" @@ -146500,27 +150100,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 35, + "startLine": 39, "startColumn": 1, - "charOffset": 1200, - "charLength": 113, + "charOffset": 1428, + "charLength": 148, "snippet": { - "text": " }\n\n if (Imports.Count > 0)\n {\n using (writer.WriteBlock(\"env:\"))" + "text": " XmlNamespaceManager xmlNamespaceManager = null;\n\n if (namespaces?.Length > 0)\n {\n var reader = node.CreateReader();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "3c011b2d64864342db7ff50b1527ecc8bd5f755e3852a4f5f189782a4f314dac" + "equalIndicator/v1": "c0bb81350fec585c7734153e956322ec89b7555ce5f3ad57edd927064a0f879f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146542,13 +150141,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/Extensions/HandleHelpRequestsAttribute.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 21, - "startColumn": 9, - "charOffset": 617, + "startLine": 44, + "startColumn": 13, + "charOffset": 1589, "charLength": 2, "snippet": { "text": "if" @@ -146556,33 +150155,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 19, + "startLine": 42, "startColumn": 1, - "charOffset": 542, - "charLength": 170, + "charOffset": 1521, + "charLength": 192, "snippet": { - "text": " IReadOnlyCollection executionPlan)\n {\n if (Build.Help || executionPlan.Count == 0)\n {\n Host.Debug(GetTargetsText());" + "text": " {\n var reader = node.CreateReader();\n if (reader.NameTable != null)\n {\n xmlNamespaceManager = new XmlNamespaceManager(reader.NameTable);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "c537dc18f830d863305f556830fd8ed79269d51798443d77802e91d3c0354631" + "equalIndicator/v1": "9d239519a83401134214d2b5e2cb6ac3dc2b06f028835c26f95deea1545508b3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -146598,13 +150196,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/Extensions/UpdateNotificationAttribute.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 18, + "startLine": 41, "startColumn": 9, - "charOffset": 532, + "charOffset": 1493, "charLength": 2, "snippet": { "text": "if" @@ -146612,33 +150210,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 16, + "startLine": 39, "startColumn": 1, - "charOffset": 430, - "charLength": 173, + "charOffset": 1428, + "charLength": 148, "snippet": { - "text": " public void OnBuildCreated(IReadOnlyCollection executableTargets)\n {\n if (Build.IsLocalBuild && ShouldNotify)\n {\n Notify();" + "text": " XmlNamespaceManager xmlNamespaceManager = null;\n\n if (namespaces?.Length > 0)\n {\n var reader = node.CreateReader();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6a847b409aa88d2b12f6e33cb838b3b7bb1993ba7cfa9adcb1d2df0dcc1d174b" + "equalIndicator/v1": "671ecc2b3185f47c6dde5473776dcbac2b94b7cbee58ede167c1a162cb781014" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -146654,13 +150251,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Host.Activation.cs", + "uri": "source/Nuke.Utilities/Text/String.Split.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 57, - "startColumn": 13, - "charOffset": 1912, + "startLine": 51, + "startColumn": 21, + "charOffset": 1639, "charLength": 2, "snippet": { "text": "if" @@ -146668,27 +150265,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 55, + "startLine": 49, "startColumn": 1, - "charOffset": 1780, - "charLength": 301, + "charOffset": 1558, + "charLength": 234, "snippet": { - "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string stringValue)\n {\n var matchingHosts = AvailableTypes.Where(x => x.FullName.EndsWithOrdinalIgnoreCase(stringValue)).ToList();" + "text": " .Where(x => x.Index == i).ToList();\n\n if (currentExclusions.Any())\n {\n exclusionIndex = currentExclusions.Max(x => x.Index + x.Exclusion.Length - 1);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "6524019f09cc431cd7696104f88ea48f4bd2c1db159afe0d1a017a987c36ca35" + "equalIndicator/v1": "a6b1ec9b18203aea296eedd089a39b02f6041fc6502dc53f1652bae36f48624b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146710,13 +150306,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/SpaceAutomation/Configuration/SpaceAutomationResources.cs", + "uri": "source/Nuke.Utilities/Text/String.Split.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 505, + "startLine": 45, + "startColumn": 17, + "charOffset": 1298, "charLength": 2, "snippet": { "text": "if" @@ -146724,27 +150320,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 43, "startColumn": 1, - "charOffset": 435, - "charLength": 166, + "charOffset": 1221, + "charLength": 199, "snippet": { - "text": " public override void Write(CustomFileWriter writer)\n {\n if (Cpu != null || Memory != null)\n {\n using (writer.WriteBlock($\"resources\"))" + "text": " hadLower = char.IsLower(c) && !shouldSplit;\n\n if (exclusions.Length > 0 && i >= exclusionIndex)\n {\n var currentExclusions = exclusions" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4eb72d9b618b6fd718df54f5462f7ca4ac99c716e5d37f951a3c8b7d227ab826" + "equalIndicator/v1": "be174a73e10c159b574bcfa771e9d1ab28d676c1339134782a7e8beecd3828dc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146766,13 +150361,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/ContextAwareTask.cs", + "uri": "source/Nuke.Utilities/Text/String.Split.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 69, - "startColumn": 13, - "charOffset": 2859, + "startLine": 51, + "startColumn": 21, + "charOffset": 1639, "charLength": 2, "snippet": { "text": "if" @@ -146780,27 +150375,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 67, + "startLine": 49, "startColumn": 1, - "charOffset": 2676, - "charLength": 354, + "charOffset": 1558, + "charLength": 234, "snippet": { - "text": " var pathEnvVar = Environment.GetEnvironmentVariable(\"PATH\").NotNull(\"pathEnvVar != null\");\n var searchPaths = pathEnvVar.Split(Path.PathSeparator);\n if (!searchPaths.Contains(UnmanagedDllDirectory, StringComparer.OrdinalIgnoreCase))\n {\n pathEnvVar += Path.PathSeparator + UnmanagedDllDirectory;" + "text": " .Where(x => x.Index == i).ToList();\n\n if (currentExclusions.Any())\n {\n exclusionIndex = currentExclusions.Max(x => x.Index + x.Exclusion.Length - 1);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "decf67ebec0e93316b4f83107f6d7f8a9d04517ccf676b1ce611d79c4e2acf09" + "equalIndicator/v1": "8e1d152baf10fb778620fe3a9ac4fd70e5a4383edb0cc84a24ec0ed0a0223cad" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146822,13 +150416,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.MSBuildTasks/ContextAwareTask.cs", + "uri": "source/Nuke.Utilities/Text/String.Split.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 65, - "startColumn": 9, - "charOffset": 2631, + "startLine": 45, + "startColumn": 17, + "charOffset": 1298, "charLength": 2, "snippet": { "text": "if" @@ -146836,27 +150430,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 63, + "startLine": 43, "startColumn": 1, - "charOffset": 2522, - "charLength": 256, + "charOffset": 1221, + "charLength": 199, "snippet": { - "text": "#else\n // On .NET Framework (on Windows), we find native binaries by adding them to our PATH.\n if (UnmanagedDllDirectory != null)\n {\n var pathEnvVar = Environment.GetEnvironmentVariable(\"PATH\").NotNull(\"pathEnvVar != null\");" + "text": " hadLower = char.IsLower(c) && !shouldSplit;\n\n if (exclusions.Length > 0 && i >= exclusionIndex)\n {\n var currentExclusions = exclusions" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.MSBuildTasks", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "69269b456521d807098e69dbc7b127693516247b762356ff1d4874354752d2a3" + "equalIndicator/v1": "1a2fbdb792221e793385dd638bd6253daeeb9aa4c61d28f006ade48457bef9e3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146878,13 +150471,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/GitVersion/GitVersionAttribute.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, + "startLine": 163, "startColumn": 9, - "charOffset": 2311, + "charOffset": 7741, "charLength": 2, "snippet": { "text": "if" @@ -146892,27 +150485,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 161, "startColumn": 1, - "charOffset": 2281, - "charLength": 141, + "charOffset": 7722, + "charLength": 159, "snippet": { - "text": " .Result;\n\n if (UpdateBuildNumber)\n {\n AzurePipelines.Instance?.UpdateBuildNumber(gitVersion.FullSemVer);" + "text": " }\n\n if (node.GetIdentifierName() == \"CleanDirectories\")\n {\n var expressionSyntax = node.GetSingleArgument();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "dddb2a38d48703696219686d64f0c6bdb2c75e696c5660f03cca6bc369501ebf" + "equalIndicator/v1": "b9028aea36eda9320085125451b551d4837769c35c99a7b33dc49a6e484ce954" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -146934,13 +150526,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Text.Json/Base64JsonConverter.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 19, + "startLine": 123, "startColumn": 9, - "charOffset": 502, + "charOffset": 4976, "charLength": 2, "snippet": { "text": "if" @@ -146948,33 +150540,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 17, + "startLine": 121, "startColumn": 1, - "charOffset": 382, - "charLength": 247, + "charOffset": 4909, + "charLength": 200, "snippet": { - "text": " public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)\n {\n if (value is string base64Json)\n {\n var json = Encoding.UTF8.GetString(Convert.FromBase64String(base64Json));" + "text": " .WithTrailingTrivia(EndMultilineComment);\n\n if (identifierName == \"RunTarget\")\n {\n var expression = invocationExpression.GetSingleArgument();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Text.Json", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "28a3301ba870171e7d8b5ecddaeb2d0db9be90bfa9b4b1dc62844469385a1eea" + "equalIndicator/v1": "8837f0d1ed4a73128d1e7903e66148cb8916459be53e1bbdc6bb753998a18b8a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -146990,13 +150581,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/TargetDefinitionRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 51, - "startColumn": 21, - "charOffset": 1639, + "startLine": 87, + "startColumn": 9, + "charOffset": 3748, "charLength": 2, "snippet": { "text": "if" @@ -147004,33 +150595,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 49, + "startLine": 85, "startColumn": 1, - "charOffset": 1558, - "charLength": 234, + "charOffset": 3709, + "charLength": 204, "snippet": { - "text": " .Where(x => x.Index == i).ToList();\n\n if (currentExclusions.Any())\n {\n exclusionIndex = currentExclusions.Max(x => x.Index + x.Exclusion.Length - 1);" + "text": " .LastOrDefault();\n\n if (innerInvocationExpression?.GetIdentifierName() == \"Task\")\n {\n var name = innerInvocationExpression.GetSingleArgument()" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8e1d152baf10fb778620fe3a9ac4fd70e5a4383edb0cc84a24ec0ed0a0223cad" + "equalIndicator/v1": "e24d6835d4b2170c3d58ac39c0d5f008d7006991ce41e2a51df367b08b7ef453" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -147046,13 +150636,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uri": "source/Nuke.GlobalTool/Program.Cake.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 45, - "startColumn": 17, - "charOffset": 1298, + "startLine": 73, + "startColumn": 9, + "charOffset": 2502, "charLength": 2, "snippet": { "text": "if" @@ -147060,33 +150650,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 43, + "startLine": 71, "startColumn": 1, - "charOffset": 1221, - "charLength": 199, + "charOffset": 2483, + "charLength": 151, "snippet": { - "text": " hadLower = char.IsLower(c) && !shouldSplit;\n\n if (exclusions.Length > 0 && i >= exclusionIndex)\n {\n var currentExclusions = exclusions" + "text": " }\n\n if (buildProjectFile != null)\n {\n var packages = GetCakeFiles().SelectMany(x => GetCakePackages(x.ReadAllText()));" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "1a2fbdb792221e793385dd638bd6253daeeb9aa4c61d28f006ade48457bef9e3" + "equalIndicator/v1": "806ad34a784d7618e2fed387dd80d901b493e384b9e7566ae96516b2a2a5cfce" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -147102,13 +150691,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/DataClassGenerator.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 51, - "startColumn": 21, - "charOffset": 1639, + "startLine": 178, + "startColumn": 9, + "charOffset": 6727, "charLength": 2, "snippet": { "text": "if" @@ -147116,33 +150705,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 49, + "startLine": 176, "startColumn": 1, - "charOffset": 1558, - "charLength": 234, + "charOffset": 6708, + "charLength": 137, "snippet": { - "text": " .Where(x => x.Index == i).ToList();\n\n if (currentExclusions.Any())\n {\n exclusionIndex = currentExclusions.Max(x => x.Index + x.Exclusion.Length - 1);" + "text": " }\n\n if (property.IsLookupTable())\n {\n var (keyType, valueType) = property.GetLookupTableKeyValueTypes();" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a6b1ec9b18203aea296eedd089a39b02f6041fc6502dc53f1652bae36f48624b" + "equalIndicator/v1": "55fd24ef17109855eb4fbc7c23f01c49f034314c9aa6c9c76d1a0ffc907edc93" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -147158,13 +150746,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/String.Split.cs", + "uri": "source/Nuke.Tooling.Generator/ToolSerializer.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 45, + "startLine": 77, "startColumn": 17, - "charOffset": 1298, + "charOffset": 2498, "charLength": 2, "snippet": { "text": "if" @@ -147172,33 +150760,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 43, + "startLine": 75, "startColumn": 1, - "charOffset": 1221, - "charLength": 199, + "charOffset": 2463, + "charLength": 211, "snippet": { - "text": " hadLower = char.IsLower(c) && !shouldSplit;\n\n if (exclusions.Length > 0 && i >= exclusionIndex)\n {\n var currentExclusions = exclusions" + "text": " }\n\n if (x is SettingsClass && property.PropertyType == typeof(bool))\n {\n var defaultTrueProperties = new[] { nameof(DataClass.ExtensionMethods) };" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "be174a73e10c159b574bcfa771e9d1ab28d676c1339134782a7e8beecd3828dc" + "equalIndicator/v1": "7377c7cf0788dedf0859c5206b8a04106d58ffd706361d8b81617d99f568a85a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -147214,13 +150801,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsCheckoutStep.cs", + "uri": "source/Nuke.ProjectModel/ProjectModelTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 23, + "startLine": 110, "startColumn": 9, - "charOffset": 623, + "charOffset": 4082, "charLength": 2, "snippet": { "text": "if" @@ -147228,33 +150815,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 21, + "startLine": 108, "startColumn": 1, - "charOffset": 557, - "charLength": 175, + "charOffset": 4034, + "charLength": 177, "snippet": { - "text": " writer.WriteLine(\"- uses: actions/checkout@v3\");\n\n if (Submodules.HasValue || Lfs.HasValue || FetchDepth.HasValue)\n {\n using (writer.Indent())" + "text": " .OrderBy(x => x).ToList();\n\n if (targetFramework == null && targetFrameworks.Count > 1)\n {\n projectCollection.UnloadProject(msbuildProject);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.ProjectModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "af572a11b9b13481c3421b7b7f5178280863cc1d2075208e110167981889428a" + "equalIndicator/v1": "50eeaa3e802b2688a73336e812c22698c5a4b1c34c8ef52f0016d985de7ebae3" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NET 7.0" ] } }, @@ -147270,13 +150856,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AppVeyor/Configuration/AppVeyorConfiguration.cs", + "uri": "source/Nuke.ProjectModel/ProjectModelTasks.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 141, + "startLine": 110, "startColumn": 9, - "charOffset": 4510, + "charOffset": 4082, "charLength": 2, "snippet": { "text": "if" @@ -147284,27 +150870,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 139, + "startLine": 108, "startColumn": 1, - "charOffset": 4491, - "charLength": 83, + "charOffset": 4034, + "charLength": 177, "snippet": { - "text": " }\n\n if (Secrets.Count > 0)\n {\n writer.WriteLine();" + "text": " .OrderBy(x => x).ToList();\n\n if (targetFramework == null && targetFrameworks.Count > 1)\n {\n projectCollection.UnloadProject(msbuildProject);" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.ProjectModel", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "25c2b06483a4340fe58c8f1e761a36762fc3a2087c53d92b0b6cab2f46dd94bc" + "equalIndicator/v1": "8a49ee755503efaff685369982403994e54393625ece9574b1e2e5949d85b40e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147326,13 +150911,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/BuildExecutor.cs", + "uri": "source/Nuke.MSBuildTasks/ContextAwareTask.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 75, + "startLine": 69, "startColumn": 13, - "charOffset": 2894, + "charOffset": 2859, "charLength": 2, "snippet": { "text": "if" @@ -147340,33 +150925,87 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 73, + "startLine": 67, "startColumn": 1, - "charOffset": 2816, - "charLength": 218, + "charOffset": 2676, + "charLength": 354, "snippet": { - "text": "\n var previousBuild = BuildAttemptFile.ReadAllLines();\n if (previousBuild.FirstOrDefault() != invocationHash)\n {\n Log.Warning(\"Build invocation changed. Restarting ...\");" + "text": " var pathEnvVar = Environment.GetEnvironmentVariable(\"PATH\").NotNull(\"pathEnvVar != null\");\n var searchPaths = pathEnvVar.Split(Path.PathSeparator);\n if (!searchPaths.Contains(UnmanagedDllDirectory, StringComparer.OrdinalIgnoreCase))\n {\n pathEnvVar += Path.PathSeparator + UnmanagedDllDirectory;" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build", + "fullyQualifiedName": "Nuke.MSBuildTasks", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "2518a1b212c31e096c31c08ac69f651d587aa8919ca22fa59562576f80169072" + "equalIndicator/v1": "decf67ebec0e93316b4f83107f6d7f8a9d04517ccf676b1ce611d79c4e2acf09" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.MSBuildTasks/ContextAwareTask.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 65, + "startColumn": 9, + "charOffset": 2631, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 63, + "startColumn": 1, + "charOffset": 2522, + "charLength": 256, + "snippet": { + "text": "#else\n // On .NET Framework (on Windows), we find native binaries by adding them to our PATH.\n if (UnmanagedDllDirectory != null)\n {\n var pathEnvVar = Environment.GetEnvironmentVariable(\"PATH\").NotNull(\"pathEnvVar != null\");" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.MSBuildTasks", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "69269b456521d807098e69dbc7b127693516247b762356ff1d4874354752d2a3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" ] } }, @@ -147416,7 +151055,6 @@ "partialFingerprints": { "equalIndicator/v1": "3c9a7a34c020fbf499b97a3057fce396419c4192ef5b261eb952778e56534aae" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147438,13 +151076,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/Tools/Docker/DockerTargetDefinitionExtensions.cs", + "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 164, - "startColumn": 30, - "charOffset": 7316, + "startLine": 16, + "startColumn": 41, + "charOffset": 435, "charLength": 1, "snippet": { "text": "," @@ -147452,33 +151090,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 162, + "startLine": 14, "startColumn": 1, - "charOffset": 7227, - "charLength": 106, + "charOffset": 334, + "charLength": 126, "snippet": { - "text": " \"LOCALAPPDATA\",\n \"USERNAME\",\n \"USERPROFILE\",\n };\n" + "text": " return new AptGetPackageRequirement\n {\n PackageId = packageId,\n };\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "971dc5880f9d6de4d35647b81e7544f92da3ad7adb8bee6e515bb6c962dfcc38" + "equalIndicator/v1": "ee2132fccce11ad2262754954d02bfbd417972473751a75bba225679290345fa" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -147494,13 +151131,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", + "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 159, - "startColumn": 54, - "charOffset": 5758, + "startLine": 16, + "startColumn": 41, + "charOffset": 435, "charLength": 1, "snippet": { "text": "," @@ -147508,27 +151145,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 157, + "startLine": 14, "startColumn": 1, - "charOffset": 5597, - "charLength": 186, + "charOffset": 334, + "charLength": 126, "snippet": { - "text": " TagsExclude = TriggerTagsExclude,\n PathsInclude = TriggerPathsInclude,\n PathsExclude = TriggerPathsExclude,\n };\n }" + "text": " return new AptGetPackageRequirement\n {\n PackageId = packageId,\n };\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a5c2e4d29847c266e9efd2b11213ead51297d9bbc6ca6f1f09e7ca4a538192b1" + "equalIndicator/v1": "4e040db4b900364f6e6179005d508dc5e778b8473d136880c46713c47cb77cc9" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147550,13 +151186,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", + "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 183, - "startColumn": 59, - "charOffset": 6719, + "startLine": 16, + "startColumn": 51, + "charOffset": 435, "charLength": 1, "snippet": { "text": "," @@ -147564,27 +151200,81 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 181, + "startLine": 14, "startColumn": 1, - "charOffset": 6553, - "charLength": 191, + "charOffset": 329, + "charLength": 131, "snippet": { - "text": " TagsExclude = new string[0],\n PathsInclude = PullRequestsPathsInclude,\n PathsExclude = PullRequestsPathsExclude,\n };\n }" + "text": " return new PathToolRequirement\n {\n PathExecutable = pathExecutable,\n };\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Common", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "33c03b1dc69a37e48ecafd1affbe06d2c287d15805144a8e3dfc0e92210aeff2" + "equalIndicator/v1": "f4a3d46a575e1ae8f7a8780d7229470c854227adb75e386fbcd6fc50535efdf4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETStandard 2.0" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 16, + "startColumn": 51, + "charOffset": 435, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 14, + "startColumn": 1, + "charOffset": 329, + "charLength": 131, + "snippet": { + "text": " return new PathToolRequirement\n {\n PathExecutable = pathExecutable,\n };\n }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Tooling", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0e4956abe457770f7a9aaa01bdfab29c856852d785ce961268f49239d33cad95" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147610,9 +151300,9 @@ "uriBaseId": "SRCROOT" }, "region": { - "startLine": 221, - "startColumn": 88, - "charOffset": 8346, + "startLine": 183, + "startColumn": 59, + "charOffset": 6719, "charLength": 1, "snippet": { "text": "," @@ -147620,12 +151310,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 219, + "startLine": 181, "startColumn": 1, - "charOffset": 8164, - "charLength": 207, + "charOffset": 6553, + "charLength": 191, "snippet": { - "text": " Dependencies = dependencies,\n Parallel = totalPartitions,\n Steps = GetSteps(executableTarget, relevantTargets, image).ToArray(),\n };\n }" + "text": " TagsExclude = new string[0],\n PathsInclude = PullRequestsPathsInclude,\n PathsExclude = PullRequestsPathsExclude,\n };\n }" } } }, @@ -147638,9 +151328,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "b1dade0ab2f7dc85e8c4d92fd59130d17835010da917e17e5798f5ab3e4983b1" + "equalIndicator/v1": "33c03b1dc69a37e48ecafd1affbe06d2c287d15805144a8e3dfc0e92210aeff2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147662,13 +151351,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/MemberAccessRewriter.cs", + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 20, - "startColumn": 35, - "charOffset": 570, + "startLine": 159, + "startColumn": 54, + "charOffset": 5758, "charLength": 1, "snippet": { "text": "," @@ -147676,27 +151365,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 18, + "startLine": 157, "startColumn": 1, - "charOffset": 512, - "charLength": 71, + "charOffset": 5597, + "charLength": 186, "snippet": { - "text": " new()\n {\n [\"BuildSystem\"] = null,\n };\n" + "text": " TagsExclude = TriggerTagsExclude,\n PathsInclude = TriggerPathsInclude,\n PathsExclude = TriggerPathsExclude,\n };\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8cf97908a690c82b6be15e6159fc8e5f8ec6c14daf338b43205c30fe73828a4b" + "equalIndicator/v1": "a5c2e4d29847c266e9efd2b11213ead51297d9bbc6ca6f1f09e7ca4a538192b1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147718,13 +151406,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/IdentifierNameRewriter.cs", + "uri": "source/Nuke.Common/CI/AzurePipelines/AzurePipelinesAttribute.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 27, - "startColumn": 60, - "charOffset": 975, + "startLine": 221, + "startColumn": 88, + "charOffset": 8346, "charLength": 1, "snippet": { "text": "," @@ -147732,27 +151420,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 25, + "startLine": 219, "startColumn": 1, - "charOffset": 782, - "charLength": 206, + "charOffset": 8164, + "charLength": 207, "snippet": { - "text": " [\"IsRunningOnUnix\"] = nameof(EnvironmentInfo.IsUnix),\n [\"IsRunningOnWindows\"] = nameof(EnvironmentInfo.IsWin),\n [\"EnvironmentVariable\"] = \"GetVariable\",\n };\n" + "text": " Dependencies = dependencies,\n Parallel = totalPartitions,\n Steps = GetSteps(executableTarget, relevantTargets, image).ToArray(),\n };\n }" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "8e4aa624643fbf8dbfb2b7b8b9b95e86fbcaea4ac0e8e9da23595be14afd5b4e" + "equalIndicator/v1": "b1dade0ab2f7dc85e8c4d92fd59130d17835010da917e17e5798f5ab3e4983b1" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147808,7 +151495,6 @@ "partialFingerprints": { "equalIndicator/v1": "32363c583e2ed965c21346e3ea5f3ffb4d956a758d5b5897a0c45ab831a7c1ce" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147830,13 +151516,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Cake.cs", + "uri": "source/Nuke.Common/Tools/Docker/DockerTargetDefinitionExtensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 46, - "startColumn": 48, - "charOffset": 1554, + "startLine": 164, + "startColumn": 30, + "charOffset": 7316, "charLength": 1, "snippet": { "text": "," @@ -147844,27 +151530,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 44, + "startLine": 162, "startColumn": 1, - "charOffset": 1403, - "charLength": 183, + "charOffset": 7227, + "charLength": 106, "snippet": { - "text": " \" - Globbing patterns\",\n \" - Tool invocations (dotnet CLI, SignTool)\",\n \" - Addin and tool references\",\n }.JoinNewLine());\n" + "text": " \"LOCALAPPDATA\",\n \"USERNAME\",\n \"USERPROFILE\",\n };\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.GlobalTool", + "fullyQualifiedName": "Nuke.Common", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ca10df88d7e11156e6976d8969b0b7457dc9cf6b303583fe5ded41e91f996d50" + "equalIndicator/v1": "971dc5880f9d6de4d35647b81e7544f92da3ad7adb8bee6e515bb6c962dfcc38" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147886,13 +151571,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Setup.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 129, - "startColumn": 50, - "charOffset": 5573, + "startLine": 43, + "startColumn": 48, + "charOffset": 1500, "charLength": 1, "snippet": { "text": "," @@ -147900,12 +151585,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 127, + "startLine": 41, "startColumn": 1, - "charOffset": 5395, - "charLength": 206, + "charOffset": 1367, + "charLength": 146, "snippet": { - "text": " TargetFramework = TARGET_FRAMEWORK,\n TelemetryVersion = Telemetry.CurrentVersion,\n NukeVersion = nukeVersion,\n })));\n" + "text": " \"Nuke.Common.Tools.GitVersion\",\n \"Nuke.Common.Tools.SignTool\",\n \"Nuke.Common.Utilities.Collections\",\n };\n" } } }, @@ -147918,9 +151603,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "7450dce8c86d0af083fb08e935271d7d521f298b9f2670d5aaa888f799094337" + "equalIndicator/v1": "ef21bd7e7c8fb174f6b268f1054f1ab657effa685b17459cfe474552f1ccc355" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147942,13 +151626,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Setup.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 213, - "startColumn": 60, - "charOffset": 9387, + "startLine": 59, + "startColumn": 36, + "charOffset": 1952, "charLength": 1, "snippet": { "text": "," @@ -147956,12 +151640,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 211, + "startLine": 57, "startColumn": 1, - "charOffset": 9138, - "charLength": 326, + "charOffset": 1856, + "charLength": 109, "snippet": { - "text": " RootDirectory = scriptDirectory.GetUnixRelativePathTo(rootDirectory),\n BuildDirectory = scriptDirectory.GetUnixRelativePathTo(buildDirectory),\n BuildProjectName = buildProjectName,\n })),\n platformFamily: PlatformFamily.Linux);" + "text": " typeof(TextTasks),\n typeof(XmlTasks),\n typeof(EnvironmentInfo),\n };\n" } } }, @@ -147974,9 +151658,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "d829c82637d2bc4e0a219ffa4cc5976f5a4ff19b42f7244ab0405c739d17c371" + "equalIndicator/v1": "e05f75a0041b5e7fe2fa0d136f0f0e983fc70054bac02909fdc0a7e09eb36222" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -147998,13 +151681,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Program.Setup.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/IdentifierNameRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 225, + "startLine": 27, "startColumn": 60, - "charOffset": 9921, + "charOffset": 975, "charLength": 1, "snippet": { "text": "," @@ -148012,12 +151695,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 223, + "startLine": 25, "startColumn": 1, - "charOffset": 9674, - "charLength": 326, + "charOffset": 782, + "charLength": 206, "snippet": { - "text": " RootDirectory = scriptDirectory.GetWinRelativePathTo(rootDirectory),\n BuildDirectory = scriptDirectory.GetWinRelativePathTo(buildDirectory),\n BuildProjectName = buildProjectName,\n })),\n platformFamily: PlatformFamily.Windows);" + "text": " [\"IsRunningOnUnix\"] = nameof(EnvironmentInfo.IsUnix),\n [\"IsRunningOnWindows\"] = nameof(EnvironmentInfo.IsWin),\n [\"EnvironmentVariable\"] = \"GetVariable\",\n };\n" } } }, @@ -148030,9 +151713,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "521fceaa788198feeaf10098ed6dea46088a19f65cbf12bcc6b472add5090d30" + "equalIndicator/v1": "8e4aa624643fbf8dbfb2b7b8b9b95e86fbcaea4ac0e8e9da23595be14afd5b4e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148054,13 +151736,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirement.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/InvocationRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, - "startColumn": 41, - "charOffset": 435, + "startLine": 32, + "startColumn": 97, + "charOffset": 1679, "charLength": 1, "snippet": { "text": "," @@ -148068,27 +151750,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 30, "startColumn": 1, - "charOffset": 334, - "charLength": 126, + "charOffset": 1371, + "charLength": 321, "snippet": { - "text": " return new AptGetPackageRequirement\n {\n PackageId = packageId,\n };\n }" + "text": " new(original: \"CreateDirectory\", replacement: nameof(FileSystemTasks.EnsureExistingDirectory)),\n new(original: \"CleanDirectory\", replacement: nameof(FileSystemTasks.EnsureCleanDirectory)),\n new(original: \"CalculateFileHash\", replacement: nameof(FileSystemTasks.GetFileHash)),\n };\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "4e040db4b900364f6e6179005d508dc5e778b8473d136880c46713c47cb77cc9" + "equalIndicator/v1": "9a0e8920c7bfe663f5c268c96f6fbe2c51c399ac4c409dad59f8a2b50577a5e4" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148110,13 +151791,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/AptGetPackageRequirement.cs", + "uri": "source/Nuke.GlobalTool/Rewriting/Cake/MemberAccessRewriter.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, - "startColumn": 41, - "charOffset": 435, + "startLine": 20, + "startColumn": 35, + "charOffset": 570, "charLength": 1, "snippet": { "text": "," @@ -148124,33 +151805,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 18, "startColumn": 1, - "charOffset": 334, - "charLength": 126, + "charOffset": 512, + "charLength": 71, "snippet": { - "text": " return new AptGetPackageRequirement\n {\n PackageId = packageId,\n };\n }" + "text": " new()\n {\n [\"BuildSystem\"] = null,\n };\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "ee2132fccce11ad2262754954d02bfbd417972473751a75bba225679290345fa" + "equalIndicator/v1": "8cf97908a690c82b6be15e6159fc8e5f8ec6c14daf338b43205c30fe73828a4b" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -148200,7 +151880,6 @@ "partialFingerprints": { "equalIndicator/v1": "89682e738cef96849f2d384c7fc85a10d07e5e3bc958e16a71edf60c903cedbf" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148222,13 +151901,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", + "uri": "source/Nuke.GlobalTool/Program.Cake.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 43, + "startLine": 46, "startColumn": 48, - "charOffset": 1500, + "charOffset": 1554, "charLength": 1, "snippet": { "text": "," @@ -148236,12 +151915,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 41, + "startLine": 44, "startColumn": 1, - "charOffset": 1367, - "charLength": 146, + "charOffset": 1403, + "charLength": 183, "snippet": { - "text": " \"Nuke.Common.Tools.GitVersion\",\n \"Nuke.Common.Tools.SignTool\",\n \"Nuke.Common.Utilities.Collections\",\n };\n" + "text": " \" - Globbing patterns\",\n \" - Tool invocations (dotnet CLI, SignTool)\",\n \" - Addin and tool references\",\n }.JoinNewLine());\n" } } }, @@ -148254,9 +151933,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "ef21bd7e7c8fb174f6b268f1054f1ab657effa685b17459cfe474552f1ccc355" + "equalIndicator/v1": "ca10df88d7e11156e6976d8969b0b7457dc9cf6b303583fe5ded41e91f996d50" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148278,13 +151956,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs", + "uri": "source/Nuke.GlobalTool/Program.Setup.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 59, - "startColumn": 36, - "charOffset": 1952, + "startLine": 213, + "startColumn": 60, + "charOffset": 9387, "charLength": 1, "snippet": { "text": "," @@ -148292,12 +151970,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 57, + "startLine": 211, "startColumn": 1, - "charOffset": 1856, - "charLength": 109, + "charOffset": 9138, + "charLength": 326, "snippet": { - "text": " typeof(TextTasks),\n typeof(XmlTasks),\n typeof(EnvironmentInfo),\n };\n" + "text": " RootDirectory = scriptDirectory.GetUnixRelativePathTo(rootDirectory),\n BuildDirectory = scriptDirectory.GetUnixRelativePathTo(buildDirectory),\n BuildProjectName = buildProjectName,\n })),\n platformFamily: PlatformFamily.Linux);" } } }, @@ -148310,9 +151988,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "e05f75a0041b5e7fe2fa0d136f0f0e983fc70054bac02909fdc0a7e09eb36222" + "equalIndicator/v1": "d829c82637d2bc4e0a219ffa4cc5976f5a4ff19b42f7244ab0405c739d17c371" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148334,13 +152011,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.GlobalTool/Rewriting/Cake/InvocationRewriter.cs", + "uri": "source/Nuke.GlobalTool/Program.Setup.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 32, - "startColumn": 97, - "charOffset": 1679, + "startLine": 225, + "startColumn": 60, + "charOffset": 9921, "charLength": 1, "snippet": { "text": "," @@ -148348,12 +152025,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 30, + "startLine": 223, "startColumn": 1, - "charOffset": 1371, - "charLength": 321, + "charOffset": 9674, + "charLength": 326, "snippet": { - "text": " new(original: \"CreateDirectory\", replacement: nameof(FileSystemTasks.EnsureExistingDirectory)),\n new(original: \"CleanDirectory\", replacement: nameof(FileSystemTasks.EnsureCleanDirectory)),\n new(original: \"CalculateFileHash\", replacement: nameof(FileSystemTasks.GetFileHash)),\n };\n" + "text": " RootDirectory = scriptDirectory.GetWinRelativePathTo(rootDirectory),\n BuildDirectory = scriptDirectory.GetWinRelativePathTo(buildDirectory),\n BuildProjectName = buildProjectName,\n })),\n platformFamily: PlatformFamily.Windows);" } } }, @@ -148366,9 +152043,8 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "9a0e8920c7bfe663f5c268c96f6fbe2c51c399ac4c409dad59f8a2b50577a5e4" + "equalIndicator/v1": "521fceaa788198feeaf10098ed6dea46088a19f65cbf12bcc6b472add5090d30" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148390,13 +152066,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build.Tests/ParameterServiceTest.cs", + "uri": "source/Nuke.GlobalTool/Program.Setup.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 105, - "startColumn": 77, - "charOffset": 3780, + "startLine": 129, + "startColumn": 50, + "charOffset": 5573, "charLength": 1, "snippet": { "text": "," @@ -148404,27 +152080,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 103, + "startLine": 127, "startColumn": 1, - "charOffset": 3554, - "charLength": 360, + "charOffset": 5395, + "charLength": 206, "snippet": { - "text": " (nameof(Verbosity.Normal), Verbosity.Normal),\n (nameof(Verbosity.Quiet), Verbosity.Quiet),\n (nameof(Verbosity.Verbose), Verbosity.Verbose),\n };\n ParameterService.GetParameterValueSet(GetMemberInfo(() => NukeBuild.Verbosity), instance: null)" + "text": " TargetFramework = TARGET_FRAMEWORK,\n TelemetryVersion = Telemetry.CurrentVersion,\n NukeVersion = nukeVersion,\n })));\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Build.Tests", + "fullyQualifiedName": "Nuke.GlobalTool", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "a2ecae25cfcb207bf3aa07ae49b0aa021378af92d8b5ec846bbde4114f058170" + "equalIndicator/v1": "7450dce8c86d0af083fb08e935271d7d521f298b9f2670d5aaa888f799094337" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148446,13 +152121,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", + "uri": "source/Nuke.Tooling.Generator/Generators/TaskGenerator.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, - "startColumn": 51, - "charOffset": 435, + "startLine": 79, + "startColumn": 59, + "charOffset": 3888, "charLength": 1, "snippet": { "text": "," @@ -148460,33 +152135,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 77, "startColumn": 1, - "charOffset": 329, - "charLength": 131, + "charOffset": 3744, + "charLength": 187, "snippet": { - "text": " return new PathToolRequirement\n {\n PathExecutable = pathExecutable,\n };\n }" + "text": " \"logOutput\",\n \"logInvocation\",\n $\"logger ?? {tool.Name}Logger\",\n };\n writer" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Tooling.Generator", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "0e4956abe457770f7a9aaa01bdfab29c856852d785ce961268f49239d33cad95" + "equalIndicator/v1": "053c10b4355e4aac89396fd728bb1c42d29a44a2c9750784d9b9252594d4d55e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -148502,13 +152176,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/Requirements/PathToolRequirement.cs", + "uri": "source/Nuke.Build.Tests/ParameterServiceTest.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 16, - "startColumn": 51, - "charOffset": 435, + "startLine": 105, + "startColumn": 77, + "charOffset": 3780, "charLength": 1, "snippet": { "text": "," @@ -148516,124 +152190,177 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 14, + "startLine": 103, "startColumn": 1, - "charOffset": 329, - "charLength": 131, + "charOffset": 3554, + "charLength": 360, "snippet": { - "text": " return new PathToolRequirement\n {\n PathExecutable = pathExecutable,\n };\n }" + "text": " (nameof(Verbosity.Normal), Verbosity.Normal),\n (nameof(Verbosity.Quiet), Verbosity.Quiet),\n (nameof(Verbosity.Verbose), Verbosity.Verbose),\n };\n ParameterService.GetParameterValueSet(GetMemberInfo(() => NukeBuild.Verbosity), instance: null)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Build.Tests", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "f4a3d46a575e1ae8f7a8780d7229470c854227adb75e386fbcd6fc50535efdf4" + "equalIndicator/v1": "a2ecae25cfcb207bf3aa07ae49b0aa021378af92d8b5ec846bbde4114f058170" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "ArrangeTrailingCommaInMultilineLists", + "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 46, + "startColumn": 78, + "charOffset": 2036, + "charLength": 13, + "snippet": { + "text": "internal set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 44, + "startColumn": 1, + "charOffset": 1861, + "charLength": 273, + "snippet": { + "text": " => ExecutionDependencies.Concat(OrderDependencies).Concat(TriggerDependencies).ToList();\n\n public LookupTable ArtifactDependencies { get; internal set; } = new();\n public List ArtifactProducts { get; internal set; } = new();\n" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "Nuke.Build", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3d01a10059eddb3c63a3cf0d4a60527e51f23870fa939b762be88ab4af369089" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NET 6.0" + ] + } + }, + { + "ruleId": "ReturnTypeCanBeEnumerable.Global", "kind": "fail", "level": "note", "message": { - "text": "Remove trailing comma to conform to code style", - "markdown": "Remove trailing comma to conform to code style" + "text": "Type can be 'IEnumerable'", + "markdown": "Type can be 'IEnumerable'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling.Generator/Generators/TaskGenerator.cs", + "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 79, - "startColumn": 59, - "charOffset": 3888, - "charLength": 1, + "startLine": 43, + "startColumn": 12, + "charOffset": 1807, + "charLength": 37, "snippet": { - "text": "," + "text": "IReadOnlyCollection" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 77, + "startLine": 41, "startColumn": 1, - "charOffset": 3744, - "charLength": 187, + "charOffset": 1734, + "charLength": 224, "snippet": { - "text": " \"logOutput\",\n \"logInvocation\",\n $\"logger ?? {tool.Name}Logger\",\n };\n writer" + "text": " public List Triggers { get; } = new();\n\n public IReadOnlyCollection AllDependencies\n => ExecutionDependencies.Concat(OrderDependencies).Concat(TriggerDependencies).ToList();\n" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling.Generator", + "fullyQualifiedName": "Nuke.Build", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "053c10b4355e4aac89396fd728bb1c42d29a44a2c9750784d9b9252594d4d55e" + "equalIndicator/v1": "b59366ec57cbac3a8a10d3bd4ddb89f2bd20325fcaa7819f5960e69b2baee01e" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "ruleId": "ReturnTypeCanBeEnumerable.Global", "kind": "fail", - "level": "warning", + "level": "note", "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" + "text": "Return type can be 'IEnumerable<(MemberInfo Member, ValueInjectionAttributeBase Attribute)>'", + "markdown": "Return type can be 'IEnumerable\\<(MemberInfo Member, ValueInjectionAttributeBase Attribute)\\>'" }, "locations": [ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", + "uri": "source/Nuke.Build/Execution/ValueInjectionUtility.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 46, - "startColumn": 78, - "charOffset": 2036, - "charLength": 13, + "startLine": 100, + "startColumn": 19, + "charOffset": 3631, + "charLength": 79, "snippet": { - "text": "internal set;" + "text": "IReadOnlyCollection<(MemberInfo Member, ValueInjectionAttributeBase Attribute)>" }, "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 44, + "startLine": 98, "startColumn": 1, - "charOffset": 1861, - "charLength": 273, + "charOffset": 3606, + "charLength": 161, "snippet": { - "text": " => ExecutionDependencies.Concat(OrderDependencies).Concat(TriggerDependencies).ToList();\n\n public LookupTable ArtifactDependencies { get; internal set; } = new();\n public List ArtifactProducts { get; internal set; } = new();\n" + "text": " }\n\n public static IReadOnlyCollection<(MemberInfo Member, ValueInjectionAttributeBase Attribute)> GetInjectionMembers(Type type)\n {\n return type" } } }, @@ -148646,12 +152373,11 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "3d01a10059eddb3c63a3cf0d4a60527e51f23870fa939b762be88ab4af369089" + "equalIndicator/v1": "6eb63ab8830afa515d1701465c4982144a628b5d36863a05c5d359089f65e0f5" }, - "baselineState": "unchanged", "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", "tags": [ "C#", ".NET 6.0" @@ -148704,7 +152430,6 @@ "partialFingerprints": { "equalIndicator/v1": "cf564aad1896ce506505637737a41838a76a8ce8b91bf7eb35b39905c3e435c7" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148760,7 +152485,6 @@ "partialFingerprints": { "equalIndicator/v1": "198aafa270dcb7ee28eeb4362a9391f437c4e2b893f5a5547142dd864136fb5c" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148770,118 +152494,6 @@ ] } }, - { - "ruleId": "ReturnTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Type can be 'IEnumerable'", - "markdown": "Type can be 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ExecutableTarget.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 12, - "charOffset": 1807, - "charLength": 37, - "snippet": { - "text": "IReadOnlyCollection" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1734, - "charLength": 224, - "snippet": { - "text": " public List Triggers { get; } = new();\n\n public IReadOnlyCollection AllDependencies\n => ExecutionDependencies.Concat(OrderDependencies).Concat(TriggerDependencies).ToList();\n" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Build", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b59366ec57cbac3a8a10d3bd4ddb89f2bd20325fcaa7819f5960e69b2baee01e" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, - { - "ruleId": "ReturnTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Return type can be 'IEnumerable<(MemberInfo Member, ValueInjectionAttributeBase Attribute)>'", - "markdown": "Return type can be 'IEnumerable\\<(MemberInfo Member, ValueInjectionAttributeBase Attribute)\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "source/Nuke.Build/Execution/ValueInjectionUtility.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 19, - "charOffset": 3631, - "charLength": 79, - "snippet": { - "text": "IReadOnlyCollection<(MemberInfo Member, ValueInjectionAttributeBase Attribute)>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 3606, - "charLength": 161, - "snippet": { - "text": " }\n\n public static IReadOnlyCollection<(MemberInfo Member, ValueInjectionAttributeBase Attribute)> GetInjectionMembers(Type type)\n {\n return type" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "Nuke.Build", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6eb63ab8830afa515d1701465c4982144a628b5d36863a05c5d359089f65e0f5" - }, - "baselineState": "unchanged", - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0" - ] - } - }, { "ruleId": "MergeSequentialChecks", "kind": "fail", @@ -148928,7 +152540,6 @@ "partialFingerprints": { "equalIndicator/v1": "c6ccf8859d2922730050f720abba9190d3d962952c545a48008eb2cf2d9710fc" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -148984,7 +152595,6 @@ "partialFingerprints": { "equalIndicator/v1": "86ae43b07fc4e8ff5aed4e336cbac02d2dea1ebd8267370969fac6bf07145f66" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WEAK WARNING", "qodanaSeverity": "Moderate", @@ -149006,13 +152616,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XElement.GetAttributeValue.cs", + "uri": "source/Nuke.Tooling/ToolSettings.Standard.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, + "startLine": 14, "startColumn": 15, - "charOffset": 241, + "charOffset": 322, "charLength": 7, "snippet": { "text": "partial" @@ -149020,27 +152630,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 12, "startColumn": 1, - "charOffset": 193, - "charLength": 161, + "charOffset": 270, + "charLength": 101, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XElementExtensions\n{\n public static string GetAttributeValue(this XElement element, string name)" + "text": "[PublicAPI]\n[ExcludeFromCodeCoverage]\npublic static partial class ToolSettingsExtensions\n{\n [Pure]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "7c35e0758e6712ed6b45399990b18861ee6042c51aeef947c5b88393f305a31f" + "equalIndicator/v1": "edf749a747b7cb7dadcb0c2f27f9c3acb3a859e152e71cec68a2ca1a8c593617" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -149062,13 +152671,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XElement.GetAttributeValue.cs", + "uri": "source/Nuke.Tooling/ToolSettings.Standard.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, + "startLine": 14, "startColumn": 15, - "charOffset": 241, + "charOffset": 322, "charLength": 7, "snippet": { "text": "partial" @@ -149076,27 +152685,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 12, "startColumn": 1, - "charOffset": 193, - "charLength": 161, + "charOffset": 270, + "charLength": 101, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XElementExtensions\n{\n public static string GetAttributeValue(this XElement element, string name)" + "text": "[PublicAPI]\n[ExcludeFromCodeCoverage]\npublic static partial class ToolSettingsExtensions\n{\n [Pure]" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities", + "fullyQualifiedName": "Nuke.Tooling", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "b54e197555f0362d7e8b6ac7d991b02138d55098a5077a90a5e1517b294cbaf2" + "equalIndicator/v1": "5507d77f99ea4e082b78ce99c18d568d5ff9b6e0693262b829fcf1b58c108089" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -149118,13 +152726,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XElement.GetAttributeValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 15, + "startLine": 11, "startColumn": 15, - "charOffset": 343, + "charOffset": 241, "charLength": 7, "snippet": { "text": "partial" @@ -149132,12 +152740,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 13, + "startLine": 9, "startColumn": 1, - "charOffset": 295, - "charLength": 222, + "charOffset": 193, + "charLength": 161, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XNodeExtensions\n{\n public static IEnumerable XPathSelectElementValues(this XNode node, string query, params (string prefix, string uri)[] namespaces)" + "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XElementExtensions\n{\n public static string GetAttributeValue(this XElement element, string name)" } } }, @@ -149150,15 +152758,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "cd1c29753a3fd6da300e47bc6930f90496d06dd8d647fd5497c73ef84b6b681a" + "equalIndicator/v1": "b54e197555f0362d7e8b6ac7d991b02138d55098a5077a90a5e1517b294cbaf2" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -149174,13 +152781,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XElement.GetAttributeValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 15, + "startLine": 11, "startColumn": 15, - "charOffset": 343, + "charOffset": 241, "charLength": 7, "snippet": { "text": "partial" @@ -149188,12 +152795,12 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 13, + "startLine": 9, "startColumn": 1, - "charOffset": 295, - "charLength": 222, + "charOffset": 193, + "charLength": 161, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XNodeExtensions\n{\n public static IEnumerable XPathSelectElementValues(this XNode node, string query, params (string prefix, string uri)[] namespaces)" + "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XElementExtensions\n{\n public static string GetAttributeValue(this XElement element, string name)" } } }, @@ -149206,15 +152813,14 @@ } ], "partialFingerprints": { - "equalIndicator/v1": "edfc2affc9b27d3875acd75b48a2b290350481bf2346ccab08623481c6a13eec" + "equalIndicator/v1": "7c35e0758e6712ed6b45399990b18861ee6042c51aeef947c5b88393f305a31f" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -149230,13 +152836,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.SourceGenerators/Shims/Extensions.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 10, - "startColumn": 17, - "charOffset": 220, + "startLine": 15, + "startColumn": 15, + "charOffset": 343, "charLength": 7, "snippet": { "text": "partial" @@ -149244,33 +152850,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 8, + "startLine": 13, "startColumn": 1, - "charOffset": 170, - "charLength": 157, + "charOffset": 295, + "charLength": 222, "snippet": { - "text": "namespace Nuke.Common.Utilities;\n\ninternal static partial class ObjectExtensions\n{\n public static T When(this T obj, bool condition, Func action)" + "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XNodeExtensions\n{\n public static IEnumerable XPathSelectElementValues(this XNode node, string query, params (string prefix, string uri)[] namespaces)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.SourceGenerators", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "cb71be556c585693cae4d682ab7d8702ec47d7a48a7167dcffd4e3d8aa8c1249" + "equalIndicator/v1": "edfc2affc9b27d3875acd75b48a2b290350481bf2346ccab08623481c6a13eec" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NETStandard 2.0" + ".NET 6.0" ] } }, @@ -149286,13 +152891,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ToolSettings.Standard.cs", + "uri": "source/Nuke.Utilities/Text/Xml/XNode.XPathEvaluateValue.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 14, + "startLine": 15, "startColumn": 15, - "charOffset": 322, + "charOffset": 343, "charLength": 7, "snippet": { "text": "partial" @@ -149300,33 +152905,32 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 12, + "startLine": 13, "startColumn": 1, - "charOffset": 270, - "charLength": 101, + "charOffset": 295, + "charLength": 222, "snippet": { - "text": "[PublicAPI]\n[ExcludeFromCodeCoverage]\npublic static partial class ToolSettingsExtensions\n{\n [Pure]" + "text": "namespace Nuke.Common.Utilities;\n\npublic static partial class XNodeExtensions\n{\n public static IEnumerable XPathSelectElementValues(this XNode node, string query, params (string prefix, string uri)[] namespaces)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "5507d77f99ea4e082b78ce99c18d568d5ff9b6e0693262b829fcf1b58c108089" + "equalIndicator/v1": "cd1c29753a3fd6da300e47bc6930f90496d06dd8d647fd5497c73ef84b6b681a" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", "tags": [ "C#", - ".NET 6.0" + ".NETStandard 2.0" ] } }, @@ -149342,13 +152946,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Tooling/ToolSettings.Standard.cs", + "uri": "source/Nuke.Utilities.Net/HttpClient.Request.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 14, + "startLine": 11, "startColumn": 15, - "charOffset": 322, + "charOffset": 245, "charLength": 7, "snippet": { "text": "partial" @@ -149356,27 +152960,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 12, + "startLine": 9, "startColumn": 1, - "charOffset": 270, - "charLength": 101, + "charOffset": 193, + "charLength": 106, "snippet": { - "text": "[PublicAPI]\n[ExcludeFromCodeCoverage]\npublic static partial class ToolSettingsExtensions\n{\n [Pure]" + "text": "namespace Nuke.Common.Utilities.Net;\n\npublic static partial class HttpClientExtensions\n{\n /// " } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Tooling", + "fullyQualifiedName": "Nuke.Utilities.Net", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "edf749a747b7cb7dadcb0c2f27f9c3acb3a859e152e71cec68a2ca1a8c593617" + "equalIndicator/v1": "84c4248bb5465c094aea041ae1e19d251c440350bdd05e364388917cd1c1b739" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -149398,13 +153001,13 @@ { "physicalLocation": { "artifactLocation": { - "uri": "source/Nuke.Utilities.Net/HttpClient.Request.cs", + "uri": "source/Nuke.SourceGenerators/Shims/Extensions.cs", "uriBaseId": "SRCROOT" }, "region": { - "startLine": 11, - "startColumn": 15, - "charOffset": 245, + "startLine": 10, + "startColumn": 17, + "charOffset": 220, "charLength": 7, "snippet": { "text": "partial" @@ -149412,27 +153015,26 @@ "sourceLanguage": "C#" }, "contextRegion": { - "startLine": 9, + "startLine": 8, "startColumn": 1, - "charOffset": 193, - "charLength": 106, + "charOffset": 170, + "charLength": 157, "snippet": { - "text": "namespace Nuke.Common.Utilities.Net;\n\npublic static partial class HttpClientExtensions\n{\n /// " + "text": "namespace Nuke.Common.Utilities;\n\ninternal static partial class ObjectExtensions\n{\n public static T When(this T obj, bool condition, Func action)" } } }, "logicalLocations": [ { - "fullyQualifiedName": "Nuke.Utilities.Net", + "fullyQualifiedName": "Nuke.SourceGenerators", "kind": "module" } ] } ], "partialFingerprints": { - "equalIndicator/v1": "84c4248bb5465c094aea041ae1e19d251c440350bdd05e364388917cd1c1b739" + "equalIndicator/v1": "cb71be556c585693cae4d682ab7d8702ec47d7a48a7167dcffd4e3d8aa8c1249" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -149488,7 +153090,6 @@ "partialFingerprints": { "equalIndicator/v1": "325e7cc1a528ee5c90c2ff56163d7bd15c0b06a36c82829dee70ee947fe08eef" }, - "baselineState": "unchanged", "properties": { "ideaSeverity": "WARNING", "qodanaSeverity": "High", @@ -149500,10 +153101,10 @@ } ], "automationDetails": { - "id": "nuke-common/qodana/2023-05-14", - "guid": "51d25651-47c1-4d65-a290-32b0aee186fd", + "id": "nuke-common/qodana/2023-05-12", + "guid": "0f88feb4-438e-46a8-97ea-68a53c48c9f7", "properties": { - "jobUrl": "https://github.com/nuke-build/nuke/actions/runs/4975043966" + "jobUrl": "" } }, "newlineSequences": [ @@ -149512,7 +153113,7 @@ ], "properties": { "configProfile": "absent", - "deviceId": "200820300000000-27a1-e45d-bcd9-73528f1f8d9e" + "deviceId": "200820300000000-3161-58d8-ba57-a095811811a2" } } ]