This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-27278
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/ignite-27278 by this push:
     new d37a5790f48 Mark JobTarget APIs with 
[RequiresUnreferencedCode(ReflectionUtils.TrimWarning)]
d37a5790f48 is described below

commit d37a5790f484343d34cd7a9fd99334734730e0b4
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Wed Dec 24 14:46:32 2025 +0200

    Mark JobTarget APIs with 
[RequiresUnreferencedCode(ReflectionUtils.TrimWarning)]
---
 modules/platforms/dotnet/Apache.Ignite/Compute/JobTarget.cs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/platforms/dotnet/Apache.Ignite/Compute/JobTarget.cs 
b/modules/platforms/dotnet/Apache.Ignite/Compute/JobTarget.cs
index 16897d263f2..031c67c1441 100644
--- a/modules/platforms/dotnet/Apache.Ignite/Compute/JobTarget.cs
+++ b/modules/platforms/dotnet/Apache.Ignite/Compute/JobTarget.cs
@@ -19,6 +19,7 @@ namespace Apache.Ignite.Compute;
 
 using System;
 using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
 using Internal.Common;
 using Internal.Table;
 using Internal.Table.Serialization;
@@ -74,6 +75,7 @@ public static class JobTarget
     /// <param name="key">Key.</param>
     /// <typeparam name="TKey">Key type.</typeparam>
     /// <returns>Colocated job target.</returns>
+    [RequiresUnreferencedCode(ReflectionUtils.TrimWarning)]
     public static IJobTarget<TKey> Colocated<TKey>(QualifiedName tableName, 
TKey key)
         where TKey : notnull
     {
@@ -105,6 +107,7 @@ public static class JobTarget
     /// <param name="key">Key.</param>
     /// <typeparam name="TKey">Key type.</typeparam>
     /// <returns>Colocated job target.</returns>
+    [RequiresUnreferencedCode(ReflectionUtils.TrimWarning)]
     public static IJobTarget<TKey> Colocated<TKey>(string tableName, TKey key)
         where TKey : notnull =>
         Colocated(QualifiedName.Parse(tableName), key);

Reply via email to