5 references to ERR_RequiredAttributeConstConversion2
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Attributes.vb (3)
766ReportDiagnostic(diagBag, conv.Operand.Syntax, ERRID.ERR_RequiredAttributeConstConversion2, conv.Operand.Type, conv.Type) 780ReportDiagnostic(diagBag, conv.Operand.Syntax, ERRID.ERR_RequiredAttributeConstConversion2, conv.Operand.Type, conv.Type) 795ReportDiagnostic(diagBag, conv.Operand.Syntax, ERRID.ERR_RequiredAttributeConstConversion2, If(conv.Operand.Type, _binder.Compilation.GetSpecialType(SpecialType.System_Object)), conv.Type)
Errors\ErrorFacts.vb (1)
532ERRID.ERR_RequiredAttributeConstConversion2,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Binding\BindingErrorTests.vb (1)
11360compilation.VerifyDiagnostics(Diagnostic(ERRID.ERR_RequiredAttributeConstConversion2, "<a/>").WithArguments("System.Xml.Linq.XElement", "Object"))