From bbee168c3bd1a43a68308dc99fa5257b4a3122ff Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 29 Aug 2024 09:50:40 -0400 Subject: [PATCH] fix: typo --- src/Kiota.Builder/CodeDOM/CodeComposedTypeBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kiota.Builder/CodeDOM/CodeComposedTypeBase.cs b/src/Kiota.Builder/CodeDOM/CodeComposedTypeBase.cs index d5114aacf6..d2b5241d37 100644 --- a/src/Kiota.Builder/CodeDOM/CodeComposedTypeBase.cs +++ b/src/Kiota.Builder/CodeDOM/CodeComposedTypeBase.cs @@ -85,7 +85,7 @@ public DeprecationInformation? Deprecation public bool IsComposedOfObjectsAndPrimitives(Func checkIfPrimitive) { // Count the number of primitives in Types - return Types.Any(x => checkIfPrimitive(x, this)) && Type.Any(x => !checkIfPrimitive(x, this)); + return Types.Any(x => checkIfPrimitive(x, this)) && Types.Any(x => !checkIfPrimitive(x, this)); } }