diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-18 16:20:29 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-18 16:20:29 +0100 |
| commit | c3132b42cb9108379914ad71cd09cf723af7c760 (patch) | |
| tree | 18d8c2bfd1378a03791e6bf531dece955ce61ced /modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MethodInfo.cs | |
| parent | 8ab3e73a799bbfa862403747a5de9fc96ba83149 (diff) | |
| parent | 71df6d66aee1e267bc7071673a1960086bef2970 (diff) | |
Merge pull request #66816 from raulsntos/dotnet/readonly
Add `readonly` to C# methods and types that don't mutate
Diffstat (limited to 'modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MethodInfo.cs')
| -rw-r--r-- | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MethodInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MethodInfo.cs b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MethodInfo.cs index 81c6f2b7d5..bb9be862c4 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MethodInfo.cs +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/MethodInfo.cs @@ -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, |