2 implementations of ITypeParameterSymbol
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
616 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 (53)
Microsoft.CodeAnalysis.CSharp (39)
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (24)
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 (16)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (5)
Microsoft.CodeAnalysis.Features (118)
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 (24)
188var 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)
741IDictionary<int, ITypeParameterSymbol> sortedMap)
766private static void AppendMethodTypeParameterFromConstraint(SortedDictionary<int, ITypeParameterSymbol> sortedMap)
768var typeParametersInConstraint = new List<ITypeParameterSymbol>();
771foreach (var typeParameter in sortedMap.Values)
787foreach (var typeParameter in typeParametersInConstraint)
793private static void AppendMethodTypeParameterUsedDirectly(IDictionary<ISymbol, List<SyntaxToken>> symbolMap, IDictionary<int, ITypeParameterSymbol> sortedMap)
797var typeParameter = (ITypeParameterSymbol)pair.Key;
808private IEnumerable<ITypeParameterSymbol> GetMethodTypeParametersInConstraintList(
812SortedDictionary<int, ITypeParameterSymbol> sortedMap)
824private static void AppendTypeParametersInConstraintsUsedByConstructedTypeWithItsOwnConstraints(SortedDictionary<int, ITypeParameterSymbol> sortedMap)
827var candidates = SpecializedCollections.EmptyEnumerable<ITypeParameterSymbol>();
830foreach (var typeParameter in sortedMap.Values)
851private static IEnumerable<ITypeParameterSymbol> AppendTypeParametersInConstraintsUsedByConstructedTypeWithItsOwnConstraints(
870var typeParameters = new List<ITypeParameterSymbol>();
875if (arguments[i] is ITypeParameterSymbol argument)
902private static IEnumerable<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 (97)
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)