11 references to GetOperators
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (1)
1270var operators = type.GetOperators(name);
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (2)
220ImmutableArray<MethodSymbol> operators = declaringType.GetOperators( 228ImmutableArray<MethodSymbol> operators2 = declaringType.GetOperators(WellKnownMemberNames.ExplicitConversionName);
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
289foreach (MethodSymbol op in declaringType.GetOperators(WellKnownMemberNames.ImplicitConversionName))
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
961foreach (MethodSymbol op in type.GetOperators(name))
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (1)
517foreach (MethodSymbol op in type.GetOperators(name))
Symbols\Source\SourceMemberContainerSymbol.cs (5)
2497ImmutableArray<MethodSymbol> ops1 = this.GetOperators(operatorName1); 2501var ops2 = this.GetOperators(operatorName2); 2507var ops2 = this.GetOperators(operatorName2); 2588bool hasOp = this.GetOperators(WellKnownMemberNames.EqualityOperatorName).Any() || 2589this.GetOperators(WellKnownMemberNames.InequalityOperatorName).Any();