8 references to ImplicitInstanceDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Diagnostics\OperationAnalyzerTests.cs (3)
1122
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ImplicitInstanceDescriptor
.Id, "M1").WithLocation(7, 9),
1124
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ImplicitInstanceDescriptor
.Id, "M1").WithLocation(19, 9),
1125
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ImplicitInstanceDescriptor
.Id, "M2").WithLocation(20, 9));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
946
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
ImplicitInstanceDescriptor
, ExplicitInstanceDescriptor);
954
operationContext.ReportDiagnostic(Diagnostic.Create(instanceReference.IsImplicit ?
ImplicitInstanceDescriptor
: ExplicitInstanceDescriptor,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Diagnostics\OperationAnalyzerTests.vb (3)
1123
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ImplicitInstanceDescriptor
.Id, "M1").WithLocation(4, 9),
1125
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ImplicitInstanceDescriptor
.Id, "M1").WithLocation(14, 9),
1126
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ImplicitInstanceDescriptor
.Id, "M2").WithLocation(15, 9))