diff --git a/src/csharp/Adapters.cs b/src/csharp/Adapters.cs
index dfef322e4..c8fc39c1b 100644
--- a/src/csharp/Adapters.cs
+++ b/src/csharp/Adapters.cs
@@ -53,7 +53,7 @@ public void UnloadAdapter(string adapterName)
internal IntPtr Handle { get { return handle; } }
///
- /// Implement SafeHandle override
+ /// Implement SafeHandle override.
///
public override bool IsInvalid => handle == IntPtr.Zero;
diff --git a/src/csharp/Config.cs b/src/csharp/Config.cs
index 6ad43e252..c263c9ea0 100644
--- a/src/csharp/Config.cs
+++ b/src/csharp/Config.cs
@@ -49,7 +49,7 @@ public void ClearProviders()
///
public void AppendProvider(string providerName)
{
- Result.VerifySuccess(NativeMethods.OgaConfigAppendProvider(_configHandle, StringUtils.ToUtf8(provider)));
+ Result.VerifySuccess(NativeMethods.OgaConfigAppendProvider(_configHandle, StringUtils.ToUtf8(providerName)));
}
///
diff --git a/src/csharp/Generator.cs b/src/csharp/Generator.cs
index 53ffd78a0..97204c85b 100644
--- a/src/csharp/Generator.cs
+++ b/src/csharp/Generator.cs
@@ -31,9 +31,6 @@ public Generator(Model model, GeneratorParams generatorParams)
///
/// True if the generation process is done, false otherwise.
///
- ///
- /// Thrown when the call to the GenAI native API fails.
- ///
public bool IsDone()
{
return NativeMethods.OgaGenerator_IsDone(_generatorHandle) != 0;