16 references to ReportDiagnostic
Microsoft.CodeAnalysis.VisualBasic (16)
Binding\Binder_Invocation.vb (8)
779
ReportDiagnostic
(diagnostics, GetLocationForOverloadResolutionDiagnostic(node, group), ERRID.ERR_ExtensionMethodCannotBeLateBound)
2203
ReportDiagnostic
(diagnostics, diagnosticLocation, ERRID.ERR_DelegateBindingTypeInferenceFails)
2237
ReportDiagnostic
(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous1, ERRID.ERR_TypeInferenceFailureAmbiguous1))
2245
ReportDiagnostic
(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitNoBest1, ERRID.ERR_TypeInferenceFailureNoBest1))
2258
ReportDiagnostic
(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicit1, ERRID.ERR_TypeInferenceFailure1))
2306
ReportDiagnostic
(diagnostics, diagnosticLocation, ERRID.ERR_ParamArrayWrongType)
2354
ReportDiagnostic
(diagnostics, diagnosticLocation, ERRID.ERR_TooManyArgs)
2380
ReportDiagnostic
(diagnostics, diagnosticLocation, ERRID.ERR_ParamArrayWrongType)
Binding\Binder_Latebound.vb (2)
147
ReportDiagnostic
(diagnostics, GetLocationForOverloadResolutionDiagnostic(node, groupOpt), ERRID.ERR_StrictDisallowsLateBinding)
161
ReportDiagnostic
(diagnostics, GetLocationForOverloadResolutionDiagnostic(node, groupOpt), ERRID.WRN_LateBindingResolution)
Symbols\Source\SourceMemberMethodSymbol.vb (2)
233
Binder.
ReportDiagnostic
(diagnostics, location, ERRID.ERR_SecurityCriticalAsyncInClassOrStruct)
246
Binder.
ReportDiagnostic
(diagnostics, location, ERRID.ERR_SynchronizedAsyncMethod)
Symbols\Source\SourceMethodSymbol.vb (1)
1845
Binder.
ReportDiagnostic
(diagnostics, location, ERRID.ERR_DllImportOnResumableMethod)
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1647
Binder.
ReportDiagnostic
(diagnostics, location, ERRID.ERR_GenericClassCannotInheritAttr)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
182
Binder.
ReportDiagnostic
(diagnostics, comClass.Locations(0), ERRID.ERR_ComClassCantBeAbstract0)
453
Binder.
ReportDiagnostic
(diagnostics, member.Locations(0), ERRID.ERR_ComClassGenericMethod)