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