10 references to HasExplicitDefaultValue
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Conversions.cs (2)
2104if (lambdaParameter.HasExplicitDefaultValue && 2107var delegateParamDefault = delegateParameter.HasExplicitDefaultValue ? delegateParameter.ExplicitDefaultConstantValue : null;
Binder\Binder_Expressions.cs (1)
10614var 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