BoundTree\NullabilityRewriter.cs (6)
102binary.BinaryOperatorMethod is { } binaryOperatorMethod ? binary.Data?.WithUpdatedMethod(GetUpdatedSymbol(binary, binaryOperatorMethod)) : binary.Data,
110GetUpdatedSymbol(logical, logical.LogicalOperator),
159TypeSymbol inputType = GetUpdatedSymbol(currentBinary, currentBinary.InputType);
160TypeSymbol narrowedType = GetUpdatedSymbol(currentBinary, currentBinary.NarrowedType);
189op = new BinaryOperatorSignature(op.Kind, op.LeftType, op.RightType, op.ReturnType, GetUpdatedSymbol(node, op.Method), op.ConstrainedToTypeOpt);
321updatedSymbol = GetUpdatedSymbol(expr, originalSymbol);