4 references to OperatorAddMethodDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\OperationAnalyzerTests.cs (1)
1569
Diagnostic(UnaryAndBinaryOperationsTestAnalyzer.
OperatorAddMethodDescriptor
.Id, "a1 + a2").WithLocation(43, 14),
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
1508
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
OperatorAddMethodDescriptor
, OperatorMinusMethodDescriptor, DoubleMultiplyDescriptor, BooleanNotDescriptor);
1518
operationContext.ReportDiagnostic(Diagnostic.Create(
OperatorAddMethodDescriptor
, binary.Syntax.GetLocation()));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\OperationAnalyzerTests.vb (1)
1543
Diagnostic(UnaryAndBinaryOperationsTestAnalyzer.
OperatorAddMethodDescriptor
.Id, "a1 + a2").WithLocation(35, 14),