Base:
property
Length
System.IO.Stream.Length
1 override of Length
mscorlib (1)
system\io\isolatedstorage\isolatedstoragefilestream.cs (1)
320
public override long
Length
{
59 references to Length
mscorlib (16)
system\activationcontext.cs (1)
447
int bufferSize = (int)fs.
Length
;
system\io\file.cs (1)
921
long fileLength = fs.
Length
;
system\io\filestream.cs (2)
2031
long len =
Length
;
2286
long len =
Length
;
system\io\isolatedstorage\isolatedstoragefile.cs (1)
2764
int length = (int) fs.
Length
;
system\io\isolatedstorage\isolatedstoragefilestream.cs (9)
273
newFileSize = IsolatedStorageFile.RoundToBlockSize((ulong)m_fs.
Length
);
322
return m_fs.
Length
;
427
ulong oldLen = (ulong)m_fs.
Length
;
571
oldLen = (ulong) m_fs.
Length
;
582
newLen = (ulong)((m_fs.
Length
+ offset) < 0 ? 0 : (m_fs.
Length
+ offset));
629
ulong oldLen = (ulong)m_fs.
Length
;
667
ulong oldLen = (ulong)m_fs.
Length
;
722
ulong oldLen = (ulong)m_fs.
Length
;
system\reflection\strongnamekeypair.cs (1)
65
int length = (int)keyPairFile.
Length
;
system\security\policy\policylevel.cs (1)
809
int size = (int) stream.
Length
;
PresentationBuildTasks (3)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
67
long length = _sourceStream.
Length
;
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
654
if (fileStream.
Length
> int.MaxValue)
659
int size = (int)fileStream.
Length
;
System (9)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
3469
int fileLen = (int)fs.
Length
;
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
2911
int fileLen = (int)fs.
Length
;
2950
long fileLength = stream.
Length
;
compmod\system\codedom\compiler\CodeCompiler.cs (2)
378
if (outputStream.
Length
> 0) {
404
int fileLen = (int)fs.
Length
;
net\System\Net\webclient.cs (4)
643
m_ContentLength = fs.
Length
+ formHeaderBytes.Length + boundaryBytes.Length;
644
buffSize = (int)Math.Min((long)DefaultCopyBufferLength, fs.
Length
);
656
m_ContentLength = fs.
Length
;
657
buffSize = (int) Math.Min((long) DefaultCopyBufferLength, fs.
Length
);
System.Core (8)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (8)
150
if (capacity == 0 && fileStream.
Length
== 0) {
155
if (access == MemoryMappedFileAccess.Read && capacity > fileStream.
Length
) {
161
capacity = fileStream.
Length
;
165
if (fileStream.
Length
> capacity) {
208
if (capacity == 0 && fileStream.
Length
== 0) {
221
if (access == MemoryMappedFileAccess.Read && capacity > fileStream.
Length
) {
233
capacity = fileStream.
Length
;
237
if (fileStream.
Length
> capacity) {
System.Data (2)
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (1)
289
long length = fstream.
Length
;
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
237
return m_fs.
Length
;
System.Drawing (1)
commonui\System\Drawing\Icon.cs (1)
103
iconData = new byte[(int)f.
Length
];
System.Web (11)
Hosting\IIS7WorkerRequest.cs (1)
1005
long fileSize = f.
Length
;
Hosting\ISAPIWorkerRequest.cs (3)
810
long fileSize = f.
Length
;
1386
Debug.Assert((f.
Length
- offset) == length);
1387
int size = (int) (f.
Length
- offset);
HttpResponse.cs (4)
2772
long size = f.
Length
;
2817
size = f.
Length
;
2849
long fileSize = f.
Length
;
2927
long fileSize = f.
Length
;
HttpRuntime.cs (2)
1255
if (fs.
Length
<= MaxAppOfflineFileLength) {
1256
int length = (int)fs.
Length
;
HttpWriter.cs (1)
472
long fileSize = f.
Length
;
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
1605
byte[] fileData = new byte[fileStream.
Length
];
System.Windows.Forms (4)
winforms\Managed\System\Resources\ResXFileRef.cs (2)
309
temp = new byte[s.
Length
];
310
s.Read(temp, 0, (int)s.
Length
);
winforms\Managed\System\WinForms\Cursor.cs (2)
125
cursorData = new byte[f.
Length
];
126
f.Read(cursorData, 0, Convert.ToInt32(f.
Length
)); // assume that a cursor is less than 4gig...
System.WorkflowServices (4)
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (4)
65
this.workflowDefinition = new byte[workflowDefStream.
Length
];
66
workflowDefStream.Read(workflowDefinition, 0, (int) workflowDefStream.
Length
);
70
this.ruleDefinition = new byte[ruleDefStream.
Length
];
71
ruleDefStream.Read(this.ruleDefinition, 0, (int) ruleDefStream.
Length
);