68 references to EmitSourceInstruction
System.Runtime.Serialization (68)
System\Runtime\Serialization\CodeGenerator.cs (68)
390
EmitSourceInstruction
(branchInstruction + " " + forState.EndLabel.GetHashCode());
508
EmitSourceInstruction
("Branch if " + GetCmpInverse(cmpOp).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo));
541
EmitSourceInstruction
("Branch if " + GetCmpInverse(cmpOp).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo));
637
EmitSourceInstruction
("Callvirt " + methodInfo.ToString() + " on type " + methodInfo.DeclaringType.ToString());
643
EmitSourceInstruction
("Static Call " + methodInfo.ToString() + " on type " + methodInfo.DeclaringType.ToString());
649
EmitSourceInstruction
("Call " + methodInfo.ToString() + " on type " + methodInfo.DeclaringType.ToString());
657
EmitSourceInstruction
("Call " + ctor.ToString() + " on type " + ctor.DeclaringType.ToString());
664
EmitSourceInstruction
("Newobj " + constructorInfo.ToString() + " on type " + constructorInfo.DeclaringType.ToString());
677
EmitSourceInstruction
("Initobj " + valueType);
685
EmitSourceInstruction
("Newarr " + elementType);
746
EmitSourceInstruction
("Ldsfld " + fieldInfo + " on type " + fieldInfo.DeclaringType);
752
EmitSourceInstruction
("Ldfld " + fieldInfo + " on type " + fieldInfo.DeclaringType);
789
EmitSourceInstruction
("Stsfld " + fieldInfo + " on type " + fieldInfo.DeclaringType);
795
EmitSourceInstruction
("Stfld " + fieldInfo + " on type " + fieldInfo.DeclaringType);
863
EmitSourceInstruction
("Ldnull");
928
EmitSourceInstruction
("Castclass " + target);
935
EmitSourceInstruction
("Box " + type);
942
EmitSourceInstruction
("Unbox " + type);
988
EmitSourceInstruction
(opCode.ToString());
994
EmitSourceInstruction
("Ldobj " + type);
1002
EmitSourceInstruction
("Stobj " + type);
1010
EmitSourceInstruction
("Ceq");
1017
EmitSourceInstruction
("Bgt " + label.GetHashCode());
1024
EmitSourceInstruction
("Ble " + label.GetHashCode());
1031
EmitSourceInstruction
("Throw");
1038
EmitSourceInstruction
("Ldtoken " + t);
1109
EmitSourceInstruction
("Ldc.i4 1");
1115
EmitSourceInstruction
("Ldc.i4 0");
1123
EmitSourceInstruction
("Ldc.i4 " + intVar);
1165
EmitSourceInstruction
("Ldc.i8 " + l);
1172
EmitSourceInstruction
("Ldc.r4 " + f);
1179
EmitSourceInstruction
("Ldc.r8 " + d);
1186
EmitSourceInstruction
("Ldstr " + strVar);
1201
EmitSourceInstruction
("Ldloc " + LocalNames[localBuilder]);
1209
EmitSourceInstruction
("Stloc " + LocalNames[local]);
1217
EmitSourceInstruction
("Ldloc " + slot);
1245
EmitSourceInstruction
("Stloc " + slot);
1272
EmitSourceInstruction
("Ldloca " + LocalNames[localBuilder]);
1280
EmitSourceInstruction
("Ldloca " + slot);
1308
EmitSourceInstruction
("Ldarg " + slot);
1335
EmitSourceInstruction
("Starg " + slot);
1350
EmitSourceInstruction
("Ldarga " + slot);
1360
EmitSourceInstruction
("Ldlen");
1363
EmitSourceInstruction
("Conv.i4");
1417
EmitSourceInstruction
(opCode.ToString());
1426
EmitSourceInstruction
(opCode.ToString());
1480
EmitSourceInstruction
(opCode.ToString());
1501
EmitSourceInstruction
("Add");
1508
EmitSourceInstruction
("Sub");
1515
EmitSourceInstruction
("And");
1521
EmitSourceInstruction
("Or");
1528
EmitSourceInstruction
("Not");
1535
EmitSourceInstruction
("Ret");
1542
EmitSourceInstruction
("Br " + label.GetHashCode());
1549
EmitSourceInstruction
("Blt " + label.GetHashCode());
1556
EmitSourceInstruction
("Brfalse " + label.GetHashCode());
1563
EmitSourceInstruction
("Brtrue " + label.GetHashCode());
1572
EmitSourceInstruction
("Pop");
1579
EmitSourceInstruction
("Dup");
1658
EmitSourceInstruction
(opCode.ToString());
1739
EmitSourceInstruction
("// " + comment);
1841
EmitSourceInstruction
("switch (");
1843
EmitSourceInstruction
(" " + l.GetHashCode());
1844
EmitSourceInstruction
(") {");
1854
EmitSourceInstruction
("case " + caseLabelName + "{");
1866
EmitSourceInstruction
("} //end case ");
1886
EmitSourceInstruction
("} //end switch");
1919
EmitSourceInstruction
("Branch if " + GetCmpInverse(Cmp.EqualTo).ToString() + " to " + ifState.ElseBegin.GetHashCode().ToString(NumberFormatInfo.InvariantInfo));