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