6 instantiations of UnaryOperatorSignature
Microsoft.CodeAnalysis.CSharp (6)
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (5)
317
operators.Add(new
UnaryOperatorSignature
(kind | UnaryOperatorKind.Enum, enumType, enumType));
318
operators.Add(new
UnaryOperatorSignature
(kind | UnaryOperatorKind.Lifted | UnaryOperatorKind.Enum, nullableEnum, nullableEnum));
340
op = new
UnaryOperatorSignature
(kind | UnaryOperatorKind.Pointer, pointerType, pointerType);
528
operators.Add(new
UnaryOperatorSignature
(UnaryOperatorKind.UserDefined | kind, operandType, resultType, op, constrainedToTypeOpt));
558
operators.Add(new
UnaryOperatorSignature
(
Compilation\BuiltInOperators.cs (1)
287
return new
UnaryOperatorSignature
(kind, opType, opType);
38 references to UnaryOperatorSignature
Microsoft.CodeAnalysis.CSharp (38)
Binder\Binder_Operators.cs (2)
2330
var
signature = best.Signature;
2786
var
signature = best.Signature;
Binder\Binder_Statements.cs (1)
2716
UnaryOperatorSignature
signature = best.Signature;
Binder\Binder_TupleOperators.cs (2)
108
out
UnaryOperatorSignature
boolOperator);
126
out BoundExpression conversionForBool, out BoundValuePlaceholder conversionForBoolPlaceholder, out
UnaryOperatorSignature
boolOperator)
Binder\Semantics\Operators\UnaryOperatorAnalysisResult.cs (4)
13
public readonly
UnaryOperatorSignature
Signature;
17
private UnaryOperatorAnalysisResult(OperatorAnalysisResultKind kind,
UnaryOperatorSignature
signature, Conversion conversion)
36
public static UnaryOperatorAnalysisResult Applicable(
UnaryOperatorSignature
signature, Conversion conversion)
41
public static UnaryOperatorAnalysisResult Inapplicable(
UnaryOperatorSignature
signature, Conversion conversion)
Binder\Semantics\Operators\UnaryOperatorEasyOut.cs (1)
112
UnaryOperatorSignature
signature = this.Compilation.BuiltInOperators.GetSignature(easyOut);
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (13)
183
private BetterResult BetterOperator(
UnaryOperatorSignature
op1,
UnaryOperatorSignature
op2, BoundExpression operand, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
256
var operators = ArrayBuilder<
UnaryOperatorSignature
>.GetInstance();
272
private bool CandidateOperators(bool isChecked, ArrayBuilder<
UnaryOperatorSignature
> operators, BoundExpression operand, ArrayBuilder<UnaryOperatorAnalysisResult> results, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
292
private void GetEnumOperations(UnaryOperatorKind kind, BoundExpression operand, ArrayBuilder<
UnaryOperatorSignature
> operators)
323
private static
UnaryOperatorSignature
? GetPointerOperation(UnaryOperatorKind kind, BoundExpression operand)
333
UnaryOperatorSignature
? op = null;
388
var operators = ArrayBuilder<
UnaryOperatorSignature
>.GetInstance();
477
ArrayBuilder<
UnaryOperatorSignature
> operators)
488
var operators2 = ArrayBuilder<
UnaryOperatorSignature
>.GetInstance();
498
foreach (
UnaryOperatorSignature
signature1 in operators)
515
static void getDeclaredOperators(TypeSymbol constrainedToTypeOpt, NamedTypeSymbol type, UnaryOperatorKind kind, string name, ArrayBuilder<
UnaryOperatorSignature
> operators)
532
void addLiftedOperators(TypeSymbol constrainedToTypeOpt, UnaryOperatorKind kind, ArrayBuilder<
UnaryOperatorSignature
> operators)
Binder\Semantics\Operators\UnaryOperatorSignature.cs (2)
15
public static
UnaryOperatorSignature
Error = default(
UnaryOperatorSignature
);
BoundTree\TupleBinaryOperatorInfo.cs (2)
54
internal readonly
UnaryOperatorSignature
BoolOperator; // Information for op_true or op_false
64
UnaryOperatorSignature
boolOperator) : base(leftConvertedTypeOpt, rightConvertedTypeOpt)
Compilation\BuiltInOperators.cs (9)
28
private ImmutableArray<
UnaryOperatorSignature
>[] _builtInUnaryOperators;
39
private ImmutableArray<
UnaryOperatorSignature
> GetSignaturesFromUnaryOperatorKinds(int[] operatorKinds)
41
var builder = ArrayBuilder<
UnaryOperatorSignature
>.GetInstance();
50
internal void GetSimpleBuiltInOperators(UnaryOperatorKind kind, ArrayBuilder<
UnaryOperatorSignature
> operators, bool skipNativeIntegerOperators)
54
var allOperators = new ImmutableArray<
UnaryOperatorSignature
>[]
237
ImmutableArray<
UnaryOperatorSignature
>.Empty,
238
ImmutableArray<
UnaryOperatorSignature
>.Empty,
244
foreach (
var
op in _builtInUnaryOperators[kind.OperatorIndex()])
259
internal
UnaryOperatorSignature
GetSignature(UnaryOperatorKind kind)
Compilation\CSharpCompilation.cs (1)
4471
var
signature = this.BuiltInOperators.GetSignature(easyOutUnaryKind);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
573
UnaryOperatorSignature
boolOperator = single.BoolOperator;