22 instantiations of TestLoggingContext
Microsoft.Build.Engine.UnitTests (22)
BackEnd\BatchingEngine_Tests.cs (6)
60
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
77
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4))));
149
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
187
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
212
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
242
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
BackEnd\TaskRegistry_Tests.cs (1)
2256
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
Definition\ToolsVersion_Tests.cs (7)
86
LoggingContext loggingContext = new
TestLoggingContext
(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4));
106
LoggingContext loggingContext = new
TestLoggingContext
(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4));
125
LoggingContext loggingContext = new
TestLoggingContext
(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4));
145
LoggingContext loggingContext = new
TestLoggingContext
(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4));
195
LoggingContext loggingContext = new
TestLoggingContext
(service, BuildEventContext.Invalid);
220
LoggingContext loggingContext = new
TestLoggingContext
(service, BuildEventContext.Invalid);
241
LoggingContext loggingContext = new
TestLoggingContext
(service, BuildEventContext.Invalid);
Evaluation\Evaluator_Tests.cs (2)
4477
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
4495
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4))));
Evaluation\Expander_Tests.cs (4)
100
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
811
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
2330
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4))));
2340
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4))));
Evaluation\ItemSpec_Tests.cs (1)
96
new
TestLoggingContext
(null!, new BuildEventContext(1, 2, 3, 4)));
TestLoggingContext.cs (1)
24
return new
TestLoggingContext
(null, buildEventContext);
4 references to TestLoggingContext
Microsoft.Build.Engine.UnitTests (4)
Definition\ToolsVersion_Tests.cs (3)
40
LoggingContext loggingContext =
TestLoggingContext
.CreateTestContext(new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4));
169
LoggingContext loggingContext =
TestLoggingContext
.CreateTestContext(new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4));
936
LoggingContext loggingContext =
TestLoggingContext
.CreateTestContext(new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4));
Evaluation\UsedUninitializedProperties_Tests.cs (1)
18
PropertiesUseTracker props = new(
TestLoggingContext
.CreateTestContext(new BuildEventContext(1, 2, 3, 4)));