Skip to content

Commit 06ef587

Browse files
committed
Fix test
1 parent 2573fc8 commit 06ef587

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) .NET Foundation and contributors. All rights reserved.
1+
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System;
@@ -45,8 +45,7 @@ struct UnannotatedTypeArray
4545
public Type value;
4646
}
4747

48-
// Analyzer doesn't understand inline arrays currently - so it doesn't produce a warning here
49-
[ExpectedWarning ("IL2065", "GetProperty", ProducedBy = Tool.Trimmer | Tool.NativeAot)]
48+
[ExpectedWarning ("IL2065", "GetProperty")]
5049
static void AccessUnannotatedTypeArray ()
5150
{
5251
UnannotatedTypeArray a = new UnannotatedTypeArray ();
@@ -64,7 +63,7 @@ struct AnnotatedTypeArray
6463
}
6564

6665
// Currently tracking of annotations on inline array values is not implemented
67-
[ExpectedWarning("IL2065", "GetProperty", ProducedBy = Tool.Trimmer | Tool.NativeAot)]
66+
[ExpectedWarning("IL2065", "GetProperty")]
6867
static void AccessAnnotatedTypeArray ()
6968
{
7069
AnnotatedTypeArray a = new AnnotatedTypeArray ();

0 commit comments

Comments
 (0)