From 6e480058b992067b507163a9a6980f8afc018e0e Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Thu, 4 Aug 2016 09:46:36 +0200 Subject: [PATCH] Adds R# rule to give a little hint when newing up a disposable --- src/umbraco.sln.DotSettings | 54 +++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/src/umbraco.sln.DotSettings b/src/umbraco.sln.DotSettings index 760993864e..19aedb76e3 100644 --- a/src/umbraco.sln.DotSettings +++ b/src/umbraco.sln.DotSettings @@ -1,27 +1,29 @@ - - <data><IncludeFilters /><ExcludeFilters /></data> - <data /> - True - Replace with $var$ == false for readability - True - False - - ExpressionPlaceholder - True - CSHARP - Replace with $var$ == false for readability - $var$ == false - !$var$ - SUGGESTION - False - - - - - - - - - - + + <data><IncludeFilters /><ExcludeFilters /></data> + <data /> + True + Replace with $var$ == false for readability + True + False + + ExpressionPlaceholder + True + CSHARP + Replace with $var$ == false for readability + $var$ == false + !$var$ + SUGGESTION + Disposable construction + HINT + False + + + + + + + + + + \ No newline at end of file