13 references to InParameterDefaultValue
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Expressions.cs (7)
536Debug.Assert(this.InParameterDefaultValue); 2096(InParameterDefaultValue || InAttributeArgument || 2102if (this.ContainingMember() is { IsStatic: true } && !InParameterDefaultValue && !InAttributeArgument && (object)this.ContainingMember().ContainingSymbol == parameter.ContainingSymbol) 2346return !(InParameterDefaultValue || 7112if (!this.InAttributeArgument && !this.InParameterDefaultValue && type.IsComImport) 9797return !InParameterDefaultValue && !InAttributeArgument && receiver.IsExpressionOfComImportType(); 10353!InAttributeArgument && !InParameterDefaultValue && // These checks prevent cycles caused by attribute binding when HasInlineArrayAttribute check triggers that.
Binder\Semantics\Conversions\Conversions.cs (3)
133if (_binder.InParameterDefaultValue || _binder.InAttributeArgument) 249if (_binder.InParameterDefaultValue || _binder.InAttributeArgument) 564protected override bool IsParameterDefaultValueBinding => _binder.InParameterDefaultValue;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
4601if (!_binder.InParameterDefaultValue && !_binder.InAttributeArgument
FlowAnalysis\NullableWalker.cs (1)
9125if (!_binder.InAttributeArgument && !_binder.InParameterDefaultValue && // These checks prevent cycles caused by attribute binding when HasInlineArrayAttribute check triggers that.
Symbols\Source\SourceComplexParameterSymbol.cs (1)
388Debug.Assert(binder.InParameterDefaultValue);