[Home] Type Microsoft.FSharp.Core.LiteralAttribute


Adding this attribute to a value causes it to be compiled as a .NET constant literal.

Full Type Signature

[<AttributeUsage (enum<AttributeTargets> (256))>]
type LiteralAttribute = class
                          inherit Attribute
                        end
                        with
                          new : unit -> LiteralAttribute
                        end

Static Members

MemberDescription
new : unit -> LiteralAttribute

See Also

Microsoft.FSharp.Core


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19