test: fix test cases #267
Annotations
10 warnings
build:
src/ReferenceResolver/NuGetHelper.cs#L25
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
build:
src/ReferenceResolver/AnalyzerReferenceLoader.cs#L20
Replace this call to 'Assembly.LoadFrom' with 'Assembly.Load'. (https://rules.sonarsource.com/csharp/RSPEC-3885)
|
build:
src/ReferenceResolver/ProjectReferenceResolver.cs#L23
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
|
build:
src/ReferenceResolver/NuGetReference.cs#L33
Correct one of the identical expressions on both sides of operator '|'. (https://rules.sonarsource.com/csharp/RSPEC-1764)
|
build:
src/ReferenceResolver/NuGetHelper.cs#L142
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build:
src/ReferenceResolver/NuGetHelper.cs#L167
Loop should be simplified by calling Select(item => item.Identity)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
build:
src/ReferenceResolver/NuGetHelper.cs#L294
Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build:
src/ReferenceResolver/NuGetHelper.cs#L451
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
|
build:
src/dotnet-exec/Contracts/ConfigProfile.cs#L8
Make 'Usings' a static property. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
src/dotnet-exec/Contracts/ConfigProfile.cs#L14
Make 'References' a static property. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
Loading