9 overrides of EffectiveScope
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.ValueChecks.cs (1)
3055internal override ScopedKind EffectiveScope
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
32internal override ScopedKind EffectiveScope
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1049internal sealed override ScopedKind EffectiveScope => _packedFlags.Scope;
Symbols\SignatureOnlyParameterSymbol.cs (1)
56internal override ScopedKind EffectiveScope
Symbols\Source\SourceClonedParameterSymbol.cs (1)
66internal sealed override ScopedKind EffectiveScope => _originalParam.EffectiveScope;
Symbols\Source\SourceParameterSymbol.cs (1)
233internal abstract override ScopedKind EffectiveScope { get; }
Symbols\Source\ThisParameterSymbol.cs (1)
176internal override ScopedKind EffectiveScope
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
227internal sealed override ScopedKind EffectiveScope => _scope;
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
160internal 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, 1302var isRefScoped = parameterSymbol.EffectiveScope == ScopedKind.ScopedRef; 4570if (parameter.EffectiveScope == ScopedKind.ScopedValue) 5679call.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)
749parameterScopesBuilder[i] = lambdaSymbol.Parameters[i].EffectiveScope; 753Debug.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)
143p.EffectiveScope,
Symbols\PublicModel\ParameterSymbol.cs (1)
61ScopedKind IParameterSymbol.ScopedKind => _underlying.EffectiveScope;
Symbols\Source\ParameterHelpers.cs (1)
322var scope = parameter.EffectiveScope;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1458if (!isValidScopedConversion(allowVariance, baseParameter.EffectiveScope, baseParameter.HasUnscopedRefAttribute, overrideParameter.EffectiveScope, overrideParameter.HasUnscopedRefAttribute))
Symbols\Source\SourceParameterSymbolBase.cs (1)
107AddSynthesizedAttribute(ref attributes, moduleBuilder.SynthesizeScopedRefAttribute(this, EffectiveScope));
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
315oldParam.EffectiveScope,
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
160internal sealed override ScopedKind EffectiveScope => _underlyingParameter.EffectiveScope;