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