From fb9bf6cdc9d5812cde7709ca2c3bc7f5cab6e117 Mon Sep 17 00:00:00 2001
From: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
Date: Mon, 13 Apr 2026 11:28:58 -0700
Subject: [PATCH 1/4] Update DNNEVersion to 2.1.0
---
eng/Versions.props | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eng/Versions.props b/eng/Versions.props
index 9dd3bf42a0d962..35672fcbea248a 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -134,7 +134,7 @@
2.1.0
2.0.3
1.0.4-preview6.19326.1
- 2.0.5
+ 2.1.0
17.11.48
17.11.48
17.11.48
From ecdcca64412c8008a9ac22f49c22db504da33a8b Mon Sep 17 00:00:00 2001
From: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
Date: Mon, 13 Apr 2026 13:45:38 -0700
Subject: [PATCH 2/4] Remove duplicate DNNE attribute definitions
DNNE 2.1.0 includes a source generator (DNNE.AttributesGenerator) that
auto-generates C99DeclCodeAttribute and C99TypeAttribute. The manual
definitions in SharedTypes/DNNE.cs conflict with these generated types,
causing CS0436 build errors. Remove the manual definitions since DNNE
now provides them.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
.../tests/TestAssets/SharedTypes/DNNE.cs | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/DNNE.cs
diff --git a/src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/DNNE.cs b/src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/DNNE.cs
deleted file mode 100644
index 0b3dd369433a95..00000000000000
--- a/src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/DNNE.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-
-namespace DNNE
-{
- public class C99DeclCodeAttribute : System.Attribute
- {
- public C99DeclCodeAttribute(string code) { }
- }
- public class C99TypeAttribute : System.Attribute
- {
- public C99TypeAttribute(string code) { }
- }
-}
From 536ae18ca3db1aea235c5515c590a40bd5fe0709 Mon Sep 17 00:00:00 2001
From: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
Date: Mon, 20 Apr 2026 13:10:58 -0700
Subject: [PATCH 3/4] Update DNNEVersion from 2.1.0 to 2.1.1
---
eng/Versions.props | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eng/Versions.props b/eng/Versions.props
index 35672fcbea248a..ec0384987f56eb 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -134,7 +134,7 @@
2.1.0
2.0.3
1.0.4-preview6.19326.1
- 2.1.0
+ 2.1.1
17.11.48
17.11.48
17.11.48
From 3ec209f5dd1bb2a79ba65f7a320cba200b7ecb3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?=
Date: Tue, 21 Apr 2026 08:32:20 +0900
Subject: [PATCH 4/4] Update tests.proj
---
src/libraries/tests.proj | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj
index 2390674de660a8..1ff146824e6545 100644
--- a/src/libraries/tests.proj
+++ b/src/libraries/tests.proj
@@ -430,12 +430,6 @@
-
-
-
-