public void PrintFilter(System.IO.TextWriter textWriter) { if (textWriter == null) throw new ArgumentNullException("textWriter"); textWriter.WriteLine("========== Patterns for allowed types:"); foreach (string s in this.require_types) { textWriter.WriteLine(s); } textWriter.WriteLine("========== Patterns for forbidden types:"); foreach (string s in this.forbid_types) { textWriter.WriteLine(s); } textWriter.WriteLine("========== Patterns for allowed methods/constructors:"); foreach (string s in this.require_members) { textWriter.WriteLine(s); } textWriter.WriteLine("========== Patterns for forbidden methods/constructors:"); foreach (string s in this.forbid_members) { textWriter.WriteLine(s); } textWriter.WriteLine("========== Patterns for allowed fields:"); foreach (string s in this.require_fields) { textWriter.WriteLine(s); } textWriter.WriteLine("========== Patterns for forbidden fields:"); foreach (string s in this.forbid_fields) { textWriter.WriteLine(s); } }