src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (15)
139ArgumentSyntax argument => InferTypeInArgument(argument),
203ArgumentSyntax argument => InferTypeInArgument(argument, token),
268ArgumentSyntax argument, SyntaxToken? previousToken = null)
350return InferTypeInTupleExpression(tupleExpression, (ArgumentSyntax)argsAndCommas[commaIndex + 1]);
357TupleExpressionSyntax tupleExpression, ArgumentSyntax argument)
389private IEnumerable<TypeInferenceInfo> InferTypeInConstructorInitializer(ConstructorInitializerSyntax initializer, int index, ArgumentSyntax argument = null)
436private IEnumerable<TypeInferenceInfo> InferTypeInObjectCreationExpression(BaseObjectCreationExpressionSyntax creation, int index, ArgumentSyntax argumentOpt = null)
457PrimaryConstructorBaseTypeSyntax primaryConstructorBaseType, int index, ArgumentSyntax argumentOpt = null)
469InvocationExpressionSyntax invocation, int index, ArgumentSyntax argumentOpt = null)
564ElementAccessExpressionSyntax elementAccess, int index, ArgumentSyntax argumentOpt = null)
591private IEnumerable<TypeInferenceInfo> InferTypeInArgument(int index, IEnumerable<IMethodSymbol> methods, ArgumentSyntax argumentOpt, InvocationExpressionSyntax parentInvocationExpressionToTypeInfer)
737ArgumentSyntax argumentOpt)
1662ArgumentSyntax argumentSyntax => InferTypeInArgument(argumentSyntax),
2293SeparatedSyntaxList<ArgumentSyntax> arguments,
2303foreach (var arg in arguments)
ConvertToInterpolatedString\CSharpConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
20ArgumentSyntax,
GenerateType\CSharpGenerateTypeService.cs (4)
36AbstractGenerateTypeService<CSharpGenerateTypeService, SimpleNameSyntax, ObjectCreationExpressionSyntax, ExpressionSyntax, TypeDeclarationSyntax, ArgumentSyntax>
485protected override bool TryGetArgumentList(ObjectCreationExpressionSyntax objectCreationExpression, out IList<ArgumentSyntax> argumentList)
498SemanticModel semanticModel, IList<ArgumentSyntax> arguments, CancellationToken cancellationToken)
537protected override ITypeSymbol DetermineArgumentType(SemanticModel semanticModel, ArgumentSyntax argument, CancellationToken cancellationToken)
ReplaceConditionalWithStatements\CSharpReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
24ArgumentSyntax,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (15)
139ArgumentSyntax argument => InferTypeInArgument(argument),
203ArgumentSyntax argument => InferTypeInArgument(argument, token),
268ArgumentSyntax argument, SyntaxToken? previousToken = null)
350return InferTypeInTupleExpression(tupleExpression, (ArgumentSyntax)argsAndCommas[commaIndex + 1]);
357TupleExpressionSyntax tupleExpression, ArgumentSyntax argument)
389private IEnumerable<TypeInferenceInfo> InferTypeInConstructorInitializer(ConstructorInitializerSyntax initializer, int index, ArgumentSyntax argument = null)
436private IEnumerable<TypeInferenceInfo> InferTypeInObjectCreationExpression(BaseObjectCreationExpressionSyntax creation, int index, ArgumentSyntax argumentOpt = null)
457PrimaryConstructorBaseTypeSyntax primaryConstructorBaseType, int index, ArgumentSyntax argumentOpt = null)
469InvocationExpressionSyntax invocation, int index, ArgumentSyntax argumentOpt = null)
564ElementAccessExpressionSyntax elementAccess, int index, ArgumentSyntax argumentOpt = null)
591private IEnumerable<TypeInferenceInfo> InferTypeInArgument(int index, IEnumerable<IMethodSymbol> methods, ArgumentSyntax argumentOpt, InvocationExpressionSyntax parentInvocationExpressionToTypeInfer)
737ArgumentSyntax argumentOpt)
1662ArgumentSyntax argumentSyntax => InferTypeInArgument(argumentSyntax),
2293SeparatedSyntaxList<ArgumentSyntax> arguments,
2303foreach (var arg in arguments)