3 references to IsRefLikeOrAllowsRefLikeType
Microsoft.CodeAnalysis.CSharp (3)
Binder\ExecutableCodeBinder.cs (1)
150
else if (elementType.
IsRefLikeOrAllowsRefLikeType
())
Binder\RefSafetyAnalysis.cs (1)
625
: symbol.GetTypeOrReturnType().
IsRefLikeOrAllowsRefLikeType
() ? valEscape : SafeContext.CallingMethod;
BoundTree\UnboundLambda.cs (1)
672
else if (type.
IsRefLikeOrAllowsRefLikeType
() && ParameterSyntax(i)?.Modifiers.Any(SyntaxKind.ParamsKeyword) == true)