10 references to StaticMemberDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Diagnostics\OperationAnalyzerTests.cs (8)
1482
Diagnostic(StaticMemberTestAnalyzer.
StaticMemberDescriptor
.Id, "C.E").WithLocation(23, 9),
1483
Diagnostic(StaticMemberTestAnalyzer.
StaticMemberDescriptor
.Id, "D.Method").WithLocation(23, 16),
1484
Diagnostic(StaticMemberTestAnalyzer.
StaticMemberDescriptor
.Id, "C.E").WithLocation(24, 9),
1485
Diagnostic(StaticMemberTestAnalyzer.
StaticMemberDescriptor
.Id, "C.Bar()").WithLocation(25, 9),
1486
Diagnostic(StaticMemberTestAnalyzer.
StaticMemberDescriptor
.Id, "D.E").WithLocation(27, 9),
1487
Diagnostic(StaticMemberTestAnalyzer.
StaticMemberDescriptor
.Id, "D.Field").WithLocation(28, 9),
1488
Diagnostic(StaticMemberTestAnalyzer.
StaticMemberDescriptor
.Id, "D.Property").WithLocation(29, 17),
1489
Diagnostic(StaticMemberTestAnalyzer.
StaticMemberDescriptor
.Id, "D.Method()").WithLocation(30, 9));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
1368
return ImmutableArray.Create(
StaticMemberDescriptor
,
1408
operationContext.ReportDiagnostic(Diagnostic.Create(
StaticMemberDescriptor
, operation.Syntax.GetLocation()));