src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (14)
139ArgumentSyntax argument => InferTypeInArgument(argument),
203ArgumentSyntax argument => InferTypeInArgument(argument, token),
268ArgumentSyntax argument, SyntaxToken? previousToken = null)
346return InferTypeInTupleExpression(tupleExpression, (ArgumentSyntax)argsAndCommas[commaIndex + 1]);
353TupleExpressionSyntax tupleExpression, ArgumentSyntax argument)
385private IEnumerable<TypeInferenceInfo> InferTypeInConstructorInitializer(ConstructorInitializerSyntax initializer, int index, ArgumentSyntax argument = null)
432private IEnumerable<TypeInferenceInfo> InferTypeInObjectCreationExpression(BaseObjectCreationExpressionSyntax creation, int index, ArgumentSyntax argumentOpt = null)
453InvocationExpressionSyntax invocation, int index, ArgumentSyntax argumentOpt = null)
548ElementAccessExpressionSyntax elementAccess, int index, ArgumentSyntax argumentOpt = null)
575private IEnumerable<TypeInferenceInfo> InferTypeInArgument(int index, IEnumerable<IMethodSymbol> methods, ArgumentSyntax argumentOpt, InvocationExpressionSyntax parentInvocationExpressionToTypeInfer)
721ArgumentSyntax argumentOpt)
1646ArgumentSyntax argumentSyntax => InferTypeInArgument(argumentSyntax),
2277SeparatedSyntaxList<ArgumentSyntax> arguments,
2287foreach (var arg in arguments)
ConvertToInterpolatedString\CSharpConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
20ArgumentSyntax,
GenerateType\CSharpGenerateTypeService.cs (4)
34AbstractGenerateTypeService<CSharpGenerateTypeService, SimpleNameSyntax, ObjectCreationExpressionSyntax, ExpressionSyntax, TypeDeclarationSyntax, ArgumentSyntax>
509protected override bool TryGetArgumentList(ObjectCreationExpressionSyntax objectCreationExpression, out IList<ArgumentSyntax> argumentList)
522SemanticModel semanticModel, IList<ArgumentSyntax> arguments, CancellationToken cancellationToken)
561protected override ITypeSymbol DetermineArgumentType(SemanticModel semanticModel, ArgumentSyntax argument, CancellationToken cancellationToken)
ReplaceConditionalWithStatements\CSharpReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
24ArgumentSyntax,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (14)
139ArgumentSyntax argument => InferTypeInArgument(argument),
203ArgumentSyntax argument => InferTypeInArgument(argument, token),
268ArgumentSyntax argument, SyntaxToken? previousToken = null)
346return InferTypeInTupleExpression(tupleExpression, (ArgumentSyntax)argsAndCommas[commaIndex + 1]);
353TupleExpressionSyntax tupleExpression, ArgumentSyntax argument)
385private IEnumerable<TypeInferenceInfo> InferTypeInConstructorInitializer(ConstructorInitializerSyntax initializer, int index, ArgumentSyntax argument = null)
432private IEnumerable<TypeInferenceInfo> InferTypeInObjectCreationExpression(BaseObjectCreationExpressionSyntax creation, int index, ArgumentSyntax argumentOpt = null)
453InvocationExpressionSyntax invocation, int index, ArgumentSyntax argumentOpt = null)
548ElementAccessExpressionSyntax elementAccess, int index, ArgumentSyntax argumentOpt = null)
575private IEnumerable<TypeInferenceInfo> InferTypeInArgument(int index, IEnumerable<IMethodSymbol> methods, ArgumentSyntax argumentOpt, InvocationExpressionSyntax parentInvocationExpressionToTypeInfer)
721ArgumentSyntax argumentOpt)
1646ArgumentSyntax argumentSyntax => InferTypeInArgument(argumentSyntax),
2277SeparatedSyntaxList<ArgumentSyntax> arguments,
2287foreach (var arg in arguments)