summaryrefslogtreecommitdiff
path: root/tests/src/Loader/classloader/regressions/106647/lib.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/Loader/classloader/regressions/106647/lib.cs')
-rw-r--r--tests/src/Loader/classloader/regressions/106647/lib.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/src/Loader/classloader/regressions/106647/lib.cs b/tests/src/Loader/classloader/regressions/106647/lib.cs
new file mode 100644
index 0000000000..d0597939a6
--- /dev/null
+++ b/tests/src/Loader/classloader/regressions/106647/lib.cs
@@ -0,0 +1,28 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+
+public class Base<A,B>
+{
+ public virtual void FV(ref MethodsFired pMF) {
+ pMF |= MethodsFired.Base;
+ }
+}
+
+public class BaseNonGen
+{
+ public virtual void FV(ref MethodsFired pMF) {
+ pMF |= MethodsFired.Base;
+ }
+}
+
+[Flags]
+public enum MethodsFired{
+ None = 0x0000,
+ Leaf = 0x0001,
+ Interior = 0x0002,
+ Base = 0x0004,
+ All = Leaf | Interior | Base
+}