1 write to ArgumentPosition
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\OverloadResolution\ArgumentAnalysisResult.cs (1)
36
this.
ArgumentPosition
= argumentPosition;
9 references to ArgumentPosition
Microsoft.CodeAnalysis.CSharp (9)
Binder\Semantics\OverloadResolution\ArgumentAnalysisResult.cs (4)
104
s += "Invalid because argument " +
ArgumentPosition
+ " had a name.";
107
s += "Invalid because named argument " +
ArgumentPosition
+ " was specified twice.";
110
s += "Invalid because argument " +
ArgumentPosition
+ " has no corresponding parameter.";
113
s += "Invalid because named argument " +
ArgumentPosition
+ " has no corresponding parameter.";
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (5)
246
return NoCorrespondingParameter(argAnalysis.
ArgumentPosition
);
248
return NoCorrespondingNamedParameter(argAnalysis.
ArgumentPosition
);
250
return DuplicateNamedArgument(argAnalysis.
ArgumentPosition
);
254
return NameUsedForPositional(argAnalysis.
ArgumentPosition
);
256
return BadNonTrailingNamedArgument(argAnalysis.
ArgumentPosition
);