PostSharp 5.0 / / Post­Sharp Documentation / 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: 5.0.55.0 (5.0.55.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