47 references to ReadFromStream
Microsoft.Build (28)
BackEnd\Components\Caching\ResultsCache.cs (1)
254
if (translator.Mode == TranslationDirection.
ReadFromStream
)
BackEnd\Components\Communications\LogMessagePacket.cs (1)
66
if (translator.Mode == TranslationDirection.
ReadFromStream
)
BackEnd\Components\Communications\TranslatorExtensions.cs (2)
37
if (translator.Mode == TranslationDirection.
ReadFromStream
)
103
if (translator.Mode == TranslationDirection.
ReadFromStream
)
BackEnd\Components\SdkResolution\TranslationHelpers.cs (2)
31
if (t.Mode == TranslationDirection.
ReadFromStream
)
51
if (t.Mode == TranslationDirection.
ReadFromStream
)
BackEnd\Shared\BuildRequestConfiguration.cs (2)
746
using ITranslator translator = GetConfigurationTranslator(TranslationDirection.
ReadFromStream
, stream);
935
if (translator.Mode == TranslationDirection.
ReadFromStream
&& _transferredState?.TranslateEntireState == true)
BackEnd\Shared\BuildResult.cs (1)
660
else if (translator.Mode == TranslationDirection.
ReadFromStream
)
BackEnd\Shared\TargetResult.cs (1)
292
using ITranslator translator = GetResultsCacheTranslator(TranslationDirection.
ReadFromStream
, stream);
Instance\HostServices.cs (1)
309
if (translator.Mode == TranslationDirection.
ReadFromStream
)
Instance\ProjectInstance.cs (2)
2451
if (translator.Mode == TranslationDirection.
ReadFromStream
)
2487
if (translator.Mode == TranslationDirection.
ReadFromStream
)
Instance\ProjectPropertyInstance.cs (1)
273
ErrorUtilities.VerifyThrow(translator.Mode == TranslationDirection.
ReadFromStream
, "read only");
Instance\ProjectTargetInstance.cs (1)
578
if (translator.Mode == TranslationDirection.
ReadFromStream
)
Instance\ProjectTaskInstance.cs (1)
385
if (translator.Mode == TranslationDirection.
ReadFromStream
&& localParameters != null)
Instance\TaskRegistry.cs (3)
1057
if (translator.Mode == TranslationDirection.
ReadFromStream
&& taskIdentityParameters != null)
1822
if (translator.Mode == TranslationDirection.
ReadFromStream
&& localParameters != null)
1844
if (translator.Mode == TranslationDirection.
ReadFromStream
)
LogMessagePacketBase.cs (1)
407
if (translator.Mode == TranslationDirection.
ReadFromStream
)
TaskParameter.cs (3)
463
ErrorUtilities.VerifyThrow(translator.Mode == TranslationDirection.
ReadFromStream
, "Cannot call this method when writing!");
569
if (translator.Mode == TranslationDirection.
ReadFromStream
)
672
if (translator.Mode == TranslationDirection.
ReadFromStream
)
TranslatorHelpers.cs (5)
38
if (translator.Mode == TranslationDirection.
ReadFromStream
)
131
if (translator.Mode == TranslationDirection.
ReadFromStream
)
168
if (translator.Mode == TranslationDirection.
ReadFromStream
)
199
if (translator.Mode == TranslationDirection.
ReadFromStream
)
262
if (translator.Mode == TranslationDirection.
ReadFromStream
)
Microsoft.Build.Engine.UnitTests (2)
BackEnd\BinaryTranslator_Tests.cs (2)
41
Assert.Equal(TranslationDirection.
ReadFromStream
, readTranslator.Mode);
175
TranslationDirection value = TranslationDirection.
ReadFromStream
;
Microsoft.Build.Framework (1)
BinaryTranslator.cs (1)
115
{ return TranslationDirection.
ReadFromStream
; }
Microsoft.Build.Tasks.Core (6)
TaskTranslatorHelpers.cs (1)
36
if (translator.Mode == TranslationDirection.
ReadFromStream
)
TranslatorHelpers.cs (5)
38
if (translator.Mode == TranslationDirection.
ReadFromStream
)
131
if (translator.Mode == TranslationDirection.
ReadFromStream
)
168
if (translator.Mode == TranslationDirection.
ReadFromStream
)
199
if (translator.Mode == TranslationDirection.
ReadFromStream
)
262
if (translator.Mode == TranslationDirection.
ReadFromStream
)
MSBuild (10)
LogMessagePacketBase.cs (1)
407
if (translator.Mode == TranslationDirection.
ReadFromStream
)
TaskHostConfiguration.cs (1)
430
if (translator.Mode == TranslationDirection.
ReadFromStream
)
TaskParameter.cs (3)
463
ErrorUtilities.VerifyThrow(translator.Mode == TranslationDirection.
ReadFromStream
, "Cannot call this method when writing!");
569
if (translator.Mode == TranslationDirection.
ReadFromStream
)
672
if (translator.Mode == TranslationDirection.
ReadFromStream
)
TranslatorHelpers.cs (5)
38
if (translator.Mode == TranslationDirection.
ReadFromStream
)
131
if (translator.Mode == TranslationDirection.
ReadFromStream
)
168
if (translator.Mode == TranslationDirection.
ReadFromStream
)
199
if (translator.Mode == TranslationDirection.
ReadFromStream
)
262
if (translator.Mode == TranslationDirection.
ReadFromStream
)