7 instantiations of TypeInferenceMethodParameter
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Components\ComponentNodeWriter.cs (7)
442p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: true, attribute)); 447p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, splat)); 452p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, renderMode)); 463p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, childContent)); 468p.Add(new TypeInferenceMethodParameter(new(p.Count), "object", new(p.Count), usedForTypeInference: false, capture)); 474p.Add(new TypeInferenceMethodParameter(new(p.Count), capture.TypeName, new(p.Count), usedForTypeInference: false, capture)); 484p.Insert(i, new TypeInferenceMethodParameter(null, cascadingGenericType.ValueType, new(i, isSynthetic: true), usedForTypeInference: true, cascadingGenericType));
10 references to TypeInferenceMethodParameter
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\Components\ComponentNodeWriter.cs (10)
88using var _ = ListPool<TypeInferenceMethodParameter>.GetPooledObject(out var parameters); 187foreach (var parameter in parameters) 308foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 334foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 415private static void GetTypeInferenceMethodParameters(ComponentTypeInferenceMethodIntermediateNode node, List<TypeInferenceMethodParameter> p) 490private static void UseCapturedCascadingGenericParameterVariable(ComponentIntermediateNode node, TypeInferenceMethodParameter parameter, TypeInferenceArgName variableName) 1094using var _ = ListPool<TypeInferenceMethodParameter>.GetPooledObject(out var parameters); 1110foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 1148foreach (var parameter in parameters) 1184private void WriteTypeInferenceMethodParameterInnards(CodeRenderingContext context, TypeInferenceMethodParameter parameter)