1 write to _diagnosticMessageSink
Microsoft.VisualStudio.Extensibility.Testing.Xunit (1)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Threading\IdeFactDiscoverer.cs (1)
21
_diagnosticMessageSink
= diagnosticMessageSink;
4 references to _diagnosticMessageSink
Microsoft.VisualStudio.Extensibility.Testing.Xunit (4)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Threading\IdeFactDiscoverer.cs (4)
37
yield return new IdeTestCase(
_diagnosticMessageSink
, discoveryOptions.MethodDisplayOrDefault(), discoveryOptions.MethodDisplayOptionsOrDefault(), testMethod, supportedInstance);
38
if (IdeInstanceTestCase.TryCreateNewInstanceForFramework(discoveryOptions,
_diagnosticMessageSink
, supportedInstance) is { } instanceTestCase)
46
yield return new ExecutionErrorTestCase(
_diagnosticMessageSink
, discoveryOptions.MethodDisplayOrDefault(), discoveryOptions.MethodDisplayOptionsOrDefault(), testMethod, "[IdeFact] methods are not allowed to be generic.");
51
yield return new ExecutionErrorTestCase(
_diagnosticMessageSink
, discoveryOptions.MethodDisplayOrDefault(), discoveryOptions.MethodDisplayOptionsOrDefault(), testMethod, "[IdeFact] methods are not allowed to have parameters. Did you mean to use [IdeTheory]?");