Browse Source
Merge pull request #8400 from YohDeadfall/duplicate-concat
Removed duplicate concatentation in the build task
pull/8404/head
Nikita Tsukanov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/Avalonia.Build.Tasks/XamlCompilerTaskExecutor.cs
|
|
|
@ -49,9 +49,9 @@ namespace Avalonia.Build.Tasks |
|
|
|
string projectDirectory, |
|
|
|
string output, bool verifyIl, MessageImportance logImportance, string strongNameKey, bool patchCom, bool skipXamlCompilation, bool debuggerLaunch) |
|
|
|
{ |
|
|
|
var typeSystem = new CecilTypeSystem(references |
|
|
|
.Where(r => !r.ToLowerInvariant().EndsWith("avalonia.build.tasks.dll")) |
|
|
|
.Concat(new[] { input }), input); |
|
|
|
var typeSystem = new CecilTypeSystem( |
|
|
|
references.Where(r => !r.ToLowerInvariant().EndsWith("avalonia.build.tasks.dll")), |
|
|
|
input); |
|
|
|
|
|
|
|
var asm = typeSystem.TargetAssemblyDefinition; |
|
|
|
|
|
|
|
|