4 references to ERR_ArrayElementCantBeRefAny
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (1)
4083Error(diagnostics, ErrorCode.ERR_ArrayElementCantBeRefAny, node, bestType);
Binder\Binder_Symbols.cs (1)
649Error(diagnostics, ErrorCode.ERR_ArrayElementCantBeRefAny, node.ElementType, type.Type);
Errors\ErrorFacts.cs (1)
984or ErrorCode.ERR_ArrayElementCantBeRefAny
Errors\LazyArrayElementCantBeRefAnyDiagnosticInfo.cs (1)
36return new CSDiagnosticInfo(ErrorCode.ERR_ArrayElementCantBeRefAny, _possiblyRestrictedTypeSymbol.Type);