mirror of https://github.com/icsharpcode/ILSpy.git
43 changed files with 450 additions and 1699 deletions
@ -1,16 +1,12 @@ |
|||||||
bin/ |
bin/ |
||||||
obj/ |
obj/ |
||||||
|
|
||||||
/ILSpy-tests |
|
||||||
/ICSharpCode.Decompiler/Properties/AssemblyInfo.cs |
/ICSharpCode.Decompiler/Properties/AssemblyInfo.cs |
||||||
/ILSpy/Properties/AssemblyInfo.cs |
/ILSpy/Properties/AssemblyInfo.cs |
||||||
/ILSpy/app.config |
/ILSpy/app.config |
||||||
*.suo |
|
||||||
*.user |
*.user |
||||||
/Resharper-ILSpy-Style.xml |
/Resharper-ILSpy-Style.xml |
||||||
_ReSharper*/ |
_ReSharper*/ |
||||||
*.ReSharper |
*.ReSharper |
||||||
*.patch |
*.patch |
||||||
/packages |
.vs/ |
||||||
*.ide/ |
|
||||||
/ICSharpCode.Decompiler/Tests/TestCases/*.exe |
|
||||||
|
@ -1,3 +1,6 @@ |
|||||||
[submodule "cecil"] |
[submodule "cecil"] |
||||||
path = cecil |
path = cecil |
||||||
url = https://github.com/jbevain/cecil.git |
url = https://github.com/jbevain/cecil.git |
||||||
|
[submodule "ILSpy-tests"] |
||||||
|
path = ILSpy-tests |
||||||
|
url = https://github.com/icsharpcode/ILSpy-tests |
||||||
|
@ -0,0 +1,30 @@ |
|||||||
|
// Copyright (c) 2016 Daniel Grunwald
|
||||||
|
//
|
||||||
|
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
||||||
|
// software and associated documentation files (the "Software"), to deal in the Software
|
||||||
|
// without restriction, including without limitation the rights to use, copy, modify, merge,
|
||||||
|
// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
|
||||||
|
// to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
//
|
||||||
|
// The above copyright notice and this permission notice shall be included in all copies or
|
||||||
|
// substantial portions of the Software.
|
||||||
|
//
|
||||||
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||||
|
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||||
|
// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
||||||
|
// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
|
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.Decompiler.Tests |
||||||
|
{ |
||||||
|
class Stub |
||||||
|
{ |
||||||
|
static void Main(string[] args) |
||||||
|
{ |
||||||
|
throw new InvalidOperationException("Entry point exists only to support output type 'Exe'"); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -1,14 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<configuration> |
|
||||||
<runtime> |
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
|
||||||
<dependentAssembly> |
|
||||||
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> |
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.2.1.0" newVersion="1.2.1.0"/> |
|
||||||
</dependentAssembly> |
|
||||||
</assemblyBinding> |
|
||||||
</runtime> |
|
||||||
<startup> |
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/> |
|
||||||
</startup> |
|
||||||
</configuration> |
|
@ -1,11 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<packages> |
|
||||||
<package id="DiffLib" version="1.0.0.55" requireReinstallation="true" /> |
|
||||||
<package id="Microsoft.CodeAnalysis.Analyzers" version="1.1.0" targetFramework="net45" /> |
|
||||||
<package id="Microsoft.CodeAnalysis.Common" version="1.3.2" targetFramework="net45" /> |
|
||||||
<package id="Microsoft.CodeAnalysis.CSharp" version="1.3.2" targetFramework="net45" /> |
|
||||||
<package id="NUnit" version="2.6.3" targetFramework="net45" /> |
|
||||||
<package id="NUnitTestAdapter" version="2.0.0" targetFramework="net45" /> |
|
||||||
<package id="System.Collections.Immutable" version="1.3.0" targetFramework="net45" /> |
|
||||||
<package id="System.Reflection.Metadata" version="1.2.0" targetFramework="net45" /> |
|
||||||
</packages> |
|
@ -1,48 +1,36 @@ |
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00 |
Microsoft Visual Studio Solution File, Format Version 12.00 |
||||||
# Visual Studio 15 |
# Visual Studio 15 |
||||||
VisualStudioVersion = 15.0.25914.0 |
VisualStudioVersion = 15.0.26730.12 |
||||||
MinimumVisualStudioVersion = 10.0.40219.1 |
MinimumVisualStudioVersion = 15.0 |
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Cecil", "cecil\Mono.Cecil.csproj", "{D68133BD-1E63-496E-9EDE-4FBDBF77B486}" |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Cecil", "cecil\Mono.Cecil.csproj", "{D68133BD-1E63-496E-9EDE-4FBDBF77B486}" |
||||||
EndProject |
EndProject |
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.Decompiler", "ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj", "{984CC812-9470-4A13-AFF9-CC44068D666C}" |
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICSharpCode.Decompiler", "ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj", "{984CC812-9470-4A13-AFF9-CC44068D666C}" |
||||||
EndProject |
EndProject |
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.Decompiler.Tests", "ICSharpCode.Decompiler\Tests\ICSharpCode.Decompiler.Tests.csproj", "{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}" |
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICSharpCode.Decompiler.Tests", "ICSharpCode.Decompiler.Tests\ICSharpCode.Decompiler.Tests.csproj", "{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}" |
||||||
EndProject |
EndProject |
||||||
Global |
Global |
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
||||||
Debug|Any CPU = Debug|Any CPU |
Debug|Any CPU = Debug|Any CPU |
||||||
Debug|x86 = Debug|x86 |
|
||||||
Release|Any CPU = Release|Any CPU |
Release|Any CPU = Release|Any CPU |
||||||
Release|x86 = Release|x86 |
|
||||||
EndGlobalSection |
EndGlobalSection |
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
||||||
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Debug|Any CPU.ActiveCfg = net_4_0_Debug|Any CPU |
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Debug|Any CPU.ActiveCfg = net_4_0_Debug|Any CPU |
||||||
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU |
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Debug|Any CPU.Build.0 = net_4_0_Debug|Any CPU |
||||||
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Debug|x86.ActiveCfg = net_4_0_Debug|Any CPU |
|
||||||
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Debug|x86.Build.0 = net_4_0_Debug|Any CPU |
|
||||||
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU |
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Release|Any CPU.ActiveCfg = net_4_0_Release|Any CPU |
||||||
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Release|Any CPU.Build.0 = net_4_0_Release|Any CPU |
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Release|Any CPU.Build.0 = net_4_0_Release|Any CPU |
||||||
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Release|x86.ActiveCfg = net_4_0_Release|Any CPU |
|
||||||
{D68133BD-1E63-496E-9EDE-4FBDBF77B486}.Release|x86.Build.0 = net_4_0_Release|Any CPU |
|
||||||
{984CC812-9470-4A13-AFF9-CC44068D666C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
{984CC812-9470-4A13-AFF9-CC44068D666C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||||
{984CC812-9470-4A13-AFF9-CC44068D666C}.Debug|Any CPU.Build.0 = Debug|Any CPU |
{984CC812-9470-4A13-AFF9-CC44068D666C}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||||
{984CC812-9470-4A13-AFF9-CC44068D666C}.Debug|x86.ActiveCfg = Debug|Any CPU |
|
||||||
{984CC812-9470-4A13-AFF9-CC44068D666C}.Debug|x86.Build.0 = Debug|Any CPU |
|
||||||
{984CC812-9470-4A13-AFF9-CC44068D666C}.Release|Any CPU.ActiveCfg = Release|Any CPU |
{984CC812-9470-4A13-AFF9-CC44068D666C}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||||
{984CC812-9470-4A13-AFF9-CC44068D666C}.Release|Any CPU.Build.0 = Release|Any CPU |
{984CC812-9470-4A13-AFF9-CC44068D666C}.Release|Any CPU.Build.0 = Release|Any CPU |
||||||
{984CC812-9470-4A13-AFF9-CC44068D666C}.Release|x86.ActiveCfg = Release|Any CPU |
|
||||||
{984CC812-9470-4A13-AFF9-CC44068D666C}.Release|x86.Build.0 = Release|Any CPU |
|
||||||
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||||
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Debug|Any CPU.Build.0 = Debug|Any CPU |
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||||
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Debug|x86.ActiveCfg = Debug|x86 |
|
||||||
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Debug|x86.Build.0 = Debug|x86 |
|
||||||
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Release|Any CPU.ActiveCfg = Release|Any CPU |
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||||
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Release|Any CPU.Build.0 = Release|Any CPU |
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Release|Any CPU.Build.0 = Release|Any CPU |
||||||
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Release|x86.ActiveCfg = Release|x86 |
|
||||||
{FEC0DA52-C4A6-4710-BE36-B484A20C5E22}.Release|x86.Build.0 = Release|x86 |
|
||||||
EndGlobalSection |
EndGlobalSection |
||||||
GlobalSection(SolutionProperties) = preSolution |
GlobalSection(SolutionProperties) = preSolution |
||||||
HideSolutionNode = FALSE |
HideSolutionNode = FALSE |
||||||
EndGlobalSection |
EndGlobalSection |
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution |
||||||
|
SolutionGuid = {E873114C-83E7-4A78-86C9-2A93B8A16991} |
||||||
|
EndGlobalSection |
||||||
EndGlobal |
EndGlobal |
||||||
|
@ -1,56 +0,0 @@ |
|||||||
<Project Sdk="Microsoft.NET.Sdk"> |
|
||||||
|
|
||||||
<PropertyGroup> |
|
||||||
<TargetFramework>netstandard2.0</TargetFramework> |
|
||||||
<AssemblyName>ICSharpCode.Decompiler</AssemblyName> |
|
||||||
<RootNamespace>ICSharpCode.Decompiler</RootNamespace> |
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
|
||||||
<SignAssembly>true</SignAssembly> |
|
||||||
<AssemblyOriginatorKeyFile>ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile> |
|
||||||
</PropertyGroup> |
|
||||||
|
|
||||||
<ItemGroup> |
|
||||||
<Compile Remove="Ast\**" /> |
|
||||||
<EmbeddedResource Remove="Ast\**" /> |
|
||||||
<None Remove="Ast\**" /> |
|
||||||
</ItemGroup> |
|
||||||
|
|
||||||
<ItemGroup> |
|
||||||
<Compile Remove="CodeMappings.cs" /> |
|
||||||
<Compile Remove="CSharp\Transforms\CombineQueryExpressions.cs" /> |
|
||||||
<Compile Remove="CSharp\Transforms\ExpressionTreeConverter.cs" /> |
|
||||||
<Compile Remove="CSharp\Transforms\FlattenSwitchBlocks.cs" /> |
|
||||||
<Compile Remove="CSharp\Transforms\IntroduceQueryExpressions.cs" /> |
|
||||||
<Compile Remove="DecompilerException.cs" /> |
|
||||||
<Compile Remove="Properties\AssemblyInfo.template.cs" /> |
|
||||||
</ItemGroup> |
|
||||||
|
|
||||||
<ItemGroup> |
|
||||||
<PackageReference Include="System.Collections.Immutable" Version="1.4.0" /> |
|
||||||
<PackageReference Include="System.ValueTuple" Version="4.4.0" /> |
|
||||||
</ItemGroup> |
|
||||||
|
|
||||||
<ItemGroup> |
|
||||||
<ProjectReference Include="..\cecil\Mono.Cecil.csproj" /> |
|
||||||
</ItemGroup> |
|
||||||
|
|
||||||
<ItemGroup> |
|
||||||
<Folder Include="Properties\" /> |
|
||||||
</ItemGroup> |
|
||||||
|
|
||||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent"> |
|
||||||
<PropertyGroup> |
|
||||||
<UpdateAssemblyInfo>UpdateAssemblyInfo.exe</UpdateAssemblyInfo> |
|
||||||
<UpdateAssemblyInfo Condition="$(OS)=='Unix'">mono $(UpdateAssemblyInfo)</UpdateAssemblyInfo> |
|
||||||
</PropertyGroup> |
|
||||||
<MSBuild Projects="$(MSBuildProjectDirectory)\..\BuildTools\UpdateAssemblyInfo\UpdateAssemblyInfo.csproj" Targets="Build" Properties="Configuration=Debug" /> |
|
||||||
<Exec WorkingDirectory="$(MSBuildProjectDirectory)\..\BuildTools\UpdateAssemblyInfo\bin\Debug" Command="$(UpdateAssemblyInfo) --branchname $(BranchName)" Timeout="60000" Condition=" '$(BranchName)' != '' " /> |
|
||||||
<Exec WorkingDirectory="$(MSBuildProjectDirectory)\..\BuildTools\UpdateAssemblyInfo\bin\Debug" Command="$(UpdateAssemblyInfo)" Timeout="60000" Condition=" '$(BranchName)' == '' " /> |
|
||||||
</Target> |
|
||||||
|
|
||||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
|
||||||
<Exec Command="del /F /S /Q $(ProjectDir)\obj" /> |
|
||||||
</Target> |
|
||||||
|
|
||||||
</Project> |
|
@ -1,5 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<packages> |
|
||||||
<package id="System.Collections.Immutable" version="1.3.0" targetFramework="net45" /> |
|
||||||
<package id="System.ValueTuple" version="4.3.0" targetFramework="net45" /> |
|
||||||
</packages> |
|
@ -1,36 +1,16 @@ |
|||||||
using System; |
using System; |
||||||
using System.Reflection; |
using System.Reflection; |
||||||
using System.Resources; |
|
||||||
using System.Runtime.CompilerServices; |
using System.Runtime.CompilerServices; |
||||||
using System.Runtime.InteropServices; |
using System.Runtime.InteropServices; |
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("ILSpy.AddIn")] |
|
||||||
[assembly: AssemblyDescription("")] |
|
||||||
[assembly: AssemblyConfiguration("")] |
|
||||||
[assembly: AssemblyCompany("IC#Code")] |
|
||||||
[assembly: AssemblyProduct("ILSpy.AddIn")] |
|
||||||
[assembly: AssemblyCopyright("")] |
[assembly: AssemblyCopyright("")] |
||||||
[assembly: AssemblyTrademark("")] |
[assembly: AssemblyTrademark("")] |
||||||
[assembly: AssemblyCulture("")] |
[assembly: AssemblyCulture("")] |
||||||
[assembly: ComVisible(false)] |
[assembly: ComVisible(false)] |
||||||
[assembly: CLSCompliant(false)] |
[assembly: CLSCompliant(false)] |
||||||
[assembly: NeutralResourcesLanguage("en-US")] |
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
|
|
||||||
[assembly: AssemblyVersion("1.5.0.0")] |
|
||||||
[assembly: AssemblyFileVersion("1.5.0.0")] |
|
||||||
|
|
||||||
[assembly: InternalsVisibleTo("ILSpy.AddIn_IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")] |
[assembly: InternalsVisibleTo("ILSpy.AddIn_IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")] |
||||||
[assembly: InternalsVisibleTo("ILSpy.AddIn_UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")] |
[assembly: InternalsVisibleTo("ILSpy.AddIn_UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")] |
||||||
|
@ -0,0 +1,8 @@ |
|||||||
|
{ |
||||||
|
"profiles": { |
||||||
|
"Visual Studio Extension": { |
||||||
|
"executablePath": "$(DevEnvDir)devenv.exe", |
||||||
|
"commandLineArgs": "/rootsuffix $(VSSDKTargetPlatformRegRootSuffix) /log" |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -1,19 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<packages> |
|
||||||
<package id="VSSDK.DTE" version="7.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.DTE.10" version="10.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.DTE.8" version="8.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.DTE.9" version="9.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.IDE" version="7.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.IDE.10" version="10.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.IDE.8" version="8.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.IDE.9" version="9.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.OLE.Interop" version="7.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.Shell.10" version="10.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.Shell.Immutable.10" version="10.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.Shell.Interop" version="7.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.Shell.Interop.8" version="8.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.Shell.Interop.9" version="9.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.TextManager.Interop" version="7.0.4" targetFramework="net45" /> |
|
||||||
<package id="VSSDK.TextManager.Interop.8" version="8.0.4" targetFramework="net45" /> |
|
||||||
</packages> |
|
@ -1,4 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<packages> |
|
||||||
<package id="NUnit" version="2.6.3" targetFramework="net45" /> |
|
||||||
</packages> |
|
@ -1,4 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<packages> |
|
||||||
<package id="AvalonEdit" version="5.0.3" targetFramework="net45" /> |
|
||||||
</packages> |
|
@ -0,0 +1,9 @@ |
|||||||
|
{ |
||||||
|
"profiles": { |
||||||
|
"ILSpy": { |
||||||
|
"commandName": "Executable", |
||||||
|
"executablePath": "$(OutDir)$(AssemblyName)$(TargetExt)", |
||||||
|
"commandLineArgs": "/separate" |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -1,5 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<packages> |
|
||||||
<package id="AvalonEdit" version="5.0.3" targetFramework="net45" /> |
|
||||||
<package id="System.Collections.Immutable" version="1.3.0" targetFramework="net45" /> |
|
||||||
</packages> |
|
@ -0,0 +1,9 @@ |
|||||||
|
{ |
||||||
|
"profiles": { |
||||||
|
"TestPlugin": { |
||||||
|
"commandName": "Executable", |
||||||
|
"executablePath": "$(OutDir)ILSpy.exe", |
||||||
|
"commandLineArgs": "/separate" |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Binary file not shown.
@ -1,641 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<doc> |
|
||||||
<assembly> |
|
||||||
<name>DiffLib</name> |
|
||||||
</assembly> |
|
||||||
<members> |
|
||||||
<member name="T:DiffLib.AlignedDiffChange`1"> |
|
||||||
<summary> |
|
||||||
This class holds a single collection from either the first or the second, or both, |
|
||||||
collections given to the <see cref="T:DiffLib.AlignedDiff`1"/> class, along |
|
||||||
with the type of change that the elements produce. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.AlignedDiffChange`1.#ctor(DiffLib.ChangeType,`0,`0)"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of <see cref="T:DiffLib.AlignedDiffChange`1"/>. |
|
||||||
</summary> |
|
||||||
<param name="change"> |
|
||||||
The <see cref="P:DiffLib.AlignedDiffChange`1.Change">type</see> of change this <see cref="T:DiffLib.AlignedDiffChange`1"/> details. |
|
||||||
</param> |
|
||||||
<param name="element1"> |
|
||||||
The element from the first collection. If <paramref name="change"/> is <see cref="F:DiffLib.ChangeType.Added"/>, then |
|
||||||
this parameter has no meaning. |
|
||||||
</param> |
|
||||||
<param name="element2"> |
|
||||||
The element from the second collection. If <paramref name="change"/> is <see cref="F:DiffLib.ChangeType.Deleted"/>, then |
|
||||||
this parameter has no meaning. |
|
||||||
</param> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.AlignedDiffChange`1.Equals(DiffLib.AlignedDiffChange{`0})"> |
|
||||||
<summary> |
|
||||||
Indicates whether the current object is equal to another object of the same type. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. |
|
||||||
</returns> |
|
||||||
<param name="other">An object to compare with this object.</param> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.AlignedDiffChange`1.Equals(System.Object)"> |
|
||||||
<summary> |
|
||||||
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>; otherwise, false. |
|
||||||
</returns> |
|
||||||
<param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:System.Object"/>. </param><filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.AlignedDiffChange`1.GetHashCode"> |
|
||||||
<summary> |
|
||||||
Serves as a hash function for a particular type. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A hash code for the current <see cref="T:System.Object"/>. |
|
||||||
</returns> |
|
||||||
<filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.AlignedDiffChange`1.ToString"> |
|
||||||
<summary> |
|
||||||
Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. |
|
||||||
</returns> |
|
||||||
<filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.AlignedDiffChange`1.Change"> |
|
||||||
<summary> |
|
||||||
The <see cref="P:DiffLib.AlignedDiffChange`1.Change">type</see> of change this <see cref="T:DiffLib.AlignedDiffChange`1"/> details. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.AlignedDiffChange`1.Element1"> |
|
||||||
<summary> |
|
||||||
The element from the first collection. If <see cref="T:System.Type"/> is <see cref="F:DiffLib.ChangeType.Added"/>, then |
|
||||||
the value of this property has no meaning. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.AlignedDiffChange`1.Element2"> |
|
||||||
<summary> |
|
||||||
The element from the second collection. If <see cref="T:System.Type"/> is <see cref="F:DiffLib.ChangeType.Deleted"/>, then |
|
||||||
the value of this property has no meaning. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.ChangeType"> |
|
||||||
<summary> |
|
||||||
This enum is used by <see cref="T:DiffLib.AlignedDiffChange`1"/> to specify how |
|
||||||
the two elements from the two collections relate. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="F:DiffLib.ChangeType.Same"> |
|
||||||
<summary> |
|
||||||
The two elements are the same. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="F:DiffLib.ChangeType.Added"> |
|
||||||
<summary> |
|
||||||
The second element was added in the second collection. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="F:DiffLib.ChangeType.Deleted"> |
|
||||||
<summary> |
|
||||||
The first element was removed from the second collection. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="F:DiffLib.ChangeType.Changed"> |
|
||||||
<summary> |
|
||||||
The first element was changed/replaced with the second element in the second collection. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.Diff`1"> |
|
||||||
<summary> |
|
||||||
This class implements the basic diff algorithm by recursively applying the Longest Common Substring |
|
||||||
on pieces of the collections, and reporting sections that are similar, and those that are not, |
|
||||||
in the appropriate sequence. |
|
||||||
</summary> |
|
||||||
<typeparam name="T"> |
|
||||||
The types of elements in the collections being compared. |
|
||||||
</typeparam> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.Diff`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEnumerable{`0})"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of <see cref="T:DiffLib.Diff`1"/> |
|
||||||
using the default <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> instance for the |
|
||||||
<typeparamref name="T"/> type. |
|
||||||
</summary> |
|
||||||
<param name="collection1"> |
|
||||||
The first collection of items. |
|
||||||
</param> |
|
||||||
<param name="collection2"> |
|
||||||
The second collection of items. |
|
||||||
</param> |
|
||||||
<exception cref="T:System.ArgumentNullException"> |
|
||||||
<para><paramref name="collection1"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="collection2"/> is <c>null</c>.</para> |
|
||||||
</exception> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.Diff`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of <see cref="T:DiffLib.Diff`1"/>. |
|
||||||
</summary> |
|
||||||
<param name="collection1"> |
|
||||||
The first collection of items. |
|
||||||
</param> |
|
||||||
<param name="collection2"> |
|
||||||
The second collection of items. |
|
||||||
</param> |
|
||||||
<param name="comparer"> |
|
||||||
The <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> that will be used to compare elements from |
|
||||||
<paramref name="collection1"/> with elements from <paramref name="collection2"/>. |
|
||||||
</param> |
|
||||||
<exception cref="T:System.ArgumentNullException"> |
|
||||||
<para><paramref name="collection1"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="collection2"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="comparer"/> is <c>null</c>.</para> |
|
||||||
</exception> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.Diff`1.GetEnumerator"> |
|
||||||
<summary> |
|
||||||
Returns an enumerator that iterates through the collection. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection. |
|
||||||
</returns> |
|
||||||
<filterpriority>1</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.Diff`1.Generate"> |
|
||||||
<summary> |
|
||||||
Generates the diff between the two collections. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.DiffChange"> |
|
||||||
<summary> |
|
||||||
This class contains a single section of diff output from the <see cref="M:DiffLib.Diff`1.Generate"/> |
|
||||||
method. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.DiffChange.#ctor(System.Boolean,System.Int32,System.Int32)"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of <see cref="T:DiffLib.DiffChange"/>. |
|
||||||
</summary> |
|
||||||
<param name="equal"> |
|
||||||
If <c>true</c>, then the section specifies a section from the first |
|
||||||
collection that is equal to a section from the second collection; |
|
||||||
otherwise, if <c>false</c>, then the section from the first |
|
||||||
collection was replaced with the section from the second collection. |
|
||||||
</param> |
|
||||||
<param name="length1"> |
|
||||||
The length of the section in the first collection. Can be 0 if |
|
||||||
the section specifies that new content was added in the second |
|
||||||
collection. |
|
||||||
</param> |
|
||||||
<param name="length2"> |
|
||||||
The length of the section in the second collection. Can be 0 if |
|
||||||
the section specifies that old content was deleted in the second |
|
||||||
collection. |
|
||||||
</param> |
|
||||||
<exception cref="T:System.ArgumentOutOfRangeException"> |
|
||||||
<para><paramref name="length1"/> is negative.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="length2"/> is negative.</para> |
|
||||||
</exception> |
|
||||||
<exception cref="T:System.ArgumentException"> |
|
||||||
<para><paramref name="equal"/> is <c>true</c> but <paramref name="length1"/> is not equal to <paramref name="length2"/>.</para> |
|
||||||
</exception> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.DiffChange.Equals(DiffLib.DiffChange)"> |
|
||||||
<summary> |
|
||||||
Indicates whether the current object is equal to another object of the same type. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. |
|
||||||
</returns> |
|
||||||
<param name="other">An object to compare with this object.</param> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.DiffChange.Equals(System.Object)"> |
|
||||||
<summary> |
|
||||||
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>; otherwise, false. |
|
||||||
</returns> |
|
||||||
<param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:System.Object"/>. </param><filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.DiffChange.GetHashCode"> |
|
||||||
<summary> |
|
||||||
Serves as a hash function for a particular type. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A hash code for the current <see cref="T:System.Object"/>. |
|
||||||
</returns> |
|
||||||
<filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.DiffChange.ToString"> |
|
||||||
<summary> |
|
||||||
Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. |
|
||||||
</returns> |
|
||||||
<filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.DiffChange.Equal"> |
|
||||||
<summary> |
|
||||||
Gets whether the <see cref="T:DiffLib.DiffChange"/> specifies equal sections in the two |
|
||||||
collections, or differing sections. |
|
||||||
</summary> |
|
||||||
<value> |
|
||||||
If <c>true</c>, then the section specifies a section from the first |
|
||||||
collection that is equal to a section from the second collection; |
|
||||||
otherwise, if <c>false</c>, then the section from the first |
|
||||||
collection was replaced with the section from the second collection. |
|
||||||
</value> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.DiffChange.Length1"> |
|
||||||
<summary> |
|
||||||
The length of the section in the first collection. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.DiffChange.Length2"> |
|
||||||
<summary> |
|
||||||
The length of the section in the second collection. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.IAlignmentFilter`1"> |
|
||||||
<summary> |
|
||||||
This interface must be implemented by classes that will do similarity-filtering |
|
||||||
during alignment (<see cref="T:DiffLib.AlignedDiff`1"/>) to determine |
|
||||||
if two aligned elements are similar enough to report |
|
||||||
them as a change, instead of as a delete plus an add. |
|
||||||
</summary> |
|
||||||
<typeparam name="T"> |
|
||||||
The type of elements being compared. |
|
||||||
</typeparam> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.IAlignmentFilter`1.CanAlign(`0,`0)"> |
|
||||||
<summary> |
|
||||||
Determines if the two values are similar enough to align them |
|
||||||
as a change, instead of not aligning them but reporting them |
|
||||||
as a delete plus an add instead. |
|
||||||
</summary> |
|
||||||
<param name="value1"> |
|
||||||
The first value to compare against <paramref name="value2"/>. |
|
||||||
</param> |
|
||||||
<param name="value2"> |
|
||||||
The second value to compare against <paramref name="value1"/>. |
|
||||||
</param> |
|
||||||
<returns> |
|
||||||
<c>true</c> if the two values are similar enough to report |
|
||||||
them as a change; false if the two values aren't similar enough |
|
||||||
but needs to be reported as a delete plus an add. |
|
||||||
</returns> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.ISimilarityComparer`1"> |
|
||||||
<summary> |
|
||||||
This interface must be implemented by classes that will do similarity-calculation |
|
||||||
for use with the <see cref="T:DiffLib.AlignedDiff`1"/> class. |
|
||||||
</summary> |
|
||||||
<typeparam name="T"> |
|
||||||
The type of elements being compared. |
|
||||||
</typeparam> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.ISimilarityComparer`1.Compare(`0,`0)"> |
|
||||||
<summary> |
|
||||||
Does a similarity comparison between the two values and returns their |
|
||||||
similarity, a value ranging from 0.0 to 1.0, where 0.0 means they're |
|
||||||
completely different and 1.0 means they have the same value. |
|
||||||
</summary> |
|
||||||
<param name="value1"> |
|
||||||
The first value to compare. |
|
||||||
</param> |
|
||||||
<param name="value2"> |
|
||||||
The second value to compare. |
|
||||||
</param> |
|
||||||
<returns> |
|
||||||
A value ranging from 0.0 to 1.0, where 0.0 means they're |
|
||||||
completely different and 1.0 means they have the same value. |
|
||||||
</returns> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.LongestCommonSubstring`1"> |
|
||||||
<summary> |
|
||||||
This class implements the LCS algorithm, to find the longest common substring that exists |
|
||||||
in two collections, and return the locations of those substrings. |
|
||||||
</summary> |
|
||||||
<typeparam name="T"> |
|
||||||
The types of elements in the collections being compared. |
|
||||||
</typeparam> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstring`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEnumerable{`0})"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of the <see cref="T:DiffLib.LongestCommonSubstring`1"/> class |
|
||||||
using the default <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> instance for the |
|
||||||
<typeparamref name="T"/> type. |
|
||||||
</summary> |
|
||||||
<param name="collection1"> |
|
||||||
The first collection of items. |
|
||||||
</param> |
|
||||||
<param name="collection2"> |
|
||||||
The second collection of items. |
|
||||||
</param> |
|
||||||
<exception cref="T:System.ArgumentNullException"> |
|
||||||
<para><paramref name="collection1"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="collection2"/> is <c>null</c>.</para> |
|
||||||
</exception> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstring`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of the <see cref="T:DiffLib.LongestCommonSubstring`1"/> class. |
|
||||||
</summary> |
|
||||||
<param name="collection1"> |
|
||||||
The first collection of items. |
|
||||||
</param> |
|
||||||
<param name="collection2"> |
|
||||||
The second collection of items. |
|
||||||
</param> |
|
||||||
<param name="comparer"> |
|
||||||
The <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> that will be used to compare elements from |
|
||||||
<paramref name="collection1"/> with elements from <paramref name="collection2"/>. |
|
||||||
</param> |
|
||||||
<exception cref="T:System.ArgumentNullException"> |
|
||||||
<para><paramref name="collection1"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="collection2"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="comparer"/> is <c>null</c>.</para> |
|
||||||
</exception> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstring`1.Find"> |
|
||||||
<summary> |
|
||||||
Finds the longest common substring and returns its position in the two collections, and |
|
||||||
its length, or <c>null</c> if no such common substring can be located. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A <see cref="T:DiffLib.LongestCommonSubstringResult"/> containing the positions of the two substrings, one position |
|
||||||
for each collection, both 0-based, and the length of the substring. If no common substring can be found, <c>null</c> |
|
||||||
will be returned. |
|
||||||
</returns> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstring`1.Find(System.Int32,System.Int32,System.Int32,System.Int32)"> |
|
||||||
<summary> |
|
||||||
Finds the longest common substring and returns its position in the two collections, and |
|
||||||
its length, or <c>null</c> if no such common substring can be located. |
|
||||||
</summary> |
|
||||||
<param name="lower1"> |
|
||||||
The starting position in the first collection, 0-based. Included in the search. |
|
||||||
</param> |
|
||||||
<param name="upper1"> |
|
||||||
The ending position in the first collection, 0-based. <b>Not</b> included in the search. |
|
||||||
</param> |
|
||||||
<param name="lower2"> |
|
||||||
The starting position in the second collection, 0-based. Included in the search. |
|
||||||
</param> |
|
||||||
<param name="upper2"> |
|
||||||
The ending position in the second collection, 0-based. <b>Not</b> included in the search. |
|
||||||
</param> |
|
||||||
<returns> |
|
||||||
A <see cref="T:DiffLib.LongestCommonSubstringResult"/> containing the positions of the two substrings, one position |
|
||||||
for each collection, both 0-based, and the length of the substring. If no common substring can be found, <c>null</c> |
|
||||||
will be returned. |
|
||||||
</returns> |
|
||||||
<exception cref="T:System.ArgumentOutOfRangeException"> |
|
||||||
<para><paramref name="lower1"/> is less than 0.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="lower1"/> is greater than <paramref name="upper1"/>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="upper1"/> is greater than the length of the first collection.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="lower2"/> is less than 0.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="lower2"/> is greater than <paramref name="upper2"/>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="upper2"/> is greater than the length of the second collection.</para> |
|
||||||
</exception> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.LongestCommonSubstringResult"> |
|
||||||
<summary> |
|
||||||
This class holds the result of calling <see cref="M:DiffLib.LongestCommonSubstring`1.Find"/>. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstringResult.#ctor(System.Int32,System.Int32,System.Int32)"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of <see cref="T:DiffLib.LongestCommonSubstringResult"/>. |
|
||||||
</summary> |
|
||||||
<param name="positionInCollection1"> |
|
||||||
The position in the first collection, 0-based. |
|
||||||
</param> |
|
||||||
<param name="positionInCollection2"> |
|
||||||
The position in the second collection, 0-based. |
|
||||||
</param> |
|
||||||
<param name="length"> |
|
||||||
The length of the common substring. |
|
||||||
</param> |
|
||||||
<exception cref="T:System.ArgumentOutOfRangeException"> |
|
||||||
<para><paramref name="positionInCollection1"/> is negative.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="positionInCollection2"/> is negative.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="length"/> is zero or negative.</para> |
|
||||||
</exception> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstringResult.Equals(DiffLib.LongestCommonSubstringResult)"> |
|
||||||
<summary> |
|
||||||
Indicates whether the current object is equal to another object of the same type. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. |
|
||||||
</returns> |
|
||||||
<param name="other">An object to compare with this object.</param> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstringResult.Equals(System.Object)"> |
|
||||||
<summary> |
|
||||||
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>; otherwise, false. |
|
||||||
</returns> |
|
||||||
<param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:System.Object"/>. </param><filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstringResult.GetHashCode"> |
|
||||||
<summary> |
|
||||||
Serves as a hash function for a particular type. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A hash code for the current <see cref="T:System.Object"/>. |
|
||||||
</returns> |
|
||||||
<filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.LongestCommonSubstringResult.ToString"> |
|
||||||
<summary> |
|
||||||
Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. |
|
||||||
</returns> |
|
||||||
<filterpriority>2</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.LongestCommonSubstringResult.PositionInCollection1"> |
|
||||||
<summary> |
|
||||||
The position in the first collection, 0-based. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.LongestCommonSubstringResult.PositionInCollection2"> |
|
||||||
<summary> |
|
||||||
The position in the second collection, 0-based. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="P:DiffLib.LongestCommonSubstringResult.Length"> |
|
||||||
<summary> |
|
||||||
The length of the common substring. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.AlignedDiff`1"> |
|
||||||
<summary> |
|
||||||
This class implements a slightly more advanced diff algorithm than <see cref="T:DiffLib.Diff`1"/> by |
|
||||||
taking the output from <see cref="T:DiffLib.Diff`1"/> and attempting to align individual elements inside |
|
||||||
replace-blocks. This is mostly suitable for text file diffs. |
|
||||||
</summary> |
|
||||||
<typeparam name="T"> |
|
||||||
The types of elements in the collections being compared. |
|
||||||
</typeparam> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.AlignedDiff`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0},DiffLib.ISimilarityComparer{`0},DiffLib.IAlignmentFilter{`0})"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of <see cref="T:DiffLib.AlignedDiff`1"/>. |
|
||||||
</summary> |
|
||||||
<param name="collection1"> |
|
||||||
The first collection of items. |
|
||||||
</param> |
|
||||||
<param name="collection2"> |
|
||||||
The second collection of items. |
|
||||||
</param> |
|
||||||
<param name="equalityComparer"> |
|
||||||
The <see cref="T:System.Collections.Generic.IEqualityComparer`1"/> that will be used to compare elements from |
|
||||||
<paramref name="collection1"/> with elements from <paramref name="collection2"/>. |
|
||||||
</param> |
|
||||||
<param name="similarityComparer"> |
|
||||||
The <see cref="T:DiffLib.ISimilarityComparer`1"/> that will be used to attempt to align elements |
|
||||||
inside blocks that consists of elements from the first collection being replaced |
|
||||||
with elements from the second collection. |
|
||||||
</param> |
|
||||||
<param name="alignmentFilter"> |
|
||||||
The <see cref="T:DiffLib.ISimilarityComparer`1"/> that will be used to determine if |
|
||||||
two aligned elements are similar enough to be report them as a change from |
|
||||||
one to another, or to report them as one being deleted and the other added in |
|
||||||
its place. |
|
||||||
</param> |
|
||||||
<exception cref="T:System.ArgumentNullException"> |
|
||||||
<para><paramref name="collection1"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="collection2"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="equalityComparer"/> is <c>null</c>.</para> |
|
||||||
<para>- or -</para> |
|
||||||
<para><paramref name="alignmentFilter"/> is <c>null</c>.</para> |
|
||||||
</exception> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.AlignedDiff`1.GetEnumerator"> |
|
||||||
<summary> |
|
||||||
Returns an enumerator that iterates through the collection. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection. |
|
||||||
</returns> |
|
||||||
<filterpriority>1</filterpriority> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.AlignedDiff`1.Generate"> |
|
||||||
<summary> |
|
||||||
Generates the diff, one line of output at a time. |
|
||||||
</summary> |
|
||||||
<returns> |
|
||||||
A collection of <see cref="T:DiffLib.AlignedDiffChange`1"/> objects, one for |
|
||||||
each line in the first or second collection (sometimes one instance for a line |
|
||||||
from both, when lines are equal or similar.) |
|
||||||
</returns> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.StringSimilarityComparer"> |
|
||||||
<summary> |
|
||||||
This class implements <see cref="T:DiffLib.ISimilarityComparer`1"/> for strings, doing a very basic "diff" between the two, |
|
||||||
and calculating how much of the text occurs in both. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.StringSimilarityComparer.Compare(System.String,System.String)"> |
|
||||||
<summary> |
|
||||||
Does a similarity comparison between the two values and returns their |
|
||||||
similarity, a value ranging from 0.0 to 1.0, where 0.0 means they're |
|
||||||
completely different and 1.0 means they have the same value. |
|
||||||
</summary> |
|
||||||
<param name="value1"> |
|
||||||
The first value to compare. |
|
||||||
</param> |
|
||||||
<param name="value2"> |
|
||||||
The second value to compare. |
|
||||||
</param> |
|
||||||
<returns> |
|
||||||
A value ranging from 0.0 to 1.0, where 0.0 means they're |
|
||||||
completely different and 1.0 means they have the same value. |
|
||||||
</returns> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.StringAlignmentFilter"> |
|
||||||
<summary> |
|
||||||
This class implements <see cref="T:DiffLib.ISimilarityComparer`1"/> for strings, doing a very basic "diff" between the two, |
|
||||||
and calculating how much of the text occurs in both. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.StringAlignmentFilter.#ctor"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of the <see cref="T:DiffLib.StringAlignmentFilter"/> class. |
|
||||||
</summary> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.StringAlignmentFilter.#ctor(DiffLib.StringSimilarityFilterPredicate)"> |
|
||||||
<summary> |
|
||||||
Initializes a new instance of the <see cref="T:DiffLib.StringAlignmentFilter"/> class. |
|
||||||
</summary> |
|
||||||
<param name="diffPredicate"> |
|
||||||
The diff predicate used to determine if the strings are |
|
||||||
similar enough (see <see cref="T:DiffLib.StringSimilarityFilterPredicate"/> for details. |
|
||||||
</param> |
|
||||||
<exception cref="T:System.ArgumentNullException"><paramref name="diffPredicate"/> is <c>null</c>.</exception> |
|
||||||
</member> |
|
||||||
<member name="M:DiffLib.StringAlignmentFilter.CanAlign(System.String,System.String)"> |
|
||||||
<summary> |
|
||||||
Determines if the two values are similar enough to align them |
|
||||||
as a change, instead of not aligning them but reporting them |
|
||||||
as a delete plus an add instead. |
|
||||||
</summary> |
|
||||||
<param name="value1"> |
|
||||||
The first value to compare against <paramref name="value2"/>. |
|
||||||
</param> |
|
||||||
<param name="value2"> |
|
||||||
The second value to compare against <paramref name="value1"/>. |
|
||||||
</param> |
|
||||||
<returns> |
|
||||||
<c>true</c> if the two values are similar enough to report |
|
||||||
them as a change; false if the two values aren't similar enough |
|
||||||
but needs to be reported as a delete plus an add. |
|
||||||
</returns> |
|
||||||
</member> |
|
||||||
<member name="T:DiffLib.StringSimilarityFilterPredicate"> |
|
||||||
<summary> |
|
||||||
This delegate is used by <see cref="T:DiffLib.StringAlignmentFilter"/> to |
|
||||||
determine if the two strings are similar enough to report them |
|
||||||
as a change, instead of as a delete plus and add. |
|
||||||
</summary> |
|
||||||
<param name="value1"> |
|
||||||
The first string to compare. |
|
||||||
</param> |
|
||||||
<param name="value2"> |
|
||||||
The second string to compare. |
|
||||||
</param> |
|
||||||
<param name="diff"> |
|
||||||
The diff between <paramref name="value1"/> and <paramref name="value2"/>. |
|
||||||
</param> |
|
||||||
<returns> |
|
||||||
<c>true</c> if the strings are similar enough (reported as a change); |
|
||||||
otherwise, <c>false</c> (reported as a delete plus an add.) |
|
||||||
</returns> |
|
||||||
</member> |
|
||||||
</members> |
|
||||||
</doc> |
|
Binary file not shown.
@ -1,5 +0,0 @@ |
|||||||
rmdir /s /q %~dp0..\ICSharpCode.Decompiler\bin |
|
||||||
rmdir /s /q %~dp0..\ICSharpCode.Decompiler\obj |
|
||||||
nuget restore %~dp0..\ILSpy.sln || exit /b 1 |
|
||||||
%windir%\microsoft.net\framework\v4.0.30319\msbuild %~dp0..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj /p:Configuration=Release "/p:Platform=Any CPU" /p:BuildNuGetPackage=True || exit /b 1 |
|
||||||
nuget pack %~dp0ICSharpCode.Decompiler.nuspec /Symbols || exit /b 1 |
|
@ -1,9 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<repositories> |
|
||||||
<repository path="..\ICSharpCode.Decompiler\packages.config" /> |
|
||||||
<repository path="..\ICSharpCode.Decompiler\Tests\packages.config" /> |
|
||||||
<repository path="..\ILSpy.AddIn\packages.config" /> |
|
||||||
<repository path="..\ILSpy.BamlDecompiler\packages.config" /> |
|
||||||
<repository path="..\ILSpy.BamlDecompiler\Tests\packages.config" /> |
|
||||||
<repository path="..\ILSpy\packages.config" /> |
|
||||||
</repositories> |
|
Loading…
Reference in new issue