110 references to Synchronous
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (1)
2905
? LoggerMode.
Synchronous
BackEnd\Components\Logging\LoggingServiceFactory.cs (1)
21
private LoggerMode _logMode = LoggerMode.
Synchronous
;
Definition\ProjectCollection.cs (1)
334
_loggerMode = useAsynchronousLogging ? LoggerMode.Asynchronous : LoggerMode.
Synchronous
;
Microsoft.Build.BuildCheck.UnitTests (1)
BuildCheckManagerProviderTests.cs (1)
30
_loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
Microsoft.Build.Engine.UnitTests (106)
BackEnd\BuildManager_Logging_Tests.cs (1)
99
ILoggingService service = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
BackEnd\LoggingService_Tests.cs (14)
64
IBuildComponent logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
69
Assert.Equal(LoggerMode.
Synchronous
, logService.LoggingMode);
91
IBuildComponent logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
119
IBuildComponent logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
642
LoggingService loggingService = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
648
Assert.Equal(LoggerMode.
Synchronous
, loggingService.LoggingMode); // "Expected Logging mode to be Synchronous"
675
LoggingService loggingService = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
688
LoggingService loggingService = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
701
LoggingServicesLogMethod_Tests.ProcessBuildEventHelper loggingService = (LoggingServicesLogMethod_Tests.ProcessBuildEventHelper)LoggingServicesLogMethod_Tests.ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
792
ILoggingService ls = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
947
LoggerMode loggerMode = LoggerMode.
Synchronous
,
1047
ILoggingService node1LoggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1049
ILoggingService node2LoggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 2);
1092
IBuildComponent logServiceComponent = (IBuildComponent)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
BackEnd\LoggingServiceFactory_Tests.cs (2)
23
LoggingServiceFactory factory = new LoggingServiceFactory(LoggerMode.
Synchronous
, 1);
25
Assert.Equal(LoggerMode.
Synchronous
, loggingService.LoggingMode); // "Expected to create a Synchronous LoggingService"
BackEnd\LoggingServicesLogMethod_Tests.cs (60)
55
LoggingService loggingService = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
74
ProcessBuildEventHelper loggingService = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
105
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
118
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
137
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
155
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
168
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
181
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
216
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
229
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
247
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
261
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
275
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
295
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
318
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
335
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
354
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
375
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
388
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
401
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
512
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
526
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
544
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
569
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
582
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
609
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
622
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
635
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
679
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
692
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
707
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
732
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
743
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
755
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
769
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
795
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
809
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
838
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1, componentHost);
864
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1, componentHost);
903
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1, componentHost);
944
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1, componentHost);
978
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1010
(ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1034
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1055
(ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1096
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1131
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1171
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1219
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1258
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1286
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1351
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1372
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1389
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1404
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1, componentHost);
1453
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1473
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1493
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1524
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
1551
ProcessBuildEventHelper service = (ProcessBuildEventHelper)ProcessBuildEventHelper.CreateLoggingService(LoggerMode.
Synchronous
, 1);
BackEnd\MockLoggingService.cs (1)
85
return LoggerMode.
Synchronous
;
BackEnd\SdkResolverLoader_Tests.cs (1)
38
ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
BackEnd\SdkResolverService_Tests.cs (1)
36
ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
BackEnd\TaskExecutionHost_Tests.cs (1)
1233
_loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
BackEnd\TaskHost_Tests.cs (1)
64
LoggingServiceFactory loggingFactory = new LoggingServiceFactory(LoggerMode.
Synchronous
, 1);
BackEnd\TaskRegistry_Tests.cs (1)
88
_loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
Construction\SolutionFilter_Tests.cs (1)
296
ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 0);
Construction\SolutionProjectGenerator_Tests.cs (1)
2839
ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 0);
Definition\ToolsVersion_Tests.cs (18)
84
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
104
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
123
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
143
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
193
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
218
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
239
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
305
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
342
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
378
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
408
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
440
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
548
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
586
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
627
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
698
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
783
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
894
LoggingService service = (LoggingService)LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
Evaluation\Expander_Tests.cs (2)
5133
ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
5170
ILoggingService loggingService = LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1);
TestLoggingContext.cs (1)
17
loggingService ?? Build.BackEnd.Logging.LoggingService.CreateLoggingService(LoggerMode.
Synchronous
, 1), eventContext)