diff --git a/_docs/schema/schemagen/examples/refiner.md b/_docs/schema/schemagen/examples/refiner.md index 877905cb..cdf1c12d 100644 --- a/_docs/schema/schemagen/examples/refiner.md +++ b/_docs/schema/schemagen/examples/refiner.md @@ -28,7 +28,7 @@ internal class NullabilityRefiner : ISchemaRefiner public void Run(SchemaGeneratorContextBase context) { // find the type keyword - var typeIntent = context.Intents.OfType().Firs(); + var typeIntent = context.Intents.OfType().First(); // determine if the property has an override attribute var nullableAttribute = context.Attributes.OfType().FirstOrDefault(); var nullabilityOverride = nullableAttribute?.IsNullable;