Share via


CompilerServices.TypeProviderDefinitionLocationAttribute Class (F#)

Specifies the source location of a type provider definition, for use in error messages.

Namespace/Module Path: Microsoft.FSharp.Core.CompilerServices

Assembly: FSharp.Core (in FSharp.Core.dll)

[<AttributeUsage(32767, AllowMultiple = false)>]
type TypeProviderDefinitionLocationAttribute =
 class
  new TypeProviderDefinitionLocationAttribute : unit -> TypeProviderDefinitionLocationAttribute
  member this.Column : int with get, set
  member this.FilePath : string with get, set
  member this.Line : int with get, set
  member this.FilePath : string with get, set
  member this.Line  : int with get, set
 end

Remarks

You can also use the short form of the name, TypeProviderDefinitionLocation.

Constructors

Member

Description

new

Creates an instance of the attribute.

Instance Members

Member

Description

Column : int

Specifies the column of the type provider definition.

FilePath : string

Specifies the file and path of the type provider definition.

Line : int

Specifies the line number of the type provider definition.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Reference

Microsoft.FSharp.Core.CompilerServices Namespace (F#)