2 instantiations of ConditionalAccessOperationTestAnalyzer
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\OperationAnalyzerTests.cs (1)
1782
.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new
ConditionalAccessOperationTestAnalyzer
() }, null, null,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\OperationAnalyzerTests.vb (1)
1905
comp.VerifyAnalyzerDiagnostics({New
ConditionalAccessOperationTestAnalyzer
}, Nothing, Nothing,
32 references to ConditionalAccessOperationTestAnalyzer
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (16)
Diagnostics\OperationAnalyzerTests.cs (16)
1783
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "p?.Prop").WithLocation(24, 17),
1784
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "p").WithLocation(24, 17),
1785
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "p?.Field").WithLocation(25, 13),
1786
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "p").WithLocation(25, 13),
1787
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "p?[0]").WithLocation(26, 13),
1788
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "p").WithLocation(26, 13),
1789
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "p?.M0(null)").WithLocation(27, 9),
1790
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "p").WithLocation(27, 9),
1791
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "Field1?.Prop").WithLocation(29, 13),
1792
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "Field1").WithLocation(29, 13),
1793
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "Field1?.Field").WithLocation(30, 13),
1794
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "Field1").WithLocation(30, 13),
1795
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "Field1?[0]").WithLocation(31, 13),
1796
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "Field1").WithLocation(31, 13),
1797
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "Field1?.M0(null)").WithLocation(32, 9),
1798
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "Field1").WithLocation(32, 9));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (16)
Diagnostics\OperationAnalyzerTests.vb (16)
1906
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "p?.Prop").WithLocation(24, 17),
1907
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "p").WithLocation(24, 17),
1908
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "p?.Field").WithLocation(25, 13),
1909
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "p").WithLocation(25, 13),
1910
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "p?(0)").WithLocation(26, 13),
1911
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "p").WithLocation(26, 13),
1912
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "p?.M0(Nothing)").WithLocation(27, 9),
1913
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "p").WithLocation(27, 9),
1914
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "Field1?.Prop").WithLocation(29, 13),
1915
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "Field1").WithLocation(29, 13),
1916
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "Field1?.Field").WithLocation(30, 13),
1917
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "Field1").WithLocation(30, 13),
1918
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "Field1?(0)").WithLocation(31, 13),
1919
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "Field1").WithLocation(31, 13),
1920
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessOperationDescriptor.Id, "Field1?.M0(Nothing)").WithLocation(32, 9),
1921
Diagnostic(
ConditionalAccessOperationTestAnalyzer
.ConditionalAccessInstanceOperationDescriptor.Id, "Field1").WithLocation(32, 9))