Base:
12 references to Length
Microsoft.CodeAnalysis.Workspaces (4)
SerializableBytes.cs (3)
229
if (this.
Length
== 0)
234
var array = new byte[this.
Length
];
244
var count = checked((int)
Length
);
Serialization\SerializerService_Reference.cs (1)
466
length = stream.
Length
;
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
UtilityTest\SerializableBytesTests.cs (6)
28
Assert.Equal(expected.Length, stream.
Length
);
49
Assert.Equal(expected.Length, stream.
Length
);
66
Assert.Equal(index, stream.
Length
);
80
Assert.Equal(expected.Length, stream.
Length
);
128
Assert.Equal(expected.Length, stream.
Length
);
145
Assert.Equal(index, stream.
Length
);
WorkspaceServiceTests\TemporaryStorageServiceTests.cs (2)
61
Assert.Equal(data.
Length
, result.Length);
212
var fileCount = (int)((long)4 * 1024 * 1024 * 1024 / data.
Length
);