6 references to ExplicitInstanceDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Diagnostics\OperationAnalyzerTests.cs (2)
1121
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ExplicitInstanceDescriptor
.Id, "this").WithLocation(6, 9),
1123
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ExplicitInstanceDescriptor
.Id, "base").WithLocation(18, 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 (2)
Diagnostics\OperationAnalyzerTests.vb (2)
1122
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ExplicitInstanceDescriptor
.Id, "Me").WithLocation(3, 9),
1124
Diagnostic(ExplicitVsImplicitInstanceAnalyzer.
ExplicitInstanceDescriptor
.Id, "MyBase").WithLocation(13, 9),