Table of Contents

Class NullSourceInformationProvider

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

A null implementation of ISourceInformationProvider which always returns empty source information. Get the singleton via Instance.

public sealed class NullSourceInformationProvider : ISourceInformationProvider, IAsyncDisposable
Inheritance
NullSourceInformationProvider
Implements
Inherited Members

Properties

Instance

Gets the singleton instance of the NullSourceInformationProvider.

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

GetSourceInformation(string?, string?)

Returns the source information for a test case.