Romanization/Internal/DynamicReplacement.cs
Method Generate
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public string Generate(CasingMode casingMode, IList<string> captures)
{
if (captures.Count != ExpectedCaptureCount)
throw new CaptureCountMismatchException(
$"Number of captures provided ({captures.Count}) does not match the expected number ({ExpectedCaptureCount}).",