7 instantiations of TypeInferenceMethodParameter
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Components\ComponentNodeWriter.cs (7)
434p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: true, attribute)); 439p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, splat)); 444p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, renderMode)); 455p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, childContent)); 460p.Add(new TypeInferenceMethodParameter(new(p.Count), "object", new(p.Count), usedForTypeInference: false, capture)); 466p.Add(new TypeInferenceMethodParameter(new(p.Count), capture.TypeName, new(p.Count), usedForTypeInference: false, capture)); 476p.Insert(i, new TypeInferenceMethodParameter(null, cascadingGenericType.ValueType, new(i, isSynthetic: true), usedForTypeInference: true, cascadingGenericType));
9 references to TypeInferenceMethodParameter
Microsoft.CodeAnalysis.Razor.Compiler (9)
Language\Components\ComponentNodeWriter.cs (9)
186foreach (var parameter in parameters) 307foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 333foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 405private List<TypeInferenceMethodParameter> GetTypeInferenceMethodParameters(ComponentTypeInferenceMethodIntermediateNode node) 407var p = new List<TypeInferenceMethodParameter>(); 484private static void UseCapturedCascadingGenericParameterVariable(ComponentIntermediateNode node, TypeInferenceMethodParameter parameter, TypeInferenceArgName variableName) 1103foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 1141foreach (var parameter in parameters) 1177private void WriteTypeInferenceMethodParameterInnards(CodeRenderingContext context, TypeInferenceMethodParameter parameter)