9 references to ERR_AddressOfInIterator
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
1040Error(diagnostics, ErrorCode.ERR_AddressOfInIterator, node);
Errors\ErrorFacts.cs (1)
2453or ErrorCode.ERR_AddressOfInIterator
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\SemanticErrorTests.cs (1)
15418Diagnostic(ErrorCode.ERR_AddressOfInIterator, "i").WithLocation(9, 20),
Semantics\UnsafeTests.cs (6)
442Diagnostic(ErrorCode.ERR_AddressOfInIterator, "x").WithLocation(8, 23) 489Diagnostic(ErrorCode.ERR_AddressOfInIterator, "x").WithLocation(7, 23) 562Diagnostic(ErrorCode.ERR_AddressOfInIterator, "s.F").WithLocation(12, 23)); 745Diagnostic(ErrorCode.ERR_AddressOfInIterator, "x").WithLocation(8, 23), 748Diagnostic(ErrorCode.ERR_AddressOfInIterator, "x").WithLocation(14, 23), 751Diagnostic(ErrorCode.ERR_AddressOfInIterator, "x").WithLocation(20, 23)