1 write to State
Microsoft.CodeAnalysis.Features (1)
ImplementInterface\AbstractImplementInterfaceService.CodeAction.cs (1)
50State = state;
19 references to State
Microsoft.CodeAnalysis.Features (19)
ImplementInterface\AbstractImplementInterfaceService.CodeAction.cs (13)
168? State.MembersWithoutExplicitOrImplicitImplementation 169: State.MembersWithoutExplicitImplementation 170: State.MembersWithoutExplicitOrImplicitImplementationWhichCanBeImplicitlyImplemented; 171return GetUpdatedDocumentAsync(Document, unimplementedMembers, State.ClassOrStructType, State.ClassOrStructDecl, cancellationToken); 271IdentifiersMatch(State.ClassOrStructType.Name, name) || 272State.ClassOrStructType.TypeParameters.Any(static (t, arg) => arg.self.IdentifiersMatch(t.Name, arg.name), (self: this, name)); 279var memberNames = State.ClassOrStructType.GetAccessibleMembersInThisAndBaseTypes<ISymbol>(State.ClassOrStructType).Select(m => m.Name); 326var addNew = !generateInvisibleMember && HasNameConflict(member, memberName, State.ClassOrStructType.GetBaseTypes()); 330var addUnsafe = member.RequiresUnsafeModifier() && !syntaxFacts.IsUnsafeContext(State.Location); 357if (AccessibilityHelper.IsLessAccessibleThan(member, State.ClassOrStructType)) 473.Where(m => m.IsAccessibleWithin(State.ClassOrStructType))
ImplementInterface\AbstractImplementInterfaceService.CodeAction_Conflicts.cs (2)
26var allMembers = State.ClassOrStructType.GetAccessibleMembersInThisAndBaseTypes<ISymbol>(State.ClassOrStructType).Concat(implementedVisibleMembers);
ImplementInterface\AbstractImplementInterfaceService.CodeAction_Method.cs (2)
28var updatedMethod = method.EnsureNonConflictingNames(State.ClassOrStructType, syntaxFacts); 31State.ClassOrStructType,
ImplementInterface\AbstractImplementInterfaceService.CodeAction_Property.cs (2)
105State.ClassOrStructType, 132State.ClassOrStructType,