exercism / exercism/csharp-representer

Normalize additional identifiers

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1
Forks
7
PR merge metrics
No merged PRs in 30d

Description

`structs` and `property` names do not appear to be normalized resulting in the following kind of representation:
```
public struct Fake
{
private int PLACEHOLDER_1;
public int PLACEHOLDER_2()
{
return PLACEHOLDER_1;
}

public int P
{
get => PLACEHOLDER_1;
}

public int P2
{
get => PLACEHOLDER_1;
set
{
PLACEHOLDER_1 = value;
}
}
Point PLACEHOLDER_4 = new Point(X = 0, Y = 0};
}

public class PLACEHOLDER_1
{
void PLACEHOLDER_2()
{
int LocalInt(int PLACEHOLDER_3) => PLACEHOLDER_3;
var PLACEHOLDER_4 = new Dictionary>{{LocalInt(5), PLACEHOLDER_5 => PLACEHOLDER_5}, };
}
}
```

`Fake`, `P`, `P2`, X, Y, LocalInt should all be normalized. This will break some tests.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.