77 references to ReportDiagnostic
Microsoft.CodeAnalysis.VisualBasic (77)
Binding\Binder.vb (3)
961ReportDiagnostic(diagnostics, node, ERRID.ERR_BadAbstractStaticMemberAccess) 967ReportDiagnostic(diagnostics, node, ERRID.ERR_RuntimeDoesNotSupportDefaultInterfaceImplementation) 974ReportDiagnostic(diagnostics, node, ERRID.ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember)
Binding\Binder_Attributes.vb (2)
822ReportDiagnostic(diagBag, node.Syntax, ERRID.ERR_RequiredConstExpr) 867ReportDiagnostic(diag, initializerOpt.Syntax, ERRID.ERR_MissingValuesForArraysInApplAttrs)
Binding\Binder_Conversions.vb (6)
137ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_IdentityDirectCastForFloat) 140ReportDiagnostic(diagnostics, argument.Syntax, ERRID.WRN_ObsoleteIdentityDirectCastForValueType) 1055ReportDiagnostic(diagnostics, argument.Syntax, ERRID.WRN_ConvertingLock) 1743ReportDiagnostic(diagnostics, syntax, ERRID.WRN_ConvertingLock) 1791ReportDiagnostic(diagnostics, location, ERRID.ERR_DateToDoubleConversion) 1794ReportDiagnostic(diagnostics, location, ERRID.ERR_DoubleToDateConversion)
Binding\Binder_Delegates.vb (1)
1256ReportDiagnostic(diagnostics, syntaxNode, ERRID.WRN_UnobservedAwaitableDelegate)
Binding\Binder_Expressions.vb (20)
589Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_TupleDuplicateElementName) 738ReportDiagnostic(diagnostics, group.TypeArgumentsOpt.Syntax, ERRID.ERR_MethodTypeArgsUnexpected) 1002ReportDiagnostic(diagnostics, group.Syntax, ERRID.ERR_InvalidConstructorCall) 1260ReportDiagnostic(diagnostics, syntax, ERRID.ERR_VoidValue) 1268ReportDiagnostic(diagnostics, syntax, ERRID.ERR_VoidValue) 1303ReportDiagnostic(diagnostics, syntax, ERRID.ERR_VoidValue) 1483ReportDiagnostic(diagnostics, expr.Syntax, ERRID.ERR_VoidValue) 1505ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_ArrayInitNoType) 1612ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_ArrayInitNoType) 1618ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_ArrayInitNoTypeObjectDisallowed) 1620ReportDiagnostic(diagnostics, arrayLiteral.Syntax, ERRID.ERR_ArrayInitTooManyTypesObjectDisallowed) 1801ReportDiagnostic(diagnostics, expr.Syntax, err) 2845ReportDiagnostic(diagnostics, node, ERRID.ERR_InvalidConstructorCall) 3251ReportDiagnostic(diagnostics, node, ERRID.ERR_BadResumableAccessReturnVariable) 3654ReportDiagnostic(diagnostics, node, ERRID.WRN_SharedMemberThroughInstance) 3678ReportDiagnostic(diagnostics, node, ERRID.ERR_ObjectReferenceNotSupplied) 3686ReportDiagnostic(diagnostics, node, errorId) 4677ReportDiagnostic(diagnostics, node, ERRID.ERR_BadAwaitNothing) 4682ReportDiagnostic(diagnostics, node, ERRID.ERR_StrictDisallowsLateBinding) 4685ReportDiagnostic(diagnostics, node, ERRID.WRN_LateBindingResolution)
Binding\Binder_Invocation.vb (7)
130ReportDiagnostic(diagnostics, group.Syntax, ERRID.ERR_InvalidConstructorCall) 892ReportDiagnostic(diagnostics, errorLocation, ERRID.WRN_AsyncSubCouldBeFunction) 2063ReportDiagnostic(diagnostics, arguments(i).Syntax, ERRID.ERR_TooManyArgs) 2088ReportDiagnostic(diagnostics, arguments(i).Syntax, ERRID.ERR_OmittedParamArrayArgument) 2149ReportDiagnostic(diagnostics, GetNamedArgumentIdentifier(arguments(i).Syntax), ERRID.ERR_NamedParamArrayArgument) 2394ReportDiagnostic(diagnostics, paramArrayArgument.Syntax, ERRID.ERR_ParamArrayArgumentMismatch) 2525ReportDiagnostic(diagnostics, argument.Syntax, ERRID.ERR_ReadOnlyInClosure)
Binding\Binder_Lambda.vb (6)
182ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_BadAsyncReturn) 190ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_BadIteratorReturn) 639ReportDiagnostic(_diagnostics, node.Syntax, ERRID.ERR_BadAwaitInTryHandler) 960ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_LambdaNoType) 970ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_LambdaNoTypeObjectDisallowed) 974ReportDiagnostic(diagnostics, LambdaHeaderErrorNode(source), ERRID.ERR_LambdaTooManyTypesObjectDisallowed)
Binding\Binder_Latebound.vb (4)
42ReportDiagnostic(diagnostics, node, ERRID.ERR_StrictDisallowsLateBinding) 57ReportDiagnostic(diagnostics, node, ERRID.WRN_LateBindingResolution) 138ReportDiagnostic(diagnostics, node, ERRID.ERR_IllegalCallOrIndex) 251ReportDiagnostic(diagnostics, arguments(i).Syntax, ERRID.ERR_NamedArgumentSpecificationBeforeFixedArgumentInLateboundInvocation)
Binding\Binder_ObjectInitializer.vb (2)
213ReportDiagnostic(diagnostics, node, ERRID.ERR_NewOnAbstractClass) 309ReportDiagnostic(diagnostics, typeNode, ERRID.ERR_NewIfNullOnGenericParam)
Binding\Binder_Query.vb (2)
2159ReportDiagnostic(diagnostics, identifier, ERRID.ERR_QueryAnonymousTypeDisallowsTypeChar) 2163ReportDiagnostic(diagnostics, identifier, ERRID.ERR_QueryInvalidControlVariableName1)
Binding\Binder_SelectCase.vb (1)
677ReportDiagnostic(diagnostics, rangeCaseClause.Syntax, ERRID.WRN_SelectCaseInvalidRange)
Binding\Binder_Statements.vb (13)
557ReportDiagnostic(_diagnostics, node.Syntax, 608ReportDiagnostic(_diagnostics, node.Syntax, ERRID.ERR_BadAwaitInTryHandler) 975ReportDiagnostic(diagBag, keywordSyntax, ERRID.ERR_DuplicateSpecifier) 1003ReportDiagnostic(diagBag, firstStatic, ERRID.ERR_BadStaticLocalInStruct) 1005ReportDiagnostic(diagBag, firstStatic, ERRID.ERR_StaticInLambda) 1007ReportDiagnostic(diagBag, firstStatic, ERRID.ERR_BadStaticLocalInGenericMethod) 1270ReportDiagnostic(diagnostics, errSyntax, ERRID.ERR_ConstAsNonConstant) 1774ReportDiagnostic(diagnostics, nameSyntax, ERRID.ERR_LocalSameAsFunc) 2726ReportDiagnostic(diagnostics, boundInvocation.Syntax, ERRID.ERR_PropertyAccessIgnored) 2742ReportDiagnostic(diagnostics, boundInvocation.Syntax, ERRID.ERR_PropertyAccessIgnored) 3633ReportDiagnostic(diagnostics, controlVariable.Syntax, ERRID.ERR_LoopControlMustNotBeProperty) 3648ReportDiagnostic(diagnostics, controlVariable.Syntax, ERRID.ERR_LoopControlMustNotAwait) 4735ReportDiagnostic(diagnostics, lockExpression.Syntax, ERRID.ERR_LockTypeUnsupported)
Binding\Binder_Utils.vb (3)
24ReportDiagnostic(diagBag, identifier, errid) 1305ReportDiagnostic(diagnostics, boundExpression.Syntax, ERRID.ERR_RequiredConstExpr) 1355ReportDiagnostic(diagnostics, boundExpression.Syntax, ERRID.ERR_RequiredConstExpr)
Binding\Binder_WithBlock.vb (1)
326ReportDiagnostic(diagnostics, Me._withBlockInfo.CapturedLvalueByRefCallOrProperty.Syntax, ERRID.ERR_UnsupportedRefReturningCallInWithStatement)
Binding\Binder_XmlLiterals.vb (1)
1041ReportDiagnostic(diagnostics, syntax, ERRID.ERR_XmlFeaturesNotAvailable)
Symbols\Source\SourceMethodSymbol.vb (3)
2352binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadIteratorReturn) 2361binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadAsyncReturn) 2372binder.ReportDiagnostic(diagBag, errorLocation, ERRID.ERR_BadIteratorReturn)
Symbols\Source\SourceParameterSymbol.vb (1)
397Binder.ReportDiagnostic(diagnostics, syntax, ERRID.ERR_ParamDefaultValueDiffersFromAttribute)
Symbols\Source\SourcePropertySymbol.vb (1)
394Binder.ReportDiagnostic(diagnostics, errorLocation, ERRID.ERR_BadIteratorReturn)