X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mcs%2Ftools%2Fmonop%2Foutline.cs;h=94d26515956fcadcee74d650d8603933fc207534;hb=dd76b32ca98a877e5dadd60823cddc8b193bcc4e;hp=ed62cc09793295e15419e58d914b1b17adca1656;hpb=5040d56b4e130ad3816aca1c104041eca98ac9cd;p=mono.git diff --git a/mcs/tools/monop/outline.cs b/mcs/tools/monop/outline.cs index ed62cc09793..94d26515956 100644 --- a/mcs/tools/monop/outline.cs +++ b/mcs/tools/monop/outline.cs @@ -25,7 +25,7 @@ public class Outline { this.o = new IndentedTextWriter (output, " "); } - public void OutlineType () + public void OutlineType (BindingFlags flags) { o.Write (GetTypeVisibility (t)); o.Write (" "); @@ -70,7 +70,7 @@ public class Outline { return; } - foreach (ConstructorInfo ci in t.GetConstructors ()) { + foreach (ConstructorInfo ci in t.GetConstructors (flags)) { OutlineConstructor (ci); o.WriteLine (); @@ -78,7 +78,7 @@ public class Outline { o.WriteLine (); - foreach (MethodInfo m in Comparer.Sort (t.GetMethods ())) { + foreach (MethodInfo m in Comparer.Sort (t.GetMethods (flags))) { if ((m.Attributes & MethodAttributes.SpecialName) != 0) continue; @@ -89,7 +89,7 @@ public class Outline { o.WriteLine (); - foreach (PropertyInfo pi in Comparer.Sort (t.GetProperties ())) { + foreach (PropertyInfo pi in Comparer.Sort (t.GetProperties (flags))) { OutlineProperty (pi); o.WriteLine (); @@ -97,7 +97,7 @@ public class Outline { o.WriteLine (); - foreach (EventInfo ei in Comparer.Sort (t.GetEvents ())) { + foreach (EventInfo ei in Comparer.Sort (t.GetEvents (flags))) { OutlineEvent (ei); o.WriteLine ();