17 instantiations of BinaryLogger
Microsoft.Build (1)
BackEnd\BuildManager\BuildManager.cs (1)
669var logger = new BinaryLogger { Parameters = binlogPath };
Microsoft.Build.Engine.UnitTests (11)
BinaryLogger_Tests.cs (11)
106var binaryLogger = new BinaryLogger(); 145BinaryLogger outputBinlog = new BinaryLogger() 213var binaryLogger = new BinaryLogger(); 235BinaryLogger outputBinlog = new BinaryLogger() 326var binaryLogger = new BinaryLogger(); 444var binaryLogger = new BinaryLogger() 488var binaryLogger = new BinaryLogger() 538var binaryLogger = new BinaryLogger 575var binaryLogger = new BinaryLogger 656var binaryLogger = new BinaryLogger 679var binaryLogger = new BinaryLogger
Microsoft.Build.Tasks.UnitTests (2)
CodeTaskFactoryEmbeddedFileInBinlogTestHelper.cs (2)
56var binaryLogger = new BinaryLogger() 108var binaryLogger = new BinaryLogger()
Microsoft.Build.UnitTests.Shared (1)
EngineTestEnvironment.cs (1)
196var binaryLogger = new BinaryLogger();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
BuildHost.cs (1)
117logger = new BinaryLogger { Parameters = _binaryLogPath };
MSBuild (1)
XMake.cs (1)
3952BinaryLogger logger = new BinaryLogger { Parameters = arguments };
46 references to BinaryLogger
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (1)
669var logger = new BinaryLogger { Parameters = binlogPath };
Logging\BinaryLogger\BinaryLogReplayEventSource.cs (5)
163int minimumReaderVersion = fileFormatVersion >= BinaryLogger.ForwardCompatibilityMinimalVersion 169if (fileFormatVersion > BinaryLogger.FileFormatVersion && 170(!allowForwardCompatibility || minimumReaderVersion > BinaryLogger.FileFormatVersion)) 172var text = ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnsupportedLogFileFormat", fileFormatVersion, minimumReaderVersion, BinaryLogger.FileFormatVersion); 233bool supportsForwardCompatibility = reader.FileFormatVersion >= BinaryLogger.ForwardCompatibilityMinimalVersion;
Logging\BinaryLogger\BuildEventArgsReader.cs (6)
120if (_fileFormatVersion < BinaryLogger.ForwardCompatibilityMinimalVersion) 147internal int MinimumReaderVersion { get; set; } = BinaryLogger.ForwardCompatibilityMinimalVersion; 226if (_fileFormatVersion >= BinaryLogger.ForwardCompatibilityMinimalVersion) 464if (_fileFormatVersion >= BinaryLogger.ForwardCompatibilityMinimalVersion) 696if (_fileFormatVersion >= BinaryLogger.ForwardCompatibilityMinimalVersion || 752if (_fileFormatVersion >= BinaryLogger.ForwardCompatibilityMinimalVersion ||
Microsoft.Build.Engine.UnitTests (20)
BinaryLogger_Tests.cs (13)
106var binaryLogger = new BinaryLogger(); 145BinaryLogger outputBinlog = new BinaryLogger() 213var binaryLogger = new BinaryLogger(); 235BinaryLogger outputBinlog = new BinaryLogger() 326var binaryLogger = new BinaryLogger(); 444var binaryLogger = new BinaryLogger() 447CollectProjectImports = BinaryLogger.ProjectImportsCollectionMode.ZipFile, 488var binaryLogger = new BinaryLogger() 491CollectProjectImports = BinaryLogger.ProjectImportsCollectionMode.ZipFile, 538var binaryLogger = new BinaryLogger 575var binaryLogger = new BinaryLogger 656var binaryLogger = new BinaryLogger 679var binaryLogger = new BinaryLogger
BuildEventArgsSerialization_Tests.cs (7)
595using var buildEventArgsReader = new BuildEventArgsReader(binaryReader, BinaryLogger.FileFormatVersion); 958var buildEventArgsReader = new BuildEventArgsReader(binaryReader, BinaryLogger.FileFormatVersion); 1003using var buildEventArgsReader = new BuildEventArgsReader(binaryReader, BinaryLogger.FileFormatVersion) 1064using var buildEventArgsReader = new BuildEventArgsReader(binaryReader, BinaryLogger.FileFormatVersion) 1114using var buildEventArgsReader = new BuildEventArgsReader(binaryReader, BinaryLogger.FileFormatVersion) 1170using var buildEventArgsReader = new BuildEventArgsReader(binaryReader, BinaryLogger.FileFormatVersion) 1232using var buildEventArgsReader = new BuildEventArgsReader(binaryReader, BinaryLogger.FileFormatVersion);
Microsoft.Build.Tasks.UnitTests (4)
CodeTaskFactoryEmbeddedFileInBinlogTestHelper.cs (4)
56var binaryLogger = new BinaryLogger() 59CollectProjectImports = BinaryLogger.ProjectImportsCollectionMode.ZipFile, 108var binaryLogger = new BinaryLogger() 111CollectProjectImports = BinaryLogger.ProjectImportsCollectionMode.ZipFile,
Microsoft.Build.UnitTests.Shared (7)
EngineTestEnvironment.cs (6)
196var binaryLogger = new BinaryLogger(); 198binaryLogger.CollectProjectImports = BinaryLogger.ProjectImportsCollectionMode.None; 212var binaryLogger = expectedLoggers.OfType<BinaryLogger>().FirstOrDefault(); 228var actualLoggerPairs = GetLoggers().Where(l => l.logger is not BinaryLogger).ToArray(); 229expectedLoggerPairs = expectedLoggerPairs.Where(l => l.logger is not BinaryLogger).ToArray();
ObjectModelHelpers.cs (1)
1370public static void BuildProjectWithNewOMAndBinaryLogger(string content, BinaryLogger binaryLogger, out bool result, out string projectDirectory)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
BuildHost.cs (1)
113BinaryLogger? logger = null;
MSBuild (2)
XMake.cs (2)
38using BinaryLogger = Microsoft.Build.Logging.BinaryLogger; 3952BinaryLogger logger = new BinaryLogger { Parameters = arguments };