diff --git a/test/System.Linq.Dynamic.Core.Tests/DynamicExpressionParserTests.cs b/test/System.Linq.Dynamic.Core.Tests/DynamicExpressionParserTests.cs index 17309c5b..b2c589f5 100644 --- a/test/System.Linq.Dynamic.Core.Tests/DynamicExpressionParserTests.cs +++ b/test/System.Linq.Dynamic.Core.Tests/DynamicExpressionParserTests.cs @@ -807,6 +807,23 @@ public void DynamicExpressionParser_ParseLambda_Double(string culture, string ex result.Should().Be(expected); } + public class EntityDbo + { + public string Name { get; set; } + } + + [Fact] + public void DynamicExpressionParser_ParseLambda_StringLiteral_WithADot() + { + // Act + var expression = DynamicExpressionParser.ParseLambda(typeof(EntityDbo), typeof(bool), "Name == @0", "System.Int32"); + var del = expression.Compile(); + var result = del.DynamicInvoke(new EntityDbo { Name = "System.Int32" }); + + // Assert + result.Should().Be(true); + } + [Fact] public void DynamicExpressionParser_ParseLambda_StringLiteral_ReturnsBooleanLambdaExpression() {