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