- 
                Notifications
    You must be signed in to change notification settings 
- Fork 834
Closed
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.good first issuehelp wanted
Milestone
Description
open System
[<AttributeUsage(AttributeTargets.Class)>]
type CustomClassAttribute() =
    inherit Attribute()
[<AttributeUsage(AttributeTargets.Struct)>]
type CustomStructAttribute() =
    inherit Attribute()
[<AttributeUsage(AttributeTargets.Method)>]
type CustomMethodAttribute() =
    inherit Attribute()
[<CustomClass; CustomStruct; CustomMethod>]
type Class() = class end
[<CustomClass; CustomStruct; CustomMethod>]
type Struct(x: int) = struct endStruct and class attributes seem to be allowed to be used interchangeably:
edgarfgp
Metadata
Metadata
Assignees
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.good first issuehelp wanted
Type
Projects
Status
Done
