1 implementation of OperatorMethod
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7312
public 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)
7405
operation.
OperatorMethod
, operation.ConstrainedToType,
Microsoft.CodeAnalysis.Analyzers (3)
src\roslyn\src\RoslynAnalyzers\Microsoft.CodeAnalysis.BannedApiAnalyzers\Core\SymbolIsBannedAnalyzerBase.cs (3)
142
if (incrementOrDecrement.
OperatorMethod
!= null)
144
VerifySymbol(context.ReportDiagnostic, incrementOrDecrement.
OperatorMethod
, context.Operation.Syntax);
145
VerifyType(context.ReportDiagnostic, incrementOrDecrement.
OperatorMethod
.ContainingType, context.Operation.Syntax);
Roslyn.Diagnostics.Analyzers (1)
AbstractDoNotCopyValue.cs (1)
821
CheckMethodSymbolInUnsupportedContext(operation, operation.
OperatorMethod
);