4 references to IsRefScopedByDefault
Microsoft.CodeAnalysis.CSharp (4)
BoundTree\UnboundLambda.cs (1)
664
if (ParameterHelpers.
IsRefScopedByDefault
(Binder.UseUpdatedEscapeRules, refKind))
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
321
return (field.Scope, ParameterHelpers.
IsRefScopedByDefault
(useUpdatedEscapeRules, field.RefKind)) switch
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
345
else if (ParameterHelpers.
IsRefScopedByDefault
(_moduleSymbol.UseUpdatedEscapeRules, refKind))
Symbols\Source\ParameterHelpers.cs (1)
336
return
IsRefScopedByDefault
(parameter.UseUpdatedEscapeRules, parameter.RefKind);