c# - Keep catch block single-line? -


this original code:

try { something1(); } catch { something2(); } 

if format code becomes this:

try { something1(); } catch {     something2(); } 

(currently, i've configured resharper before , try, if etc. blocks keeps single-line)

i want keep single-line catch block try block.

what should configure handle this?


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -