10 references to HasExplicitDefaultValue
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Conversions.cs (2)
2364if (lambdaParameter.HasExplicitDefaultValue && 2367var delegateParamDefault = delegateParameter.HasExplicitDefaultValue ? delegateParameter.ExplicitDefaultConstantValue : null;
Binder\Binder_Expressions.cs (1)
10807var parameterDefaultValues = parameters.Any(p => p.HasExplicitDefaultValue) ?
Symbols\ParameterSymbol.cs (2)
216/// Returns the default value of the parameter. If <see cref="HasExplicitDefaultValue"/> 230if (HasExplicitDefaultValue)
Symbols\PublicModel\ParameterSymbol.cs (1)
77bool IParameterSymbol.HasExplicitDefaultValue => _underlying.HasExplicitDefaultValue;
Symbols\Source\SourceComplexParameterSymbol.cs (4)
1076else if (!HasExplicitDefaultValue && !ContainingSymbol.IsPartialImplementation()) // attribute applied to parameter without default 1104else if (!HasExplicitDefaultValue && !ContainingSymbol.IsPartialImplementation()) // attribute applied to parameter without default 1137else if (!HasExplicitDefaultValue && !ContainingSymbol.IsPartialImplementation()) // attribute applied to parameter without default 1178else if (!HasExplicitDefaultValue && !ContainingSymbol.IsPartialImplementation()) // attribute applied to parameter without default