27 references to BitwiseComplement
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder_Operators.cs (2)
2834var binder = kind.Operator() == UnaryOperatorKind.BitwiseComplement ? 3019case SyntaxKind.BitwiseNotExpression: return UnaryOperatorKind.BitwiseComplement;
Binder\Semantics\Operators\OperatorFacts.cs (1)
175case UnaryOperatorKind.BitwiseComplement: return WellKnownMemberNames.OnesComplementOperatorName;
Binder\Semantics\Operators\OperatorKind.cs (17)
258IntBitwiseComplement = Int | BitwiseComplement, 259UIntBitwiseComplement = UInt | BitwiseComplement, 260LongBitwiseComplement = Long | BitwiseComplement, 261ULongBitwiseComplement = ULong | BitwiseComplement, 262NIntBitwiseComplement = NInt | BitwiseComplement, 263NUIntBitwiseComplement = NUInt | BitwiseComplement, 264EnumBitwiseComplement = Enum | BitwiseComplement, 265UserDefinedBitwiseComplement = UserDefined | BitwiseComplement, 266LiftedIntBitwiseComplement = Lifted | Int | BitwiseComplement, 267LiftedUIntBitwiseComplement = Lifted | UInt | BitwiseComplement, 268LiftedLongBitwiseComplement = Lifted | Long | BitwiseComplement, 269LiftedULongBitwiseComplement = Lifted | ULong | BitwiseComplement, 270LiftedNIntBitwiseComplement = Lifted | NInt | BitwiseComplement, 271LiftedNUIntBitwiseComplement = Lifted | NUInt | BitwiseComplement, 272LiftedEnumBitwiseComplement = Lifted | Enum | BitwiseComplement, 273LiftedUserDefinedBitwiseComplement = Lifted | UserDefined | BitwiseComplement, 274DynamicBitwiseComplement = Dynamic | BitwiseComplement,
Binder\Semantics\Operators\OperatorKindExtensions.cs (1)
395case UnaryOperatorKind.BitwiseComplement: return ExpressionType.OnesComplement;
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (2)
316case UnaryOperatorKind.BitwiseComplement: 547case UnaryOperatorKind.BitwiseComplement:
CodeGen\EmitOperators.cs (1)
46case UnaryOperatorKind.BitwiseComplement:
Compilation\CSharpCompilation.cs (1)
4483unaryKind is UnaryOperatorKind.PrefixIncrement or UnaryOperatorKind.PrefixDecrement or UnaryOperatorKind.BitwiseComplement &&
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1156case UnaryOperatorKind.BitwiseComplement:
Operations\CSharpOperationFactory_Methods.cs (1)
534case CSharp.UnaryOperatorKind.BitwiseComplement: