Skip to content

[minor] Return the root itself from AbsoluteDirectoryPath.Parent - #144

Merged
matt-edmondson merged 1 commit into
mainfrom
fix/absolute-directory-path-root-parent
Aug 4, 2026
Merged

[minor] Return the root itself from AbsoluteDirectoryPath.Parent#144
matt-edmondson merged 1 commit into
mainfrom
fix/absolute-directory-path-root-parent

[minor] Return the root itself from AbsoluteDirectoryPath.Parent

a253d26
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 4, 2026 in 1m 1s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 92 in Semantics/Semantics/Semantics.Test/Music/ModeTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQKciFrKGmfa7OV7&open=AZ_LjQKciFrKGmfa7OV7&pullRequest=144

Check warning on line 496 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWa&open=AZ_LjQOfiFrKGmfa7OWa&pullRequest=144

Check warning on line 127 in Semantics/Semantics/Semantics.Test/AdvancedUtilityTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'TestContext.CancellationToken' instead of 'TestContext.CancellationTokenSource.Token'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQPGiFrKGmfa7OWf&open=AZ_LjQPGiFrKGmfa7OWf&pullRequest=144

Check warning on line 17 in Semantics/Semantics/Semantics.Test/Music/InversionTransposeTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQJziFrKGmfa7OVy&open=AZ_LjQJziFrKGmfa7OVy&pullRequest=144

Check warning on line 116 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWW&open=AZ_LjQOfiFrKGmfa7OWW&pullRequest=144

Check warning on line 281 in Semantics/Semantics/Semantics.Test/AdvancedUtilityTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'TestContext.CancellationToken' instead of 'TestContext.CancellationTokenSource.Token'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQPGiFrKGmfa7OWe&open=AZ_LjQPGiFrKGmfa7OWe&pullRequest=144

Check warning on line 33 in Semantics/Semantics/Semantics.Test/Music/InversionTransposeTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQJziFrKGmfa7OV0&open=AZ_LjQJziFrKGmfa7OV0&pullRequest=144

Check warning on line 52 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWU&open=AZ_LjQOfiFrKGmfa7OWU&pullRequest=144

Check warning on line 1247 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWR&open=AZ_LjQOfiFrKGmfa7OWR&pullRequest=144

Check warning on line 278 in Semantics/Semantics/Semantics.Test/AdvancedUtilityTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'TestContext.CancellationToken' instead of 'TestContext.CancellationTokenSource.Token'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQPGiFrKGmfa7OWd&open=AZ_LjQPGiFrKGmfa7OWd&pullRequest=144

Check warning on line 1084 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWQ&open=AZ_LjQOfiFrKGmfa7OWQ&pullRequest=144

Check warning on line 13 in Semantics/Semantics/Semantics.Test/AdvancedUtilityTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Test class 'AdvancedUtilityTests' should have at least one test method or be 'static' with method(s) marked by '[AssemblyInitialize]' and/or '[AssemblyCleanup]'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQPGiFrKGmfa7OWc&open=AZ_LjQPGiFrKGmfa7OWc&pullRequest=144

Check warning on line 21 in Semantics/Semantics/Semantics.Test/Music/HarmonicFunctionTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQGxiFrKGmfa7OVj&open=AZ_LjQGxiFrKGmfa7OVj&pullRequest=144

Check warning on line 1070 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWP&open=AZ_LjQOfiFrKGmfa7OWP&pullRequest=144

Check warning on line 504 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWb&open=AZ_LjQOfiFrKGmfa7OWb&pullRequest=144

Check warning on line 76 in Semantics/Semantics/Semantics.Test/Music/ModeTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQKciFrKGmfa7OV4&open=AZ_LjQKciFrKGmfa7OV4&pullRequest=144

Check warning on line 19 in Semantics/Semantics/Semantics.Test/Music/ScaleTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQHkiFrKGmfa7OVk&open=AZ_LjQHkiFrKGmfa7OVk&pullRequest=144

Check warning on line 130 in Semantics/Semantics/Semantics.Test/Music/ModeTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQKciFrKGmfa7OV_&open=AZ_LjQKciFrKGmfa7OV_&pullRequest=144

Check warning on line 75 in Semantics/Semantics/Semantics.Test/Music/ProgressionTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.HasCount' instead of 'Assert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQJQiFrKGmfa7OVv&open=AZ_LjQJQiFrKGmfa7OVv&pullRequest=144

Check warning on line 19 in Semantics/Semantics/Semantics.Test/Music/CadenceTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.HasCount' instead of 'Assert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQIgiFrKGmfa7OVp&open=AZ_LjQIgiFrKGmfa7OVp&pullRequest=144

Check warning on line 508 in Semantics/Semantics/Semantics.Test/SemanticPathInterfaceTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.IsEmpty' instead of 'Assert.IsFalse'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQPuiFrKGmfa7OWj&open=AZ_LjQPuiFrKGmfa7OWj&pullRequest=144

Check warning on line 1322 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWS&open=AZ_LjQOfiFrKGmfa7OWS&pullRequest=144

Check warning on line 1351 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use asserts in catch blocks because they may not fail the test if no exception is thrown

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWT&open=AZ_LjQOfiFrKGmfa7OWT&pullRequest=144

Check warning on line 138 in Semantics/Semantics/Semantics.Test/Music/ModeTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQKciFrKGmfa7OWB&open=AZ_LjQKciFrKGmfa7OWB&pullRequest=144

Check warning on line 90 in Semantics/Semantics/Semantics.Test/SemanticStringTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_Semantics&issues=AZ_LjQOfiFrKGmfa7OWV&open=AZ_LjQOfiFrKGmfa7OWV&pullRequest=144