2 writes to TypeToGenerateIn
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.State.cs (2)
70TypeToGenerateIn = sourceType; 123TypeToGenerateIn = typeToGenerateIn;
8 references to TypeToGenerateIn
Microsoft.CodeAnalysis.Features (8)
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (5)
26var languageServices = _document.Project.Solution.Workspace.Services.GetExtendedLanguageServices(_state.TypeToGenerateIn.Language); 30var value = semanticFacts.LastEnumValueHasInitializer(_state.TypeToGenerateIn) 31? EnumValueUtilities.GetNextEnumValue(_state.TypeToGenerateIn) 39_state.TypeToGenerateIn, 44type: _state.TypeToGenerateIn,
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.State.cs (3)
57var existingMembers = TypeToGenerateIn.GetMembers(IdentifierToken.ValueText); 66var sourceType = SymbolFinderInternal.FindSourceDefinition(TypeToGenerateIn, document.Project.Solution, cancellationToken) as INamedTypeSymbol; 71return CodeGenerator.CanAdd(document.Project.Solution, TypeToGenerateIn, cancellationToken);