csharp-analyzer icon indicating copy to clipboard operation
csharp-analyzer copied to clipboard

An analyser for C#

Results 12 csharp-analyzer issues
Sort by recently updated
recently updated
newest added

Bumps dotnet/sdk from 8.0.204-alpine3.18-amd64 to 8.0.300-alpine3.18-amd64. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dotnet/sdk&package-manager=docker&previous-version=8.0.204-alpine3.18-amd64&new-version=8.0.300-alpine3.18-amd64)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies
docker

Bumps dotnet/runtime-deps from 8.0.4-alpine3.18-amd64 to 8.0.5-alpine3.18-amd64. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dotnet/runtime-deps&package-manager=docker&previous-version=8.0.4-alpine3.18-amd64&new-version=8.0.5-alpine3.18-amd64)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies
docker

Similar to how the expected files are updated in the [C# representer](https://github.com/exercism/csharp-representer/blob/master/test.ps1).

Task 5 of the `constants` exercise is to "Ensure that the developers cannot be tampered with". The intention here is to encourage the student to wrap the `developers` dictionary in...

See the [flag-enums exercise](https://github.com/exercism/v3/blob/master/languages/csharp/exercises/concept/flag-enums/.meta/design.md). Two features are required for this exercise: - Verify that the `Permission` enum is marked with the `[Flags]` attribute. - Suggest using `byte` as the enum's...

Given the code ```csharp int Foo() { try { // try stuff } catch (Exception) { // catch stuff } return 0; } ``` Advise that the return statement should...

See the [properties exercise](https://github.com/exercism/v3/edit/master/languages/csharp/exercises/concept/properties/.meta/design.md). There 7 features required for the properties exercise: 1. If `WeighingMachine.Units` is not auto-implemented then the following comment should be made: "The appropriate form for a...

See the [method-overloading exercise](https://github.com/exercism/v3/blob/master/languages/csharp/exercises/concept/method-overloading/.meta/design.md). The following feature should be added: There are three overloaded `Describe()` methods which each take a single parameter (character, destination and travel method. They are not...

See the [basics exercise](https://github.com/exercism/v3/blob/master/languages/csharp/exercises/concept/basics/.meta/design.md). There are two features to be added: - Verify that the `RemainingMinutesInOven()` method calls the `ExpectedMinutesInOven()` method. - Verify that the `ElapsedTimeInMinutes()` method calls the `PreparationTimeInMinutes()`...

See the [inheritance exercise](https://github.com/exercism/v3/blob/master/languages/csharp/exercises/concept/inheritance/.meta/design.md). There are two features required: - Verify that the constructor of the `Character` class uses the `protected` modifier. - Verify that the various fields used (hit...