5 references to CodeBlockPerCompilationRule
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
1173
Diagnostic(CodeBlockActionAnalyzer.
CodeBlockPerCompilationRule
.Id, "M").WithArguments("M").WithLocation(4, 17)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\DiagnosticServiceTests.vb (1)
1977
Dim stateFullDiagnostics = diagnostics.Where(Function(d) d.Id = CodeBlockActionAnalyzer.
CodeBlockPerCompilationRule
.Id)
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
602
return ImmutableArray.Create(CodeBlockTopLevelRule,
CodeBlockPerCompilationRule
);
619
codeBlockContext.ReportDiagnostic(Diagnostic.Create(
CodeBlockPerCompilationRule
, codeBlockContext.OwningSymbol.Locations[0], codeBlockContext.OwningSymbol.Name));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
728
Diagnostic(CodeBlockActionAnalyzer.
CodeBlockPerCompilationRule
.Id, <![CDATA[M]]>).WithArguments("M"))