26 references to Diagnostic
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
ErrorHandling.vb (4)
446compilation.VerifyDiagnostics(Diagnostic(ERRID.ERR_TryAndOnErrorDoNotMix, ExpectedOutput), 449Diagnostic(ERRID.ERR_TryAndOnErrorDoNotMix, ExpectedOutput2) 477compilation.VerifyEmitDiagnostics(Diagnostic(ERRID.ERR_PlatformDoesntSupport, ExpectedOutput).WithArguments("Unstructured exception handling").WithLocation(2, 9)) 533compilation.VerifyEmitDiagnostics(Diagnostic(ERRID.ERR_PlatformDoesntSupport, ExpectedOutput).WithArguments("Like operator").WithLocation(5, 21))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (19)
Diagnostics\DiagnosticAnalyzerTests.vb (18)
297comp.VerifyAnalyzerDiagnostics({analyzer}, Nothing, Nothing, Diagnostic("XX001", <![CDATA[Public Module ThisModule]]>)) 342compilation.VerifyAnalyzerDiagnostics({analyzer}, Nothing, Nothing, Diagnostic("XX001", <![CDATA[C]]>)) 392Diagnostic("XX001", <![CDATA[N]]>), 393Diagnostic("XX001", <![CDATA[C]]>)) 458compilation.VerifyAnalyzerDiagnostics({analyzer}, Nothing, Nothing, Diagnostic("CodeBlockDiagnostic", <![CDATA[Public Sub Method()]]>)) 534Diagnostic("FieldSymbolDiagnostic", <![CDATA[X]]>)) 556Diagnostic("FieldSymbolDiagnostic", <![CDATA[Field]]>)) 602Diagnostic("FieldDeclarationDiagnostic", <![CDATA[Dim x, y As Integer]]>), 603Diagnostic("FieldDeclarationDiagnostic", <![CDATA[Dim z As Integer]]>), 604Diagnostic("FieldDeclarationDiagnostic", <![CDATA[Dim x2 = 0, y2 = 0]]>), 605Diagnostic("FieldDeclarationDiagnostic", <![CDATA[Dim z2 = 0]]>)) 626Diagnostic(VisualBasicNamespaceDeclarationAnalyzer.DiagnosticId, <![CDATA[Namespace Goo.Bar.GooBar]]>)) 659Diagnostic(VisualBasicCodeBlockObjectCreationAnalyzer.DiagnosticDescriptor.Id, <![CDATA[New C1()]]>), 660Diagnostic(VisualBasicCodeBlockObjectCreationAnalyzer.DiagnosticDescriptor.Id, <![CDATA[New C2()]]>), 661Diagnostic(VisualBasicCodeBlockObjectCreationAnalyzer.DiagnosticDescriptor.Id, <![CDATA[New C3()]]>)) 727Diagnostic(CodeBlockActionAnalyzer.CodeBlockTopLevelRule.Id, <![CDATA[M]]>).WithArguments("M"), 728Diagnostic(CodeBlockActionAnalyzer.CodeBlockPerCompilationRule.Id, <![CDATA[M]]>).WithArguments("M")) 749Diagnostic(CodeBlockActionAnalyzer.CodeBlockTopLevelRule.Id, <![CDATA[M]]>).WithArguments("M"))
Diagnostics\OperationAnalyzerTests.vb (1)
1326Diagnostic(NoneOperationTestAnalyzer.NoneOperationDescriptor.Id, <![CDATA[Public Sub Barney
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Parser\ParseDeclarationTests.vb (1)
690Diagnostic(ERRID.ERR_AutoPropertyCantHaveParams, <![CDATA[(
Parser\ParseXml.vb (2)
1999Diagnostic(ERRID.ERR_MissingXmlEndTag, <![CDATA[<<%= x + 2015Diagnostic(ERRID.ERR_MissingXmlEndTag, <![CDATA[<<%= x +