5 references to GetLengthOfSwitchIndicator
Microsoft.Build.CommandLine.UnitTests (4)
XMake_Tests.cs (4)
556
CommandLineParser.
GetLengthOfSwitchIndicator
(commandLineSwitchWithSlash).ShouldBe(1);
557
CommandLineParser.
GetLengthOfSwitchIndicator
(commandLineSwitchWithSingleDash).ShouldBe(1);
558
CommandLineParser.
GetLengthOfSwitchIndicator
(commandLineSwitchWithDoubleDash).ShouldBe(2);
560
CommandLineParser.
GetLengthOfSwitchIndicator
(commandLineSwitchWithNoneOrIncorrectIndicator).ShouldBe(0);
MSBuild (1)
CommandLine\CommandLineParser.cs (1)
159
int switchIndicatorsLength =
GetLengthOfSwitchIndicator
(unquotedCommandLineArg);