4 references to ERR_UnacceptableForLoopOperator2
Microsoft.CodeAnalysis.VisualBasic (2)
Binding\Binder_Statements.vb (1)
3278ReportDiagnostic(diagnostics, syntax, ERRID.ERR_UnacceptableForLoopOperator2, bestCandidate.UnderlyingSymbol,
Errors\ErrorFacts.vb (1)
970ERRID.ERR_UnacceptableForLoopOperator2,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Binding\BindingErrorTests.vb (1)
16044Diagnostic(ERRID.ERR_UnacceptableForLoopOperator2, "For i As C1(Of Integer) = 1 To 10").WithArguments("Public Shared Operator -(p1 As M1.C1(Of Integer), p2 As M1.C1(Of Integer)) As M1.C1(Of Short)", "M1.C1(Of Integer)"),
Diagnostics\OperationAnalyzerTests.vb (1)
1984Diagnostic(ERRID.ERR_UnacceptableForLoopOperator2, "For i As C1(Of Integer) = 1 To 10").WithArguments("Public Shared Operator -(p1 As M1.C1(Of Integer), p2 As M1.C1(Of Integer)) As M1.C1(Of Short)", "M1.C1(Of Integer)").WithLocation(19, 9),