2 writes to Min
Microsoft.Build.Tasks.Core (2)
XamlTaskFactory\Property.cs (1)
210Min = Min,
XamlTaskFactory\TaskParser.cs (1)
490parameter.Min = intProperty.MinValue?.ToString();
7 references to Min
Microsoft.Build.Tasks.Core (7)
XamlTaskFactory\CommandLineGenerator.cs (2)
96if (!String.IsNullOrEmpty(property.Min)) 98if (switchToAdd.Number < Convert.ToInt32(property.Min, System.Threading.Thread.CurrentThread.CurrentCulture))
XamlTaskFactory\Property.cs (1)
210Min = Min,
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()]; 770else if (!String.IsNullOrEmpty(property.Min)) 772parameters = [new CodeSnippetExpression(SurroundWithQuotes(name)), new CodePrimitiveExpression(Int32.Parse(property.Min, CultureInfo.CurrentCulture)), new CodeSnippetExpression("Int32.MaxValue"), new CodePropertySetValueReferenceExpression()];