1 write to _underlyingParameter
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
30
this.
_underlyingParameter
= underlyingParameter;
75 references to _underlyingParameter
Microsoft.CodeAnalysis.CSharp (75)
Symbols\NativeIntegerTypeSymbol.cs (10)
419
public override TypeWithAnnotations TypeWithAnnotations => _containingType.SubstituteUnderlyingType(
_underlyingParameter
.TypeWithAnnotations);
421
public override ImmutableArray<CustomModifier> RefCustomModifiers =>
_underlyingParameter
.RefCustomModifiers;
423
internal override bool IsCallerLineNumber =>
_underlyingParameter
.IsCallerLineNumber;
425
internal override bool IsCallerFilePath =>
_underlyingParameter
.IsCallerFilePath;
427
internal override bool IsCallerMemberName =>
_underlyingParameter
.IsCallerMemberName;
429
internal override int CallerArgumentExpressionParameterIndex =>
_underlyingParameter
.CallerArgumentExpressionParameterIndex;
431
internal override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes =>
_underlyingParameter
.InterpolatedStringHandlerArgumentIndexes;
433
internal override bool HasInterpolatedStringHandlerArgumentError =>
_underlyingParameter
.HasInterpolatedStringHandlerArgumentError;
435
public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol.
_underlyingParameter
);
437
public override int GetHashCode() =>
_underlyingParameter
.GetHashCode();
Symbols\ReducedExtensionMethodSymbol.cs (4)
635
get { return this.
_underlyingParameter
.Ordinal - 1; }
640
get { return _containingMethod._typeMap.SubstituteType(this.
_underlyingParameter
.TypeWithAnnotations); }
647
return _containingMethod._typeMap.SubstituteCustomModifiers(this.
_underlyingParameter
.RefCustomModifiers);
699
return Hash.Combine(ContainingSymbol,
_underlyingParameter
.Ordinal);
Symbols\Retargeting\RetargetingParameterSymbol.cs (19)
47
new TypeWithAnnotations.Boxed(this.RetargetingModule.RetargetingTranslator.Retarget(
_underlyingParameter
.TypeWithAnnotations, RetargetOptions.RetargetPrimitiveTypesByTypeCode)),
59
return RetargetingModule.RetargetingTranslator.RetargetModifiers(
_underlyingParameter
.RefCustomModifiers, ref _lazyRefCustomModifiers);
67
return this.RetargetingModule.RetargetingTranslator.Retarget(
_underlyingParameter
.ContainingSymbol);
73
return this.RetargetingModule.RetargetingTranslator.GetRetargetedAttributes(
_underlyingParameter
.GetAttributes(), ref _lazyCustomAttributes);
78
return this.RetargetingModule.RetargetingTranslator.RetargetAttributes(
_underlyingParameter
.GetCustomAttributesToEmit(moduleBuilder));
101
return
_underlyingParameter
.HasMetadataConstantValue;
109
return
_underlyingParameter
.IsMarshalledExplicitly;
117
return this.RetargetingModule.RetargetingTranslator.Retarget(
_underlyingParameter
.MarshallingInformation);
125
return
_underlyingParameter
.MarshallingDescriptor;
143
internal sealed override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes =>
_underlyingParameter
.InterpolatedStringHandlerArgumentIndexes;
145
internal override bool HasInterpolatedStringHandlerArgumentError =>
_underlyingParameter
.HasInterpolatedStringHandlerArgumentError;
169
get { return
_underlyingParameter
.IsCallerLineNumber; }
174
get { return
_underlyingParameter
.IsCallerFilePath; }
179
get { return
_underlyingParameter
.IsCallerMemberName; }
184
get { return
_underlyingParameter
.CallerArgumentExpressionParameterIndex; }
209
get { return
_underlyingParameter
.IsCallerLineNumber; }
214
get { return
_underlyingParameter
.IsCallerFilePath; }
219
get { return
_underlyingParameter
.IsCallerMemberName; }
224
get { return
_underlyingParameter
.CallerArgumentExpressionParameterIndex; }
Symbols\SubstitutedParameterSymbol.cs (13)
37
get { return
_underlyingParameter
.OriginalDefinition; }
55
TypeWithAnnotations substituted = ((TypeMap)mapOrType).SubstituteType(this.
_underlyingParameter
.TypeWithAnnotations);
58
this.
_underlyingParameter
.TypeWithAnnotations.CustomModifiers.IsEmpty &&
59
this.
_underlyingParameter
.RefCustomModifiers.IsEmpty)
68
internal override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes =>
_underlyingParameter
.InterpolatedStringHandlerArgumentIndexes;
70
internal override bool HasInterpolatedStringHandlerArgumentError =>
_underlyingParameter
.HasInterpolatedStringHandlerArgumentError;
77
return map != null ? map.SubstituteCustomModifiers(this.
_underlyingParameter
.RefCustomModifiers) : this.
_underlyingParameter
.RefCustomModifiers;
83
get { return
_underlyingParameter
.IsCallerLineNumber; }
88
get { return
_underlyingParameter
.IsCallerFilePath; }
93
get { return
_underlyingParameter
.IsCallerMemberName; }
98
get { return
_underlyingParameter
.CallerArgumentExpressionParameterIndex; }
121
return Roslyn.Utilities.Hash.Combine(ContainingSymbol,
_underlyingParameter
.Ordinal);
Symbols\Wrapped\WrappedParameterSymbol.cs (29)
33
public ParameterSymbol UnderlyingParameter =>
_underlyingParameter
;
35
public sealed override bool IsDiscard =>
_underlyingParameter
.IsDiscard;
41
get { return
_underlyingParameter
.TypeWithAnnotations; }
46
get { return
_underlyingParameter
.RefKind; }
51
get { return
_underlyingParameter
.IsMetadataIn; }
56
get { return
_underlyingParameter
.IsMetadataOut; }
61
get { return
_underlyingParameter
.Locations; }
66
get { return
_underlyingParameter
.DeclaringSyntaxReferences; }
71
return
_underlyingParameter
.GetAttributes();
76
_underlyingParameter
.AddSynthesizedAttributes(moduleBuilder, ref attributes);
81
get { return
_underlyingParameter
.ExplicitDefaultConstantValue; }
86
get { return
_underlyingParameter
.Ordinal; }
91
get { return
_underlyingParameter
.IsParamsArray; }
96
get { return
_underlyingParameter
.IsParamsCollection; }
101
get { return
_underlyingParameter
.IsMetadataOptional; }
106
get { return
_underlyingParameter
.IsImplicitlyDeclared; }
111
get { return
_underlyingParameter
.Name; }
116
get { return
_underlyingParameter
.MetadataName; }
121
get { return
_underlyingParameter
.RefCustomModifiers; }
126
get { return
_underlyingParameter
.MarshallingInformation; }
131
get { return
_underlyingParameter
.MarshallingType; }
136
get { return
_underlyingParameter
.IsIDispatchConstant; }
141
get { return
_underlyingParameter
.IsIUnknownConstant; }
147
get { return
_underlyingParameter
.FlowAnalysisAnnotations; }
152
get { return
_underlyingParameter
.NotNullIfParameterNotNull; }
157
return
_underlyingParameter
.GetDocumentationCommentXml(preferredCulture, expandIncludes, cancellationToken);
160
internal sealed override ScopedKind EffectiveScope =>
_underlyingParameter
.EffectiveScope;
162
internal sealed override bool HasUnscopedRefAttribute =>
_underlyingParameter
.HasUnscopedRefAttribute;
164
internal sealed override bool UseUpdatedEscapeRules =>
_underlyingParameter
.UseUpdatedEscapeRules;