22 references to TestLoggingContext
Microsoft.Build.Engine.UnitTests (22)
BackEnd\BatchingEngine_Tests.cs (6)
60new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))); 77new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4)))); 149new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))); 187new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))); 212new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))); 242new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4)));
BackEnd\TaskRegistry_Tests.cs (1)
2256new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4)));
Definition\ToolsVersion_Tests.cs (7)
84LoggingContext loggingContext = new TestLoggingContext(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4)); 104LoggingContext loggingContext = new TestLoggingContext(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4)); 123LoggingContext loggingContext = new TestLoggingContext(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4)); 143LoggingContext loggingContext = new TestLoggingContext(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4)); 193LoggingContext loggingContext = new TestLoggingContext(service, BuildEventContext.Invalid); 218LoggingContext loggingContext = new TestLoggingContext(service, BuildEventContext.Invalid); 239LoggingContext loggingContext = new TestLoggingContext(service, BuildEventContext.Invalid);
Evaluation\Evaluator_Tests.cs (2)
4512new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))); 4530new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))));
Evaluation\Expander_Tests.cs (4)
100new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))); 811new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))); 2330new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4)))); 2340new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))));
Evaluation\ItemSpec_Tests.cs (1)
96new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4)));
TestLoggingContext.cs (1)
19return new TestLoggingContext(null, buildEventContext);