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