Last active
January 30, 2026 14:25
-
-
Save StephaneDelcroix/3d2b309f1b8b9b5a17e160ada3502fcc to your computer and use it in GitHub Desktop.
BenchmarkMini - With Lazy RD (no content, resources only)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //------------------------------------------------------------------------------ | |
| // <auto-generated> | |
| // This code was generated by a .NET MAUI source generator. | |
| // | |
| // Changes to this file may cause incorrect behavior and will be lost if | |
| // the code is regenerated. | |
| // </auto-generated> | |
| //------------------------------------------------------------------------------ | |
| #nullable enable | |
| #pragma warning disable CS0219 // Variable is assigned but its value is never used | |
| namespace Microsoft.Maui.Controls.Xaml.UnitTests; | |
| [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Maui.Controls.SourceGen, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null", "10.0.0.0")] | |
| public partial class BenchmarkMini | |
| { | |
| private partial void InitializeComponentSourceGen() | |
| { | |
| // Fallback to Runtime inflation if the page was updated by HotReload | |
| static string? getPathForType(global::System.Type type) | |
| { | |
| var assembly = type.Assembly; | |
| foreach (var xria in global::System.Reflection.CustomAttributeExtensions.GetCustomAttributes<global::Microsoft.Maui.Controls.Xaml.XamlResourceIdAttribute>(assembly)) | |
| { | |
| if (xria.Type == type) | |
| return xria.Path; | |
| } | |
| return null; | |
| } | |
| var rlr = global::Microsoft.Maui.Controls.Internals.ResourceLoader.ResourceProvider2?.Invoke(new global::Microsoft.Maui.Controls.Internals.ResourceLoader.ResourceLoadingQuery | |
| { | |
| AssemblyName = typeof(global::Microsoft.Maui.Controls.Xaml.UnitTests.BenchmarkMini).Assembly.GetName(), | |
| ResourcePath = getPathForType(typeof(global::Microsoft.Maui.Controls.Xaml.UnitTests.BenchmarkMini)), | |
| Instance = this, | |
| }); | |
| if (rlr?.ResourceContent != null) | |
| { | |
| this.InitializeComponentRuntime(); | |
| return; | |
| } | |
| var color = new global::Microsoft.Maui.Graphics.Color(0.31764707f, 0.16862746f, 0.83137256f, 1f) /* #512BD4 */; | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(color!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 6, 10); | |
| var style1 = new global::Microsoft.Maui.Controls.Style(typeof(global::Microsoft.Maui.Controls.Label)); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(style1!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 7, 10); | |
| var style3 = new global::Microsoft.Maui.Controls.Style(typeof(global::Microsoft.Maui.Controls.Button)); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(style3!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 12, 10); | |
| var style5 = new global::Microsoft.Maui.Controls.Style(typeof(global::Microsoft.Maui.Controls.Entry)); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(style5!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 18, 10); | |
| var __root = this; | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(__root!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 2, 2); | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope = global::Microsoft.Maui.Controls.Internals.NameScope.GetNameScope(__root) ?? new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.NameScope.SetNameScope(__root, iNameScope); | |
| #endif | |
| var resourceDictionary = __root.Resources; | |
| resourceDictionary.AddFactory("Primary", () => | |
| { | |
| var color1 = new global::Microsoft.Maui.Graphics.Color(0.31764707f, 0.16862746f, 0.83137256f, 1f) /* #512BD4 */; | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(color1!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 6, 10); | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope1 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| return color1; | |
| }, shared: true); | |
| resourceDictionary.AddFactory(typeof(global::Microsoft.Maui.Controls.Label), () => | |
| { | |
| var staticResourceExtension = new global::Microsoft.Maui.Controls.Xaml.StaticResourceExtension(); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(staticResourceExtension!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 8, 42); | |
| var setter = new global::Microsoft.Maui.Controls.Setter(); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 8, 14); | |
| var style7 = new global::Microsoft.Maui.Controls.Style(typeof(global::Microsoft.Maui.Controls.Label)); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(style7!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 7, 10); | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope2 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope3 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope4 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope5 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| setter.Property = global::Microsoft.Maui.Controls.Label.TextColorProperty; | |
| staticResourceExtension.Key = "Primary"; | |
| var xamlServiceProvider = new global::Microsoft.Maui.Controls.Xaml.Internals.XamlServiceProvider(this); | |
| var iProvideValueTarget = new global::Microsoft.Maui.Controls.Xaml.Internals.SimpleValueTargetProvider( | |
| new object?[] {setter, style7, style1, __root}, | |
| typeof(global::Microsoft.Maui.Controls.Setter).GetProperty("Value"), | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| new [] { iNameScope3, iNameScope }, | |
| #else | |
| null, | |
| #endif | |
| this); | |
| xamlServiceProvider.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IReferenceProvider), iProvideValueTarget); | |
| xamlServiceProvider.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IProvideValueTarget), iProvideValueTarget); | |
| xamlServiceProvider.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IXmlLineInfoProvider), new global::Microsoft.Maui.Controls.Xaml.Internals.XmlLineInfoProvider(new global::Microsoft.Maui.Controls.Xaml.XmlLineInfo(8, 42))); | |
| var object0 = (object)((global::Microsoft.Maui.Controls.Xaml.IMarkupExtension)staticResourceExtension).ProvideValue(xamlServiceProvider); | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(object0!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(object0!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 8, 42); | |
| setter.Value = (object)object0; | |
| var setter1 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Label.TextColorProperty, Value = object0}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter1!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter1!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 8, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style7.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter1); | |
| var setter2 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Label.FontSizeProperty, Value = 16D}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter2!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter2!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 9, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style7.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter2); | |
| var setter3 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Label.PaddingProperty, Value = new global::Microsoft.Maui.Thickness(10)}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter3!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter3!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 10, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style7.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter3); | |
| return style7; | |
| }, shared: true); | |
| resourceDictionary.AddFactory(typeof(global::Microsoft.Maui.Controls.Button), () => | |
| { | |
| var staticResourceExtension1 = new global::Microsoft.Maui.Controls.Xaml.StaticResourceExtension(); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(staticResourceExtension1!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 13, 48); | |
| var setter4 = new global::Microsoft.Maui.Controls.Setter(); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter4!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 13, 14); | |
| var style9 = new global::Microsoft.Maui.Controls.Style(typeof(global::Microsoft.Maui.Controls.Button)); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(style9!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 12, 10); | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope6 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope7 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope8 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope9 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope10 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| setter4.Property = global::Microsoft.Maui.Controls.VisualElement.BackgroundColorProperty; | |
| staticResourceExtension1.Key = "Primary"; | |
| var xamlServiceProvider1 = new global::Microsoft.Maui.Controls.Xaml.Internals.XamlServiceProvider(this); | |
| var iProvideValueTarget1 = new global::Microsoft.Maui.Controls.Xaml.Internals.SimpleValueTargetProvider( | |
| new object?[] {setter4, style9, style3, __root}, | |
| typeof(global::Microsoft.Maui.Controls.Setter).GetProperty("Value"), | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| new [] { iNameScope7, iNameScope }, | |
| #else | |
| null, | |
| #endif | |
| this); | |
| xamlServiceProvider1.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IReferenceProvider), iProvideValueTarget1); | |
| xamlServiceProvider1.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IProvideValueTarget), iProvideValueTarget1); | |
| xamlServiceProvider1.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IXmlLineInfoProvider), new global::Microsoft.Maui.Controls.Xaml.Internals.XmlLineInfoProvider(new global::Microsoft.Maui.Controls.Xaml.XmlLineInfo(13, 48))); | |
| var object1 = (object)((global::Microsoft.Maui.Controls.Xaml.IMarkupExtension)staticResourceExtension1).ProvideValue(xamlServiceProvider1); | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(object1!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(object1!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 13, 48); | |
| setter4.Value = (object)object1; | |
| var setter5 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.VisualElement.BackgroundColorProperty, Value = object1}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter5!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter5!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 13, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style9.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter5); | |
| var setter6 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Button.TextColorProperty, Value = global::Microsoft.Maui.Graphics.Colors.White}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter6!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter6!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 14, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style9.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter6); | |
| var setter7 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Button.CornerRadiusProperty, Value = 8}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter7!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter7!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 15, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style9.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter7); | |
| var setter8 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Button.PaddingProperty, Value = new global::Microsoft.Maui.Thickness(12, 8)}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter8!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter8!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 16, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style9.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter8); | |
| return style9; | |
| }, shared: true); | |
| resourceDictionary.AddFactory(typeof(global::Microsoft.Maui.Controls.Entry), () => | |
| { | |
| var staticResourceExtension2 = new global::Microsoft.Maui.Controls.Xaml.StaticResourceExtension(); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(staticResourceExtension2!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 19, 42); | |
| var setter9 = new global::Microsoft.Maui.Controls.Setter(); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter9!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 19, 14); | |
| var style11 = new global::Microsoft.Maui.Controls.Style(typeof(global::Microsoft.Maui.Controls.Entry)); | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(style11!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 18, 10); | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope11 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope12 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope13 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| global::Microsoft.Maui.Controls.Internals.INameScope iNameScope14 = new global::Microsoft.Maui.Controls.Internals.NameScope(); | |
| #endif | |
| setter9.Property = global::Microsoft.Maui.Controls.Entry.TextColorProperty; | |
| staticResourceExtension2.Key = "Primary"; | |
| var xamlServiceProvider2 = new global::Microsoft.Maui.Controls.Xaml.Internals.XamlServiceProvider(this); | |
| var iProvideValueTarget2 = new global::Microsoft.Maui.Controls.Xaml.Internals.SimpleValueTargetProvider( | |
| new object?[] {setter9, style11, style5, __root}, | |
| typeof(global::Microsoft.Maui.Controls.Setter).GetProperty("Value"), | |
| #if !_MAUIXAML_SG_NAMESCOPE_DISABLE | |
| new [] { iNameScope12, iNameScope }, | |
| #else | |
| null, | |
| #endif | |
| this); | |
| xamlServiceProvider2.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IReferenceProvider), iProvideValueTarget2); | |
| xamlServiceProvider2.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IProvideValueTarget), iProvideValueTarget2); | |
| xamlServiceProvider2.Add(typeof(global::Microsoft.Maui.Controls.Xaml.IXmlLineInfoProvider), new global::Microsoft.Maui.Controls.Xaml.Internals.XmlLineInfoProvider(new global::Microsoft.Maui.Controls.Xaml.XmlLineInfo(19, 42))); | |
| var object2 = (object)((global::Microsoft.Maui.Controls.Xaml.IMarkupExtension)staticResourceExtension2).ProvideValue(xamlServiceProvider2); | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(object2!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(object2!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 19, 42); | |
| setter9.Value = (object)object2; | |
| var setter10 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Entry.TextColorProperty, Value = object2}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter10!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter10!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 19, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style11.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter10); | |
| var setter11 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Entry.PlaceholderColorProperty, Value = global::Microsoft.Maui.Graphics.Colors.Gray}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter11!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter11!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 20, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style11.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter11); | |
| var setter12 = new global::Microsoft.Maui.Controls.Setter {Property = global::Microsoft.Maui.Controls.Entry.FontSizeProperty, Value = 14D}; | |
| if (global::Microsoft.Maui.VisualDiagnostics.GetSourceInfo(setter12!) == null) | |
| global::Microsoft.Maui.VisualDiagnostics.RegisterSourceInfo(setter12!, new global::System.Uri(@"BenchmarkMini.xaml;assembly=Microsoft.Maui.Controls.Xaml.UnitTests", global::System.UriKind.Relative), 21, 14); | |
| ((global::System.Collections.Generic.ICollection<global::Microsoft.Maui.Controls.Setter>)style11.Setters).Add((global::Microsoft.Maui.Controls.Setter)setter12); | |
| return style11; | |
| }, shared: true); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment