9 overrides of EffectiveScope
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.ValueChecks.cs (1)
3055
internal override ScopedKind
EffectiveScope
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
32
internal override ScopedKind
EffectiveScope
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1049
internal sealed override ScopedKind
EffectiveScope
=> _packedFlags.Scope;
Symbols\SignatureOnlyParameterSymbol.cs (1)
56
internal override ScopedKind
EffectiveScope
Symbols\Source\SourceClonedParameterSymbol.cs (1)
66
internal sealed override ScopedKind
EffectiveScope
=> _originalParam.EffectiveScope;
Symbols\Source\SourceParameterSymbol.cs (1)
233
internal abstract override ScopedKind
EffectiveScope
{ get; }
Symbols\Source\ThisParameterSymbol.cs (1)
176
internal override ScopedKind
EffectiveScope
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
227
internal sealed override ScopedKind
EffectiveScope
=> _scope;
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
160
internal sealed override ScopedKind
EffectiveScope
=> _underlyingParameter.EffectiveScope;
17 references to EffectiveScope
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (5)
1255
{
EffectiveScope
: ScopedKind.ScopedValue } => CurrentMethodScope,
1269
{
EffectiveScope
: ScopedKind.ScopedRef } => CurrentMethodScope,
1302
var isRefScoped = parameterSymbol.
EffectiveScope
== ScopedKind.ScopedRef;
4570
if (parameter.
EffectiveScope
== ScopedKind.ScopedValue)
5679
call.Method.Parameters[0].
EffectiveScope
== ScopedKind.ScopedValue)
Binder\Binder_Expressions.cs (1)
10804
(parameters.Any(p => p.
EffectiveScope
!= ScopedKind.None) ? parameters.SelectAsArray(p => p.EffectiveScope) : default);
BoundTree\UnboundLambda.cs (2)
749
parameterScopesBuilder[i] = lambdaSymbol.Parameters[i].
EffectiveScope
;
753
Debug.Assert(lambdaSymbol.Parameters[i].
EffectiveScope
== parameterScopesBuilder[i]);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
224
(!builder.ReturnType.IsRefLikeType || builder.Parameters[0].
EffectiveScope
== ScopedKind.ScopedValue))
Lowering\SynthesizedMethodBaseSymbol.cs (1)
143
p.
EffectiveScope
,
Symbols\PublicModel\ParameterSymbol.cs (1)
61
ScopedKind IParameterSymbol.ScopedKind => _underlying.
EffectiveScope
;
Symbols\Source\ParameterHelpers.cs (1)
322
var scope = parameter.
EffectiveScope
;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1458
if (!isValidScopedConversion(allowVariance, baseParameter.
EffectiveScope
, baseParameter.HasUnscopedRefAttribute, overrideParameter.
EffectiveScope
, overrideParameter.HasUnscopedRefAttribute))
Symbols\Source\SourceParameterSymbolBase.cs (1)
107
AddSynthesizedAttribute(ref attributes, moduleBuilder.SynthesizeScopedRefAttribute(this,
EffectiveScope
));
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
315
oldParam.
EffectiveScope
,
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
160
internal sealed override ScopedKind EffectiveScope => _underlyingParameter.
EffectiveScope
;