This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new 760eb814a2 Suppress obsolete and lowercase-long warnings in generated
.NET feature tests
760eb814a2 is described below
commit 760eb814a218466f4db52ca5f47b6fdf6cc9cf6b
Author: Stephen Mallette <[email protected]>
AuthorDate: Mon Jul 13 15:14:31 2026 -0400
Suppress obsolete and lowercase-long warnings in generated .NET feature
tests
Assisted-by: Claude Code:claude-opus-4-8
---
gremlin-dotnet/build/generate.groovy | 3 +++
gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs | 2 ++
2 files changed, 5 insertions(+)
diff --git a/gremlin-dotnet/build/generate.groovy
b/gremlin-dotnet/build/generate.groovy
index 6d00ec3cd6..29b33c6e97 100644
--- a/gremlin-dotnet/build/generate.groovy
+++ b/gremlin-dotnet/build/generate.groovy
@@ -58,6 +58,9 @@ radishGremlinFile.withWriter('UTF-8') { Writer writer ->
writer.writeLine("//* Do NOT edit this file directly - generated by
build/generate.groovy")
writer.writeLine("//********************************************************************************\n")
writer.writeLine("#nullable disable\n")
+ // CS0618 - feature tests intentionally cover deprecated steps
+ // CS0078 - long literals translate with a lowercase suffix
+ writer.writeLine("#pragma warning disable CS0618, CS0078\n")
writer.writeLine('using System;\n' +
'using System.Numerics;\n' +
diff --git a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
index facc134fda..471d322bf2 100644
--- a/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
+++ b/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/Gremlin.cs
@@ -29,6 +29,8 @@
#nullable disable
+#pragma warning disable CS0618, CS0078
+
using System;
using System.Numerics;
using System.Collections.Generic;