You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Add readonly to C# methods and types that don't mutate
Also removes a few unnecessary temp variables
This commit is contained in:
@@ -2,7 +2,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace Godot.SourceGenerators
|
||||
{
|
||||
internal struct MethodInfo
|
||||
internal readonly struct MethodInfo
|
||||
{
|
||||
public MethodInfo(string name, PropertyInfo returnVal, MethodFlags flags,
|
||||
List<PropertyInfo>? arguments,
|
||||
|
||||
Reference in New Issue
Block a user