12 references to InParameterDefaultValue
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (7)
499
Debug.Assert(this.
InParameterDefaultValue
);
2219
return !(
InParameterDefaultValue
||
6886
if (!this.InAttributeArgument && !this.
InParameterDefaultValue
&& type.IsComImport)
8404
if (!
InParameterDefaultValue
&& !InAttributeArgument && methodGroup.Receiver.IsExpressionOfComImportType())
9019
!InAttributeArgument && !
InParameterDefaultValue
&& // These checks prevent cycles caused by attribute binding when HasInlineArrayAttribute check triggers that.
9746
bool allowRefOmittedArguments = !
InParameterDefaultValue
&& !InAttributeArgument && receiver.IsExpressionOfComImportType();
10437
if (!
InParameterDefaultValue
&& !InAttributeArgument && methodGroup.Receiver.IsExpressionOfComImportType())
Binder\Semantics\Conversions\Conversions.cs (2)
131
if (_binder.
InParameterDefaultValue
|| _binder.InAttributeArgument)
528
protected override bool IsParameterDefaultValueBinding => _binder.
InParameterDefaultValue
;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
4442
if (!_binder.
InParameterDefaultValue
&& !_binder.InAttributeArgument
FlowAnalysis\NullableWalker.cs (1)
8137
if (!_binder.InAttributeArgument && !_binder.
InParameterDefaultValue
&& // These checks prevent cycles caused by attribute binding when HasInlineArrayAttribute check triggers that.
Symbols\Source\SourceComplexParameterSymbol.cs (1)
380
Debug.Assert(binder.
InParameterDefaultValue
);