1 write to State
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (1)
57State = state;
24 references to State
Microsoft.CodeAnalysis.Features (24)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (13)
66? State.MembersWithoutExplicitOrImplicitImplementation 67: State.MembersWithoutExplicitImplementation 68: State.MembersWithoutExplicitOrImplicitImplementationWhichCanBeImplicitlyImplemented; 98contextLocation: State.ContextNode.GetLocation(), 101State.ClassOrStructType, 156IdentifiersMatch(State.ClassOrStructType.Name, name) || 157State.ClassOrStructType.TypeParameters.Any(static (t, arg) => arg.self.IdentifiersMatch(t.Name, arg.name), (self: this, name)); 167var memberNames = State.ClassOrStructType.GetAccessibleMembersInThisAndBaseTypes<ISymbol>(State.ClassOrStructType).Select(m => m.Name); 217var addNew = !generateInvisibleMember && HasNameConflict(member, memberName, State.ClassOrStructType.GetBaseTypes()); 221var addUnsafe = member.RequiresUnsafeModifier() && !syntaxFacts.IsUnsafeContext(State.ContextNode); 249if (ContainsTypeLessAccessibleThan(member, State.ClassOrStructType, supportsImplementingLessAccessibleMember)) 360.Where(m => m.IsAccessibleWithin(State.ClassOrStructType))
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Conflicts.cs (2)
31var allMembers = State.ClassOrStructType.GetAccessibleMembersInThisAndBaseTypes<ISymbol>(State.ClassOrStructType).Concat(implementedVisibleMembers);
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (5)
53document, this.Service.SyntaxFormatting, State.ClassOrStructType, cancellationToken).ConfigureAwait(false); 130var finalizer = Service.CreateFinalizer(g, State.ClassOrStructType, disposeMethodDisplayString); 140var accessibility = State.ClassOrStructType.IsSealed 144var modifiers = State.ClassOrStructType.IsSealed 176containingType: State.ClassOrStructType,
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Method.cs (2)
36var updatedMethod = method.EnsureNonConflictingNames(State.ClassOrStructType, syntaxFacts); 39State.ClassOrStructType,
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (2)
115State.ClassOrStructType, 141State.ClassOrStructType,