2 implementations of ITypeParameterSymbol
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
610 references to ITypeParameterSymbol
ILLink.RoslynAnalyzer (16)
Microsoft.Analyzers.Extra (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (3)
Microsoft.CodeAnalysis (14)
Microsoft.CodeAnalysis.CodeStyle (50)
Microsoft.CodeAnalysis.CodeStyle.Fixes (49)
Microsoft.CodeAnalysis.CSharp (39)
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (28)
Microsoft.CodeAnalysis.CSharp.Features (28)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (35)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
Microsoft.CodeAnalysis.CSharp.Workspaces (20)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (5)
Microsoft.CodeAnalysis.Features (112)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (10)
123ImmutableArray<ITypeParameterSymbol> capturedTypeParameters,
328string structName, ImmutableArray<ITypeParameterSymbol> typeParameters,
405ImmutableArray<ITypeParameterSymbol> typeParameters, bool addRenameAnnotation)
616string structName, ImmutableArray<ITypeParameterSymbol> typeParameters,
636string typeName, ImmutableArray<ITypeParameterSymbol> typeParameters,
690SyntaxEditor editor, string typeName, ImmutableArray<ITypeParameterSymbol> typeParameters,
750string typeName, ImmutableArray<ITypeParameterSymbol> typeParameters,
780SyntaxEditor editor, string typeName, ImmutableArray<ITypeParameterSymbol> typeParameters,
799Document document, Scope scope, bool isRecord, string structName, ImmutableArray<ITypeParameterSymbol> typeParameters,
911ImmutableArray<ITypeParameterSymbol> typeParameters, ImmutableArray<ISymbol> members)
ExtractMethod\MethodExtractor.Analyzer.cs (22)
126var sortedMap = new SortedDictionary<int, ITypeParameterSymbol>();
718private static void AddTypeParametersToMap(IEnumerable<ITypeParameterSymbol> typeParameters, IDictionary<int, ITypeParameterSymbol> sortedMap)
720foreach (var typeParameter in typeParameters)
726private static void AddTypeParameterToMap(ITypeParameterSymbol typeParameter, IDictionary<int, ITypeParameterSymbol> sortedMap)
740IDictionary<int, ITypeParameterSymbol> sortedMap)
765private static void AppendMethodTypeParameterFromConstraint(SortedDictionary<int, ITypeParameterSymbol> sortedMap)
767var typeParametersInConstraint = new List<ITypeParameterSymbol>();
770foreach (var typeParameter in sortedMap.Values)
786foreach (var typeParameter in typeParametersInConstraint)
792private static void AppendMethodTypeParameterUsedDirectly(MultiDictionary<ISymbol, SyntaxToken> symbolMap, IDictionary<int, ITypeParameterSymbol> sortedMap)
794foreach (var typeParameter in symbolMap.Keys.OfType<ITypeParameterSymbol>())
804private ImmutableArray<ITypeParameterSymbol> GetMethodTypeParametersInConstraintList(
807SortedDictionary<int, ITypeParameterSymbol> sortedMap)
819private static void AppendTypeParametersInConstraintsUsedByConstructedTypeWithItsOwnConstraints(SortedDictionary<int, ITypeParameterSymbol> sortedMap)
822using var _2 = PooledHashSet<ITypeParameterSymbol>.GetInstance(out var candidates);
825foreach (var typeParameter in sortedMap.Values)
841ITypeSymbol type, HashSet<ITypeSymbol> visited, HashSet<ITypeParameterSymbol> typeParameters)
859if (arguments[i] is ITypeParameterSymbol argument)
880private static ImmutableArray<ITypeParameterSymbol> GetMethodTypeParametersInDeclaration(ITypeSymbol returnType, SortedDictionary<int, ITypeParameterSymbol> sortedMap)
Microsoft.CodeAnalysis.Features.UnitTests (8)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.VisualBasic (33)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (14)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (16)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces (93)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.VisualStudio.LanguageServices (6)
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Microsoft.VisualStudio.LanguageServices.VisualBasic (5)
System.Text.Json.SourceGeneration (2)