34 references to ReportDiagnostic
Microsoft.CodeAnalysis.VisualBasic (34)
Binding\Binder_Expressions.vb (2)
581Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleReservedElementNameAnyPosition, name) 585Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleReservedElementName, name, reserved)
Binding\Binder_Invocation.vb (12)
875ReportDiagnostic(diagnostics, group.Syntax, 1396ReportDiagnostic(diagnostics, If(groupOpt IsNot Nothing, groupOpt.Syntax, node), ERRID.ERR_NoViableOverloadCandidates1, bestSymbols(0).Name) 1465ReportDiagnostic(diagnostics, mg.TypeArgumentsOpt.Syntax, 1477ReportDiagnostic(diagnostics, mg.TypeArgumentsOpt.Syntax, 2069ReportDiagnostic(diagnostics, arguments(i).Syntax, 2122ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(seenOutOfPositionNamedArgIndex).Syntax), 2132ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), ERRID.ERR_NamedParamNotFound1, argumentNames(i)) 2138ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), 2159ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), ERRID.ERR_NamedArgUsedTwice1, argumentNames(i)) 2165ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), 2180ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), ERRID.ERR_NamedArgAlsoOmitted1, argumentNames(i)) 2186ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax),
Binding\Binder_ObjectInitializer.vb (1)
602ReportDiagnostic(diagnostics, node, ERRID.ERR_NoArgumentCountOverloadCandidates1, "New")
Binding\Binder_Query.vb (2)
2896ReportDiagnostic(diagnostics, rangeVarNameSyntax, ERRID.ERR_QueryDuplicateAnonTypeMemberName1, rangeVarName) 4073ReportDiagnostic(diagnostics, rangeVarNameSyntax, ERRID.ERR_QueryDuplicateAnonTypeMemberName1, rangeVarName)
Binding\Binder_Statements.vb (8)
943ReportDiagnostic(diagnostics, labelToken, ERRID.ERR_MultiplyDefined1, labelName) 973ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_BadLocalDimFlags1, keywordSyntax.ToString()) 993ReportDiagnostic(diagBag, firstDim, ERRID.ERR_BadLocalConstFlags1, firstDim.ToString()) 995ReportDiagnostic(diagBag, firstStatic, ERRID.ERR_BadLocalConstFlags1, firstStatic.ToString()) 1791ReportDiagnostic(diagnostics, nameSyntax, ERRID.ERR_DuplicateLocals1, name) 1866ReportDiagnostic(diagnostics, nameSyntax, err, name) 1887ReportDiagnostic(diagnostics, nameSyntax, err, name) 1895ReportDiagnostic(diagnostics, nameSyntax, ERRID.ERR_NameSameAsMethodTypeParam1, name)
Binding\Binder_Utils.vb (1)
684ReportDiagnostic(diagBag, identifier, ERRID.ERR_TypeCharWithType1, typeCharacterString)
Binding\Binder_XmlLiterals.vb (2)
902ReportDiagnostic(diagnostics, prefixToken, ERRID.ERR_UndefinedXmlPrefix, prefix) 1245ReportDiagnostic(diagnostics, syntax, ERRID.ERR_ReservedXmlNamespace, prefix, reservedPrefix)
Symbols\Source\SourceMethodSymbol.vb (1)
2313binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_RestrictedType1, restrictedType)
Symbols\Source\SourceNamedTypeSymbol.vb (4)
528Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_TypeClashesWithVbCoreType4, 560Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_TypeConflict6, 625Binder.ReportDiagnostic(diagBag, id, ERRID.ERR_ShadowingGenericParamWithMember1, Me.Name) 684Binder.ReportDiagnostic(diagBag, id, errorCode,
Symbols\Source\SourcePropertySymbol.vb (1)
382Binder.ReportDiagnostic(diagnostics, errorLocation, ERRID.ERR_RestrictedType1, restrictedType)