diff --git a/src/Orleans.Reminders/GrainReminderExtensions.cs b/src/Orleans.Reminders/GrainReminderExtensions.cs
index f1a637d75b..c4aeb10543 100644
--- a/src/Orleans.Reminders/GrainReminderExtensions.cs
+++ b/src/Orleans.Reminders/GrainReminderExtensions.cs
@@ -80,7 +80,7 @@ private static Task UnregisterReminder(IGrainContext? grainContext, IGrainRemind
/// The grain instance.
/// Reminder to return
/// Promise for Reminder handle.
- public static Task GetReminder(this Grain grain, string reminderName) => GetReminder(grain?.GrainContext, reminderName);
+ public static Task GetReminder(this Grain grain, string reminderName) => GetReminder(grain?.GrainContext, reminderName);
///
/// Returns a previously registered reminder.
@@ -88,9 +88,9 @@ private static Task UnregisterReminder(IGrainContext? grainContext, IGrainRemind
/// A grain.
/// Reminder to return
/// Promise for Reminder handle.
- public static Task GetReminder(this IGrainBase grain, string reminderName) => GetReminder(grain?.GrainContext, reminderName);
+ public static Task GetReminder(this IGrainBase grain, string reminderName) => GetReminder(grain?.GrainContext, reminderName);
- private static Task GetReminder(IGrainContext? grainContext, string reminderName)
+ private static Task GetReminder(IGrainContext? grainContext, string reminderName)
{
ArgumentNullException.ThrowIfNull(grainContext, "grain");
if (string.IsNullOrWhiteSpace(reminderName)) throw new ArgumentNullException(nameof(reminderName));