aboutsummaryrefslogtreecommitdiff
path: root/src/wixcop/CommandLine/ConvertCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixcop/CommandLine/ConvertCommand.cs')
-rw-r--r--src/wixcop/CommandLine/ConvertCommand.cs21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/wixcop/CommandLine/ConvertCommand.cs b/src/wixcop/CommandLine/ConvertCommand.cs
index 6af7d4ca..ab7cd359 100644
--- a/src/wixcop/CommandLine/ConvertCommand.cs
+++ b/src/wixcop/CommandLine/ConvertCommand.cs
@@ -1,13 +1,14 @@
1using System; 1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2using System.Collections.Generic; 2
3using System.IO; 3namespace WixToolset.Tools.WixCop.CommandLine
4using System.Linq;
5using System.Xml;
6using WixToolset.Extensibility.Data;
7using WixToolset.Extensibility.Services;
8
9namespace WixCop.CommandLine
10{ 4{
5 using System;
6 using System.Collections.Generic;
7 using System.IO;
8 using System.Xml;
9 using WixToolset.Extensibility.Data;
10 using WixToolset.Extensibility.Services;
11
11 internal class ConvertCommand : ICommandLineCommand 12 internal class ConvertCommand : ICommandLineCommand
12 { 13 {
13 private const string SettingsFileDefault = "wixcop.settings.xml"; 14 private const string SettingsFileDefault = "wixcop.settings.xml";
@@ -69,7 +70,7 @@ namespace WixCop.CommandLine
69 70
70 var errors = this.InspectSubDirectories(converter, Path.GetFullPath(".")); 71 var errors = this.InspectSubDirectories(converter, Path.GetFullPath("."));
71 72
72 foreach (string searchPattern in this.SearchPatterns) 73 foreach (var searchPattern in this.SearchPatterns)
73 { 74 {
74 if (!this.SearchPatternResults.Contains(searchPattern)) 75 if (!this.SearchPatternResults.Contains(searchPattern))
75 { 76 {