34 references to Type
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder_TupleOperators.cs (1)
106PrepareBoolConversionAndTruthOperator(binary.Type, node, kind, diagnostics,
BoundTree\BoundTreeRewriter.cs (1)
145var type = this.VisitType(binary.Type);
BoundTree\Constructors.cs (1)
480return Update(OperatorKind, uncommonData, ResultKind, Left, Right, Type);
BoundTree\NullabilityRewriter.cs (1)
53var type = foundInfo ? infoAndType.Type : currentBinary.Type;
CodeGen\Optimizer.cs (3)
1526var type = this.VisitType(binary.Type); 1561return node.Update(node.OperatorKind, node.ConstantValueOpt, node.Method, node.ConstrainedToType, node.ResultKind, left, right, node.Type); 2101var type = this.VisitType(binary.Type);
Compilation\CSharpSemanticModel.cs (4)
3861binaryOperator.Type.SpecialType == SpecialType.System_Boolean) 3864var objectType = binaryOperator.Type.ContainingAssembly.GetSpecialType(SpecialType.System_Object); 3869binaryOperator.Type)); 3876binaryOperator.Type,
FlowAnalysis\NullableWalker.cs (3)
4951var inferredResult = ReinferAndVisitBinaryOperator(binary, binary.OperatorKind, binary.Method, binary.Type, binary.Left, leftOperand, leftConversion, leftType, binary.Right, rightOperand, rightConversion, rightType); 11153return TypeWithState.Create(node.Type, NullableFlowState.NotNull); 11231BoundBinaryOperator binary => InferResultNullability(binary.OperatorKind, binary.Method, binary.Type, leftType, rightType),
Generated\BoundNodes.xml.Generated.cs (6)
1682if (operatorKind != this.OperatorKind || data != this.Data || resultKind != this.ResultKind || left != this.Left || right != this.Right || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 1765if (operatorKind != this.OperatorKind || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(logicalOperator, this.LogicalOperator) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(trueOperator, this.TrueOperator) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(falseOperator, this.FalseOperator) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || left != this.Left || right != this.Right || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11018TypeSymbol? type = this.VisitType(node.Type); 11033TypeSymbol? type = this.VisitType(node.Type); 15295new TreeDumperNode("type", node.Type, null), 15322new TreeDumperNode("type", node.Type, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
197return VisitBinaryOperator(binOp.OperatorKind, binOp.Method, binOp.Type, binOp.Left, binOp.Right); 200return VisitBinaryOperator(userDefCondLogOp.OperatorKind, userDefCondLogOp.LogicalOperator, userDefCondLogOp.Type, userDefCondLogOp.Left, userDefCondLogOp.Right);
Lowering\DiagnosticsPass_Warnings.cs (3)
830Error(ErrorCode.WRN_AlwaysNull, node, node.Type); 836Error(ErrorCode.WRN_AlwaysNull, node, node.Type); 847Error(ErrorCode.WRN_AlwaysNull, node, node.Type);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
73var type = node.Type; 117Debug.Assert(node.Type.SpecialType == SpecialType.System_String, "Non-string binary addition should have been handled by VisitConversion or VisitArguments"); 119return LowerPartsToString(data, parts, node.Syntax, node.Type); 152loweredLeft = MakeBinaryOperator(original, original.Syntax, original.OperatorKind, loweredLeft, loweredRight, original.Type, original.Method, original.ConstrainedToType,
Lowering\MethodToClassRewriter.cs (2)
278VisitType(node.Type)); 321VisitType(node.Type));
Lowering\SpillSequenceSpiller.cs (2)
996var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1013return UpdateExpression(builder, node.Update(node.OperatorKind, node.ConstantValueOpt, node.Method, node.ConstrainedToType, node.ResultKind, left, right, node.Type));
Operations\CSharpOperationFactory.cs (1)
1514if (boundBinaryOperator.Type.IsDynamic() &&