From 1ecd7cbbbf0385858189f08394cf25e8db528e49 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Fri, 8 Mar 2024 23:01:10 +0000 Subject: [PATCH 1/2] Add System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers in a couple more places --- src/Avalonia.FuncUI/Types.fs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Avalonia.FuncUI/Types.fs b/src/Avalonia.FuncUI/Types.fs index 23e817a8..c464eb0a 100644 --- a/src/Avalonia.FuncUI/Types.fs +++ b/src/Avalonia.FuncUI/Types.fs @@ -1,12 +1,12 @@ -namespace rec Avalonia.FuncUI +namespace Avalonia.FuncUI open Avalonia open Avalonia.Controls open System open System.Threading -open Avalonia.Data +open System.Diagnostics.CodeAnalysis -module Types = +module rec Types = [] type PropertyAccessor = @@ -153,11 +153,11 @@ module Types = abstract member ConstructorArgs: obj array with get abstract member Outlet: (AvaloniaObject -> unit) voption with get - type IView<'viewType> = + type IView<[]'viewType> = inherit IView abstract member Attrs: IAttr<'viewType> list with get - type View<'viewType> = + type View<[]'viewType> = { ViewType: Type ViewKey: string voption Attrs: IAttr<'viewType> list From ef61af92c055e3d737a44aecf0831ff56b5f6b95 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sun, 10 Mar 2024 23:20:06 +0000 Subject: [PATCH 2/2] Mark 'Bogus' as a root assembly in the contact book sample --- .../Examples.ContactBook/Examples.ContactBook.fsproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Examples/Component Examples/Examples.ContactBook/Examples.ContactBook.fsproj b/src/Examples/Component Examples/Examples.ContactBook/Examples.ContactBook.fsproj index 26e5b076..f3f0fabc 100644 --- a/src/Examples/Component Examples/Examples.ContactBook/Examples.ContactBook.fsproj +++ b/src/Examples/Component Examples/Examples.ContactBook/Examples.ContactBook.fsproj @@ -26,6 +26,7 @@ +