13 references to ERR_InlineArrayForEachNotSupported
Microsoft.CodeAnalysis.CSharp (3)
Binder\ForEachLoopBinder.cs (2)
870
diagnostics.Add(ErrorCode.
ERR_InlineArrayForEachNotSupported
, collectionExpr.Syntax.GetLocation(), collectionExpr.Type);
918
diagnostics.Add(ErrorCode.
ERR_InlineArrayForEachNotSupported
, collectionExpr.Syntax.GetLocation(), collectionExpr.Type);
Errors\ErrorFacts.cs (1)
2413
or ErrorCode.
ERR_InlineArrayForEachNotSupported
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (10)
Semantics\ExtensionTests2.cs (1)
4318
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x").WithArguments("Buffer4<int>").WithLocation(5, 26),
Semantics\InlineArrayTests.cs (9)
19644
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x").WithArguments("Buffer4<int>").WithLocation(6, 26),
19685
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x").WithArguments("Buffer4<int>").WithLocation(6, 26)
19723
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x").WithArguments("Buffer4<int>").WithLocation(6, 26)
19761
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x").WithArguments("Buffer4<int>").WithLocation(6, 26)
19799
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x").WithArguments("Buffer4<int>").WithLocation(6, 26)
19836
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x").WithArguments("Buffer4<int>").WithLocation(6, 26)
19865
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x").WithArguments("Buffer4<int>").WithLocation(6, 26)
19963
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "x.F").WithArguments("Buffer4<int>").WithLocation(21, 27)
20042
Diagnostic(ErrorCode.
ERR_InlineArrayForEachNotSupported
, "GetBuffer()").WithArguments("Buffer").WithLocation(6, 26),