Exemplo n.º 1
0
		public void TestInspectorCase2 ()
		{
			var input = @"using System;

class Foo
{
	void Bar (string str)
	{
	}
}";

			TestRefactoringContext context;
			var issueProvider = new RedundantUsingIssue ();
			issueProvider.NamespacesToKeep.Add("System");
			var issues = GetIssues (issueProvider, input, out context);
			Assert.AreEqual (0, issues.Count);
		}
 public GatherVisitor(BaseRefactoringContext ctx, RedundantUsingIssue inspector) : base(ctx)
 {
     this.inspector = inspector;
 }
Exemplo n.º 3
0
			public GatherVisitor (BaseRefactoringContext ctx, RedundantUsingIssue inspector) : base (ctx)
			{
				this.inspector = inspector;
			}