Base:
13 references to Length
Microsoft.CodeAnalysis.Remote.Workspaces (1)
RemoteHostAssetWriter.cs (1)
182
var length = tempStream.
Length
;
Microsoft.CodeAnalysis.Workspaces (4)
Serialization\SerializerService_Reference.cs (1)
444
var length = stream.
Length
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (3)
210
if (this.
Length
== 0)
215
var array = new byte[this.
Length
];
225
var count = checked((int)
Length
);
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
UtilityTest\SerializableBytesTests.cs (6)
26
Assert.Equal(expected.Length, stream.
Length
);
47
Assert.Equal(expected.Length, stream.
Length
);
64
Assert.Equal(index, stream.
Length
);
78
Assert.Equal(expected.Length, stream.
Length
);
126
Assert.Equal(expected.Length, stream.
Length
);
143
Assert.Equal(index, stream.
Length
);
WorkspaceServiceTests\TemporaryStorageServiceTests.cs (2)
66
Assert.Equal(data.
Length
, result.Length);
161
var fileCount = (int)((long)4 * 1024 * 1024 * 1024 / data.
Length
);