9 overrides of EffectiveScope
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.ValueChecks.cs (1)
3032internal 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;
18 references to EffectiveScope
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder.ValueChecks.cs (5)
1232{ EffectiveScope: ScopedKind.ScopedValue } => SafeContext.CurrentMethod, 1246{ EffectiveScope: ScopedKind.ScopedRef } => SafeContext.CurrentMethod, 1279var isRefScoped = parameterSymbol.EffectiveScope == ScopedKind.ScopedRef; 4546if (parameter.EffectiveScope == ScopedKind.ScopedValue) 5661call.Method.Parameters[0].EffectiveScope == ScopedKind.ScopedValue)
Binder\Binder_Expressions.cs (1)
10805(parameters.Any(p => p.EffectiveScope != ScopedKind.None) ? parameters.SelectAsArray(p => p.EffectiveScope) : default);
Binder\RefSafetyAnalysis.cs (1)
595tryGetThisParameter(m)?.EffectiveScope == ScopedKind.None)
BoundTree\UnboundLambda.cs (2)
749parameterScopesBuilder[i] = lambdaSymbol.Parameters[i].EffectiveScope; 753Debug.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)
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;