1 write to _baseParameterForAttributes
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
363
_baseParameterForAttributes
= baseParameterForAttributes;
13 references to _baseParameterForAttributes
Microsoft.CodeAnalysis.CSharp (13)
Symbols\Synthesized\SynthesizedParameterSymbol.cs (13)
376
return
_baseParameterForAttributes
?.GetAttributes() ?? ImmutableArray<CSharpAttributeData>.Empty;
379
public bool HasEnumeratorCancellationAttribute =>
_baseParameterForAttributes
?.HasEnumeratorCancellationAttribute ?? false;
381
internal override MarshalPseudoCustomAttributeData? MarshallingInformation =>
_baseParameterForAttributes
?.MarshallingInformation;
389
internal override bool IsMetadataOptional =>
_baseParameterForAttributes
?.IsMetadataOptional ?? base.IsMetadataOptional;
393
get =>
_baseParameterForAttributes
?.IsCallerLineNumber ?? false;
398
get =>
_baseParameterForAttributes
?.IsCallerFilePath ?? false;
403
get =>
_baseParameterForAttributes
?.IsCallerMemberName ?? false;
406
internal override bool IsMetadataIn => RefKind is RefKind.In or RefKind.RefReadOnlyParameter ||
_baseParameterForAttributes
?.GetDecodedWellKnownAttributeData()?.HasInAttribute == true;
408
internal override bool IsMetadataOut => RefKind == RefKind.Out ||
_baseParameterForAttributes
?.GetDecodedWellKnownAttributeData()?.HasOutAttribute == true;
410
internal override ConstantValue? ExplicitDefaultConstantValue =>
_baseParameterForAttributes
?.ExplicitDefaultConstantValue ?? _defaultValue;
412
internal override ConstantValue? DefaultValueFromAttributes =>
_baseParameterForAttributes
?.DefaultValueFromAttributes;
418
Debug.Assert(
_baseParameterForAttributes
is null);
427
Debug.Assert(
_baseParameterForAttributes
is null);