Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Attributes.fs « mdoc.Test.FSharp « mdoc.Test « mdoc - github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65cf8cbb98f68433139eca1226048e904dafec51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module Attributes

open System


type OwnerAttribute(name : string) =
    inherit System.Attribute()

type CompanyAttribute(name : string) =
    inherit System.Attribute()


[<Owner("Jason Carlson")>]
[<Company("Microsoft")>]
type SomeType1 = class end



[<AttributeUsage(AttributeTargets.Event ||| AttributeTargets.Module ||| AttributeTargets.Delegate, AllowMultiple = false)>]
type TypeWithFlagAttribute = class
    member this.X = "F#"
end