1 write to Service
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (1)
55Service = service;
19 references to Service
Microsoft.CodeAnalysis.Features (19)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (5)
144if (!(member.ExplicitInterfaceImplementations().Any() && Service.HasHiddenExplicitImplementation)) 231if (Service.HasHiddenExplicitImplementation) 269var allowDelegateAndEnumConstraints = this.Service.AllowDelegateAndEnumConstraints(options); 298var useExplicitInterfaceSymbol = generateInvisibly || !Service.CanImplementImplicitly; 404if (!Service.CanImplementImplicitly)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Conflicts.cs (2)
40if (Service.HasHiddenExplicitImplementation) 68if (!Service.CanImplementImplicitly)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (12)
53document, this.Service.SyntaxFormatting, State.ClassOrStructType, cancellationToken).ConfigureAwait(false); 107var finalizerComments = this.Service.CreateCommentTrivia(finalizerLines); 110finalizerComments.Insert(0, this.Service.SyntaxGeneratorInternal.CarriageReturnLineFeed) 111.Add(this.Service.SyntaxGeneratorInternal.CarriageReturnLineFeed)); 124var disposeMethodDisplayString = this.Service.ToDisplayString(disposeImplMethod, s_format); 130var finalizer = Service.CreateFinalizer(g, State.ClassOrStructType, disposeMethodDisplayString); 149var gi = this.Service.SyntaxGeneratorInternal; 156ifDisposingStatement = Service.AddCommentInsideIfStatement( 158this.Service.CreateCommentTrivia(CodeFixesResources.TODO_colon_dispose_managed_state_managed_objects)) 164var disposedValueEqualsTrueStatement = this.Service.AddComments( 198statements.Add(this.Service.AddComment( 220var explicitInterfaceImplementations = Explicitly || !Service.CanImplementImplicitly