Skip to content

Commit

Permalink
ILLink: Fill in FeatureCheckDataflow.cs assertions with issue links (#…
Browse files Browse the repository at this point in the history
…102679)

Adds issues links / explanations to FeatureCheckDataflow
  • Loading branch information
jtschuster committed Jun 4, 2024
1 parent 1c683a8 commit 40ff2ec
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static void MethodWithRequires ()
}

[ExpectedWarning ("IL2026", nameof (MethodWithRequires))]
[ExpectedWarning ("IL3050", nameof (MethodWithRequires), Tool.Analyzer | Tool.NativeAot, "")]
[ExpectedWarning ("IL3050", nameof (MethodWithRequires), Tool.Analyzer | Tool.NativeAot, "NativeAOT Specific Warning")]
public static void Test ()
{
MethodWithRequires ();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class GenericTypeWithRequires<
{
}

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

0 comments on commit 40ff2ec

Please sign in to comment.