diff --git a/doc/UNT0016.md b/doc/UNT0016.md index 03c60a4..b23d347 100644 --- a/doc/UNT0016.md +++ b/doc/UNT0016.md @@ -1,6 +1,6 @@ # UNT0016 Unsafe way to get the method name -Using `Invoke`, `InvokeRepeating`, `CancelInvoke`, `StartCoroutine` or `StopCoroutine` with a first argument being a string literal is not type safe. Instead it's recommanded to use the `nameof` operator or a direct call for coroutines. The further benefit of doing this is the ability for the method to use a rename refactoring without remembering to update the string literals. +Using `Invoke`, `InvokeRepeating`, `CancelInvoke`, `StartCoroutine` or `StopCoroutine` with a first argument being a string literal is not type safe. Instead it's recommended to use the `nameof` operator or a direct call for coroutines. The further benefit of doing this is the ability for the method to use a rename refactoring without remembering to update the string literals. ## Examples of patterns that are flagged by this analyzer