From cb7bc5aa69591711d3d11fb69e83a9e4de5815a5 Mon Sep 17 00:00:00 2001 From: triton Date: Tue, 9 Apr 2013 23:28:45 +0100 Subject: [PATCH] Use var initialization instead of explicitly declaring the type. --- src/Generator/Generators/Template.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/Generators/Template.cs b/src/Generator/Generators/Template.cs index c56c1799..d5feafd4 100644 --- a/src/Generator/Generators/Template.cs +++ b/src/Generator/Generators/Template.cs @@ -37,7 +37,7 @@ { if (method.Ignore) return true; - bool isEmptyCtor = method.IsConstructor && method.Parameters.Count == 0; + var isEmptyCtor = method.IsConstructor && method.Parameters.Count == 0; if (@class.IsValueType && isEmptyCtor) return true;