Header menu logo F# Compiler Guide

SynAttribute Type

Represents an attribute

Record fields

Record Field Description

AppliesToGetterAndSetter

Full Usage: AppliesToGetterAndSetter

Field type: bool

Is this attribute being applied to a property getter or setter?

Field type: bool

ArgExpr

Full Usage: ArgExpr

Field type: SynExpr

The argument of the attribute, perhaps a tuple

Field type: SynExpr

Range

Full Usage: Range

Field type: range

The syntax range of the attribute

Field type: range

Target

Full Usage: Target

Field type: Ident option

Target specifier, e.g. "assembly", "module", etc.

Field type: Ident option

TypeName

Full Usage: TypeName

Field type: SynLongIdent

The name of the type for the attribute

Field type: SynLongIdent

Type something to start searching.