9 references to NodeMode
Microsoft.Build.Framework (9)
NodeMode.cs (9)
46public static string ToCommandLineArgument(NodeMode nodeMode) => $"/nodemode:{(int)nodeMode}"; 54public static bool TryParse(string value, [NotNullWhen(true)] out NodeMode? nodeMode) 79private static bool TryParseImpl(string value, [NotNullWhen(true)] out NodeMode? nodeMode) 100if (Enum.IsDefined(typeof(NodeMode), intValue)) 102nodeMode = (NodeMode)intValue; 110if (Enum.TryParse(value, ignoreCase: true, out NodeMode enumValue) && Enum.IsDefined(typeof(NodeMode), enumValue)) 124public static NodeMode? ExtractFromCommandLine(string commandLine) 141if (TryParse(match.Groups["nodemode"].Value, out NodeMode? nodeMode))