Currently, StopSequences initialized with Array.Empty() are not deserialized correctly, resulting in an empty list even when values are provided in the configuration.
High level description
By changing the initialization to use new List(), we ensure that the StopSequences are properly deserialized from the configuration. For more details, I have created a issue: dotnet/runtime#103282.
Motivation and Context
Currently, StopSequences initialized with Array.Empty() are not deserialized correctly, resulting in an empty list even when values are provided in the configuration.
High level description
By changing the initialization to use new List(), we ensure that the StopSequences are properly deserialized from the configuration. For more details, I have created a issue: dotnet/runtime#103282.