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