9 overrides of EffectiveScope
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.ValueChecks.cs (1)
3032
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)
1232
{
EffectiveScope
: ScopedKind.ScopedValue } => SafeContext.CurrentMethod,
1246
{
EffectiveScope
: ScopedKind.ScopedRef } => SafeContext.CurrentMethod,
1279
var isRefScoped = parameterSymbol.
EffectiveScope
== ScopedKind.ScopedRef;
4546
if (parameter.
EffectiveScope
== ScopedKind.ScopedValue)
5655
call.Method.Parameters[0].
EffectiveScope
== ScopedKind.ScopedValue)
Binder\Binder_Expressions.cs (1)
10807
(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)
227
(!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
;