summaryrefslogtreecommitdiff
path: root/doc/classes/Performance.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Performance.xml')
-rw-r--r--doc/classes/Performance.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Performance.xml b/doc/classes/Performance.xml
index 6b7daa534e..493af8aff2 100644
--- a/doc/classes/Performance.xml
+++ b/doc/classes/Performance.xml
@@ -45,7 +45,7 @@
[csharp]
public override void _Ready()
{
- var monitorValue = new Callable(this, nameof(GetMonitorValue));
+ var monitorValue = new Callable(this, MethodName.GetMonitorValue);
// Adds monitor with name "MyName" to category "MyCategory".
Performance.AddCustomMonitor("MyCategory/MyMonitor", monitorValue);