You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +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:
@@ -1,6 +1,6 @@
|
||||
namespace Godot.SourceGenerators
|
||||
{
|
||||
internal struct PropertyInfo
|
||||
internal readonly struct PropertyInfo
|
||||
{
|
||||
public PropertyInfo(VariantType type, string name, PropertyHint hint,
|
||||
string? hintString, PropertyUsageFlags usage, bool exported)
|
||||
|
||||
Reference in New Issue
Block a user