diff options
Diffstat (limited to 'src/wixcop/CommandLine/ConvertCommand.cs')
| -rw-r--r-- | src/wixcop/CommandLine/ConvertCommand.cs | 21 |
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 @@ | |||
| 1 | using 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. |
| 2 | using System.Collections.Generic; | 2 | |
| 3 | using System.IO; | 3 | namespace WixToolset.Tools.WixCop.CommandLine |
| 4 | using System.Linq; | ||
| 5 | using System.Xml; | ||
| 6 | using WixToolset.Extensibility.Data; | ||
| 7 | using WixToolset.Extensibility.Services; | ||
| 8 | |||
| 9 | namespace 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 | { |
