34 references to Checked
Microsoft.CodeAnalysis.VisualBasic (34)
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)
232
Return expression.
Checked
AndAlso expression.Type.IsIntegralType()
254
If expression.
Checked
AndAlso
258
ElseIf expression.
Checked
AndAlso
273
If expression.
Checked
AndAlso
277
ElseIf expression.
Checked
AndAlso
285
If expression.
Checked
AndAlso
289
ElseIf expression.
Checked
AndAlso
345
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)
1571
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
12183
Return node.Update(node.OperatorKind, left, right, node.
Checked
, node.ConstantValueOpt, type)
13330
New TreeDumperNode("checked", node.
Checked
, Nothing),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
196
rewritten.
Checked
,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (9)
205
Dim isChecked As Boolean = node.
Checked
AndAlso IsIntegralType(resultUnderlyingType)
247
left = CreateBuiltInConversion(operandActiveType, newType, left, node.
Checked
, False, ConversionSemantics.[Default])
248
right = CreateBuiltInConversion(operandActiveType, newType, right, node.
Checked
, False, ConversionSemantics.[Default])
256
left = Convert(left, newType, node.
Checked
)
257
right = Convert(right, newType, node.
Checked
)
288
left = CreateBuiltInConversion(resultType, systemBool, left, node.
Checked
, False, ConversionSemantics.[Default])
289
right = CreateBuiltInConversion(resultType, systemBool, right, node.
Checked
, False, ConversionSemantics.[Default])
292
Dim isChecked As Boolean = node.
Checked
AndAlso IsIntegralType(resultUnderlyingType)
339
Dim isChecked As Boolean = node.
Checked
AndAlso IsIntegralType(resultUnderlyingType)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (5)
135
left = TransformRewrittenBinaryOperator(binary.Update(binary.OperatorKind, left, right, binary.
Checked
, binary.ConstantValueOpt, Me.VisitType(binary.Type)))
243
node.
Checked
,
743
result = New BoundConversion(node.Syntax, DirectCast(result, BoundExpression), ConversionKind.NarrowingBoolean, node.
Checked
, False, node.Type)
829
Return node.Update(node.OperatorKind, left, right, node.
Checked
, node.ConstantValueOpt, node.Type)
1511
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)
Operations\VisualBasicOperationFactory_Methods.vb (1)
132
isChecked:=boundBinaryOperator.
Checked
,