2 references to CanBeOptional
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\OverloadResolution\OverloadResolution_ArgsToParameters.cs (2)
365
if (parameters.Length == parameterPosition || !
CanBeOptional
(parameters[parameterPosition], isMethodGroupConversion))
462
if (
CanBeOptional
(parameters[p], isMethodGroupConversion))