2 writes to TypeToGenerateIn
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.State.cs (2)
74TypeToGenerateIn = sourceType; 127TypeToGenerateIn = typeToGenerateIn;
8 references to TypeToGenerateIn
Microsoft.CodeAnalysis.CodeStyle.Fixes (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)
61var existingMembers = TypeToGenerateIn.GetMembers(IdentifierToken.ValueText); 70var sourceType = await SymbolFinder.FindSourceDefinitionAsync(TypeToGenerateIn, document.Project.Solution, cancellationToken).ConfigureAwait(false) as INamedTypeSymbol; 75return CodeGenerator.CanAdd(document.Project.Solution, TypeToGenerateIn, cancellationToken);