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)
86LoggingContext loggingContext = new TestLoggingContext(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4)); 106LoggingContext loggingContext = new TestLoggingContext(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4)); 125LoggingContext loggingContext = new TestLoggingContext(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4)); 145LoggingContext loggingContext = new TestLoggingContext(service, new BuildEventContext(1, 2, BuildEventContext.InvalidProjectContextId, 4)); 195LoggingContext loggingContext = new TestLoggingContext(service, BuildEventContext.Invalid); 220LoggingContext loggingContext = new TestLoggingContext(service, BuildEventContext.Invalid); 241LoggingContext loggingContext = new TestLoggingContext(service, BuildEventContext.Invalid);
Evaluation\Evaluator_Tests.cs (2)
4477new TestLoggingContext(null!, new BuildEventContext(1, 2, 3, 4))); 4495new 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)
24return new TestLoggingContext(null, buildEventContext);