50 references to ToInt32
mscorlib (6)
system\convert.cs (5)
677return ToSByte(ToInt32(value)); 781return ToByte(ToInt32(value)); 880return ToInt16(ToInt32(value)); 991return ToUInt16(ToInt32(value)); 1084return ToInt32((double)value);
system\double.cs (1)
334return Convert.ToInt32(m_value);
PresentationFramework (2)
src\Framework\System\windows\Documents\CaretElement.cs (1)
1160i = Convert.ToInt32(value);
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
2038i = Convert.ToInt32(value);
System.Activities.DurableInstancing (3)
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
74parameters.Add(new SqlParameter { ParameterName = "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
86parameters.Add(new SqlParameter { ParameterName = "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
47command.Parameters.Add(new SqlParameter { ParameterName = "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (2)
407int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints(previous.Location, (next != null) ? next.Location : this.activeEditPoint.Location)) / 4; 428int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints((previous != null) ? previous.Location : this.activeEditPoint.Location, next.Location)) / 4;
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (2)
407int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints(previous.Location, (next != null) ? next.Location : this.activeEditPoint.Location)) / 4; 428int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints((previous != null) ? previous.Location : this.activeEditPoint.Location, next.Location)) / 4;
System.ServiceModel (1)
System\ServiceModel\Dispatcher\XPathCompiler.cs (1)
413ordinal = Convert.ToInt32(numExpr.Number);
System.Web (1)
httpserverutility.cs (1)
907return Convert.ToInt32(_context.Timeout.TotalSeconds);
System.Workflow.Activities (2)
Designers\StateMachineDesignerPaint.cs (2)
47return new Size(Convert.ToInt32(Math.Ceiling(textSize.Width)), Convert.ToInt32(Math.Ceiling(textSize.Height)));
System.Workflow.ComponentModel (28)
AuthoringOM\Design\Connector.cs (2)
1130int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints(previous.Location, (next != null) ? next.Location : this.activeEditPoint.Location)) / 4; 1147int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints((previous != null) ? previous.Location : this.activeEditPoint.Location, next.Location)) / 4;
AuthoringOM\Design\DesignerHelpers.cs (4)
79return new Size(Convert.ToInt32(Math.Ceiling(textSize.Width)), Convert.ToInt32(Math.Ceiling(textSize.Height))); 505Rectangle bounds = new Rectangle(0, 0, Convert.ToInt32(Math.Ceiling(boundsF.Width)), Convert.ToInt32(Math.Ceiling(boundsF.Height)));
AuthoringOM\Design\DesignerWidgets.cs (9)
1342maxTextSize.Width = Math.Max(Convert.ToInt32(Math.Ceiling(size.Width)), maxTextSize.Width); 1343maxTextSize.Height = Math.Max(Convert.ToInt32(Math.Ceiling(size.Height)), maxTextSize.Height); 1978this.drawItems[i].TextSize = new Size(Convert.ToInt32(Math.Ceiling(sizef.Width)), Convert.ToInt32(Math.Ceiling(sizef.Height))); 2167int width = Convert.ToInt32((Math.Ceiling(textSize.Width) / 3)) * 30; 3386this.previewDescTextSize = new Size(Convert.ToInt32(Math.Ceiling(stringSize.Width)), Convert.ToInt32(Math.Ceiling(stringSize.Height))); 3464destnRectangle.Width = Convert.ToInt32(Math.Ceiling((float)previewedActivityImage.Width / stretchFactor)); 3465destnRectangle.Height = Convert.ToInt32(Math.Ceiling((float)previewedActivityImage.Height / stretchFactor));
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (1)
1237return Convert.ToInt32((double)uiValue * 100.0d); //in 1/100 of inch
AuthoringOM\Design\WorkflowLayouts.cs (4)
756this.pageSize.Width = Convert.ToInt32(Math.Ceiling(((float)this.pageSize.Width) / this.scaling)); 757this.pageSize.Height = Convert.ToInt32(Math.Ceiling(((float)this.pageSize.Height) / this.scaling)); 766PageSeparator = new Size(Convert.ToInt32(Math.Ceiling(((float)PageSeparator.Width) / this.scaling)), Convert.ToInt32(Math.Ceiling(((float)PageSeparator.Height) / this.scaling)));
AuthoringOM\Design\WorkflowPrinting.cs (8)
154viewPortSize.Width = Convert.ToInt32(Math.Ceiling((float)printableArea.Width / this.scaling)); 155viewPortSize.Height = Convert.ToInt32(Math.Ceiling((float)printableArea.Height / this.scaling)); 158scaledAlignment.X = Convert.ToInt32(Math.Ceiling((float)this.workflowAlignment.X / this.scaling)); 159scaledAlignment.Y = Convert.ToInt32(Math.Ceiling((float)this.workflowAlignment.Y / this.scaling)); 266layoutRectangle.Size = new Size(Convert.ToInt32(Math.Ceiling((stringSize.Width))), Convert.ToInt32(Math.Ceiling((stringSize.Height)))); 346this.totalPrintablePages.X = Convert.ToInt32(Math.Ceiling((this.scaling * (float)rootDesignerSize.Width) / (float)printableArea.Width)); 348this.totalPrintablePages.Y = Convert.ToInt32(Math.Ceiling((this.scaling * (float)rootDesignerSize.Height) / (float)printableArea.Height));
System.WorkflowServices (2)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (2)
200return Convert.ToInt32(this.lockTimeout.TotalSeconds); 302return Convert.ToInt32(timeout.TotalSeconds);
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsSlider.cs (1)
179int newVal = Convert.ToInt32 (val);