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