PostSharp6.2/API Reference/Post­Sharp.​Reflection Namespace/Location­Info Class/Location­Info Methods/Location­Info.​To­Location­Info­Array Method/Location­Info.​To­Location­Info­Array Method (ICollection(Field­Info))

LocationInfo.ToLocationInfoArray Method (ICollection<FieldInfo>)

Converts a collection of FieldInfo into an array of LocationInfo.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
public static LocationInfo[] ToLocationInfoArray(
	ICollection<FieldInfo> fields
)

Parameters

fields
Type: System.Collections.Generic.ICollection<FieldInfo>
A collection of FieldInfo.

Return Value

Type: LocationInfo[]
An array of LocationInfo.
See Also