Skip to content

Replace uses of Locations[0] and Locations.First() #29707

@jcouv

Description

@jcouv

We should replace them with an extension method that handles Locations being an empty array: FirstOrNone().

Relates to #29180

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions