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