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