[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mono / tests / bug-79684.2.cs
1 using System;
2 using System.Reflection;
3
4 namespace Tests
5 {
6         public class Test
7         {
8                 const BindingFlags flags = BindingFlags.FlattenHierarchy | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static;
9                 public static int Main()
10                 {
11                         foreach (MethodInfo m in typeof(Type[]).GetMethods(flags)) {
12                                 if (m.Name == "System.Collections.Generic.IList`1.IndexOf")     {
13                                         Console.WriteLine(m.GetParameters().Length);
14                                 }
15                         }
16                         return 0;
17                 }
18         }
19 }