resharper - use of var