8 references to GetTypeParameters
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Components\ComponentDesignTimeNodeWriter.cs (1)
552var typeArgumentCount = node.Component.GetTypeParameters().Count();
Language\Components\ComponentGenericTypePass.cs (2)
65var componentTypeParameters = node.Component.GetTypeParameters().ToList(); 254node.AddDiagnostic(ComponentDiagnosticFactory.Create_GenericComponentTypeInferenceUnderspecified(node.Source, node, node.Component.GetTypeParameters()));
Language\Components\ComponentLoweringPass.cs (2)
261foreach (var typeParam in tagHelper.GetTypeParameters()) 281foreach (var typeParam in component.GetTypeParameters())
Language\Components\ComponentNodeWriter.cs (2)
125writer.Write(string.Join(", ", node.Component.Component.GetTypeParameters().Select(serializeTypeParameter))); 304writer.Write(string.Join(", ", node.Component.Component.GetTypeParameters().Select(a => a.Name)));
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Formatting\FormattingVisitor.cs (1)
314var typeParameterNames = descriptors.SelectMany(d => d.GetTypeParameters().Select(p => p.Name)).ToArray();