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)) 224if (Service.HasHiddenExplicitImplementation) 262var allowDelegateAndEnumConstraints = this.Service.AllowDelegateAndEnumConstraints(options); 290var useExplicitInterfaceSymbol = generateInvisibly || !Service.CanImplementImplicitly; 402if (!Service.CanImplementImplicitly)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Conflicts.cs (2)
41if (Service.HasHiddenExplicitImplementation) 69if (!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