Skip to content

Commit d640aa9

Browse files
authored
Merge pull request #123 from codingseb/dev
Dev
2 parents 8a79c28 + 21ef067 commit d640aa9

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CodingSeb.ExpressionEvaluator.Tests/ExpressionEvaluatorTests.cs

+1
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ public void TypeTesting(string expression, Type type)
983983
[TestCase("new System.Xml.XmlDocument().FluidLoadXml(\"<root><element id='MyElement'>Xml Content</element></root>\").SelectSingleNode(\"//element[@id='MyElement']\").InnerXml", ExpectedResult = "Xml Content", Category = "Complex expression,Inline namespace,Fluid")]
984984
[TestCase("new System.Xml.XmlDocument().FluidLoadXml(\"<root><element id='MyElement'>Xml Content</element></root>\").ChildNodes[0].Name", ExpectedResult = "root", Category = "Complex expression,Inline namespace,Fluid,Custom Indexer")]
985985
[TestCase("string.Join(\" - \", new string[]{\"Hello\", \"Bye\", \"Other\"})", ExpectedResult = "Hello - Bye - Other", Category = "Complex expression, Different brackets imbrication")]
986+
[TestCase("new{Hello = \"Hye\"}.Hello", ExpectedResult = "Hye", Category = "Complex expression, new without space but not a word")]
986987

987988
#endregion
988989

CodingSeb.ExpressionEvaluator/CodingSeb.ExpressionEvaluator.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<Product>CodingSeb.ExpressionEvaluator</Product>
66
<Description>A Simple Math and Pseudo C# Expression Evaluator in One C# File. Can also execute small C# like scripts</Description>
77
<Copyright>Copyright © Coding Seb 2017</Copyright>
8-
<Version>1.4.34.0</Version>
9-
<AssemblyVersion>1.4.34.0</AssemblyVersion>
10-
<FileVersion>1.4.34.0</FileVersion>
8+
<Version>1.4.35.0</Version>
9+
<AssemblyVersion>1.4.35.0</AssemblyVersion>
10+
<FileVersion>1.4.35.0</FileVersion>
1111
<OutputPath>bin\$(Configuration)\</OutputPath>
1212
<Authors>Coding Seb</Authors>
1313
<PackageId>CodingSeb.ExpressionEvaluator</PackageId>
@@ -19,7 +19,7 @@
1919
<PackageIconUrl>https://github.com/codingseb/ExpressionEvaluator/blob/master/Icon.png?raw=true</PackageIconUrl>
2020
<PackageIcon>Icon.png</PackageIcon>
2121
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
22-
<PackageReleaseNotes>* Add intellisence documentation</PackageReleaseNotes>
22+
<PackageReleaseNotes>* manage no space between new and "{" for new{...}</PackageReleaseNotes>
2323
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
2424
<RepositoryUrl>https://github.com/codingseb/ExpressionEvaluator</RepositoryUrl>
2525
<GenerateDocumentationFile>true</GenerateDocumentationFile>

CodingSeb.ExpressionEvaluator/ExpressionEvaluator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************************************
22
Title : ExpressionEvaluator (https://github.com/codingseb/ExpressionEvaluator)
3-
Version : 1.4.34.0
3+
Version : 1.4.35.0
44
(if last digit (the forth) is not a zero, the version is an intermediate version and can be unstable)
55
66
Author : Coding Seb

0 commit comments

Comments
 (0)