1 write to EscapeHatches
Microsoft.Build.Framework (1)
Traits.cs (1)
31
EscapeHatches
= new EscapeHatches();
50 references to EscapeHatches
Microsoft.Build (33)
BackEnd\Components\Communications\NodeLauncher.cs (3)
68
if (Traits.Instance.
EscapeHatches
.EnsureStdOutForChildNodesIsPrimaryStdout)
75
if (!Traits.Instance.
EscapeHatches
.EnsureStdOutForChildNodesIsPrimaryStdout)
106
if (!Traits.Instance.
EscapeHatches
.EnsureStdOutForChildNodesIsPrimaryStdout)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
116
Traits.Instance.
EscapeHatches
.EnsureStdOutForChildNodesIsPrimaryStdout;
BackEnd\Components\Logging\LoggingService.cs (2)
569
bool? escapeHatch = Traits.Instance.
EscapeHatches
.LogPropertiesAndItemsAfterEvaluation;
987
&& Traits.Instance.
EscapeHatches
.EnableWarningOnCustomBuildEvent)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupLoggingHelper.cs (1)
124
bool truncateTaskInputs = Traits.Instance.
EscapeHatches
.TruncateTaskInputs;
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
46
if (Traits.Instance.
EscapeHatches
.DisableSdkResolutionCache)
BackEnd\Node\OutOfProcNode.cs (1)
589
&& Traits.Instance.
EscapeHatches
.EnableWarningOnCustomBuildEvent)
BackEnd\Shared\BuildResult.cs (1)
86
private int _version = Traits.Instance.
EscapeHatches
.DoNotVersionBuildResult ? 0 : 1;
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
173
LogTaskInputs = Traits.Instance.
EscapeHatches
.LogTaskInputs;
BuildCheck\Infrastructure\CheckWrapper.cs (1)
38
private readonly bool _limitReportsNumber = !Traits.Instance.
EscapeHatches
.DoNotLimitBuildCheckResultsNumber;
CoreCLRAssemblyLoader.cs (1)
58
if (Traits.Instance.
EscapeHatches
.UseSingleLoadContext)
Definition\Project.cs (1)
3796
var canEvaluateElementsWithFalseConditions = Traits.Instance.
EscapeHatches
.EvaluateElementsWithFalseConditionInProjectEvaluation ?? !loadSettings.HasFlag(ProjectLoadSettings.DoNotEvaluateElementsWithFalseCondition);
Evaluation\Evaluator.cs (5)
627
_logProjectImportedEvents = Traits.Instance.
EscapeHatches
.LogProjectImports;
790
if (Traits.Instance.
EscapeHatches
.DebugEvaluation)
868
if (!Traits.Instance.
EscapeHatches
.IgnoreTreatAsLocalProperty)
1743
Traits.Instance.
EscapeHatches
.SdkReferencePropertyExpansion ??
2249
if (((_loadSettings & ProjectLoadSettings.IgnoreEmptyImports) != 0 || Traits.Instance.
EscapeHatches
.IgnoreEmptyImports) && ProjectRootElement.IsEmptyXmlFile(importFileUnescaped))
Evaluation\Expander.cs (1)
697
return (options & ExpanderOptions.Truncate) != 0 && !Traits.Instance.
EscapeHatches
.DoNotTruncateConditions;
Evaluation\LazyItemEvaluator.cs (2)
42
private Dictionary<string, LazyItemList> _itemLists = Traits.Instance.
EscapeHatches
.UseCaseSensitiveItemNames ?
468
public ImmutableDictionary<string, LazyItemList>.Builder ReferencedItemLists { get; } = Traits.Instance.
EscapeHatches
.UseCaseSensitiveItemNames ?
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
96
bool skipGlob = !_conditionResult && globFragment.IsFullFileSystemScan && !Traits.Instance.
EscapeHatches
.AlwaysEvaluateDangerousGlobs;
Evaluation\LazyItemEvaluator.UpdateOperation.cs (1)
116
&& !Traits.Instance.
EscapeHatches
.DoNotExpandQualifiedMetadataInUpdateOperation)
Evaluation\ProjectRootElementCache.cs (1)
179
if (!Traits.Instance.
EscapeHatches
.AlwaysDoImmutableFilesUpToDateCheck && FileClassifier.Shared.IsNonModifiable(projectFile))
Evaluation\PropertiesUseTracker.cs (1)
33
private bool _warnForUninitializedProperties = BuildParameters.WarnOnUninitializedProperty || Traits.Instance.
EscapeHatches
.WarnOnUninitializedProperty;
Instance\ProjectInstance.cs (2)
2383
var forcedProjectInstanceTranslationMode = Traits.Instance.
EscapeHatches
.ProjectInstanceTranslation;
3162
if (Traits.Instance.
EscapeHatches
.DebugEvaluation)
Logging\BaseConsoleLogger.cs (1)
953
bool logPropertiesAndItemsAfterEvaluation = Traits.Instance.
EscapeHatches
.LogPropertiesAndItemsAfterEvaluation ?? true;
Logging\BinaryLogger\BinaryLogger.cs (4)
165
_initialLogImports = Traits.Instance.
EscapeHatches
.LogProjectImports;
172
Traits.Instance.
EscapeHatches
.LogProjectImports = true;
173
bool logPropertiesAndItemsAfterEvaluation = Traits.Instance.
EscapeHatches
.LogPropertiesAndItemsAfterEvaluation ?? true;
319
Traits.Instance.
EscapeHatches
.LogProjectImports = _initialLogImports;
Microsoft.Build.Framework (4)
NativeMethods.cs (4)
593
bool isMaxPathRestricted = Traits.Instance.
EscapeHatches
.DisableLongPaths || IsMaxPathLegacyWindows();
1157
if (Traits.Instance.
EscapeHatches
.AlwaysDoImmutableFilesUpToDateCheck)
1189
if (Traits.Instance.
EscapeHatches
.AlwaysUseContentTimestamp)
1203
if ((data.fileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) == FILE_ATTRIBUTE_REPARSE_POINT && !Traits.Instance.
EscapeHatches
.UseSymlinkTimeInsteadOfTargetTime)
Microsoft.Build.Tasks.Core (5)
AssemblyDependency\ReferenceTable.cs (1)
3026
if (!Traits.Instance.
EscapeHatches
.TargetPathForRelatedFiles)
AssemblyDependency\ResolveAssemblyReference.cs (1)
2372
Traits.Instance.
EscapeHatches
.CacheAssemblyInformation
Copy.cs (1)
290
if (!Traits.Instance.
EscapeHatches
.CopyWithoutDelete &&
Exec.cs (1)
591
if (!Traits.Instance.
EscapeHatches
.UseAutoRunWhenLaunchingProcessUnderCmd)
GenerateResource.cs (1)
3023
if (Traits.Instance.
EscapeHatches
.UseMinimalResxParsingInCoreScenarios)
Microsoft.Build.Utilities.Core (2)
ToolTask.cs (2)
1432
if (Traits.Instance.
EscapeHatches
.AvoidUnicodeWhenWritingToolTaskBatch)
1470
commandLineCommands = $"{(Traits.Instance.
EscapeHatches
.UseAutoRunWhenLaunchingProcessUnderCmd ? string.Empty : "/D ")}/C \"{batchFileForCommandLine}\"";
MSBuild (6)
CommandLineSwitches.cs (1)
716
if (!unquoteParameter || !Traits.Instance.
EscapeHatches
.UnquoteTargetSwitchParameters)
CoreCLRAssemblyLoader.cs (1)
58
if (Traits.Instance.
EscapeHatches
.UseSingleLoadContext)
OutOfProcTaskHostNode.cs (1)
801
_shutdownReason = buildComplete.PrepareForReuse && Traits.Instance.
EscapeHatches
.ReuseTaskHostNodes ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete;
XMake.cs (3)
262
!Traits.Instance.
EscapeHatches
.EnsureStdOutForChildNodesIsPrimaryStdout &&
1530
if (!Traits.Instance.
EscapeHatches
.DoNotSendDeferredMessagesToBuildManager)
2854
if (Traits.Instance.
EscapeHatches
.EnsureStdOutForChildNodesIsPrimaryStdout)