Browse Source
Add trampolineBuilder type to the main module.
pull/7246/head
Jeremy Koritzinsky
5 years ago
No known key found for this signature in database
GPG Key ID: 25A7D1C8126B7A16
1 changed files with
1 additions and
0 deletions
-
src/Avalonia.Build.Tasks/XamlCompilerTaskExecutor.cs
|
|
|
@ -126,6 +126,7 @@ namespace Avalonia.Build.Tasks |
|
|
|
asm.MainModule.Types.Add(indexerAccessorClosure); |
|
|
|
var trampolineBuilder = new TypeDefinition("CompiledAvaloniaXaml", "XamlIlTrampolines", |
|
|
|
TypeAttributes.Class, asm.MainModule.TypeSystem.Object); |
|
|
|
asm.MainModule.Types.Add(trampolineBuilder); |
|
|
|
|
|
|
|
var (xamlLanguage , emitConfig) = AvaloniaXamlIlLanguage.Configure(typeSystem); |
|
|
|
var compilerConfig = new AvaloniaXamlIlCompilerConfiguration(typeSystem, |
|
|
|
|