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