Merge pull request #108885 from aaronfranke/csharp-public-explicit

Use explicit public access modifier in C# code
This commit is contained in:
Thaddeus Crews
2025-11-04 19:48:17 -06:00
7 changed files with 19 additions and 19 deletions

View File

@ -9,7 +9,7 @@ namespace Godot
/// Gets an Awaiter for this <see cref="IAwaitable"/>.
/// </summary>
/// <returns>An Awaiter.</returns>
IAwaiter GetAwaiter();
public IAwaiter GetAwaiter();
}
/// <summary>
@ -22,6 +22,6 @@ namespace Godot
/// Gets an Awaiter for this <see cref="IAwaitable{TResult}"/>.
/// </summary>
/// <returns>An Awaiter.</returns>
IAwaiter<TResult> GetAwaiter();
public IAwaiter<TResult> GetAwaiter();
}
}

View File

@ -10,12 +10,12 @@ namespace Godot
/// <summary>
/// The completion status of this <see cref="IAwaiter"/>.
/// </summary>
bool IsCompleted { get; }
public bool IsCompleted { get; }
/// <summary>
/// Gets the result of completion for this <see cref="IAwaiter"/>.
/// </summary>
void GetResult();
public void GetResult();
}
/// <summary>
@ -27,11 +27,11 @@ namespace Godot
/// <summary>
/// The completion status of this <see cref="IAwaiter{TResult}"/>.
/// </summary>
bool IsCompleted { get; }
public bool IsCompleted { get; }
/// <summary>
/// Gets the result of completion for this <see cref="IAwaiter{TResult}"/>.
/// </summary>
TResult GetResult();
public TResult GetResult();
}
}

View File

@ -10,12 +10,12 @@ namespace Godot
/// Executed before serializing this instance's state when reloading assemblies.
/// Clear any data that should not be serialized.
/// </summary>
void OnBeforeSerialize();
public void OnBeforeSerialize();
/// <summary>
/// Executed after deserializing this instance's state after reloading assemblies.
/// Restore any state that has been lost.
/// </summary>
void OnAfterDeserialize();
public void OnAfterDeserialize();
}
}