19 references to ToInt32
mscorlib (1)
system\int64.cs (1)
185return Convert.ToInt32(m_value);
System.Activities.DurableInstancing (3)
System\Activities\DurableInstancing\DefaultObjectSerializer.cs (2)
46return new ArraySegment<byte>(memoryStream.GetBuffer(), 0, Convert.ToInt32(memoryStream.Length)); 55return new ArraySegment<byte>(memoryStream.GetBuffer(), 0, Convert.ToInt32(memoryStream.Length));
System\Activities\DurableInstancing\SerializationUtilities.cs (1)
36Buffer.BlockCopy(correlationKey.BinaryData.Array, 0, concatenatedBlob, Convert.ToInt32(insertLocation), Convert.ToInt32(correlationKey.BinaryData.Count));
System.Web (10)
Cache\OutputCache.cs (1)
260int size = System.Convert.ToInt32(mre.Length);
Hosting\ISAPIWorkerRequest.cs (4)
1378int offset = Convert.ToInt32(offset64); 1379int length = Convert.ToInt32(length64); 2921int offset = Convert.ToInt32(offset64); 2922int length = Convert.ToInt32(length64);
HttpResponse.cs (1)
549return (_httpWriter != null) ? Convert.ToInt32(_httpWriter.GetBufferedLength()) : 0;
HttpWriter.cs (3)
1460_installedFilter.Write(buf.GetBytes(), 0, Convert.ToInt32(len)); 1518_installedFilter.Write(buf.GetBytes(), 0, Convert.ToInt32(len)); 1535_installedFilter.Write(buf.GetBytes(), 0, Convert.ToInt32(len));
WorkerRequest.cs (1)
1086SendCalculatedContentLength(Convert.ToInt32(contentLength));
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Cursor.cs (3)
92stream.Read(cursorData, 0, Convert.ToInt32(stream.Length)); // we assume that a cursor is less than 4gig big 126f.Read(cursorData, 0, Convert.ToInt32(f.Length)); // assume that a cursor is less than 4gig... 152stream.Read(cursorData, 0, Convert.ToInt32(stream.Length));// assume that a cursor is less than 4gig...
System.Workflow.Runtime (2)
Hosting\WorkflowPersistenceService.cs (1)
71Array.Resize<Byte>(ref result, Convert.ToInt32(compressedStream.Length));
System\Activities\Statements\InteropExecutor.cs (1)
388Array.Resize<byte>(ref this.persistedActivityData, Convert.ToInt32(stream.Length));