9 references to Scenario
Roslyn.Diagnostics.Analyzers (9)
ExportedPartsShouldHaveImportingConstructor.cs (4)
164
public static readonly ImmutableDictionary<string, string?> ImplicitConstructor = ImmutableDictionary.Create<string, string?>().Add(nameof(
Scenario
), nameof(ImplicitConstructor));
165
public static readonly ImmutableDictionary<string, string?> NonPublicConstructor = ImmutableDictionary.Create<string, string?>().Add(nameof(
Scenario
), nameof(NonPublicConstructor));
166
public static readonly ImmutableDictionary<string, string?> MissingAttribute = ImmutableDictionary.Create<string, string?>().Add(nameof(
Scenario
), nameof(MissingAttribute));
167
public static readonly ImmutableDictionary<string, string?> MultipleConstructors = ImmutableDictionary.Create<string, string?>().Add(nameof(
Scenario
), nameof(MultipleConstructors));
ExportedPartsShouldHaveImportingConstructorCodeFixProvider.cs (5)
38
if (!diagnostic.Properties.TryGetValue(nameof(ExportedPartsShouldHaveImportingConstructor.
Scenario
), out var scenario))
47
case ExportedPartsShouldHaveImportingConstructor.
Scenario
.ImplicitConstructor:
52
case ExportedPartsShouldHaveImportingConstructor.
Scenario
.NonPublicConstructor:
57
case ExportedPartsShouldHaveImportingConstructor.
Scenario
.MissingAttribute:
62
case ExportedPartsShouldHaveImportingConstructor.
Scenario
.MultipleConstructors: