6 references to ERR_CollectionExpressionImmutableArray
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Conversions.cs (1)
872
diagnostics.Add(ErrorCode.
ERR_CollectionExpressionImmutableArray
, syntax, targetType.OriginalDefinition);
Errors\ErrorFacts.cs (1)
2429
or ErrorCode.
ERR_CollectionExpressionImmutableArray
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\CollectionExpressionTests.cs (4)
30412
Diagnostic(ErrorCode.
ERR_CollectionExpressionImmutableArray
, "[1, 2, 3]").WithArguments("System.Collections.Immutable.ImmutableArray<T>").WithLocation(7, 35));
30436
Diagnostic(ErrorCode.
ERR_CollectionExpressionImmutableArray
, "[1, 2, 3]").WithArguments("System.Collections.Immutable.ImmutableArray<T>").WithLocation(7, 35));
30471
Diagnostic(ErrorCode.
ERR_CollectionExpressionImmutableArray
, "[1, 2, 3]").WithArguments("System.Collections.Immutable.ImmutableArray<T>").WithLocation(7, 35));
30493
Diagnostic(ErrorCode.
ERR_CollectionExpressionImmutableArray
, "[1, 2, 3]").WithArguments("System.Collections.Immutable.ImmutableArray<T>").WithLocation(7, 35));