diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/GodotClassNameAttribute.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/GodotClassNameAttribute.cs
index b19427f60d1..20d7360e3e8 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/GodotClassNameAttribute.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/GodotClassNameAttribute.cs
@@ -1,4 +1,5 @@
using System;
+using System.ComponentModel;
namespace Godot
{
@@ -8,7 +9,7 @@ namespace Godot
/// the name associated with the class. If the attribute is not present,
/// the C# class name can be used instead.
///
- [AttributeUsage(AttributeTargets.Class)]
+ [AttributeUsage(AttributeTargets.Class), EditorBrowsable(EditorBrowsableState.Never)]
public class GodotClassNameAttribute : Attribute
{
///
@@ -16,6 +17,10 @@ namespace Godot
///
public string Name { get; }
+ ///
+ /// Specify the name that represents the original engine class.
+ ///
+ /// Name of the original engine class.
public GodotClassNameAttribute(string name)
{
Name = name;
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/SignalAttribute.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/SignalAttribute.cs
index 0a08bb5df8a..bd1bb89c104 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/SignalAttribute.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/SignalAttribute.cs
@@ -2,6 +2,11 @@ using System;
namespace Godot
{
+ ///
+ /// Declares a as a signal. This allows any connected
+ /// (and, by extension, their respective objects) to listen and react
+ /// to events, without directly referencing one another.
+ ///
[AttributeUsage(AttributeTargets.Delegate)]
public sealed class SignalAttribute : Attribute { }
}
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/ToolAttribute.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/ToolAttribute.cs
index 4c56201727c..0a5bd240004 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/ToolAttribute.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/ToolAttribute.cs
@@ -2,6 +2,9 @@ using System;
namespace Godot
{
+ ///
+ /// Allows the annotated class to execute in the editor.
+ ///
[AttributeUsage(AttributeTargets.Class)]
public sealed class ToolAttribute : Attribute { }
}
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Interfaces/IAwaitable.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Interfaces/IAwaitable.cs
index e747e03c1e0..95732975328 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Interfaces/IAwaitable.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Interfaces/IAwaitable.cs
@@ -5,6 +5,10 @@ namespace Godot
///
public interface IAwaitable
{
+ ///
+ /// Gets an Awaiter for this .
+ ///
+ /// An Awaiter.
IAwaiter GetAwaiter();
}
@@ -14,6 +18,10 @@ namespace Godot
/// A reference to the result to be passed out.
public interface IAwaitable
{
+ ///
+ /// Gets an Awaiter for this .
+ ///
+ /// An Awaiter.
IAwaiter GetAwaiter();
}
}
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Interfaces/IAwaiter.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Interfaces/IAwaiter.cs
index dec225eb291..2be9f0ab45b 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Interfaces/IAwaiter.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Interfaces/IAwaiter.cs
@@ -7,8 +7,14 @@ namespace Godot
///
public interface IAwaiter : INotifyCompletion
{
+ ///
+ /// The completion status of this .
+ ///
bool IsCompleted { get; }
+ ///
+ /// Gets the result of completion for this .
+ ///
void GetResult();
}
@@ -18,8 +24,14 @@ namespace Godot
/// A reference to the result to be passed out.
public interface IAwaiter : INotifyCompletion
{
+ ///
+ /// The completion status of this .
+ ///
bool IsCompleted { get; }
+ ///
+ /// Gets the result of completion for this .
+ ///
TResult GetResult();
}
}