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