6 references to DiagnosticDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
1368
Diagnostic(CSharpCodeBlockObjectCreationAnalyzer.
DiagnosticDescriptor
.Id, "new C()").WithLocation(5, 18)
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
649
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
DiagnosticDescriptor
);
658
syntaxNodeContext.ReportDiagnostic(Diagnostic.Create(
DiagnosticDescriptor
, syntaxNodeContext.Node.GetLocation()));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Diagnostics\DiagnosticAnalyzerTests.vb (3)
659
Diagnostic(VisualBasicCodeBlockObjectCreationAnalyzer.
DiagnosticDescriptor
.Id, <![CDATA[New C1()]]>),
660
Diagnostic(VisualBasicCodeBlockObjectCreationAnalyzer.
DiagnosticDescriptor
.Id, <![CDATA[New C2()]]>),
661
Diagnostic(VisualBasicCodeBlockObjectCreationAnalyzer.
DiagnosticDescriptor
.Id, <![CDATA[New C3()]]>))