3 instantiations of Traits
MSBuildTaskHost (3)
Traits.cs (3)
16private static Traits _instance = new Traits(); 23return new Traits(); 142_instance = new Traits();
11 references to Traits
MSBuildTaskHost (11)
CommunicationsUtilities.cs (1)
213private static bool s_trace = Traits.Instance.DebugNodeCommunication;
FileUtilities.cs (3)
1000return Traits.Instance.CacheFileExistence 1024return Traits.Instance.CacheFileExistence 1048return Traits.Instance.CacheFileExistence
NativeMethods.cs (3)
593bool isMaxPathRestricted = Traits.Instance.EscapeHatches.DisableLongPaths || IsMaxPathLegacyWindows(); 1189if (Traits.Instance.EscapeHatches.AlwaysUseContentTimestamp) 1203if ((data.fileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) == FILE_ATTRIBUTE_REPARSE_POINT && !Traits.Instance.EscapeHatches.UseSymlinkTimeInsteadOfTargetTime)
OutOfProcTaskHostNode.cs (2)
185_debugCommunications = Traits.Instance.DebugNodeCommunication; 801_shutdownReason = buildComplete.PrepareForReuse && Traits.Instance.EscapeHatches.ReuseTaskHostNodes ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete;
Traits.cs (2)
16private static Traits _instance = new Traits(); 17public static Traits Instance