4 references to ERR_BadSpecialByRefIterator
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (1)
508diagnostics.Add(ErrorCode.ERR_BadSpecialByRefIterator, foreachKeyword.GetLocation(), getEnumeratorType);
Errors\ErrorFacts.cs (1)
1800case ErrorCode.ERR_BadSpecialByRefIterator:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\SpanStackSafetyTests.cs (2)
812Diagnostic(ErrorCode.ERR_BadSpecialByRefIterator, "foreach").WithArguments("C1.S1").WithLocation(15, 9) 884Diagnostic(ErrorCode.ERR_BadSpecialByRefIterator, "foreach").WithArguments("C1.S1").WithLocation(33, 9)