Skip to content

Commit 6d5fb86

Browse files
committed
Small fix
1 parent 0b92d63 commit 6d5fb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToExecutableQueryTranslators/ExpressionToExecutableQueryTranslator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static ExecutableQuery<TDocument, TResult> TranslateScalar<TDocument, TRe
4747
{
4848
expression = PartialEvaluator.EvaluatePartially(expression);
4949

50-
var context = TranslationContext.Create(translationOptions, provider.Collection.Settings.SerializationDomain);
50+
var context = TranslationContext.Create(translationOptions, provider.SerializationDomain);
5151
var methodCallExpression = (MethodCallExpression)expression;
5252
switch (methodCallExpression.Method.Name)
5353
{

0 commit comments

Comments
 (0)