32 references to Checked
Microsoft.CodeAnalysis.VisualBasic (32)
BoundTree\BoundBinaryOperator.vb (1)
46
Dim isChecked =
Checked
AndAlso leftType.IsIntegralType() AndAlso
BoundTree\BoundTreeRewriter.vb (1)
137
left = binary.Update(binary.OperatorKind, left, right, binary.
Checked
, binary.ConstantValueOpt, type)
CodeGen\EmitOperators.vb (8)
249
Return expression.
Checked
AndAlso expression.Type.IsIntegralType()
271
If expression.
Checked
AndAlso
275
ElseIf expression.
Checked
AndAlso
290
If expression.
Checked
AndAlso
294
ElseIf expression.
Checked
AndAlso
302
If expression.
Checked
AndAlso
306
ElseIf expression.
Checked
AndAlso
362
DowncastResultOfArithmeticOperation(targetPrimitiveType, expression.
Checked
AndAlso
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
958
left = binary.Update(binary.OperatorKind, left, right, binary.
Checked
, binary.ConstantValueOpt, type)
992
Return node.Update(node.OperatorKind, left, right, node.
Checked
, node.ConstantValueOpt, node.Type)
CodeGen\Optimizer\StackScheduler.Rewriter.vb (1)
91
left = binary.Update(binary.OperatorKind, left, right, binary.
Checked
, binary.ConstantValueOpt, type)
Generated\BoundNodes.xml.Generated.vb (3)
1590
If operatorKind <> Me.OperatorKind OrElse left IsNot Me.Left OrElse right IsNot Me.Right OrElse checked <> Me.
Checked
OrElse constantValueOpt IsNot Me.ConstantValueOpt OrElse type IsNot Me.Type Then
12217
Return node.Update(node.OperatorKind, left, right, node.
Checked
, node.ConstantValueOpt, type)
13367
New TreeDumperNode("checked", node.
Checked
, Nothing),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
267
rewritten.
Checked
,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (8)
310
left = CreateBuiltInConversion(operandActiveType, newType, left, node.
Checked
, False, ConversionSemantics.[Default])
311
right = CreateBuiltInConversion(operandActiveType, newType, right, node.
Checked
, False, ConversionSemantics.[Default])
319
left = Convert(left, newType, node.
Checked
)
320
right = Convert(right, newType, node.
Checked
)
353
left = CreateBuiltInConversion(resultType, systemBool, left, node.
Checked
, False, ConversionSemantics.[Default])
354
right = CreateBuiltInConversion(resultType, systemBool, right, node.
Checked
, False, ConversionSemantics.[Default])
357
Dim isChecked As Boolean = node.
Checked
AndAlso IsIntegralType(resultUnderlyingType)
419
Dim isChecked As Boolean = node.
Checked
AndAlso IsIntegralType(resultUnderlyingType)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (5)
130
left = TransformRewrittenBinaryOperator(binary.Update(binary.OperatorKind, left, right, binary.
Checked
, binary.ConstantValueOpt, Me.VisitType(binary.Type)))
238
node.
Checked
,
738
result = New BoundConversion(node.Syntax, DirectCast(result, BoundExpression), ConversionKind.NarrowingBoolean, node.
Checked
, False, node.Type)
824
Return node.Update(node.OperatorKind, left, right, node.
Checked
, node.ConstantValueOpt, node.Type)
1506
originalOperator.
Checked
,
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
96
binary.
Checked
,
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (1)
52
binary.Left, binary.Right, binary.
Checked
, binary.ConstantValueOpt, binary.Type)