Skip to content

Run tests using .NET 10 #3662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/GenerateAsyncCode.yml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x

- name: Generate Async code
run: |
2 changes: 1 addition & 1 deletion .github/workflows/NetCoreTests.yml
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 10.0.x

- name: Checkout
uses: actions/checkout@v4
4 changes: 2 additions & 2 deletions ShowBuildMenu.sh
Original file line number Diff line number Diff line change
@@ -172,8 +172,8 @@ testSetupMenu() {
}

testRun(){
dotnet test ./src/NHibernate.Test/NHibernate.Test.csproj -f net8.0
dotnet test ./src/NHibernate.Test.VisualBasic/NHibernate.Test.VisualBasic.vbproj -f net8.0
dotnet test ./src/NHibernate.Test/NHibernate.Test.csproj -f net10.0
dotnet test ./src/NHibernate.Test.VisualBasic/NHibernate.Test.VisualBasic.vbproj -f net10.0
mainMenu
}

2 changes: 1 addition & 1 deletion Tools/BuildTool/BuildTool.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
</Project>
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -13,6 +13,10 @@ environment:
init:
# Required for having windows endlines in sources zip
- git config --global core.autocrlf true
- ps: |
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -UseBasicParsing -OutFile "$env:temp\dotnet-install.ps1"
& $env:temp\dotnet-install.ps1 -Channel 10.0 -Quality preview -InstallDir "$env:ProgramFiles\dotnet"
build: off
before_test:
- ps: |-
5 changes: 3 additions & 2 deletions build-common/NHibernate.props
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@
<FileVersion Condition="'$(VersionSuffix)' != '' AND '$(BuildNumber)' != ''">$(VersionPrefix).$(BuildNumber)</FileVersion>
<FileVersion Condition="'$(FileVersion)' == ''">$(VersionPrefix).0</FileVersion>

<NhAppTargetFrameworks Condition ="$(NhAppTargetFrameworks) == ''">net48;net8.0</NhAppTargetFrameworks>
<NhLibTargetFrameworks Condition ="$(NhLibTargetFrameworks) == ''">net461;net48;netcoreapp2.0;netstandard2.0;netstandard2.1;net6.0;net8.0</NhLibTargetFrameworks>
<NhAppTargetFrameworks Condition ="$(NhAppTargetFrameworks) == ''">net48;net10.0</NhAppTargetFrameworks>
<NhLibTargetFrameworks Condition ="$(NhLibTargetFrameworks) == ''">net461;net48;netcoreapp2.0;netstandard2.0;netstandard2.1;net6.0;net8.0;net10.0</NhLibTargetFrameworks>
<RuntimeFrameworkVersion Condition="'$(TargetFramework)' == 'netcoreapp2.0'">2.0.3</RuntimeFrameworkVersion>
<NhNetFx>false</NhNetFx>
<NhNetFx Condition="$(TargetFramework.StartsWith('net4'))">true</NhNetFx>
@@ -25,6 +25,7 @@
<NoWarn>$(NoWarn);NU1903</NoWarn>
<NoWarn Condition="'$(TargetFramework)' == 'net6.0'">$(NoWarn);SYSLIB0011</NoWarn>
<NoWarn Condition="'$(TargetFramework)' == 'net8.0'">$(NoWarn);SYSLIB0011;SYSLIB0050;SYSLIB0051</NoWarn>
<NoWarn Condition="'$(TargetFramework)' == 'net10.0'">$(NoWarn);SYSLIB0011;SYSLIB0050;SYSLIB0051</NoWarn>

<Product>NHibernate</Product>
<Company>NHibernate.info</Company>
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"version": "10.0.100-preview.1.25120.13",
"rollForward": "latestFeature"
}
}
2 changes: 1 addition & 1 deletion psake.ps1
Original file line number Diff line number Diff line change
@@ -132,7 +132,7 @@ Task Test -depends Build {
'NHibernate.Test',
'NHibernate.Test.VisualBasic'
) | ForEach-Object {
$assembly = [IO.Path]::Combine("src", $_, "bin", "Release", "net8.0", "$_.dll")
$assembly = [IO.Path]::Combine("src", $_, "bin", "Release", "net10.0", "$_.dll")
Exec {
dotnet $assembly --labels=before --nocolor "--result=$_-TestResult.xml"
}
2 changes: 1 addition & 1 deletion src/AsyncGenerator.yml
Original file line number Diff line number Diff line change
@@ -187,7 +187,7 @@
scanForMissingAsyncMembers:
- all: true
- filePath: NHibernate.Test/NHibernate.Test.csproj
targetFramework: net8.0
targetFramework: net10.0
concurrentRun: true
applyChanges: true
suppressDiagnosticFailures:
Original file line number Diff line number Diff line change
@@ -8,14 +8,14 @@
<OptionExplicit>On</OptionExplicit>
<OptionStrict>On</OptionStrict>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PropertyGroup Condition="'$(TargetFramework)' == 'net10.0'">
<OutputType>Exe</OutputType>
<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>
<ItemGroup>
<None Remove="**\*.hbm.xml" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<ItemGroup Condition="'$(TargetFramework)'=='net10.0'">
<Compile Remove="**\Issues\NH3302\**" />
</ItemGroup>
<ItemGroup>
@@ -25,12 +25,11 @@
<None Include="..\NHibernate.Test\App.config" Link="App.config" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageReference Include="NUnitLite" Version="3.14.0" />
</ItemGroup>
<ItemGroup>
14 changes: 7 additions & 7 deletions src/NHibernate.Test/NHibernate.Test.csproj
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
<ContentSQLiteInteropFiles>true</ContentSQLiteInteropFiles>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PropertyGroup Condition="'$(TargetFramework)' == 'net10.0'">
<OutputType>Exe</OutputType>
<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>
@@ -39,7 +39,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<ItemGroup Condition="'$(TargetFramework)'=='net10.0'">
<Compile Remove="**\CfgTest\DefaultNsAssmFixture.cs" />
<Compile Remove="**\CfgTest\HbmOrderingFixture.cs" />
<Compile Remove="**\DynamicProxyTests\PeVerifyFixture.cs" />
@@ -73,7 +73,7 @@
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.2.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="FirebirdSql.Data.FirebirdClient" Version="9.1.1" />
<PackageReference Include="Npgsql" Version="8.0.3" />
<PackageReference Include="MySql.Data" Version="8.0.30" />
@@ -87,14 +87,14 @@
<PackageReference Include="Microsoft.SqlServer.Compact" Version="4.0.8876.1" />
<PackageReference Include="Oracle.ManagedDataAccess" Version="21.14.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.0" />
<ItemGroup Condition="'$(TargetFramework)'=='net10.0'">
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="10.0.0-preview.1.25120.3" />
<PackageReference Include="System.CodeDom" Version="4.7.0" />
<PackageReference Include="System.Data.Odbc" Version="4.7.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
<PackageReference Include="System.Data.OracleClient" Version="1.0.8" />
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="9.0.3" />
<PackageReference Include="Oracle.ManagedDataAccess.Core" Version="3.21.140" />
<PackageReference Include="System.Data.Odbc" Version="4.7.0" />
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
<PackageReference Include="NUnitLite" Version="3.14.0" />
</ItemGroup>
<ItemGroup Condition=" '$(NuGetPackageRoot)' != '' ">
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
<IsTestProject>true</IsTestProject>
<NoWarn>$(NoWarn);3001;3002;3003;3005</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PropertyGroup Condition="'$(TargetFramework)' == 'net10.0'">
<OutputType>Exe</OutputType>
<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>
@@ -18,7 +18,7 @@
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageReference Include="NUnitLite" Version="3.14.0" />
</ItemGroup>
<ItemGroup>
4 changes: 4 additions & 0 deletions src/NHibernate.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -21,6 +21,9 @@
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateConstants/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticReadonly/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/UserRules/=15b5b1f1_002D457c_002D4ca6_002Db278_002D5615aedc07d3/@EntryIndexedValue">&lt;Policy&gt;&lt;Descriptor Staticness="Static" AccessRightKinds="Private" Description="Static readonly fields (private)"&gt;&lt;ElementKinds&gt;&lt;Kind Name="READONLY_FIELD" /&gt;&lt;/ElementKinds&gt;&lt;/Descriptor&gt;&lt;Policy Inspect="True" WarnAboutPrefixesAndSuffixes="False" Prefix="" Suffix="" Style="AaBb" /&gt;&lt;/Policy&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/UserRules/=236f7aa5_002D7b06_002D43ca_002Dbf2a_002D9b31bfcff09a/@EntryIndexedValue">&lt;Policy&gt;&lt;Descriptor Staticness="Any" AccessRightKinds="Private" Description="Constant fields (private)"&gt;&lt;ElementKinds&gt;&lt;Kind Name="CONSTANT_FIELD" /&gt;&lt;/ElementKinds&gt;&lt;/Descriptor&gt;&lt;Policy Inspect="True" WarnAboutPrefixesAndSuffixes="False" Prefix="" Suffix="" Style="aaBb" /&gt;&lt;/Policy&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/UserRules/=4a98fdf6_002D7d98_002D4f5a_002Dafeb_002Dea44ad98c70c/@EntryIndexedValue">&lt;Policy&gt;&lt;Descriptor Staticness="Instance" AccessRightKinds="Private" Description="Instance fields (private)"&gt;&lt;ElementKinds&gt;&lt;Kind Name="FIELD" /&gt;&lt;Kind Name="READONLY_FIELD" /&gt;&lt;/ElementKinds&gt;&lt;/Descriptor&gt;&lt;Policy Inspect="True" WarnAboutPrefixesAndSuffixes="False" Prefix="_" Suffix="" Style="aaBb" /&gt;&lt;/Policy&gt;</s:String>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpAttributeForSingleLineMethodUpgrade/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
@@ -29,6 +32,7 @@
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002ECSharpPlaceAttributeOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EPredefinedNamingRulesToUserRulesUpgrade/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002EFormat_002ESettingsUpgrade_002EAlignmentTabFillStyleMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/UnitTesting/SeparateAppDomainPerAssembly/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/StructuralSearch/Pattern/=0BE95D01E0F2244E97F5FEFAD1EB1A63/@KeyIndexDefined">True</s:Boolean>
4 changes: 4 additions & 0 deletions src/NHibernate/NHibernate.csproj
Original file line number Diff line number Diff line change
@@ -57,6 +57,10 @@
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageReference Include="System.Configuration.ConfigurationManager" Version="10.0.0-preview.1.25080.5" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
</ItemGroup>

Unchanged files with check annotations Beta

atom
: primaryExpression
(
DOT^ identifier

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: DOT

Check warning on line 570 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: DOT
( options { greedy=true; } :
( op=OPEN^ {$op.Type = METHOD_CALL; } exprList CLOSE! ) )?
| lb=OPEN_BRACKET^ {$lb.Type = INDEX_OP; } expression CLOSE_BRACKET!
// level 0 - the basic element of an expression
primaryExpression
: identPrimary ( options {greedy=true;} : DOT^ 'class' )?

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: DOT

Check warning on line 579 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: DOT
| constant
| COLON^ identifier
// TODO: Add parens to the tree so the user can control the operator evaluation order.
// the method looks a head to find keywords after DOT and turns them into identifiers.
identPrimary
: identifier {{ HandleDotIdent(); }}
( options {greedy=true;} : DOT^ ( identifier | o=OBJECT { $o.Type = IDENT; } ) )*

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 604 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: DOT
( ( op=OPEN^ { $op.Type = METHOD_CALL;} exprList CLOSE! )
)?
// Also allow special 'aggregate functions' such as count(), avg(), etc.
constant
: NUM_INT
| NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: NUM_FLOAT

Check warning on line 679 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: NUM_FLOAT
| NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: NUM_LONG

Check warning on line 680 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: NUM_LONG
| NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: NUM_DOUBLE

Check warning on line 681 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: NUM_DOUBLE
| NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: NUM_DECIMAL

Check warning on line 682 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: NUM_DECIMAL
| QUOTED_String
| NULL
| TRUE
@init {
HandleDotIdents();
}
: identifier ( DOT^ identifier )*

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / MySQL - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - windows-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008-MicrosoftDataSqlClientDriver - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SqlServer2008 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Oracle - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / SQLite - macos-13

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / Firebird4 - ubuntu-latest

no lexer rule corresponding to token: DOT

Check warning on line 700 in src/NHibernate/Hql/Ast/ANTLR/Hql.g

GitHub Actions / PostgreSQL - windows-latest

no lexer rule corresponding to token: DOT
;
// Wraps the IDENT token from the lexer, in order to provide