23 references to Type
Microsoft.CodeAnalysis.CSharp (23)
CodeGen\EmitExpression.cs (12)
3841Debug.Assert(expr.Type.IsReferenceType); 3849if (IsVarianceCast(expr.Type, mergeTypeOfLeftValue)) 3851EmitStaticCast(expr.Type, expr.Syntax); 3852mergeTypeOfLeftValue = expr.Type; 3854else if (expr.Type.IsInterfaceType() && !TypeSymbol.Equals(expr.Type, mergeTypeOfLeftValue, TypeCompareKind.ConsiderEverything2)) 3856EmitStaticCast(expr.Type, expr.Syntax); 3862if (expr.Type.IsTypeParameter()) 3864EmitBox(expr.Type, expr.LeftOperand.Syntax); 3879if (IsVarianceCast(expr.Type, mergeTypeOfRightValue)) 3881EmitStaticCast(expr.Type, expr.Syntax); 3882mergeTypeOfRightValue = expr.Type;
CodeGen\Optimizer.cs (1)
1583return node.Update(left, right, node.LeftPlaceholder, node.LeftConversion, node.OperatorResultKind, @checked: node.Checked, node.Type);
FlowAnalysis\NullableWalker.cs (2)
5595SetResultType(node, TypeWithState.Create(node.Type, rightUnconditionalResult.State)); 5620BoundNullCoalescingOperatorResultKind.NoCommonType => (node.Type, NullableFlowState.NotNull),
Generated\BoundNodes.xml.Generated.cs (4)
1923if (leftOperand != this.LeftOperand || rightOperand != this.RightOperand || leftPlaceholder != this.LeftPlaceholder || leftConversion != this.LeftConversion || operatorResultKind != this.OperatorResultKind || @checked != this.Checked || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11070TypeSymbol? type = this.VisitType(node.Type); 12838updatedNode = node.Update(leftOperand, rightOperand, leftPlaceholder, leftConversion, node.OperatorResultKind, node.Checked, node.Type); 15374new TreeDumperNode("type", node.Type, null),
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
17TypeSymbol? rewrittenResultType = VisitType(node.Type);
Lowering\SpillSequenceSpiller.cs (2)
1250var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1260return UpdateExpression(builder, node.Update(left, right, node.LeftPlaceholder, node.LeftConversion, node.OperatorResultKind, @checked: node.Checked, node.Type));
Operations\CSharpOperationFactory.cs (1)
1596boundNullCoalescingOperator.Type.Equals(boundNullCoalescingOperator.LeftOperand.Type?.StrippedType(), TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds | TypeCompareKind.IgnoreNullableModifiersForReferenceTypes))