1 implementation of OperatorMethod
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7312public IMethodSymbol? OperatorMethod { get; }
7 references to OperatorMethod
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (2)
2200/// Type parameter which runtime type will be used to resolve virtual invocation of the <see cref="OperatorMethod" />, if any. 2201/// Null if <see cref="OperatorMethod" /> is resolved statically, or is null.
Operations\ControlFlowGraphBuilder.cs (1)
7405operation.OperatorMethod, operation.ConstrainedToType,
Microsoft.CodeAnalysis.Analyzers (3)
src\roslyn\src\RoslynAnalyzers\Microsoft.CodeAnalysis.BannedApiAnalyzers\Core\SymbolIsBannedAnalyzerBase.cs (3)
142if (incrementOrDecrement.OperatorMethod != null) 144VerifySymbol(context.ReportDiagnostic, incrementOrDecrement.OperatorMethod, context.Operation.Syntax); 145VerifyType(context.ReportDiagnostic, incrementOrDecrement.OperatorMethod.ContainingType, context.Operation.Syntax);
Roslyn.Diagnostics.Analyzers (1)
AbstractDoNotCopyValue.cs (1)
821CheckMethodSymbolInUnsupportedContext(operation, operation.OperatorMethod);