You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ConsoleAppFramework/ConsoleAppBaseCode.cs
+6-4
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,9 @@ public static class ConsoleAppBaseCode
21
21
#pragma warning disable CA1050 // Declare types in namespaces.
22
22
#pragma warning disable CS1998
23
23
#pragma warning disable CS8625
24
-
24
+
#pragma warning disable IL3050 // Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.
25
+
#pragma warning disable IL2026 // Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code
26
+
25
27
namespace ConsoleAppFramework;
26
28
27
29
using System;
@@ -55,6 +57,8 @@ namespace ConsoleAppFramework;
55
57
#pragma warning disable CA1050 // Declare types in namespaces.
56
58
#pragma warning disable CS1998
57
59
#pragma warning disable CS8625
60
+
#pragma warning disable IL3050 // Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.
61
+
#pragma warning disable IL2026 // Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code
0 commit comments