4 references to OperatorMinusMethodDescriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\OperationAnalyzerTests.cs (1)
1570
Diagnostic(UnaryAndBinaryOperationsTestAnalyzer.
OperatorMinusMethodDescriptor
.Id, "-a2").WithLocation(44, 14));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\OperationTestAnalyzer.cs (2)
1508
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(OperatorAddMethodDescriptor,
OperatorMinusMethodDescriptor
, DoubleMultiplyDescriptor, BooleanNotDescriptor);
1534
operationContext.ReportDiagnostic(Diagnostic.Create(
OperatorMinusMethodDescriptor
, unary.Syntax.GetLocation()));
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\OperationAnalyzerTests.vb (1)
1544
Diagnostic(UnaryAndBinaryOperationsTestAnalyzer.
OperatorMinusMethodDescriptor
.Id, "-a2").WithLocation(36, 14))