Skip to content

Normalize additional identifiers #11

@mikedamay

Description

@mikedamay

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<int, Func<string, string>>{{LocalInt(5), PLACEHOLDER_5 => PLACEHOLDER_5}, };
    }
}

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions