You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +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:
@@ -4,7 +4,7 @@ using Microsoft.CodeAnalysis;
|
||||
|
||||
namespace Godot.SourceGenerators.Internal;
|
||||
|
||||
internal struct CallbacksData
|
||||
internal readonly struct CallbacksData
|
||||
{
|
||||
public CallbacksData(INamedTypeSymbol nativeTypeSymbol, INamedTypeSymbol funcStructSymbol)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user