Feature/refactor #10
Annotations
80 warnings
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.Test.cs#L11
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/greedy_algorithms/LuckBalance.Test.cs#L10
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/TwoDArray.Test.cs#L11
Change 'input' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/CrushOptimized.Test.cs#L11
Change 'queries' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/CrushBruteForce.Test.cs#L11
Change 'queries' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L1
Rename namespace algorithm_exercises_csharp_test.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L17
In externally visible method 'void LinkedList<T>.printSinglyLinkedList(Node? node, string sep, TextWriter textWriter)', validate parameter 'textWriter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L11
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L8
Member 'next' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Run Tests (ubuntu-24.04, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L1
Rename namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit.linked_list.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler002.Test.cs#L7
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler002.Test.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L7
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp_test/Hello.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp_test/Hello.BruteForce.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L17
In externally visible method 'void LinkedList<T>.printSinglyLinkedList(Node? node, string sep, TextWriter textWriter)', validate parameter 'textWriter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L11
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L8
Member 'next' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Run Tests (macos-14, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L1
Rename namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit.linked_list.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp_test/Hello.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L7
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp_test/Hello.BruteForce.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L1
Rename namespace algorithm_exercises_csharp_test.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L10
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L17
In externally visible method 'void LinkedList<T>.printSinglyLinkedList(Node? node, string sep, TextWriter textWriter)', validate parameter 'textWriter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L11
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L8
Member 'next' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Run Tests (macos-14, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L1
Rename namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit.linked_list.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp_test/Hello.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs#L6
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp_test/Hello.BruteForce.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L1
Rename namespace algorithm_exercises_csharp_test.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L10
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L17
In externally visible method 'void LinkedList<T>.printSinglyLinkedList(Node? node, string sep, TextWriter textWriter)', validate parameter 'textWriter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L11
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L8
Member 'next' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Run Tests (windows-2025, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L1
Rename namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit.linked_list.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs#L8
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp_test/Hello.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L7
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs#L6
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp_test/Hello.BruteForce.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L17
In externally visible method 'void LinkedList<T>.printSinglyLinkedList(Node? node, string sep, TextWriter textWriter)', validate parameter 'textWriter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L11
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L8
Member 'next' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Run Tests (windows-2022, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L1
Rename namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit.linked_list.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/CrushBruteForce.Test.cs#L6
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs#L6
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp_test/Hello.BruteForce.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L1
Rename namespace algorithm_exercises_csharp_test.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L10
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L17
In externally visible method 'void LinkedList<T>.printSinglyLinkedList(Node? node, string sep, TextWriter textWriter)', validate parameter 'textWriter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L11
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L8
Member 'next' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Run Tests (ubuntu-24.04, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L1
Rename namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit.linked_list.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp_test/Hello.BruteForce.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs#L8
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp_test/hackerrank/interview_preparation_kit/arrays/ArraysLeftRotation.Test.cs#L6
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L1
Rename namespace algorithm_exercises_csharp_test.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L10
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L17
In externally visible method 'void LinkedList<T>.printSinglyLinkedList(Node? node, string sep, TextWriter textWriter)', validate parameter 'textWriter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L11
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L8
Member 'next' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Run Tests (windows-2022, 8.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L1
Rename namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit.linked_list.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp_test/Hello.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L7
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp_test/hackerrank/projecteuler/Euler001.Test.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp_test/Hello.BruteForce.Test.cs#L4
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L1
Rename namespace algorithm_exercises_csharp_test.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp_test/lib/JsonLoader.cs#L10
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L17
In externally visible method 'void LinkedList<T>.printSinglyLinkedList(Node? node, string sep, TextWriter textWriter)', validate parameter 'textWriter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L11
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L8
Member 'next' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Run Tests (windows-2025, 9.x):
src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/linked_list/lib/Node.cs#L1
Rename namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit.linked_list.lib so that it no longer conflicts with the reserved language keyword 'Lib'. Using a reserved keyword as the name of a namespace makes it harder for consumers in other languages to use the namespace. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|