8 instantiations of ArgumentAnalysisResult
Microsoft.CodeAnalysis.CSharp (8)
Binder\Semantics\OverloadResolution\ArgumentAnalysisResult.cs (8)
51return new ArgumentAnalysisResult(ArgumentAnalysisResultKind.NameUsedForPositional, argumentPosition, 0, default(ImmutableArray<int>)); 56return new ArgumentAnalysisResult(ArgumentAnalysisResultKind.NoCorrespondingParameter, argumentPosition, 0, default(ImmutableArray<int>)); 61return new ArgumentAnalysisResult(ArgumentAnalysisResultKind.NoCorrespondingNamedParameter, argumentPosition, 0, default(ImmutableArray<int>)); 66return new ArgumentAnalysisResult(ArgumentAnalysisResultKind.DuplicateNamedArgument, argumentPosition, 0, default(ImmutableArray<int>)); 71return new ArgumentAnalysisResult(ArgumentAnalysisResultKind.RequiredParameterMissing, 0, parameterPosition, default(ImmutableArray<int>)); 76return new ArgumentAnalysisResult(ArgumentAnalysisResultKind.BadNonTrailingNamedArgument, argumentPosition, 0, default(ImmutableArray<int>)); 81return new ArgumentAnalysisResult(ArgumentAnalysisResultKind.Normal, 0, 0, argsToParamsOpt); 86return new ArgumentAnalysisResult(ArgumentAnalysisResultKind.Expanded, 0, 0, argsToParamsOpt);
29 references to ArgumentAnalysisResult
Microsoft.CodeAnalysis.CSharp (29)
Binder\Semantics\OverloadResolution\ArgumentAnalysisResult.cs (8)
49public static ArgumentAnalysisResult NameUsedForPositional(int argumentPosition) 54public static ArgumentAnalysisResult NoCorrespondingParameter(int argumentPosition) 59public static ArgumentAnalysisResult NoCorrespondingNamedParameter(int argumentPosition) 64public static ArgumentAnalysisResult DuplicateNamedArgument(int argumentPosition) 69public static ArgumentAnalysisResult RequiredParameterMissing(int parameterPosition) 74public static ArgumentAnalysisResult BadNonTrailingNamedArgument(int argumentPosition) 79public static ArgumentAnalysisResult NormalForm(ImmutableArray<int> argsToParamsOpt) 84public static ArgumentAnalysisResult ExpandedForm(ImmutableArray<int> argsToParamsOpt)
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (1)
241public static MemberAnalysisResult ArgumentParameterMismatch(ArgumentAnalysisResult argAnalysis)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (6)
960var argumentAnalysis = AnalyzeArguments(constructor, arguments, isMethodGroupConversion: false, expanded: false); // Constructors are never involved in method group conversion. 1004var argumentAnalysis = AnalyzeArguments(constructor, arguments, isMethodGroupConversion: false, expanded: true); 4013var argumentAnalysis = (options & Options.InferringUniqueMethodGroupSignature) != 0 4014? ArgumentAnalysisResult.NormalForm(argsToParamsOpt: default) 4094var argumentAnalysis = (options & Options.InferringUniqueMethodGroupSignature) != 0 4095? ArgumentAnalysisResult.ExpandedForm(argsToParamsOpt: default)
Binder\Semantics\OverloadResolution\OverloadResolution_ArgsToParameters.cs (14)
58private static ArgumentAnalysisResult AnalyzeArguments( 139return ArgumentAnalysisResult.BadNonTrailingNamedArgument(badNonTrailingNamedArgument.Value); 148return ArgumentAnalysisResult.NoCorrespondingNamedParameter(unmatchedArgumentIndex.Value); 152return ArgumentAnalysisResult.NoCorrespondingParameter(unmatchedArgumentIndex.Value); 162return ArgumentAnalysisResult.NameUsedForPositional(nameUsedForPositional.Value); 170return ArgumentAnalysisResult.RequiredParameterMissing(requiredParameterMissing.Value); 176return ArgumentAnalysisResult.RequiredParameterMissing(parameters.Length); 184return ArgumentAnalysisResult.DuplicateNamedArgument(duplicateNamedArgument.Value); 190ArgumentAnalysisResult.ExpandedForm(argsToParameters.ToImmutableArray()) : 191ArgumentAnalysisResult.NormalForm(argsToParameters.ToImmutableArray()); 340private static ArgumentAnalysisResult AnalyzeArgumentsForNormalFormNoNamedArguments( 367return ArgumentAnalysisResult.RequiredParameterMissing(parameterPosition); 373return ArgumentAnalysisResult.NoCorrespondingParameter(parameterCount); 378return ArgumentAnalysisResult.NormalForm(default(ImmutableArray<int>));