Browse Source

Use var initialization instead of explicitly declaring the type.

pull/1/head
triton 12 years ago
parent
commit
cb7bc5aa69
  1. 2
      src/Generator/Generators/Template.cs

2
src/Generator/Generators/Template.cs

@ -37,7 +37,7 @@
{ {
if (method.Ignore) return true; 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) if (@class.IsValueType && isEmptyCtor)
return true; return true;

Loading…
Cancel
Save