diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs
index 8848d4af6da..44130823a00 100644
--- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs
+++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs
@@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
- WriteProperties(ref writer, mixLog, jsonSerializerOptions);
+ WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
///
///
///
- public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
+ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixLog.cs
index 7ba8d31fe10..7beb5db0dd4 100644
--- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixLog.cs
+++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixLog.cs
@@ -855,7 +855,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
- WriteProperties(ref writer, mixLog, jsonSerializerOptions);
+ WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@@ -866,7 +866,7 @@ namespace Org.OpenAPITools.Model
///
///
///
- public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
+ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs
index 8848d4af6da..44130823a00 100644
--- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs
+++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs
@@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
- WriteProperties(ref writer, mixLog, jsonSerializerOptions);
+ WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
///
///
///
- public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
+ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixLog.cs
index 84e1f94b4cc..2b06f1ac25c 100644
--- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixLog.cs
+++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixLog.cs
@@ -856,7 +856,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
- WriteProperties(ref writer, mixLog, jsonSerializerOptions);
+ WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@@ -867,7 +867,7 @@ namespace Org.OpenAPITools.Model
///
///
///
- public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
+ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs
index dc44e0adb89..75cdeb1ec5b 100644
--- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs
+++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs
@@ -853,7 +853,7 @@ namespace Org.OpenAPITools.Model
{
writer.WriteStartObject();
- WriteProperties(ref writer, mixLog, jsonSerializerOptions);
+ WriteProperties(writer, mixLog, jsonSerializerOptions);
writer.WriteEndObject();
}
@@ -864,7 +864,7 @@ namespace Org.OpenAPITools.Model
///
///
///
- public void WriteProperties(ref Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
+ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
{
if (mixLog.Description == null)
throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");