1 write to _underlyingParameter
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
30this._underlyingParameter = underlyingParameter;
90 references to _underlyingParameter
Microsoft.CodeAnalysis.CSharp (90)
Symbols\Extensions\ReceiverParameterSymbol.cs (3)
29get { return _underlyingParameter.HasEnumeratorCancellationAttribute; } 36Debug.Assert(_underlyingParameter.InterpolatedStringHandlerArgumentIndexes.IsEmpty); 41internal override bool HasInterpolatedStringHandlerArgumentError => _underlyingParameter.HasInterpolatedStringHandlerArgumentError;
Symbols\Extensions\RewrittenMethodSymbol.cs (3)
148get { return _containingMethod._typeMap.SubstituteType(this._underlyingParameter.TypeWithAnnotations); } 155return _containingMethod._typeMap.SubstituteCustomModifiers(this._underlyingParameter.RefCustomModifiers); 161get { return _underlyingParameter.HasEnumeratorCancellationAttribute; }
Symbols\Extensions\RewrittenParameterSymbol.cs (4)
16internal sealed override bool IsCallerLineNumber => _underlyingParameter.IsCallerLineNumber; 18internal sealed override bool IsCallerFilePath => _underlyingParameter.IsCallerFilePath; 20internal sealed override bool IsCallerMemberName => _underlyingParameter.IsCallerMemberName; 22internal sealed override int CallerArgumentExpressionParameterIndex => _underlyingParameter.CallerArgumentExpressionParameterIndex;
Symbols\Extensions\SourceExtensionImplementationMethodSymbol.cs (6)
197return GetImplementationParameterOrdinal(this._underlyingParameter); 203if (_underlyingParameter is SynthesizedAccessorValueParameterSymbol valueParameter) 215var originalIndexes = this._underlyingParameter.InterpolatedStringHandlerArgumentIndexes; 216if (originalIndexes.IsDefaultOrEmpty || this._underlyingParameter.ContainingSymbol.IsStatic) 223Debug.Assert(_underlyingParameter.ContainingSymbol is not NamedTypeSymbol); 236internal sealed override bool HasInterpolatedStringHandlerArgumentError => _underlyingParameter.HasInterpolatedStringHandlerArgumentError;
Symbols\NativeIntegerTypeSymbol.cs (11)
451public override TypeWithAnnotations TypeWithAnnotations => _containingType.SubstituteUnderlyingType(_underlyingParameter.TypeWithAnnotations); 453public override ImmutableArray<CustomModifier> RefCustomModifiers => _underlyingParameter.RefCustomModifiers; 455internal override bool IsCallerLineNumber => _underlyingParameter.IsCallerLineNumber; 457internal override bool IsCallerFilePath => _underlyingParameter.IsCallerFilePath; 459internal override bool IsCallerMemberName => _underlyingParameter.IsCallerMemberName; 461internal override int CallerArgumentExpressionParameterIndex => _underlyingParameter.CallerArgumentExpressionParameterIndex; 463internal override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes => _underlyingParameter.InterpolatedStringHandlerArgumentIndexes; 465internal override bool HasInterpolatedStringHandlerArgumentError => _underlyingParameter.HasInterpolatedStringHandlerArgumentError; 467internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute; 469public override bool Equals(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol._underlyingParameter); 471public override int GetHashCode() => _underlyingParameter.GetHashCode();
Symbols\ReducedExtensionMethodSymbol.cs (4)
638get { return this._underlyingParameter.Ordinal - 1; } 643get { return _containingMethod._typeMap.SubstituteType(this._underlyingParameter.TypeWithAnnotations); } 650return _containingMethod._typeMap.SubstituteCustomModifiers(this._underlyingParameter.RefCustomModifiers); 704return Hash.Combine(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Retargeting\RetargetingParameterSymbol.cs (15)
48new TypeWithAnnotations.Boxed(this.RetargetingModule.RetargetingTranslator.Retarget(_underlyingParameter.TypeWithAnnotations, RetargetOptions.RetargetPrimitiveTypesByTypeCode)), 60return RetargetingModule.RetargetingTranslator.RetargetModifiers(_underlyingParameter.RefCustomModifiers, ref _lazyRefCustomModifiers); 68return this.RetargetingModule.RetargetingTranslator.GetRetargetedAttributes(_underlyingParameter.GetAttributes(), ref _lazyCustomAttributes); 73return this.RetargetingModule.RetargetingTranslator.RetargetAttributes(_underlyingParameter.GetCustomAttributesToEmit(moduleBuilder)); 96return _underlyingParameter.HasMetadataConstantValue; 104return _underlyingParameter.IsMarshalledExplicitly; 112return this.RetargetingModule.RetargetingTranslator.Retarget(_underlyingParameter.MarshallingInformation); 120return _underlyingParameter.MarshallingDescriptor; 138internal sealed override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes => _underlyingParameter.InterpolatedStringHandlerArgumentIndexes; 140internal sealed override bool HasInterpolatedStringHandlerArgumentError => _underlyingParameter.HasInterpolatedStringHandlerArgumentError; 142internal sealed override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute; 146get { return _underlyingParameter.IsCallerLineNumber; } 151get { return _underlyingParameter.IsCallerFilePath; } 156get { return _underlyingParameter.IsCallerMemberName; } 161get { return _underlyingParameter.CallerArgumentExpressionParameterIndex; }
Symbols\SubstitutedParameterSymbol.cs (14)
44get { return _underlyingParameter.OriginalDefinition; } 62TypeWithAnnotations substituted = ((TypeMap)mapOrType).SubstituteType(this._underlyingParameter.TypeWithAnnotations); 65this._underlyingParameter.TypeWithAnnotations.CustomModifiers.IsEmpty && 66this._underlyingParameter.RefCustomModifiers.IsEmpty) 75internal override ImmutableArray<int> InterpolatedStringHandlerArgumentIndexes => _underlyingParameter.InterpolatedStringHandlerArgumentIndexes; 77internal override bool HasInterpolatedStringHandlerArgumentError => _underlyingParameter.HasInterpolatedStringHandlerArgumentError; 79internal override bool HasEnumeratorCancellationAttribute => _underlyingParameter.HasEnumeratorCancellationAttribute; 86return map != null ? map.SubstituteCustomModifiers(this._underlyingParameter.RefCustomModifiers) : this._underlyingParameter.RefCustomModifiers; 92get { return _underlyingParameter.IsCallerLineNumber; } 97get { return _underlyingParameter.IsCallerFilePath; } 102get { return _underlyingParameter.IsCallerMemberName; } 107get { return _underlyingParameter.CallerArgumentExpressionParameterIndex; } 130return Roslyn.Utilities.Hash.Combine(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Wrapped\WrappedParameterSymbol.cs (30)
33public ParameterSymbol UnderlyingParameter => _underlyingParameter; 35public sealed override bool IsDiscard => _underlyingParameter.IsDiscard; 41get { return _underlyingParameter.TypeWithAnnotations; } 46get { return _underlyingParameter.RefKind; } 51get { return _underlyingParameter.IsMetadataIn; } 56get { return _underlyingParameter.IsMetadataOut; } 61get { return _underlyingParameter.Locations; } 66get { return _underlyingParameter.DeclaringSyntaxReferences; } 71return _underlyingParameter.GetAttributes(); 78get { return _underlyingParameter.ExplicitDefaultConstantValue; } 83get { return _underlyingParameter.DefaultValueFromAttributes; } 88get { return _underlyingParameter.Ordinal; } 93get { return _underlyingParameter.IsParamsArray; } 98get { return _underlyingParameter.IsParamsCollection; } 103get { return _underlyingParameter.IsMetadataOptional; } 108get { return _underlyingParameter.IsImplicitlyDeclared; } 113get { return _underlyingParameter.Name; } 118get { return _underlyingParameter.MetadataName; } 123get { return _underlyingParameter.RefCustomModifiers; } 128get { return _underlyingParameter.MarshallingInformation; } 133get { return _underlyingParameter.MarshallingType; } 138get { return _underlyingParameter.IsIDispatchConstant; } 143get { return _underlyingParameter.IsIUnknownConstant; } 149get { return _underlyingParameter.FlowAnalysisAnnotations; } 154get { return _underlyingParameter.NotNullIfParameterNotNull; } 159return _underlyingParameter.GetDocumentationCommentXml(preferredCulture, expandIncludes, cancellationToken); 162internal sealed override ScopedKind DeclaredScope => _underlyingParameter.DeclaredScope; 164internal sealed override ScopedKind EffectiveScope => _underlyingParameter.EffectiveScope; 166internal sealed override bool HasUnscopedRefAttribute => _underlyingParameter.HasUnscopedRefAttribute; 168internal sealed override bool UseUpdatedEscapeRules => _underlyingParameter.UseUpdatedEscapeRules;