32 references to EmitIntConstant
Microsoft.CodeAnalysis (13)
CodeGen\ILBuilderEmit.cs (10)
592EmitIntConstant(value.Int32Value); 660EmitIntConstant(value ? 1 : 0); 665EmitIntConstant((int)value); 670EmitIntConstant((int)value); 675EmitIntConstant((int)value); 680EmitIntConstant((int)value); 687EmitIntConstant((int)value); 692EmitIntConstant(unchecked((int)value)); 706EmitIntConstant((int)value); 711EmitIntConstant(unchecked((int)value));
CodeGen\PrivateImplementationDetails.cs (1)
771ilBuilder.EmitIntConstant(dataField.MappedData.Length);
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
491_builder.EmitIntConstant(Int32Value(endConstant) - Int32Value(startConstant));
Emit\EditAndContinue\DeletedMethodBody.cs (1)
90builder.EmitIntConstant(codeValue);
Microsoft.CodeAnalysis.CSharp (19)
CodeGen\EmitArrayInitializer.cs (5)
91_builder.EmitIntConstant(i); 200_builder.EmitIntConstant(row.Index); 204_builder.EmitIntConstant(i); 559_builder.EmitIntConstant(lengthForConstructor); 663_builder.EmitIntConstant(elementCount);
CodeGen\EmitConversion.cs (1)
48_builder.EmitIntConstant(0);
CodeGen\EmitExpression.cs (2)
3582_builder.EmitIntConstant(GetLocal(node.Local).SlotIndex); 3596_builder.EmitIntConstant(node.Parameter.Ordinal); // Tracked by https://github.com/dotnet/roslyn/issues/78963 : Follow up
CodeGen\EmitStackAllocInitializer.cs (8)
52_builder.EmitIntConstant(data[0]); 53_builder.EmitIntConstant(data.Length); 63_builder.EmitIntConstant(data.Length); 94_builder.EmitIntConstant(0); 98_builder.EmitIntConstant(data.Length); 208_builder.EmitIntConstant(index); 218_builder.EmitIntConstant(index); 235_builder.EmitIntConstant(elementTypeSizeInBytes);
CodeGen\EmitStatement.cs (3)
1103_builder.EmitIntConstant(0); 1203_builder.EmitIntConstant(0); 1438_builder.EmitIntConstant(charJumpTable.SelectedCharPosition);