File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed
ILLink.RoslynAnalyzer.Tests Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -149,12 +149,11 @@ public Task EventDataFlow ()
149149 return RunTest ( ) ;
150150 }
151151
152- // Disabled until we can use C# 14 in tests.
153- // [Fact]
154- // public Task ExtensionMembersDataFlow ()
155- // {
156- // return RunTest ();
157- // }
152+ [ Fact ]
153+ public Task ExtensionMembersDataFlow ( )
154+ {
155+ return RunTest ( ) ;
156+ }
158157
159158 [ Fact ]
160159 public Task ExtensionsDataFlow ( )
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ public class ExtensionMembersDataFlow
1818 {
1919 public static void Main ( )
2020 {
21+ // This test is disabled until we can use C# 14 in tests.
22+ #if SUPPORTS_EXTENSION_MEMBERS
2123 TestExtensionMethod ( ) ;
2224 TestExtensionMethodMismatch ( ) ;
2325 TestExtensionMethodRequires ( ) ;
@@ -277,6 +279,7 @@ public Type ExtensionMembersPropertyConflict {
277279 // right.RequiresPublicMethods ();
278280 // return ExtensionMembersDataFlow.GetWithMethods ();
279281 // }
282+ #endif
280283 }
281284 }
282285}
Original file line number Diff line number Diff line change 6666 <Compile Remove =" TopLevelStatements/**/*" />
6767 </ItemGroup >
6868
69- <ItemGroup >
70- <!-- This test is disabled until we can use C# 14 in tests. -->
71- <Compile Remove =" DataFlow\ExtensionMembersDataFlow.cs" />
72- </ItemGroup >
73-
7469</Project >
You can’t perform that action at this time.
0 commit comments