34 references to BinaryTranslator
Microsoft.Build (14)
BackEnd\BuildManager\CacheSerialization.cs (2)
38
var translator =
BinaryTranslator
.GetWriteTranslator(fileStream);
124
using var translator =
BinaryTranslator
.GetReadTranslator(fileStream, InterningBinaryReader.PoolingBuffer);
BackEnd\Client\MSBuildClient.cs (1)
653
ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(memoryStream);
BackEnd\Client\MSBuildClientPacketPump.cs (1)
90
_binaryReadTranslator =
BinaryTranslator
.GetReadTranslator(_readBufferMemoryStream, InterningBinaryReader.CreateSharedBuffer());
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (2)
759
ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(writeStream);
985
ITranslator readTranslator =
BinaryTranslator
.GetReadTranslator(packetStream, _binaryReaderFactory);
BackEnd\Shared\BuildRequestConfiguration.cs (2)
1071
?
BinaryTranslator
.GetWriteTranslator(stream)
1073
:
BinaryTranslator
.GetReadTranslator(stream, InterningBinaryReader.PoolingBuffer);
BackEnd\Shared\TargetResult.cs (4)
313
var itemTranslator =
BinaryTranslator
.GetWriteTranslator(itemsStream);
340
using var itemTranslator =
BinaryTranslator
.GetReadTranslator(itemsStream, InterningBinaryReader.PoolingBuffer);
354
?
BinaryTranslator
.GetWriteTranslator(stream)
355
:
BinaryTranslator
.GetReadTranslator(stream, InterningBinaryReader.PoolingBuffer);
NodeEndpointOutOfProcBase.cs (2)
600
_packetFactory.DeserializeAndRoutePacket(0, packetType,
BinaryTranslator
.GetReadTranslator(localReadPipe, _sharedReadBuffer));
632
ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(packetStream);
Microsoft.Build.Engine.UnitTests (8)
AssemblyNameEx_Tests.cs (4)
686
ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(serializationStream);
691
ITranslator readTranslator =
BinaryTranslator
.GetReadTranslator(serializationStream, InterningBinaryReader.PoolingBuffer);
710
ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(serializationStream);
715
ITranslator readTranslator =
BinaryTranslator
.GetReadTranslator(serializationStream, InterningBinaryReader.PoolingBuffer);
BackEnd\BinaryTranslator_Tests.cs (2)
40
using ITranslator readTranslator =
BinaryTranslator
.GetReadTranslator(stream, InterningBinaryReader.PoolingBuffer);
43
using ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(stream);
BackEnd\TranslationHelpers.cs (2)
34
return
BinaryTranslator
.GetWriteTranslator(s_serializationStream);
44
return
BinaryTranslator
.GetReadTranslator(s_serializationStream, InterningBinaryReader.PoolingBuffer);
Microsoft.Build.Tasks.Core (4)
GetSDKReferenceFiles.cs (2)
934
using var translator =
BinaryTranslator
.GetReadTranslator(fs, InterningBinaryReader.PoolingBuffer);
979
var translator =
BinaryTranslator
.GetWriteTranslator(fs);
StateFileBase.cs (2)
54
var translator =
BinaryTranslator
.GetWriteTranslator(s);
87
using var translator =
BinaryTranslator
.GetReadTranslator(s, InterningBinaryReader.PoolingBuffer);
Microsoft.Build.Tasks.UnitTests (6)
AssemblyDependency\TaskTranslatorHelpers.cs (2)
62
return
BinaryTranslator
.GetReadTranslator(_serializationStream, InterningBinaryReader.PoolingBuffer);
68
return
BinaryTranslator
.GetWriteTranslator(_serializationStream);
AssemblyNameEx_Tests.cs (4)
686
ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(serializationStream);
691
ITranslator readTranslator =
BinaryTranslator
.GetReadTranslator(serializationStream, InterningBinaryReader.PoolingBuffer);
710
ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(serializationStream);
715
ITranslator readTranslator =
BinaryTranslator
.GetReadTranslator(serializationStream, InterningBinaryReader.PoolingBuffer);
MSBuild (2)
NodeEndpointOutOfProcBase.cs (2)
600
_packetFactory.DeserializeAndRoutePacket(0, packetType,
BinaryTranslator
.GetReadTranslator(localReadPipe, _sharedReadBuffer));
632
ITranslator writeTranslator =
BinaryTranslator
.GetWriteTranslator(packetStream);