1 write to _delegatedConstructor
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
180
_delegatedConstructor
= delegatedConstructor;
4 references to _delegatedConstructor
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (4)
431
if (
_delegatedConstructor
== null)
437
var isThis =
_delegatedConstructor
.ContainingType.OriginalDefinition.Equals(TypeToGenerateIn.OriginalDefinition);
438
var delegatingArguments = this.GetRequiredLanguageService<SyntaxGenerator>(TypeToGenerateIn.Language).CreateArguments(
_delegatedConstructor
.Parameters);
440
var newParameters =
_delegatedConstructor
.Parameters.Concat(_parameters);