1 write to _builder
Microsoft.CodeAnalysis.VisualBasic (1)
CodeGen\CodeGenerator.vb (1)
62
_builder
= builder
395 references to _builder
Microsoft.CodeAnalysis.VisualBasic (395)
CodeGen\CodeGenerator.vb (15)
117
asyncCatchHandlerOffset =
_builder
.GetILOffsetFromMarker(_asyncCatchHandlerOffset)
134
Dim yieldOffset =
_builder
.GetILOffsetFromMarker(yieldPoints(i))
135
Dim resumeOffset =
_builder
.GetILOffsetFromMarker(resumePoints(i))
161
_builder
.DefineInitialHiddenSequencePoint()
172
_builder
.Realize()
183
_builder
.MarkLabel(s_returnLabel)
184
_builder
.EmitRet(True)
193
_builder
.EmitToken(_module.Translate(symbol, syntaxNode, _diagnostics), syntaxNode, _diagnostics)
198
_builder
.EmitToken(methodRef, syntaxNode, _diagnostics, If(encodeAsRawDefinitionToken, Cci.MetadataWriter.RawTokenEncoding.RowId, Cci.MetadataWriter.RawTokenEncoding.None))
202
_builder
.EmitToken(_module.Translate(symbol, syntaxNode, _diagnostics), syntaxNode, _diagnostics)
253
_builder
.EmitOpCode(ILOpCode.Nop)
272
_builder
.EmitOpCode(ILOpCode.Nop)
285
_builder
.SetInitialDebugDocument(methodBlockSyntax.SyntaxTree)
291
_builder
.DefineHiddenSequencePoint()
301
_builder
.DefineSequencePoint(tree, span)
CodeGen\EmitAddress.vb (15)
61
_builder
.EmitLocalAddress(local) ' EmitLocalAddress knows about byref locals
66
_builder
.EmitOpCode(ILOpCode.Dup)
92
_builder
.EmitOpCode(ILOpCode.Ldarg_0)
95
_builder
.EmitOpCode(ILOpCode.Ldarg_0)
145
_builder
.EmitLocalStore(value)
146
_builder
.EmitLocalAddress(value)
153
_builder
.OpenLocalScope()
177
_builder
.CloseLocalScope()
414
_builder
.EmitOpCode(ILOpCode.Readonly)
418
_builder
.EmitOpCode(ILOpCode.Ldelema)
421
_builder
.EmitArrayElementAddress(_module.Translate(DirectCast(arrayAccess.Expression.Type, ArrayTypeSymbol)), arrayAccess.Syntax, _diagnostics)
437
_builder
.EmitOpCode(ILOpCode.Ldsflda)
444
_builder
.EmitLoadArgumentAddrOpcode(slot)
446
_builder
.EmitLoadArgumentOpcode(slot)
511
_builder
.EmitOpCode(ILOpCode.Ldflda)
CodeGen\EmitArrayInitializer.vb (6)
44
_builder
.EmitArrayBlockInitializer(Me.GetRawData(initExprs), inits.Syntax, _diagnostics)
70
_builder
.EmitOpCode(ILOpCode.Dup)
71
_builder
.EmitIntConstant(i)
157
_builder
.EmitOpCode(ILOpCode.Dup)
163
_builder
.EmitIntConstant(row.Index)
167
_builder
.EmitIntConstant(i)
CodeGen\EmitConversion.vb (27)
78
_builder
.EmitConstantValue(ConstantValue.Default(underlyingFrom.GetConstantValueTypeDiscriminator()))
82
_builder
.EmitOpCode(ILOpCode.Ceq)
83
_builder
.EmitOpCode(ILOpCode.Ldc_i4_0)
84
_builder
.EmitOpCode(ILOpCode.Ceq)
86
_builder
.EmitOpCode(ILOpCode.Cgt_un)
95
_builder
.EmitOpCode(ILOpCode.Ldc_i4_0)
96
_builder
.EmitOpCode(ILOpCode.Cgt_un)
97
_builder
.EmitOpCode(ILOpCode.Neg)
102
_builder
.EmitNumericConversion(PrimitiveTypeCode.Int32, underlyingTo, checked:=False)
126
_builder
.EmitOpCode(ILOpCode.Conv_r4)
134
_builder
.EmitOpCode(ILOpCode.Conv_r4)
147
_builder
.EmitNumericConversion(typeFrom, typeTo, checked)
181
_builder
.EmitOpCode(ILOpCode.Castclass)
216
_builder
.EmitOpCode(ILOpCode.Dup)
217
_builder
.EmitBranch(ILOpCode.Brtrue_s, unboxLabel)
223
_builder
.EmitOpCode(ILOpCode.Pop)
240
_builder
.EmitBranch(ILOpCode.Br_s, resultLabel)
242
_builder
.MarkLabel(unboxLabel)
245
_builder
.EmitOpCode(ILOpCode.Unbox_any)
248
_builder
.MarkLabel(resultLabel)
339
_builder
.EmitOpCode(ILOpCode.Unbox_any)
344
_builder
.EmitOpCode(ILOpCode.Castclass)
364
_builder
.EmitOpCode(ILOpCode.Unbox_any)
376
_builder
.EmitOpCode(ILOpCode.Castclass)
419
_builder
.EmitOpCode(ILOpCode.Castclass)
498
_builder
.EmitOpCode(ILOpCode.Isinst)
502
_builder
.EmitOpCode(ILOpCode.Unbox_any)
CodeGen\EmitExpression.vb (169)
134
_builder
.EmitOpCode(ILOpCode.Ldarg_0)
235
_builder
.EmitBranch(ILOpCode.Brtrue, whenValueTypeLabel)
238
_builder
.EmitBranch(ILOpCode.Br, doneLabel)
239
_builder
.AdjustStack(-1)
241
_builder
.MarkLabel(whenValueTypeLabel)
244
_builder
.MarkLabel(doneLabel)
268
_builder
.EmitBranch(ILOpCode.Br, doneLabel)
271
_builder
.AdjustStack(-1)
274
_builder
.MarkLabel(consequenceLabel)
277
_builder
.MarkLabel(doneLabel)
322
_builder
.EmitBranch(ILOpCode.Brtrue, whenNotNullLabel)
326
_builder
.EmitLocalStore(temp)
327
_builder
.EmitLocalAddress(temp)
328
_builder
.EmitLocalLoad(temp)
337
_builder
.EmitOpCode(ILOpCode.Dup)
342
_builder
.EmitOpCode(ILOpCode.Dup)
355
_builder
.EmitBranch(ILOpCode.Brtrue, whenNotNullLabel)
358
_builder
.EmitOpCode(ILOpCode.Pop)
367
_builder
.EmitBranch(ILOpCode.Br, doneLabel)
371
_builder
.AdjustStack(-1)
378
_builder
.AdjustStack(+1)
381
_builder
.MarkLabel(whenNotNullLabel)
390
_builder
.MarkLabel(doneLabel)
413
_builder
.EmitBranch(ILOpCode.Brtrue, whenValueTypeLabel)
417
_builder
.EmitBranch(ILOpCode.Br, doneLabel)
418
_builder
.AdjustStack(-1)
420
_builder
.MarkLabel(whenValueTypeLabel)
423
_builder
.MarkLabel(doneLabel)
437
_builder
.EmitLocalLoad(GetLocal(local))
460
_builder
.EmitNullConstant()
473
_builder
.EmitOpCode(ILOpCode.Dup)
474
_builder
.EmitOpCode(ILOpCode.Ldvirtftn)
476
_builder
.EmitOpCode(ILOpCode.Ldftn)
490
_builder
.EmitOpCode(ILOpCode.Newobj, -1)
500
_builder
.EmitOpCode(ILOpCode.Ldarg_0)
502
_builder
.EmitOpCode(ILOpCode.Ldobj)
515
_builder
.OpenLocalScope()
527
_builder
.CloseLocalScope()
577
_builder
.EmitOpCode(ILOpCode.Ldelem_i1)
581
_builder
.EmitOpCode(ILOpCode.Ldelem_u1)
584
_builder
.EmitOpCode(ILOpCode.Ldelem_i2)
588
_builder
.EmitOpCode(ILOpCode.Ldelem_u2)
591
_builder
.EmitOpCode(ILOpCode.Ldelem_i4)
594
_builder
.EmitOpCode(ILOpCode.Ldelem_u4)
598
_builder
.EmitOpCode(ILOpCode.Ldelem_i8)
603
_builder
.EmitOpCode(ILOpCode.Ldelem_i)
606
_builder
.EmitOpCode(ILOpCode.Ldelem_r4)
609
_builder
.EmitOpCode(ILOpCode.Ldelem_r8)
613
_builder
.EmitOpCode(ILOpCode.Ldelem_ref)
616
_builder
.EmitOpCode(ILOpCode.Ldelem)
621
_builder
.EmitOpCode(ILOpCode.Readonly)
624
_builder
.EmitOpCode(ILOpCode.Ldelema)
631
_builder
.EmitArrayElementLoad(_module.Translate(DirectCast(arrayAccess.Expression.Type, ArrayTypeSymbol)), arrayAccess.Expression.Syntax, _diagnostics)
664
_builder
.EmitOpCode(ILOpCode.Dup)
668
_builder
.EmitOpCode(ILOpCode.Dup)
678
_builder
.EmitOpCode(ILOpCode.Ldsfld)
702
_builder
.EmitOpCode(ILOpCode.Ldfld)
727
Me.
_builder
.EmitOpCode(ILOpCode.Unbox)
736
Me.
_builder
.EmitOpCode(ILOpCode.Ldflda)
807
_builder
.EmitLoadArgumentOpcode(slot)
823
_builder
.EmitOpCode(ILOpCode.Ldind_i1)
827
_builder
.EmitOpCode(ILOpCode.Ldind_u1)
830
_builder
.EmitOpCode(ILOpCode.Ldind_i2)
834
_builder
.EmitOpCode(ILOpCode.Ldind_u2)
837
_builder
.EmitOpCode(ILOpCode.Ldind_i4)
840
_builder
.EmitOpCode(ILOpCode.Ldind_u4)
844
_builder
.EmitOpCode(ILOpCode.Ldind_i8)
849
_builder
.EmitOpCode(ILOpCode.Ldind_i)
852
_builder
.EmitOpCode(ILOpCode.Ldind_r4)
855
_builder
.EmitOpCode(ILOpCode.Ldind_r8)
859
_builder
.EmitOpCode(ILOpCode.Ldind_ref)
861
_builder
.EmitOpCode(ILOpCode.Ldobj)
1085
_builder
.EmitOpCode(ILOpCode.Call, stackBehavior)
1088
_builder
.EmitOpCode(ILOpCode.Callvirt, stackBehavior)
1091
_builder
.EmitOpCode(ILOpCode.Constrained)
1093
_builder
.EmitOpCode(ILOpCode.Callvirt, stackBehavior)
1128
_builder
.EmitOpCode(ILOpCode.Nop)
1223
_builder
.EmitBranch(ILOpCode.Brtrue, whenNotNullLabel)
1230
_builder
.EmitLocalStore(tempOpt)
1231
_builder
.EmitLocalAddress(tempOpt)
1234
_builder
.MarkLabel(whenNotNullLabel)
1322
_builder
.EmitOpCode(ILOpCode.Isinst)
1328
_builder
.EmitOpCode(ILOpCode.Ldnull)
1331
_builder
.EmitOpCode(ILOpCode.Ceq)
1333
_builder
.EmitOpCode(ILOpCode.Cgt_un)
1370
_builder
.EmitNumericConversion(Cci.PrimitiveTypeCode.Int32, toType, checked:=False)
1409
_builder
.EmitBranch(ILOpCode.Br, doneLabel)
1412
_builder
.AdjustStack(-1)
1415
_builder
.MarkLabel(consequenceLabel)
1429
_builder
.MarkLabel(doneLabel)
1459
_builder
.EmitOpCode(ILOpCode.Dup)
1467
_builder
.EmitBranch(ILOpCode.Brtrue, ifLeftNotNullLabel)
1470
_builder
.EmitOpCode(ILOpCode.Pop)
1484
_builder
.MarkLabel(ifLeftNotNullLabel)
1598
_builder
.EmitLocalStore(temp)
1599
_builder
.EmitLocalLoad(temp)
1609
_builder
.EmitOpCode(ILOpCode.Newarr)
1612
_builder
.EmitArrayCreation(_module.Translate(arrayType), expression.Syntax, _diagnostics)
1626
_builder
.EmitOpCode(ILOpCode.Ldlen)
1638
_builder
.EmitNumericConversion(typeFrom, typeTo, checked:=False)
1655
_builder
.EmitLocalAddress(temp) ' ldloca temp
1656
_builder
.EmitOpCode(ILOpCode.Initobj) ' initobj <MyStruct>
1658
_builder
.EmitLocalLoad(temp) ' ldloc temp
1672
_builder
.EmitOpCode(ILOpCode.Newobj, ILOpCode.Newobj.StackPushCount() - arguments.Length)
1705
_builder
.EmitOpCode(ILOpCode.Initobj)
1716
_builder
.EmitConstantValue(constantValue)
1840
Me.
_builder
.EmitOpCode(ILOpCode.Initobj) ' initobj <MyStruct>
1858
Me.
_builder
.EmitOpCode(ILOpCode.[Call], -stackAdjustment)
1898
_builder
.EmitLocalLoad(GetLocal(boundLocal))
1920
_builder
.EmitLoadArgumentOpcode(ParameterSlot(left))
1948
_builder
.OpenLocalScope()
1977
Me.
_builder
.EmitOpCode(ILOpCode.Dup)
1980
Me.
_builder
.EmitLocalStore(temp)
1988
Me.
_builder
.EmitLocalLoad(temp)
2001
_builder
.EmitOpCode(ILOpCode.Dup)
2011
_builder
.EmitLocalStore(local)
2033
_builder
.EmitLocalStore(local)
2056
_builder
.CloseLocalScope()
2081
_builder
.EmitOpCode(ILOpCode.Stobj)
2089
_builder
.EmitArrayElementStore(_module.Translate(arrayType), syntaxNode, _diagnostics)
2108
_builder
.EmitOpCode(ILOpCode.Stelem_i1)
2113
_builder
.EmitOpCode(ILOpCode.Stelem_i2)
2117
_builder
.EmitOpCode(ILOpCode.Stelem_i4)
2121
_builder
.EmitOpCode(ILOpCode.Stelem_i8)
2126
_builder
.EmitOpCode(ILOpCode.Stelem_i)
2129
_builder
.EmitOpCode(ILOpCode.Stelem_r4)
2132
_builder
.EmitOpCode(ILOpCode.Stelem_r8)
2136
_builder
.EmitOpCode(ILOpCode.Stelem_ref)
2138
_builder
.EmitOpCode(ILOpCode.Stelem)
2149
_builder
.EmitOpCode(ILOpCode.Stsfld)
2151
_builder
.EmitOpCode(ILOpCode.Stfld)
2161
_builder
.EmitStoreArgumentOpcode(slot)
2178
_builder
.EmitOpCode(ILOpCode.Stind_i1)
2183
_builder
.EmitOpCode(ILOpCode.Stind_i2)
2187
_builder
.EmitOpCode(ILOpCode.Stind_i4)
2191
_builder
.EmitOpCode(ILOpCode.Stind_i8)
2196
_builder
.EmitOpCode(ILOpCode.Stind_i)
2199
_builder
.EmitOpCode(ILOpCode.Stind_r4)
2202
_builder
.EmitOpCode(ILOpCode.Stind_r8)
2206
_builder
.EmitOpCode(ILOpCode.Stind_ref)
2208
_builder
.EmitOpCode(ILOpCode.Stobj)
2217
_builder
.EmitOpCode(ILOpCode.Pop)
2226
_builder
.EmitOpCode(ILOpCode.Ldtoken)
2229
_builder
.EmitOpCode(ILOpCode.Call, stackAdjustment:=0) 'argument off, return value on
2237
_builder
.EmitOpCode(ILOpCode.Ldtoken)
2243
_builder
.EmitOpCode(ILOpCode.Call, stackAdjustment:=0) ' argument off, return value on
2246
_builder
.EmitOpCode(ILOpCode.Ldtoken)
2248
_builder
.EmitOpCode(ILOpCode.Call, stackAdjustment:=-1) ' 2 arguments off, return value on
2255
_builder
.EmitOpCode(ILOpCode.Castclass)
2269
_builder
.EmitOpCode(ILOpCode.Ldtoken)
2274
_builder
.EmitOpCode(ILOpCode.Call, stackAdjustment:=0) ' argument off, return value on
2279
_builder
.EmitOpCode(ILOpCode.Ldtoken)
2281
_builder
.EmitOpCode(ILOpCode.Call, stackAdjustment:=-1) ' 2 arguments off, return value on
2286
_builder
.EmitOpCode(ILOpCode.Castclass)
2294
_builder
.EmitOpCode(ILOpCode.Box)
2299
_builder
.EmitOpCode(ILOpCode.Unbox_any)
2306
_builder
.EmitOpCode(ILOpCode.Ldtoken)
2322
_builder
.EmitOpCode(ILOpCode.Ldtoken)
2323
_builder
.EmitGreatestMethodToken()
2327
_builder
.EmitOpCode(ILOpCode.Ldsfld)
2332
_builder
.EmitOpCode(ILOpCode.Stsfld)
2337
_builder
.EmitToken(_module.GetModuleVersionId(_module.Translate(node.Type, node.Syntax, _diagnostics), node.Syntax, _diagnostics), node.Syntax, _diagnostics)
2341
_builder
.EmitOpCode(ILOpCode.Ldstr)
2342
_builder
.EmitModuleVersionIdStringToken()
2346
_builder
.EmitOpCode(ILOpCode.Ldsfld)
2351
_builder
.EmitOpCode(ILOpCode.Stsfld)
2356
_builder
.EmitToken(_module.GetInstrumentationPayloadRoot(node.AnalysisKind, _module.Translate(node.Type, node.Syntax, _diagnostics), node.Syntax, _diagnostics), node.Syntax, _diagnostics)
2361
_builder
.EmitOpCode(ILOpCode.Ldtoken)
2362
_builder
.EmitSourceDocumentIndexToken(node.Document)
CodeGen\EmitOperators.vb (51)
34
_builder
.EmitOpCode(ILOpCode.Ldc_i4_0)
37
_builder
.EmitOpCode(ILOpCode.Conv_i8)
44
_builder
.EmitOpCode(ILOpCode.Sub_ovf)
46
_builder
.EmitOpCode(ILOpCode.Neg)
61
_builder
.EmitOpCode(ILOpCode.Not)
71
_builder
.EmitNumericConversion(Cci.PrimitiveTypeCode.UInt32,
197
_builder
.EmitOpCode(ILOpCode.And)
200
_builder
.EmitOpCode(ILOpCode.Xor)
203
_builder
.EmitOpCode(ILOpCode.Or)
220
_builder
.EmitOpCode(ILOpCode.And)
225
_builder
.EmitOpCode(ILOpCode.Xor)
230
_builder
.EmitOpCode(ILOpCode.Or)
273
_builder
.EmitOpCode(ILOpCode.Mul_ovf)
277
_builder
.EmitOpCode(ILOpCode.Mul_ovf_un)
279
_builder
.EmitOpCode(ILOpCode.Mul)
284
_builder
.EmitOpCode(ILOpCode.Rem_un)
286
_builder
.EmitOpCode(ILOpCode.[Rem])
292
_builder
.EmitOpCode(ILOpCode.Add_ovf)
296
_builder
.EmitOpCode(ILOpCode.Add_ovf_un)
298
_builder
.EmitOpCode(ILOpCode.Add)
304
_builder
.EmitOpCode(ILOpCode.Sub_ovf)
308
_builder
.EmitOpCode(ILOpCode.Sub_ovf_un)
310
_builder
.EmitOpCode(ILOpCode.Sub)
317
_builder
.EmitOpCode(ILOpCode.Div_un)
319
_builder
.EmitOpCode(ILOpCode.Div)
330
_builder
.EmitConstantValue(ConstantValue.Create(shiftMax))
331
_builder
.EmitOpCode(ILOpCode.And)
334
_builder
.EmitOpCode(ILOpCode.Shl)
345
_builder
.EmitConstantValue(ConstantValue.Create(shiftMax))
346
_builder
.EmitOpCode(ILOpCode.And)
350
_builder
.EmitOpCode(ILOpCode.Shr_un)
352
_builder
.EmitOpCode(ILOpCode.Shr)
379
_builder
.EmitNumericConversion(If(targetPrimitiveType.IsUnsigned(), Cci.PrimitiveTypeCode.UInt32, Cci.PrimitiveTypeCode.Int32),
415
_builder
.EmitBranch(ILOpCode.Br, labEnd)
418
_builder
.AdjustStack(-1)
420
_builder
.MarkLabel(fallThrough)
421
_builder
.EmitBoolConstant(stopValue)
422
_builder
.MarkLabel(labEnd)
582
_builder
.EmitConstantValue(nullOrZero)
583
_builder
.EmitOpCode(ILOpCode.Cgt_un)
594
_builder
.EmitConstantValue(nullOrZero)
595
_builder
.EmitOpCode(ILOpCode.Ceq)
604
_builder
.EmitOpCode(opCode)
620
_builder
.EmitBoolConstant(constant = sense)
650
_builder
.EmitBoolConstant(constant = sense)
671
_builder
.EmitOpCode(ILOpCode.Ldnull)
672
_builder
.EmitOpCode(If(sense, ILOpCode.Cgt_un, ILOpCode.Ceq))
678
_builder
.EmitOpCode(ILOpCode.Ldc_i4_0)
679
_builder
.EmitOpCode(If(sense, ILOpCode.Cgt_un, ILOpCode.Ceq))
699
_builder
.EmitOpCode(ILOpCode.Ldc_i4_0)
700
_builder
.EmitOpCode(ILOpCode.Ceq)
CodeGen\EmitStatement.vb (112)
78
_builder
.AssertStackEmpty()
84
Dim n =
_builder
.InstructionsEmitted
86
Return
_builder
.InstructionsEmitted - n
93
_builder
.EmitOpCode(ILOpCode.Nop)
103
_asyncYieldPoints.Add(
_builder
.AllocateILMarker())
109
_asyncResumePoints.Add(
_builder
.AllocateILMarker())
120
_builder
.AssertStackEmpty()
126
_builder
.OpenLocalScope(ScopeType.TryCatchFinally)
127
_builder
.OpenLocalScope(ScopeType.Try)
141
_builder
.CloseLocalScope()
150
_builder
.OpenLocalScope(ScopeType.Finally)
152
_builder
.CloseLocalScope()
155
_builder
.CloseLocalScope()
158
_builder
.MarkLabel(statement.ExitLabelOpt)
206
_builder
.AdjustStack(1)
226
_builder
.OpenLocalScope(ScopeType.Filter)
229
_builder
.EmitOpCode(ILOpCode.Isinst)
230
_builder
.EmitToken(exceptionType, catchBlock.Syntax, _diagnostics)
231
_builder
.EmitOpCode(ILOpCode.Ldnull)
232
_builder
.EmitOpCode(ILOpCode.Cgt_un)
236
_builder
.EmitIntConstant(0)
237
_builder
.EmitOpCode(ILOpCode.Cgt_un)
240
_builder
.EmitOpCode(ILOpCode.And)
244
_builder
.EmitIntConstant(0)
245
_builder
.EmitOpCode(ILOpCode.Ceq)
248
_builder
.EmitOpCode(ILOpCode.And)
251
_builder
.MarkFilterConditionEnd()
253
_builder
.EmitOpCode(ILOpCode.Castclass)
254
_builder
.EmitToken(exceptionType, catchBlock.Syntax, _diagnostics)
259
_builder
.EmitOpCode(ILOpCode.Pop)
266
_builder
.OpenLocalScope(ScopeType.Catch, exceptionType)
270
_asyncCatchHandlerOffset =
_builder
.AllocateILMarker()
273
_builder
.OpenLocalScope(ScopeType.Filter)
280
_builder
.EmitOpCode(ILOpCode.Isinst)
281
_builder
.EmitToken(exceptionType, catchBlock.Syntax, _diagnostics)
282
_builder
.EmitOpCode(ILOpCode.Dup)
283
_builder
.EmitBranch(ILOpCode.Brtrue, typeCheckPassedLabel)
284
_builder
.EmitOpCode(ILOpCode.Pop)
285
_builder
.EmitIntConstant(0)
286
_builder
.EmitBranch(ILOpCode.Br, typeCheckFailedLabel)
288
_builder
.MarkLabel(typeCheckPassedLabel)
302
_builder
.EmitOpCode(ILOpCode.Dup)
310
_builder
.EmitOpCode(ILOpCode.Unbox_any)
331
_builder
.EmitLocalStore(GetLocal(DirectCast(exceptionSource, BoundLocal)))
339
_builder
.EmitLocalStore(temp)
340
_builder
.EmitLoadArgumentOpcode(ParameterSlot(left))
341
_builder
.EmitLocalLoad(temp)
359
_builder
.EmitLocalStore(temp)
372
_builder
.EmitLocalLoad(temp)
384
_builder
.EmitOpCode(ILOpCode.Pop)
393
_builder
.EmitIntConstant(0)
394
_builder
.EmitOpCode(ILOpCode.Cgt_un)
395
_builder
.MarkLabel(typeCheckFailedLabel)
398
_builder
.MarkFilterConditionEnd()
401
_builder
.EmitOpCode(ILOpCode.Pop)
418
_builder
.CloseLocalScope()
436
_builder
.EmitOpCode(ILOpCode.Call, -1)
441
_builder
.EmitOpCode(ILOpCode.Call, -2)
452
_builder
.EmitOpCode(ILOpCode.Call, 0)
683
_builder
.EmitBranch(ILOpCode.Br, lazyDest)
712
_builder
.MarkLabel(lazyFallThrough)
748
_builder
.EmitBranch(ilcode, lazyDest, revOpCode)
779
_builder
.EmitBranch(ilcode, lazyDest)
808
_builder
.EmitBranch(ilcode, lazyDest)
823
_builder
.OpenLocalScope()
835
_builder
.CloseLocalScope()
844
_builder
.MarkLabel(boundLabelStatement.Label)
859
_builder
.EmitBranch(ILOpCode.Br, boundGotoStatement.Label)
901
_builder
.EmitRet(boundReturnStatement.ExpressionOpt Is Nothing)
919
_builder
.EmitThrow(operand Is Nothing)
948
_builder
.MarkLabel(exitLabel)
1047
_builder
.EmitBranch(ILOpCode.Br, fallThroughLabel)
1055
_builder
.EmitIntegerSwitchJumpTable(caseLabels, fallThroughLabel, GetLocal(DirectCast(selectExpression, BoundLocal)), keyTypeCode:=exprType.GetEnumUnderlyingTypeOrSelf.PrimitiveTypeCode)
1058
_builder
.EmitIntegerSwitchJumpTable(caseLabels, fallThroughLabel, ParameterSlot(DirectCast(selectExpression, BoundParameter)), keyTypeCode:=exprType.GetEnumUnderlyingTypeOrSelf.PrimitiveTypeCode)
1063
_builder
.EmitLocalStore(temp)
1065
_builder
.EmitIntegerSwitchJumpTable(caseLabels, fallThroughLabel, temp, keyTypeCode:=exprType.GetEnumUnderlyingTypeOrSelf.PrimitiveTypeCode)
1074
_builder
.EmitLocalStore(temp)
1100
_builder
.EmitLocalLoad(key)
1101
_builder
.EmitOpCode(ILOpCode.[Call], stackAdjustment:=0)
1102
_builder
.EmitToken(stringHashMethodRef, syntaxNode, _diagnostics)
1107
_builder
.EmitLocalStore(keyHash)
1125
_builder
.EmitStringSwitchJumpTable(
1173
_builder
.EmitLoad(key)
1174
_builder
.EmitConstantValue(stringConstant)
1175
_builder
.EmitConstantValue(ConstantValue.False)
1176
_builder
.EmitOpCode(ILOpCode.Call, stackAdjustment:=-2)
1177
_builder
.EmitToken(stringCompareMethodRef, syntaxNode, _diagnostics)
1181
_builder
.EmitBranch(ILOpCode.Brfalse, targetLabel, ILOpCode.Brtrue)
1192
_builder
.MarkLabel(caseBlockLabels(cur))
1209
_builder
.EmitOpCode(ILOpCode.Nop)
1217
_builder
.EmitBranch(ILOpCode.Br, exitLabel)
1224
_builder
.OpenLocalScope()
1237
_builder
.CloseLocalScope()
1267
_builder
.AddLocalConstantToScope(localConstantDef)
1287
Dim localDef =
_builder
.LocalSlotManager.DeclareLocal(
1301
_builder
.AddLocalToScope(localDef)
1365
_builder
.LocalSlotManager.FreeLocal(local)
1378
Return
_builder
.LocalSlotManager.GetLocal(symbol)
1385
Return
_builder
.LocalSlotManager.AllocateSlot(
1394
_builder
.LocalSlotManager.FreeSlot(temp)
1418
_builder
.EmitSwitch(labels)
1422
_builder
.OpenLocalScope(ScopeType.StateMachineVariable)
1432
_builder
.CloseLocalScope()
1450
_builder
.AddLocalToScope(New LocalDefinition(
1462
_builder
.DefineUserDefinedStateMachineHoistedLocal(field.SlotIndex)
1473
_builder
.EmitBranch(ILOpCode.Br_s, switchLabel)
1475
_builder
.AdjustStack(-1)
1481
_builder
.EmitIntConstant(1)
1482
_builder
.EmitOpCode(ILOpCode.Add)
1485
_builder
.MarkLabel(switchLabel)
1488
_builder
.EmitIntConstant(0)
1489
_builder
.EmitLocalStore(GetLocal(node.ResumeTargetTemporary))