Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

URA9999: Use the nameof operator instead of specifying the method name directly in a string #134

Open
mika-f opened this issue Jun 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mika-f
Copy link
Collaborator

mika-f commented Jun 26, 2021

Analyzer Declaration

Key Value
Category Refactoring
Severity Info

Example

using UdonSharp;

class ExampleClass : UdonSharpBehaviour
{
    private void Update()
    {
        SendCustomEvent("SomeMethod"); // URA0050
    }

    public void SomeMethod()
    {
    }
}
@mika-f mika-f added the enhancement New feature or request label Jun 26, 2021
@mika-f mika-f changed the title URA0050: Use the nameof operator instead of specifying the method name directly in a string URA9999: Use the nameof operator instead of specifying the method name directly in a string Jul 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant