Skip to content

Commit

Permalink
Add System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers in a c…
Browse files Browse the repository at this point in the history
…ouple more places
  • Loading branch information
Numpsy committed Mar 8, 2024
1 parent 1d562ee commit 167e453
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Avalonia.FuncUI/Types.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ open Avalonia
open Avalonia.Controls
open System
open System.Threading
open Avalonia.Data
open System.Diagnostics.CodeAnalysis

module Types =

Expand Down Expand Up @@ -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<[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]'viewType> =
inherit IView
abstract member Attrs: IAttr<'viewType> list with get

type View<'viewType> =
type View<[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]'viewType> =
{ ViewType: Type
ViewKey: string voption
Attrs: IAttr<'viewType> list
Expand Down

0 comments on commit 167e453

Please sign in to comment.