Skip to content

Commit

Permalink
Fixed typo in function name ArrayLiteral() (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
InteXX authored Mar 8, 2024
1 parent dcb50bc commit 608e957
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EFCore.VisualBasic/Design/Internal/VisualBasicHelper.vb
Original file line number Diff line number Diff line change
Expand Up @@ -506,10 +506,10 @@ Namespace Design.Internal
''' doing so can result in application failures when updating to a new Entity Framework Core release.
''' </summary>
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()
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 608e957

Please # to comment.