From 54d3aeb24e614266c2836a82b643ca5886006975 Mon Sep 17 00:00:00 2001 From: John Gathogo Date: Thu, 21 Jul 2022 16:12:11 +0300 Subject: [PATCH] Replace unsupported concise syntax --- .../ExtensionMethods/ExtensionMethods.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.OData.Edm/ExtensionMethods/ExtensionMethods.cs b/src/Microsoft.OData.Edm/ExtensionMethods/ExtensionMethods.cs index 89b788384a..804ae56f92 100644 --- a/src/Microsoft.OData.Edm/ExtensionMethods/ExtensionMethods.cs +++ b/src/Microsoft.OData.Edm/ExtensionMethods/ExtensionMethods.cs @@ -1550,7 +1550,7 @@ public static IEnumerable OperationImports(this IEdmEntityC /// /// Reference to the calling object. /// collection of pairs of container element and NavigationPropertyBindings. - public static IEnumerable<(IEdmEntityContainerElement, IEdmNavigationPropertyBinding)> GetNavigationPropertyBindings(this IEdmEntityContainer container) + public static IEnumerable> GetNavigationPropertyBindings(this IEdmEntityContainer container) { EdmUtil.CheckArgumentNull(container, "container"); @@ -1562,13 +1562,13 @@ public static IEnumerable OperationImports(this IEdmEntityC case IEdmEntitySet entitySet: foreach(var binding in entitySet.NavigationPropertyBindings) { - yield return (entitySet, binding); + yield return Tuple.Create(entitySet, binding); } break; case IEdmSingleton singleton: foreach (var binding in singleton.NavigationPropertyBindings) { - yield return (singleton, binding); + yield return Tuple.Create< IEdmEntityContainerElement, IEdmNavigationPropertyBinding>(singleton, binding); } break; default: