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