From 2d5413993c788ab2f291ae47b1acd7c2cdf92da1 Mon Sep 17 00:00:00 2001 From: Ramez Ragaa Date: Fri, 8 Mar 2024 14:50:11 +0200 Subject: [PATCH] chore: update generated code for tests --- .../Out/WDLSNVS/XamlCodeGenerator_GlobalStaticResources.cs | 5 +---- .../Out/WLCHB/XamlCodeGenerator_GlobalStaticResources.cs | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/WDLSNVS/XamlCodeGenerator_GlobalStaticResources.cs b/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/WDLSNVS/XamlCodeGenerator_GlobalStaticResources.cs index 5f7fa92dec99..0dc326678c53 100644 --- a/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/WDLSNVS/XamlCodeGenerator_GlobalStaticResources.cs +++ b/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/WDLSNVS/XamlCodeGenerator_GlobalStaticResources.cs @@ -1,7 +1,4 @@ // -#if __WASM__ -#error invalid internal source generator state. The __WASM__ DefineConstant was not propagated properly. -#endif namespace MyProject { /// @@ -12,7 +9,7 @@ public sealed partial class GlobalStaticResources static bool _initialized; private static bool _stylesRegistered; private static bool _dictionariesRegistered; - internal static global::Uno.UI.Xaml.XamlParseContext __ParseContext_ {get; } = new global::Uno.UI.Xaml.XamlParseContext() + internal static global::Uno.UI.Xaml.XamlParseContext __ParseContext_ { get; } = new global::Uno.UI.Xaml.XamlParseContext() { AssemblyName = "TestProject", } diff --git a/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/WLCHB/XamlCodeGenerator_GlobalStaticResources.cs b/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/WLCHB/XamlCodeGenerator_GlobalStaticResources.cs index 5f7fa92dec99..0dc326678c53 100644 --- a/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/WLCHB/XamlCodeGenerator_GlobalStaticResources.cs +++ b/src/SourceGenerators/Uno.UI.SourceGenerators.Tests/XamlCodeGeneratorTests/Out/WLCHB/XamlCodeGenerator_GlobalStaticResources.cs @@ -1,7 +1,4 @@ // -#if __WASM__ -#error invalid internal source generator state. The __WASM__ DefineConstant was not propagated properly. -#endif namespace MyProject { /// @@ -12,7 +9,7 @@ public sealed partial class GlobalStaticResources static bool _initialized; private static bool _stylesRegistered; private static bool _dictionariesRegistered; - internal static global::Uno.UI.Xaml.XamlParseContext __ParseContext_ {get; } = new global::Uno.UI.Xaml.XamlParseContext() + internal static global::Uno.UI.Xaml.XamlParseContext __ParseContext_ { get; } = new global::Uno.UI.Xaml.XamlParseContext() { AssemblyName = "TestProject", }