-
Notifications
You must be signed in to change notification settings - Fork 862
Expand file tree
/
Copy pathILLink.RoslynAnalyzer.yml
More file actions
634 lines (634 loc) · 26.3 KB
/
ILLink.RoslynAnalyzer.yml
File metadata and controls
634 lines (634 loc) · 26.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
Origin:
AssemblyName: ILLink.RoslynAnalyzer
Version: 8.0.9.3103
Diagnostics:
IL2026:
Metadata:
Category: Trimming
Title: Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2026
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2046:
Metadata:
Category: Trimming
Title: "'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2046
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2050:
Metadata:
Category: Trimming
Title: Correctness of COM interop cannot be guaranteed after trimming. Interfaces and interface members might be removed.
Description: https://docs.microsoft.com/en-us/dotnet/core/deploying/trim-warnings/il2050
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2055:
Metadata:
Category: Trimming
Title: Either the type on which the MakeGenericType is called can't be statically determined, or the type parameters to be used for generic arguments can't be statically determined.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2055
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2060:
Metadata:
Category: Trimming
Title: Call to 'System.Reflection.MethodInfo.MakeGenericMethod' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2060
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2109:
Metadata:
Category: Trimming
Title: Types that derive from a base class with 'RequiresUnreferencedCodeAttribute' need to explicitly use the 'RequiresUnreferencedCodeAttribute' or suppress this warning
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2109
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL3000:
Metadata:
Category: SingleFile
Title: Avoid accessing Assembly file path when publishing as a single file
Description: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3000
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL3001:
Metadata:
Category: SingleFile
Title: Avoid accessing Assembly file path when publishing as a single file
Description: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3001
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL3002:
Metadata:
Category: SingleFile
Title: Avoid calling members marked with 'RequiresAssemblyFilesAttribute' when publishing as a single-file
Description: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3002
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL3003:
Metadata:
Category: SingleFile
Title: "'RequiresAssemblyFilesAttribute' annotations must match across all interface implementations or overrides."
Description: https://learn.microsoft.com/dotnet/core/deploying/single-file/warnings/il3003
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2041:
Metadata:
Category: Trimming
Title: The 'DynamicallyAccessedMembersAttribute' is not allowed on methods. It is allowed on method return value or method parameters.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2041
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2062:
Metadata:
Category: Trimming
Title: The parameter of method has a DynamicallyAccessedMembersAttribute, but the value passed to it can not be statically analyzed.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2062
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2063:
Metadata:
Category: Trimming
Title: The return value of method has a DynamicallyAccessedMembersAttribute, but the value returned from the method can not be statically analyzed.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2063
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2064:
Metadata:
Category: Trimming
Title: The field has a DynamicallyAccessedMembersAttribute, but the value assigned to it can not be statically analyzed.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2064
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2065:
Metadata:
Category: Trimming
Title: The method has a DynamicallyAccessedMembersAttribute (which applies to the implicit 'this' parameter), but the value used for the 'this' parameter can not be statically analyzed.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2065
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2066:
Metadata:
Category: Trimming
Title: The generic parameter of type or method has a DynamicallyAccessedMembersAttribute, but the value used for it can not be statically analyzed.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2066
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2067:
Metadata:
Category: Trimming
Title: Target parameter argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The parameter of method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2067
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2068:
Metadata:
Category: Trimming
Title: Target method return value does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The parameter of method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2068
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2069:
Metadata:
Category: Trimming
Title: Value stored in field does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The parameter of method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2069
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2070:
Metadata:
Category: Trimming
Title: "'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The parameter of method does not have matching annotations."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2070
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2071:
Metadata:
Category: Trimming
Title: Generic argument does not satisfy 'DynamicallyAccessedMembersAttribute' in target method or type. The parameter of method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2071
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2072:
Metadata:
Category: Trimming
Title: Target parameter argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The return value of the source method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2072
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2073:
Metadata:
Category: Trimming
Title: Target method return value does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The return value of the source method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2073
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2074:
Metadata:
Category: Trimming
Title: Value stored in field does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The return value of the source method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2074
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2075:
Metadata:
Category: Trimming
Title: "'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The return value of the source method does not have matching annotations."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2075
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2076:
Metadata:
Category: Trimming
Title: Target generic argument does not satisfy 'DynamicallyAccessedMembersAttribute' in target method or type. The return value of the source method does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2076
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2077:
Metadata:
Category: Trimming
Title: Target parameter argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The source field does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2077
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2078:
Metadata:
Category: Trimming
Title: Target method return value does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The source field does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2078
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2079:
Metadata:
Category: Trimming
Title: Value stored in target field does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The source field does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2079
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2080:
Metadata:
Category: Trimming
Title: "'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The source field does not have matching annotations."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2080
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2081:
Metadata:
Category: Trimming
Title: Target generic argument does not satisfy 'DynamicallyAccessedMembersAttribute' in target method or type. The source field does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2081
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2082:
Metadata:
Category: Trimming
Title: Target parameter argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The implicit 'this' argument of source method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2082
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2083:
Metadata:
Category: Trimming
Title: Target method return value does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The implicit 'this' argument of source method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2083
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2084:
Metadata:
Category: Trimming
Title: Value stored in target field does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The implicit 'this' argument of source method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2084
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2085:
Metadata:
Category: Trimming
Title: "'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The implicit 'this' argument of source method does not have matching annotations."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2085
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2086:
Metadata:
Category: Trimming
Title: Target generic argument does not satisfy 'DynamicallyAccessedMembersAttribute' in target method or type. The implicit 'this' argument of source method does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2086
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2087:
Metadata:
Category: Trimming
Title: Target parameter argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The generic parameter of the source method or type does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2087
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2088:
Metadata:
Category: Trimming
Title: Target method return value does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The generic parameter of the source method or type does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2088
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2089:
Metadata:
Category: Trimming
Title: Value stored in target field does not satisfy 'DynamicallyAccessedMembersAttribute' requirements. The generic parameter of the source method or type does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2089
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2090:
Metadata:
Category: Trimming
Title: "'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The generic parameter of the source method or type does not have matching annotations."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2090
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2091:
Metadata:
Category: Trimming
Title: Target generic argument does not satisfy 'DynamicallyAccessedMembersAttribute' in target method or type. The generic parameter of the source method or type does not have matching annotations.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2091
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2097:
Metadata:
Category: Trimming
Title: Field has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to fields of type 'System.Type' or 'System.String'.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2097
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2098:
Metadata:
Category: Trimming
Title: Parameter of method has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to parameters of type 'System.Type' or 'System.String'.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2098
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2099:
Metadata:
Category: Trimming
Title: Property has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to properties of type 'System.Type' or 'System.String'.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2099
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2106:
Metadata:
Category: Trimming
Title: Return type of method has 'DynamicallyAccessedMembersAttribute', but that attribute can only be applied to properties of type 'System.Type' or 'System.String'.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2106
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2110:
Metadata:
Category: Trimming
Title: Field with 'DynamicallyAccessedMembersAttribute' is accessed via reflection. Trimmer can't guarantee availability of the requirements of the field.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2110
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2111:
Metadata:
Category: Trimming
Title: Method with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2111
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2059:
Metadata:
Category: Trimming
Title: The type passed to the RunClassConstructor is not statically known, Trimmer can't make sure that its static constructor is available.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2059
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2093:
Metadata:
Category: Trimming
Title: "'DynamicallyAccessedMemberTypes' on the return value of method don't match overridden return value of method. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2093
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2092:
Metadata:
Category: Trimming
Title: "'DynamicallyAccessedMemberTypes' on the parameter of method don't match overridden parameter of method. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2092
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2095:
Metadata:
Category: Trimming
Title: "'DynamicallyAccessedMemberTypes' on the generic parameter of method or type don't match overridden generic parameter method or type. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2095
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2094:
Metadata:
Category: Trimming
Title: "'DynamicallyAccessedMemberTypes' on the implicit 'this' parameter of method don't match overridden implicit 'this' parameter of method. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2094
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2043:
Metadata:
Category: Trimming
Title: "'DynamicallyAccessedMembersAttribute' on property conflicts with the same attribute on its accessor."
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2043
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2103:
Metadata:
Category: Trimming
Title: Value passed to the parameter of method cannot be statically determined as a property accessor.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2103
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2096:
Metadata:
Category: Trimming
Title: Call to 'Type.GetType' method can perform case insensitive lookup of the type, currently trimming can not guarantee presence of all the matching types.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2096
DefaultSeverity: Warning
Tier: 3
Attributes:
general:
Severity: Warning
IL2057:
Metadata:
Category: Trimming
Title: Unrecognized value passed to the parameter of method. It's not possible to guarantee the availability of the target type.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2057
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2032:
Metadata:
Category: Trimming
Title: The value passed as the assembly name or type name to the CreateInstance method can't be statically analyzed.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2032
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL2058:
Metadata:
Category: Trimming
Title: Parameters passed to method cannot be analyzed. Consider using methods 'System.Type.GetType' and `System.Activator.CreateInstance` instead.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2058
DefaultSeverity: Warning
Tier: 2
Attributes:
general:
Severity: Warning
IL3004:
Metadata:
Category: SingleFile
Title: The use of 'RequiresAssemblyFilesAttribute' on static constructors is disallowed since is a method not callable by the user, is only called by the runtime. Placing the attribute directly on the static constructor will have no effect, instead use 'RequiresUnreferencedCodeAttribute' on the type which will handle warning and silencing from the static constructor.
Description: https://learn.microsoft.com/dotnet/core/deploying/single-file/warnings/il3004
DefaultSeverity: Warning
Tier: 3
Attributes:
general:
Severity: Warning
IL3050:
Metadata:
Category: AOT
Title: Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.
Description: https://learn.microsoft.com/dotnet/core/deploying/native-aot/warnings/il3050
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL3051:
Metadata:
Category: AOT
Title: "'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides."
Description: https://learn.microsoft.com/dotnet/core/deploying/native-aot/warnings/il3051
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL3056:
Metadata:
Category: AOT
Title: The use of 'RequiresDynamicCodeAttribute' on static constructors is disallowed since is a method not callable by the user, is only called by the runtime. Placing the attribute directly on the static constructor will have no effect, instead use 'RequiresUnreferencedCodeAttribute' on the type which will handle warning and silencing from the static constructor.
Description: https://learn.microsoft.com/dotnet/core/deploying/native-aot/warnings/il3056
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning
IL2116:
Metadata:
Category: Trimming
Title: The use of 'RequiresUnreferencedCodeAttribute' on static constructors is disallowed since is a method not callable by the user, is only called by the runtime. Placing the attribute directly on the static constructor will have no effect, instead use 'RequiresUnreferencedCodeAttribute' on the type which will handle warning and silencing from the static constructor.
Description: https://learn.microsoft.com/dotnet/core/deploying/trimming/trim-warnings/il2116
DefaultSeverity: Warning
Tier: 1
Attributes:
general:
Severity: Warning