2 types derived from SourceParameterSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceComplexParameterSymbol.cs (1)
21internal abstract class SourceComplexParameterSymbolBase : SourceParameterSymbol, IAttributeTargetSymbol
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
16internal sealed class SourceSimpleParameterSymbol : SourceParameterSymbol
36 references to SourceParameterSymbol
Microsoft.CodeAnalysis.CSharp (36)
Symbols\Source\LocalFunctionSymbol.cs (1)
202diagnostics: diagnostics).Cast<SourceParameterSymbol, ParameterSymbol>();
Symbols\Source\ParameterHelpers.cs (5)
20public static ImmutableArray<SourceParameterSymbol> MakeParameters( 30return MakeParameters<ParameterSyntax, SourceParameterSymbol, Symbol>( 47return SourceParameterSymbol.Create( 194Debug.Assert(parameter is SourceComplexParameterSymbolBase || parameter is not SourceParameterSymbol s || s.DeclaredScope == ScopedKind.None); // Only SourceComplexParameterSymbolBase validates 'scope'. 711SourceParameterSymbol parameter,
Symbols\Source\SourceClonedParameterSymbol.cs (3)
14/// Represents a source parameter cloned from another <see cref="SourceParameterSymbol"/>, when they must share attribute data and default constant value. 23protected readonly SourceParameterSymbol _originalParam; 25internal SourceClonedParameterSymbol(SourceParameterSymbol originalParam, Symbol newOwner, int newOrdinal, bool suppressOptional)
Symbols\Source\SourceComplexParameterSymbol.cs (8)
466private SourceParameterSymbol? BoundAttributesSource 469protected SourceParameterSymbol? PartialImplementationPart 486return (SourceParameterSymbol)implParameters[this.Ordinal]; 490protected SourceParameterSymbol? PartialDefinitionPart 507return (SourceParameterSymbol)defParameters[this.Ordinal]; 586SourceParameterSymbol copyFrom = this.BoundAttributesSource; 1049var implParameter = this.ContainingSymbol.IsPartialImplementation() ? this : PartialImplementationPart; 1456SourceParameterSymbol copyFrom = this.BoundAttributesSource;
Symbols\Source\SourceConstructorSymbolBase.cs (1)
56diagnostics: diagnostics).Cast<SourceParameterSymbol, ParameterSymbol>();
Symbols\Source\SourceDelegateClonedParameterSymbolForBeginAndEndInvoke.cs (1)
14internal SourceDelegateClonedParameterSymbolForBeginAndEndInvoke(SourceParameterSymbol originalParam, SourceDelegateMethodSymbol newOwner, int newOrdinal)
Symbols\Source\SourceDelegateMethodSymbol.cs (3)
290InitializeParameters(parameters.Cast<SourceParameterSymbol, ParameterSymbol>()); 358foreach (SourceParameterSymbol p in invoke.Parameters) 400foreach (SourceParameterSymbol p in invoke.Parameters)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
130diagnostics: diagnostics).Cast<SourceParameterSymbol, ParameterSymbol>();
Symbols\Source\SourceParameterSymbol.cs (2)
30public static SourceParameterSymbol Create( 123internal SourceParameterSymbol WithCustomModifiersAndParamsCore(TypeSymbol newType, ImmutableArray<CustomModifier> newCustomModifiers, ImmutableArray<CustomModifier> newRefCustomModifiers, bool newIsParams)
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
776foreach (SourceParameterSymbol propertyParam in propertyParameters)
Symbols\Source\SourcePropertyClonedParameterSymbolForAccessors.cs (1)
12internal SourcePropertyClonedParameterSymbolForAccessors(SourceParameterSymbol originalParam, Symbol newOwner)
Symbols\Source\SourcePropertySymbol.cs (5)
618diagnostics: diagnostics).Cast<SourceParameterSymbol, ParameterSymbol>(); 759var definitionParameter = (SourceParameterSymbol)this.Parameters[i]; 760var implementationParameter = (SourceParameterSymbol)implementation.Parameters[i];
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
239diagnostics: diagnostics).Cast<SourceParameterSymbol, ParameterSymbol>();
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (3)
14public SourceParameterSymbol BackingParameter { get; } 45BackingParameter = (SourceParameterSymbol)backingParameter; 99public static bool HaveCorrespondingSynthesizedRecordPropertySymbol(SourceParameterSymbol parameter)