17 references to ReportDiagnostic
Microsoft.CodeAnalysis.VisualBasic (17)
Binding\Binder_Invocation.vb (8)
779
ReportDiagnostic
(diagnostics, GetLocationForOverloadResolutionDiagnostic(node, group), ERRID.ERR_ExtensionMethodCannotBeLateBound)
2207
ReportDiagnostic
(diagnostics, diagnosticLocation, ERRID.ERR_DelegateBindingTypeInferenceFails)
2241
ReportDiagnostic
(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous1, ERRID.ERR_TypeInferenceFailureAmbiguous1))
2249
ReportDiagnostic
(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitNoBest1, ERRID.ERR_TypeInferenceFailureNoBest1))
2263
ReportDiagnostic
(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicit1, ERRID.ERR_TypeInferenceFailure1))
2312
ReportDiagnostic
(diagnostics, diagnosticLocation, ERRID.ERR_ParamArrayWrongType)
2360
ReportDiagnostic
(diagnostics, diagnosticLocation, ERRID.ERR_TooManyArgs)
2386
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)
Binding\Binder_ObjectInitializer.vb (1)
309
ReportDiagnostic
(diagnostics, GetLocation(span), ERRID.ERR_NewArgsDisallowedForTypeParam)
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)
1812
Binder.
ReportDiagnostic
(diagnostics, location, ERRID.ERR_DllImportOnResumableMethod)
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1640
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)