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