7 instantiations of TypeInferenceMethodParameter
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Components\ComponentNodeWriter.cs (7)
436p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: true, attribute)); 441p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, splat)); 446p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, renderMode)); 457p.Add(new TypeInferenceMethodParameter(new(p.Count), typeName, new(p.Count), usedForTypeInference: false, childContent)); 462p.Add(new TypeInferenceMethodParameter(new(p.Count), "object", new(p.Count), usedForTypeInference: false, capture)); 468p.Add(new TypeInferenceMethodParameter(new(p.Count), capture.TypeName, new(p.Count), usedForTypeInference: false, capture)); 478p.Insert(i, new TypeInferenceMethodParameter(null, cascadingGenericType.ValueType, new(i, isSynthetic: true), usedForTypeInference: true, cascadingGenericType));
12 references to TypeInferenceMethodParameter
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Components\ComponentDesignTimeNodeWriter.cs (3)
427foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 477foreach (var parameter in parameters) 569private void WriteTypeInferenceMethodParameterInnards(CodeRenderingContext context, TypeInferenceMethodParameter parameter)
Language\Components\ComponentNodeWriter.cs (6)
188foreach (var parameter in parameters) 309foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 335foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 407protected List<TypeInferenceMethodParameter> GetTypeInferenceMethodParameters(ComponentTypeInferenceMethodIntermediateNode node) 409var p = new List<TypeInferenceMethodParameter>(); 486protected static void UseCapturedCascadingGenericParameterVariable(ComponentIntermediateNode node, TypeInferenceMethodParameter parameter, TypeInferenceArgName variableName)
Language\Components\ComponentRuntimeNodeWriter.cs (3)
475foreach (var parameter in parameters.Where(p => p.UsedForTypeInference)) 513foreach (var parameter in parameters) 549private void WriteTypeInferenceMethodParameterInnards(CodeRenderingContext context, TypeInferenceMethodParameter parameter)