12 references to SeparatorState
System.Text.Json.SourceGeneration (12)
src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (12)
45SeparatorState state = SeparatorState.NotStarted; 62case SeparatorState.NotStarted: 65case SeparatorState.LowercaseLetterOrDigit: 66case SeparatorState.SpaceSeparator: 72case SeparatorState.UppercaseLetter: 95state = SeparatorState.UppercaseLetter; 101if (state is SeparatorState.SpaceSeparator) 113state = SeparatorState.LowercaseLetterOrDigit; 119if (state != SeparatorState.NotStarted) 121state = SeparatorState.SpaceSeparator; 131state = SeparatorState.NotStarted;