24 references to ImplementTypePropertyGenerationBehavior
Microsoft.CodeAnalysis.Features (24)
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (6)
125ImplementTypePropertyGenerationBehavior propertyGenerationBehavior, 136ImplementTypePropertyGenerationBehavior propertyGenerationBehavior, 150ImplementTypePropertyGenerationBehavior propertyGenerationBehavior) 197ImplementTypePropertyGenerationBehavior propertyGenerationBehavior) 202propertyGenerationBehavior = ImplementTypePropertyGenerationBehavior.PreferThrowingProperties; 206var preferAutoProperties = propertyGenerationBehavior == ImplementTypePropertyGenerationBehavior.PreferAutoProperties;
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (8)
32ImplementTypePropertyGenerationBehavior propertyGenerationBehavior) 94ImplementTypePropertyGenerationBehavior propertyGenerationBehavior, 105propertyGenerationBehavior = ImplementTypePropertyGenerationBehavior.PreferThrowingProperties; 128ImplementTypePropertyGenerationBehavior propertyGenerationBehavior, 152ImplementTypePropertyGenerationBehavior propertyGenerationBehavior) 159propertyGenerationBehavior == ImplementTypePropertyGenerationBehavior.PreferAutoProperties); 167ImplementTypePropertyGenerationBehavior propertyGenerationBehavior) 174propertyGenerationBehavior == ImplementTypePropertyGenerationBehavior.PreferAutoProperties);
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (3)
104ImplementTypePropertyGenerationBehavior propertyGenerationBehavior) 178ImplementTypePropertyGenerationBehavior propertyGenerationBehavior) 287ImplementTypePropertyGenerationBehavior propertyGenerationBehavior)
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementType\ImplementTypeOptions.cs (7)
21public ImplementTypePropertyGenerationBehavior PropertyGenerationBehavior { get; init; } = ImplementTypePropertyGenerationBehavior.PreferThrowingProperties; 45public static readonly PerLanguageOption2<ImplementTypePropertyGenerationBehavior> PropertyGenerationBehavior = new( 53("prefer_throwing_properties", ImplementTypePropertyGenerationBehavior.PreferThrowingProperties), 54("prefer_auto_properties", ImplementTypePropertyGenerationBehavior.PreferAutoProperties), 58("PreferThrowingProperties", ImplementTypePropertyGenerationBehavior.PreferThrowingProperties), 59("PreferAutoProperties", ImplementTypePropertyGenerationBehavior.PreferAutoProperties),