Skip to content

Commit 8c148be

Browse files
committed
Typo.
1 parent 136380b commit 8c148be

File tree

1 file changed

+2
-2
lines changed
  • Provider/src/FirebirdSql.EntityFrameworkCore.Firebird/Query/ExpressionTranslators/Internal

1 file changed

+2
-2
lines changed

Provider/src/FirebirdSql.EntityFrameworkCore.Firebird/Query/ExpressionTranslators/Internal/FbConvertTranslator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class FbConvertTranslator : IMethodCallTranslator
3939
[nameof(Convert.ToString)] = $"VARCHAR({FbTypeMappingSource.VarcharMaxSize})"
4040
};
4141

42-
static readonly HashSet<Type> SuportedTypes = new HashSet<Type>
42+
static readonly HashSet<Type> SupportedTypes = new HashSet<Type>
4343
{
4444
typeof(bool),
4545
typeof(byte),
@@ -55,7 +55,7 @@ public class FbConvertTranslator : IMethodCallTranslator
5555
static readonly IEnumerable<MethodInfo> SupportedMethods
5656
= TypeMapping.Keys
5757
.SelectMany(t => typeof(Convert).GetTypeInfo().GetDeclaredMethods(t)
58-
.Where(m => m.GetParameters().Length == 1 && SuportedTypes.Contains(m.GetParameters().First().ParameterType)));
58+
.Where(m => m.GetParameters().Length == 1 && SupportedTypes.Contains(m.GetParameters().First().ParameterType)));
5959

6060
public virtual Expression Translate(MethodCallExpression methodCallExpression)
6161
=> SupportedMethods.Contains(methodCallExpression.Method)

0 commit comments

Comments
 (0)