1 instantiation of SymbolCouldHaveMoreSpecificTypeAnalyzer
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\OperationAnalyzerTests.cs (1)
722
.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new
SymbolCouldHaveMoreSpecificTypeAnalyzer
() }, null, null,
30 references to SymbolCouldHaveMoreSpecificTypeAnalyzer
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (30)
Diagnostics\OperationAnalyzerTests.cs (30)
723
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "a").WithArguments("a", "Middle").WithLocation(6, 16),
724
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "b").WithArguments("b", "Value").WithLocation(7, 16),
725
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "c").WithArguments("c", "Base").WithLocation(8, 16),
726
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "d").WithArguments("d", "Derived").WithLocation(10, 14),
727
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "e").WithArguments("e", "Middle").WithLocation(11, 14),
728
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "g").WithArguments("g", "Base").WithLocation(15, 16),
729
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "i").WithArguments("i", "int").WithLocation(20, 16),
730
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "k").WithArguments("k", "Derived").WithLocation(24, 16),
731
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "ia").WithArguments("ia", "IMiddle").WithLocation(34, 16),
732
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "ic").WithArguments("ic", "IBase1").WithLocation(35, 16),
733
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "id").WithArguments("id", "IDerived").WithLocation(37, 16),
734
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "ie").WithArguments("ie", "IMiddle").WithLocation(38, 16),
735
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "ig").WithArguments("ig", "IBase1").WithLocation(42, 16),
736
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "ik").WithArguments("ik", "IDerived").WithLocation(47, 17),
737
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.LocalCouldHaveMoreSpecificTypeDescriptor.Id, "im").WithArguments("im", "IDerived").WithLocation(51, 16),
738
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fa").WithArguments("C.fa", "Middle").WithLocation(56, 12),
739
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fb").WithArguments("C.fb", "Value").WithLocation(57, 12),
740
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fc").WithArguments("C.fc", "Base").WithLocation(58, 12),
741
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fd").WithArguments("C.fd", "Derived").WithLocation(59, 10),
742
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fe").WithArguments("C.fe", "Middle").WithLocation(60, 10),
743
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fg").WithArguments("C.fg", "Base").WithLocation(62, 12),
744
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fi").WithArguments("C.fi", "int").WithLocation(64, 12),
745
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fk").WithArguments("C.fk", "Derived").WithLocation(66, 12),
746
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fia").WithArguments("C.fia", "IMiddle").WithLocation(75, 12),
747
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fic").WithArguments("C.fic", "IBase1").WithLocation(76, 12),
748
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fid").WithArguments("C.fid", "IDerived").WithLocation(77, 12),
749
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fie").WithArguments("C.fie", "IMiddle").WithLocation(78, 12),
750
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fig").WithArguments("C.fig", "IBase1").WithLocation(80, 12),
751
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fik").WithArguments("C.fik", "IDerived").WithLocation(82, 13),
752
Diagnostic(
SymbolCouldHaveMoreSpecificTypeAnalyzer
.FieldCouldHaveMoreSpecificTypeDescriptor.Id, "fim").WithArguments("C.fim", "IDerived").WithLocation(86, 12));