Priority
Critical
Type
Bug 
State
Fixed 
Assignee
Alexander Zverev 
Subsystem
Quick Fixes 
Affected versions
Fixed in
Fixed in build
Next build 
Build
265
Fixed in build
900
  • Submitted by   Alexander Nesterenko
    3 years ago (20 Oct 2006 12:50)
  • Updated by Alexander Nesterenko
    19 months ago (10 Jun 2008 14:20)
  • Jira: RSRP-30220
    (history, comments)

RSRP-30220

Quick fix "Remove redundant initializer"

1
I have:
using (Scope scope = new Scope())
{
DbContext.ExecuteNonQuery(dbOperation.SqlCommand);
return null;
}	


For connection variable i use quick fix "Remove redundant initializer" and get:
using (Scope scope)
{
DbContext.ExecuteNonQuery(dbOperation.SqlCommand);
return null;
}	


But i want:
using (new Scope())
{
DbContext.ExecuteNonQuery(dbOperation.SqlCommand);
return null;
}	


Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments