public static void SkipToNextOpenBrace( TextReader reader ) { string line = ""; while ( line != null && line != "{" ) { line = ReadLine( reader ); } }