5 references to ElementAt
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
74if (symbol.ConstraintTypes.ElementAt(0) is INamedTypeSymbol namedType)
Microsoft.CodeAnalysis.CSharp.Features (3)
ChangeSignature\CSharpChangeSignatureService.cs (1)
820if (identifier == null || identifier.ToString() != declaredParameters.ElementAt(i).Name)
GenerateType\CSharpGenerateTypeService.cs (2)
432return memberGroup.ElementAt(0).IsKind(SymbolKind.Method) ? (IMethodSymbol)memberGroup.ElementAt(0) : null;
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
74if (symbol.ConstraintTypes.ElementAt(0) is INamedTypeSymbol namedType)