public static void CloseCompilerGeneratedBlock (EmitContext ec) { if (symwriter != null) { int offset = GetILOffset (ec.ig); symwriter.CloseCompilerGeneratedBlock (offset); } }