Skip to content

Commit 40ff2ec

Browse files
authored
ILLink: Fill in FeatureCheckDataflow.cs assertions with issue links (#102679)
Adds issues links / explanations to FeatureCheckDataflow
1 parent 1c683a8 commit 40ff2ec

File tree

3 files changed

+60
-60
lines changed

3 files changed

+60
-60
lines changed

src/tools/illink/test/Mono.Linker.Tests.Cases/DataFlow/DynamicObjects.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static void MethodWithRequires ()
154154
}
155155

156156
[ExpectedWarning ("IL2026", nameof (MethodWithRequires))]
157-
[ExpectedWarning ("IL3050", nameof (MethodWithRequires), Tool.Analyzer | Tool.NativeAot, "")]
157+
[ExpectedWarning ("IL3050", nameof (MethodWithRequires), Tool.Analyzer | Tool.NativeAot, "NativeAOT Specific Warning")]
158158
public static void Test ()
159159
{
160160
MethodWithRequires ();

src/tools/illink/test/Mono.Linker.Tests.Cases/DataFlow/ExponentialDataFlow.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class GenericTypeWithRequires<
9494
{
9595
}
9696

97-
[ExpectedWarning ("IL3050", Tool.Analyzer | Tool.NativeAot, "")]
97+
[ExpectedWarning ("IL3050", Tool.Analyzer | Tool.NativeAot, "NativeAOT Specific Warning")]
9898
// The way we track arrays causes the analyzer to track exponentially many
9999
// ArrayValues in the ValueSet for the pattern in this method, hitting the limit.
100100
// When this happens, we replace the ValueSet with an unknown value, producing

0 commit comments

Comments
 (0)