28 references to ArgumentAnalysisResultKind
Microsoft.CodeAnalysis.CSharp (28)
Binder\Semantics\OverloadResolution\ArgumentAnalysisResult.cs (19)
17
public readonly
ArgumentAnalysisResultKind
Kind;
30
private ArgumentAnalysisResult(
ArgumentAnalysisResultKind
kind,
45
return this.Kind <
ArgumentAnalysisResultKind
.FirstInvalid;
51
return new ArgumentAnalysisResult(
ArgumentAnalysisResultKind
.NameUsedForPositional, argumentPosition, 0, default(ImmutableArray<int>));
56
return new ArgumentAnalysisResult(
ArgumentAnalysisResultKind
.NoCorrespondingParameter, argumentPosition, 0, default(ImmutableArray<int>));
61
return new ArgumentAnalysisResult(
ArgumentAnalysisResultKind
.NoCorrespondingNamedParameter, argumentPosition, 0, default(ImmutableArray<int>));
66
return new ArgumentAnalysisResult(
ArgumentAnalysisResultKind
.DuplicateNamedArgument, argumentPosition, 0, default(ImmutableArray<int>));
71
return new ArgumentAnalysisResult(
ArgumentAnalysisResultKind
.RequiredParameterMissing, 0, parameterPosition, default(ImmutableArray<int>));
76
return new ArgumentAnalysisResult(
ArgumentAnalysisResultKind
.BadNonTrailingNamedArgument, argumentPosition, 0, default(ImmutableArray<int>));
81
return new ArgumentAnalysisResult(
ArgumentAnalysisResultKind
.Normal, 0, 0, argsToParamsOpt);
86
return new ArgumentAnalysisResult(
ArgumentAnalysisResultKind
.Expanded, 0, 0, argsToParamsOpt);
97
case
ArgumentAnalysisResultKind
.Normal:
100
case
ArgumentAnalysisResultKind
.Expanded:
103
case
ArgumentAnalysisResultKind
.NameUsedForPositional:
106
case
ArgumentAnalysisResultKind
.DuplicateNamedArgument:
109
case
ArgumentAnalysisResultKind
.NoCorrespondingParameter:
112
case
ArgumentAnalysisResultKind
.NoCorrespondingNamedParameter:
115
case
ArgumentAnalysisResultKind
.RequiredParameterMissing:
118
case
ArgumentAnalysisResultKind
.BadNonTrailingNamedArgument:
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (6)
245
case
ArgumentAnalysisResultKind
.NoCorrespondingParameter:
247
case
ArgumentAnalysisResultKind
.NoCorrespondingNamedParameter:
249
case
ArgumentAnalysisResultKind
.DuplicateNamedArgument:
251
case
ArgumentAnalysisResultKind
.RequiredParameterMissing:
253
case
ArgumentAnalysisResultKind
.NameUsedForPositional:
255
case
ArgumentAnalysisResultKind
.BadNonTrailingNamedArgument:
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
4041
case
ArgumentAnalysisResultKind
.RequiredParameterMissing:
4042
case
ArgumentAnalysisResultKind
.NoCorrespondingParameter:
4043
case
ArgumentAnalysisResultKind
.DuplicateNamedArgument: