Trailing newlines + standardize tabs -> spaces
This commit is contained in:
parent
d9a06ba95c
commit
e617376bc7
181 changed files with 285 additions and 285 deletions
|
@ -9,4 +9,4 @@ namespace AppThrowing
|
|||
throw new MyException();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
public class EmptyItemGroup
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Dummy reference - it can be used as an existing reference in any of the projects
|
||||
public class Lib
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
// it should be used as a reference passed to the dotnet add p2p
|
||||
public class ValidRef
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
public class WithDoubledRef
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
public class WithExistingRefCondOnItem
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
public class WithExistingRefCondWhitespaces
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
public class WithRefCondNonUniform
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
public class WithRefNoCondNonUniform
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,4 +7,4 @@ namespace AppWithOutputAssemblyName
|
|||
System.Console.WriteLine("Hello, World!");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,4 +3,4 @@ namespace LibraryWithOutputAssemblyName
|
|||
public class MyClass
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,4 +6,4 @@ class Program
|
|||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,4 +29,4 @@ namespace TestNamespace
|
|||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,4 +16,4 @@ namespace TestNamespace
|
|||
Assert.Fail();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,4 +47,4 @@ namespace Microsoft.DotNet.Cli.Build.Framework
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,4 +5,4 @@ namespace Microsoft.DotNet.Cli.Build.Framework
|
|||
x86 = 1,
|
||||
x64 = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -398,4 +398,4 @@ namespace Microsoft.DotNet.Build.CloudTestTasks
|
|||
return dictionary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -164,4 +164,4 @@ namespace Microsoft.DotNet.Build.CloudTestTasks
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,4 +44,4 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
return osname;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,4 +61,4 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -180,4 +180,4 @@ namespace Microsoft.DotNet.Build.CloudTestTasks
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -183,4 +183,4 @@ namespace Microsoft.DotNet.Build.CloudTestTasks
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -128,4 +128,4 @@ namespace Microsoft.DotNet.Build.Tasks
|
|||
return subdirectory.Substring(chop);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,4 +82,4 @@ namespace Microsoft.DotNet.Build.Tasks
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,9 +11,9 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
public BuildFailureException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public BuildFailureException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,4 +49,4 @@ namespace Microsoft.DotNet.Archive
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,4 +15,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing
|
|||
public readonly TLeft Left;
|
||||
public readonly TDown Down;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,4 +60,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing
|
|||
return result.Value.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,4 +31,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing
|
|||
return new Result<TValue>(result, new Cursor(_text, _start + length, _end));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,4 +49,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing
|
|||
return pos => pos.Peek(0) != ch ? Result<char>.Empty : pos.Advance(ch, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
namespace Microsoft.DotNet.Cli.Utils.CommandParsing
|
||||
{
|
||||
public delegate Result<TValue> Parser<TValue>(Cursor cursor);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,4 +82,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing
|
|||
return parser.Build(x => String.Concat(x.ToArray()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,4 @@ namespace Microsoft.DotNet.Cli.Utils.CommandParsing
|
|||
return new Result<TValue2>(value2, Remainder);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,4 +29,4 @@
|
|||
// command not found
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,4 +39,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -312,4 +312,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
return new ResourceAssembly(resourceAssembly.Path, locale);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,4 +4,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
{
|
||||
CompositeCommandResolver CreateCommandResolver();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,4 +24,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
|
||||
Dictionary<string, string> EnvironmentVariables { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,4 +98,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -170,4 +170,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
return Path.Combine(intermediateOutputPath, "project.assets.json");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,4 +22,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
return files.Where(f => !IsPlaceholderFile(f.Path));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
RelativePath = relativePath;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,4 +24,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
return $"{Name}.dll";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,4 +22,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
StdErr = stdErr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,4 +32,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,4 +18,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,4 +70,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
public string StaticLib { get; internal set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,4 +18,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
Data.Add(ExceptionExtensions.CLI_User_Displayed_Exception, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,4 +86,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
|
||||
public const string UnableToInvokeMemberNameAfterCommand = "Unable to invoke {0} after the command has been run";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ namespace Microsoft.DotNet.Tools.Common
|
|||
|
||||
EnsureDirectoryExists(directory);
|
||||
}
|
||||
|
||||
|
||||
public static void EnsureDirectoryExists(string directoryPath)
|
||||
{
|
||||
if (!Directory.Exists(directoryPath))
|
||||
|
@ -123,7 +123,7 @@ namespace Microsoft.DotNet.Tools.Common
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns path2 relative to path1, with Path.DirectorySeparatorChar as separator but ignoring directory
|
||||
/// Returns path2 relative to path1, with Path.DirectorySeparatorChar as separator but ignoring directory
|
||||
/// traversals.
|
||||
/// </summary>
|
||||
public static string GetRelativePathIgnoringDirectoryTraversals(string path1, string path2)
|
||||
|
@ -333,4 +333,4 @@ namespace Microsoft.DotNet.Tools.Common
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,4 +31,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
return _threads;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,4 +24,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
Children = children.OrderBy(e => e.StartUtc).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,4 +77,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,4 +73,4 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
public PerfTraceEvent CreateEvent() => new PerfTraceEvent(_eventType, _instance, Children, _startUtc, _stopwatch.Elapsed);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,4 +7,4 @@ namespace Microsoft.DotNet.Configurer
|
|||
{
|
||||
void PrimeCache();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,4 +13,4 @@ namespace Microsoft.DotNet.Configurer
|
|||
|
||||
void CreateIfNotExists();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,4 +21,4 @@ A command is running to initially populate your local package cache, to improve
|
|||
|
||||
public const string FailedToPrimeCacheError = "Failed to prime the NuGet cache. {0} failed with: {1}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,11 +12,11 @@ namespace Microsoft.DotNet.Configurer
|
|||
{
|
||||
private ITemporaryDirectory _temporaryDirectory;
|
||||
|
||||
public string NuGetPackagesArchive =>
|
||||
public string NuGetPackagesArchive =>
|
||||
Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "nuGetPackagesArchive.lzma"));
|
||||
|
||||
public NuGetPackagesArchiver() : this(FileSystemWrapper.Default.Directory)
|
||||
{
|
||||
{
|
||||
}
|
||||
|
||||
internal NuGetPackagesArchiver(IDirectory directory)
|
||||
|
@ -25,7 +25,7 @@ namespace Microsoft.DotNet.Configurer
|
|||
}
|
||||
|
||||
public string ExtractArchive()
|
||||
{
|
||||
{
|
||||
var progress = new ConsoleProgressReport();
|
||||
var archive = new IndexedArchive();
|
||||
|
||||
|
@ -37,6 +37,6 @@ namespace Microsoft.DotNet.Configurer
|
|||
public void Dispose()
|
||||
{
|
||||
_temporaryDirectory.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,4 +2,4 @@ using System.Reflection;
|
|||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: AssemblyMetadataAttribute("Serviceable", "True")]
|
||||
[assembly: InternalsVisibleTo("Microsoft.DotNet.Configurer.UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]
|
||||
[assembly: InternalsVisibleTo("Microsoft.DotNet.Configurer.UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")]
|
||||
|
|
|
@ -43,4 +43,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions
|
|||
return directoryFullName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions
|
|||
return Environment.GetEnvironmentVariable(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,4 +11,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions
|
|||
|
||||
public IDirectory Directory { get; } = new DirectoryWrapper();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,4 +41,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,4 +15,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions
|
|||
|
||||
string GetDirectoryFullName(string path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,4 +7,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions
|
|||
{
|
||||
string GetEnvironmentVariable(string name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,4 +23,4 @@ namespace Microsoft.Extensions.EnvironmentAbstractions
|
|||
|
||||
void CreateEmptyFile(string path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,4 +16,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
public const string MstestTestFrameworkVersion = "1.0.8-rc";
|
||||
public const string BundleMinifierToolVersion = "2.2.301";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,4 +52,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
return !string.IsNullOrEmpty(version);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,4 +10,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
void AddDotnetSupportedPackageVersions(
|
||||
IDictionary<PackageDependencyInfo, PackageDependencyInfo> projectDependenciesPackages);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,4 +123,4 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
|
||||
public const string PropertyInfo = "{0}: {1}, {{ Name={2}, Value={3} }}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,4 +54,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel
|
|||
return !(left == right);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,22 +11,22 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation
|
|||
/// The fully-qualified path to the analyzer assembly.
|
||||
/// </summary>
|
||||
public string AssemblyPath { get; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The supported language of the analyzer assembly.
|
||||
/// </summary>
|
||||
public string AnalyzerLanguage { get; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The required framework for hosting the analyzer assembly.
|
||||
/// </summary>
|
||||
public NuGetFramework RequiredFramework { get; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The required runtime for hosting the analyzer assembly.
|
||||
/// </summary>
|
||||
public string RuntimeIdentifier { get; }
|
||||
|
||||
|
||||
public AnalyzerReference(
|
||||
string assembly,
|
||||
NuGetFramework framework,
|
||||
|
@ -39,4 +39,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation
|
|||
RuntimeIdentifier = runtimeIdentifier;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,4 +26,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation
|
|||
/// </summary>
|
||||
public IReadOnlyList<LibraryAsset> Assets { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -188,4 +188,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation
|
|||
list.Add(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,4 +15,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Compilation
|
|||
|
||||
public string Locale { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,4 +101,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel
|
|||
return includeFiles.Select(f => f.SourcePath);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,9 +40,9 @@ namespace Microsoft.DotNet.Internal.ProjectModel
|
|||
source: source)
|
||||
{ }
|
||||
|
||||
public DiagnosticMessage(string errorCode, string message, string formattedMessage, string filePath,
|
||||
public DiagnosticMessage(string errorCode, string message, string formattedMessage, string filePath,
|
||||
DiagnosticMessageSeverity severity, int startLine, int startColumn, int endLine, int endColumn)
|
||||
: this(errorCode,
|
||||
: this(errorCode,
|
||||
message,
|
||||
formattedMessage,
|
||||
filePath,
|
||||
|
@ -129,4 +129,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel
|
|||
/// </summary>
|
||||
public LibraryDescription Source { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,4 +12,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel
|
|||
Warning,
|
||||
Error,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,4 +13,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Abstractions
|
|||
|
||||
public abstract FileInfoBase GetFile(string path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,4 +6,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Abstractions
|
|||
internal abstract class FileInfoBase : FileSystemInfoBase
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,4 +29,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Abstractions
|
|||
get { return new DirectoryInfoWrapper(_fileInfo.Directory); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,4 +11,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Abstractions
|
|||
|
||||
public abstract DirectoryInfoBase ParentDirectory { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,4 +37,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing
|
|||
return hashCodeCombiner.CombinedHash;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,4 +9,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal
|
|||
{
|
||||
IList<IPathSegment> Segments { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,4 +9,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal
|
|||
|
||||
bool Match(string value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,4 +9,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal
|
|||
|
||||
IPatternContext CreatePatternContextForExclude();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,4 +15,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal
|
|||
|
||||
IList<IPathSegment> EndsWith { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,4 +45,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
return StringComparisonHelper.GetStringComparer(_comparisonType).GetHashCode(Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,4 +16,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
return string.Equals(LiteralParent, value, StringComparison.Ordinal);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
{
|
||||
internal class WildcardPathSegment : IPathSegment
|
||||
{
|
||||
// It doesn't matter which StringComparison type is used in this MatchAll segment because
|
||||
// It doesn't matter which StringComparison type is used in this MatchAll segment because
|
||||
// all comparing are skipped since there is no content in the segment.
|
||||
public static readonly WildcardPathSegment MatchAll = new WildcardPathSegment(
|
||||
string.Empty, new List<string>(), string.Empty, StringComparison.OrdinalIgnoreCase);
|
||||
|
@ -71,4 +71,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,4 +36,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
return _stack.Count == 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,4 +21,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal
|
|||
return new PatternTestResult(isSuccessful: true, stem: stem);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
pattern[beginSegment + 2] == '.')
|
||||
{
|
||||
// recognize **.
|
||||
// swallow the first *, add the recursive path segment and
|
||||
// swallow the first *, add the recursive path segment and
|
||||
// the remaining part will be treat as wild card in next loop.
|
||||
segment = new RecursiveWildcardSegment();
|
||||
endSegment = beginSegment;
|
||||
|
@ -269,4 +269,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing.Internal.Pat
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,4 +45,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing
|
|||
return context.Execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,4 +41,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing
|
|||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.FileSystemGlobbing
|
|||
|
||||
public IEnumerable<FilePatternMatch> Files { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,4 +46,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Files
|
|||
return new string[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,4 +20,4 @@ namespace Microsoft.DotNet.Internal.ProjectModel.Graph
|
|||
Exports = exports.Any() ? exports : new List<LockFileTargetLibrary>(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue