1
+ using System . Threading . Tasks ;
2
+ using Xunit ;
3
+
4
+ namespace ILLink . RoslynAnalyzer . Tests
5
+ {
6
+ public sealed partial class ReflectionTests : LinkerTestBase
7
+ {
8
+ protected override string TestSuiteName => "Reflection" ;
9
+
10
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
11
+ public Task ActivatorCreateInstance ( )
12
+ {
13
+ return RunTest ( allowMissingWarnings : true ) ;
14
+ }
15
+
16
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
17
+ public Task AssemblyImportedViaReflectionWithSweptReferences ( )
18
+ {
19
+ return RunTest ( allowMissingWarnings : true ) ;
20
+ }
21
+
22
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
23
+ public Task ConstructorsUsedViaReflection ( )
24
+ {
25
+ return RunTest ( allowMissingWarnings : true ) ;
26
+ }
27
+
28
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
29
+ public Task ConstructorUsedViaReflection ( )
30
+ {
31
+ return RunTest ( allowMissingWarnings : true ) ;
32
+ }
33
+
34
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
35
+ public Task EventsUsedViaReflection ( )
36
+ {
37
+ return RunTest ( allowMissingWarnings : true ) ;
38
+ }
39
+
40
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
41
+ public Task ExpressionCallString ( )
42
+ {
43
+ return RunTest ( allowMissingWarnings : true ) ;
44
+ }
45
+
46
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
47
+ public Task ExpressionNewType ( )
48
+ {
49
+ return RunTest ( allowMissingWarnings : true ) ;
50
+ }
51
+
52
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
53
+ public Task ExpressionPropertyMethodInfo ( )
54
+ {
55
+ return RunTest ( allowMissingWarnings : true ) ;
56
+ }
57
+
58
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
59
+ public Task FieldsUsedViaReflection ( )
60
+ {
61
+ return RunTest ( allowMissingWarnings : true ) ;
62
+ }
63
+
64
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
65
+ public Task MembersUsedViaReflection ( )
66
+ {
67
+ return RunTest ( allowMissingWarnings : true ) ;
68
+ }
69
+
70
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
71
+ public Task MemberUsedViaReflection ( )
72
+ {
73
+ return RunTest ( allowMissingWarnings : true ) ;
74
+ }
75
+
76
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
77
+ public Task MethodsUsedViaReflection ( )
78
+ {
79
+ return RunTest ( allowMissingWarnings : true ) ;
80
+ }
81
+
82
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
83
+ public Task NestedTypesUsedViaReflection ( )
84
+ {
85
+ return RunTest ( allowMissingWarnings : true ) ;
86
+ }
87
+
88
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
89
+ public Task ObjectGetType ( )
90
+ {
91
+ return RunTest ( allowMissingWarnings : true ) ;
92
+ }
93
+
94
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
95
+ public Task PropertiesUsedViaReflection ( )
96
+ {
97
+ return RunTest ( allowMissingWarnings : true ) ;
98
+ }
99
+
100
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
101
+ public Task TypeHierarchyReflectionWarnings ( )
102
+ {
103
+ return RunTest ( allowMissingWarnings : true ) ;
104
+ }
105
+
106
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
107
+ public Task TypeHierarchySuppressions ( )
108
+ {
109
+ return RunTest ( allowMissingWarnings : true ) ;
110
+ }
111
+
112
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
113
+ public Task TypeUsedViaReflection ( )
114
+ {
115
+ return RunTest ( allowMissingWarnings : true ) ;
116
+ }
117
+
118
+ [ Fact ( Skip = "https://github.com/dotnet/linker/issues/2578" ) ]
119
+ public Task TypeUsedViaReflectionTypeDoesntExist ( )
120
+ {
121
+ return RunTest ( allowMissingWarnings : true ) ;
122
+ }
123
+ }
124
+ }
0 commit comments