Nikita Tsukanov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Avalonia.Build.Tasks/XamlCompilerTaskExecutor.cs
|
|
|
@ -63,8 +63,8 @@ namespace Avalonia.Build.Tasks |
|
|
|
try |
|
|
|
{ |
|
|
|
references = references.Where(r => !r.ToLowerInvariant().EndsWith("avalonia.build.tasks.dll")).ToArray(); |
|
|
|
var typeSystem = new CecilTypeSystem(references, input); |
|
|
|
var refTypeSystem = !string.IsNullOrWhiteSpace(refInput) && File.Exists(refInput) ? new CecilTypeSystem(references, refInput) : null; |
|
|
|
using var typeSystem = new CecilTypeSystem(references, input); |
|
|
|
using var refTypeSystem = !string.IsNullOrWhiteSpace(refInput) && File.Exists(refInput) ? new CecilTypeSystem(references, refInput) : null; |
|
|
|
|
|
|
|
var asm = typeSystem.TargetAssemblyDefinition; |
|
|
|
var refAsm = refTypeSystem?.TargetAssemblyDefinition; |
|
|
|
|