Symbols\Source\ParameterHelpers.cs (14)
43ScopedKind scope,
83ScopedKind scope,
122Func<Binder, TOwningSymbol, TypeWithAnnotations, TParameterSyntax, RefKind, int, SyntaxToken, SyntaxToken, bool, ScopedKind, BindingDiagnosticBag, TParameterSymbol> parameterCreationFunc,
142var refKind = GetModifiers(parameterSyntax.Modifiers, out SyntaxToken refnessKeyword, out SyntaxToken paramsKeyword, out SyntaxToken thisKeyword, out ScopedKind scope);
191ScopedKind? declaredScope = parameter is SourceParameterSymbol s ? s.DeclaredScope : null;
300var scope = parameter.EffectiveScope;
301if (scope == ScopedKind.None)
307return scope == ScopedKind.ScopedValue;
616ScopedKind? declaredScope,
672if (declaredScope == ScopedKind.ScopedValue && !typeWithAnnotations.IsRefLikeType())
888internal static RefKind GetModifiers(SyntaxTokenList modifiers, out SyntaxToken refnessKeyword, out SyntaxToken paramsKeyword, out SyntaxToken thisKeyword, out ScopedKind scope)
937scope = (refKind == RefKind.None) ? ScopedKind.ScopedValue : ScopedKind.ScopedRef;
941scope = ScopedKind.None;