2 writes to Max
Microsoft.Build.Tasks.Core (2)
XamlTaskFactory\Property.cs (1)
209Max = Max,
XamlTaskFactory\TaskParser.cs (1)
489parameter.Max = intProperty.MaxValue?.ToString();
7 references to Max
Microsoft.Build.Tasks.Core (7)
XamlTaskFactory\CommandLineGenerator.cs (2)
104if (!String.IsNullOrEmpty(property.Max)) 106if (switchToAdd.Number > Convert.ToInt32(property.Max, System.Threading.Thread.CurrentThread.CurrentCulture))
XamlTaskFactory\Property.cs (1)
209Max = Max,
XamlTaskFactory\TaskGenerator.cs (4)
766if (!String.IsNullOrEmpty(property.Min) && !String.IsNullOrEmpty(property.Max)) 768parameters = [new CodeSnippetExpression(SurroundWithQuotes(name)), new CodePrimitiveExpression(Int32.Parse(property.Min, CultureInfo.CurrentCulture)), new CodePrimitiveExpression(Int32.Parse(property.Max, CultureInfo.CurrentCulture)), new CodePropertySetValueReferenceExpression()]; 774else if (!String.IsNullOrEmpty(property.Max)) 776parameters = [new CodeSnippetExpression(SurroundWithQuotes(name)), new CodeSnippetExpression("Int32.MinValue"), new CodePrimitiveExpression(Int32.Parse(property.Max, CultureInfo.CurrentCulture)), new CodePropertySetValueReferenceExpression()];