|
|
|
@ -32,12 +32,12 @@ using ICSharpCode.NRefactory.TypeSystem;
@@ -32,12 +32,12 @@ using ICSharpCode.NRefactory.TypeSystem;
|
|
|
|
|
namespace ICSharpCode.NRefactory.CSharp.Refactoring |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
[IssueDescription ("Access to disposed closure variable", |
|
|
|
|
Description = "Access to closure variable from anonymous method when the variable is" + |
|
|
|
|
" disposed externally", |
|
|
|
|
Category = IssueCategories.CodeQualityIssues, |
|
|
|
|
Severity = Severity.Warning, |
|
|
|
|
IssueMarker = IssueMarker.Underline)] |
|
|
|
|
// [IssueDescription ("Access to disposed closure variable",
|
|
|
|
|
// Description = "Access to closure variable from anonymous method when the variable is" +
|
|
|
|
|
// " disposed externally",
|
|
|
|
|
// Category = IssueCategories.CodeQualityIssues,
|
|
|
|
|
// Severity = Severity.Warning,
|
|
|
|
|
// IssueMarker = IssueMarker.Underline)]
|
|
|
|
|
public class AccessToDisposedClosureIssue : AccessToClosureIssue |
|
|
|
|
{ |
|
|
|
|
public AccessToDisposedClosureIssue () |
|
|
|
|