From 608e9571252f22033020e6c87bd0596045b37f26 Mon Sep 17 00:00:00 2001 From: Jeff Bowman <10966749+InteXX@users.noreply.github.com> Date: Fri, 8 Mar 2024 03:39:07 -0900 Subject: [PATCH] Fixed typo in function name `ArrayLiteral()` (#104) --- EFCore.VisualBasic/Design/Internal/VisualBasicHelper.vb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EFCore.VisualBasic/Design/Internal/VisualBasicHelper.vb b/EFCore.VisualBasic/Design/Internal/VisualBasicHelper.vb index d5a012a..2679f6a 100644 --- a/EFCore.VisualBasic/Design/Internal/VisualBasicHelper.vb +++ b/EFCore.VisualBasic/Design/Internal/VisualBasicHelper.vb @@ -506,10 +506,10 @@ Namespace Design.Internal ''' doing so can result in application failures when updating to a new Entity Framework Core release. ''' Public Overridable Function Literal(Of T)(values As T(), Optional vertical As Boolean = False) As String Implements IVisualBasicHelper.Literal - Return ArrayLitetal(GetType(T), values, vertical) + Return ArrayLiteral(GetType(T), values, vertical) End Function - Private Function ArrayLitetal(type As Type, values As IEnumerable, Optional vertical As Boolean = False) As String + Private Function ArrayLiteral(type As Type, values As IEnumerable, Optional vertical As Boolean = False) As String Dim builder As New IndentedStringBuilder Dim valuesList = values.Cast(Of Object)().ToList() @@ -853,7 +853,7 @@ Namespace Design.Internal End If If TypeOf value Is Array Then - Return ArrayLitetal(LiteralType.GetElementType(), DirectCast(value, Array)) + Return ArrayLiteral(LiteralType.GetElementType(), DirectCast(value, Array)) End If If TypeOf value Is ITuple AndAlso