12 overrides of HasUnscopedRefAttribute
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder.ValueChecks.cs (1)
3052
internal override bool
HasUnscopedRefAttribute
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
34
internal override bool
HasUnscopedRefAttribute
=> false;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1051
internal override bool
HasUnscopedRefAttribute
=> _packedFlags.HasUnscopedRefAttribute;
Symbols\SignatureOnlyParameterSymbol.cs (1)
59
internal override bool
HasUnscopedRefAttribute
=> false;
Symbols\Source\SourceClonedParameterSymbol.cs (1)
68
internal override bool
HasUnscopedRefAttribute
=> _originalParam.HasUnscopedRefAttribute;
Symbols\Source\SourceComplexParameterSymbol.cs (1)
222
internal override bool
HasUnscopedRefAttribute
=> GetEarlyDecodedWellKnownAttributeData()?.HasUnscopedRefAttribute == true;
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
162
internal override bool
HasUnscopedRefAttribute
=> false;
Symbols\Source\ThisParameterSymbol.cs (1)
191
internal override bool
HasUnscopedRefAttribute
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
508
internal override bool
HasUnscopedRefAttribute
=> false;
Symbols\Synthesized\SynthesizedParameterSymbol.cs (2)
331
internal override bool
HasUnscopedRefAttribute
=> false;
387
internal override bool
HasUnscopedRefAttribute
=> _hasUnscopedRefAttribute;
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
162
internal sealed override bool
HasUnscopedRefAttribute
=> _underlyingParameter.HasUnscopedRefAttribute;
11 references to HasUnscopedRefAttribute
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (3)
1247
{
HasUnscopedRefAttribute
: true, UseUpdatedEscapeRules: true, RefKind: RefKind.Out } => SafeContext.ReturnOnly,
1248
{
HasUnscopedRefAttribute
: true, UseUpdatedEscapeRules: true, IsThis: false } => SafeContext.CallingMethod,
3053
=> _underlyingParameter.
HasUnscopedRefAttribute
;
Binder\Binder_Conversions.cs (1)
2351
if (delegateParameter.
HasUnscopedRefAttribute
)
Binder\Binder_Expressions.cs (1)
10807
(parameters.Any(p => p.
HasUnscopedRefAttribute
&& p.UseUpdatedEscapeRules) ? parameters.SelectAsArray(p => p.HasUnscopedRefAttribute && p.UseUpdatedEscapeRules) : default);
Binder\Semantics\Conversions\Conversions.cs (1)
95
if (invoke.Parameters.Any(p => p.
HasUnscopedRefAttribute
))
Symbols\Source\SourceClonedParameterSymbol.cs (1)
68
internal override bool HasUnscopedRefAttribute => _originalParam.
HasUnscopedRefAttribute
;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1458
if (!isValidScopedConversion(allowVariance, baseParameter.EffectiveScope, baseParameter.
HasUnscopedRefAttribute
, overrideParameter.EffectiveScope, overrideParameter.
HasUnscopedRefAttribute
))
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
194
if (this.
HasUnscopedRefAttribute
&& this.ContainingSymbol is SynthesizedDelegateInvokeMethod)
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
162
internal sealed override bool HasUnscopedRefAttribute => _underlyingParameter.
HasUnscopedRefAttribute
;