57 references to Equals
mscorlib (32)
system\reflection\emit\dynamicilgenerator.cs (11)
117
if (opcode.
Equals
(OpCodes.Ldtoken) || opcode.
Equals
(OpCodes.Ldftn) || opcode.
Equals
(OpCodes.Ldvirtftn))
139
!(opcode.
Equals
(OpCodes.Newobj) || opcode.
Equals
(OpCodes.Ldtoken) || opcode.
Equals
(OpCodes.Ldftn)))
318
if (!(opcode.
Equals
(OpCodes.Call) || opcode.
Equals
(OpCodes.Callvirt) || opcode.
Equals
(OpCodes.Newobj)))
343
if (!(methodInfo is SymbolMethod) && methodInfo.IsStatic == false && !(opcode.
Equals
(OpCodes.Newobj)))
370
Contract.Assert(opcode.
Equals
(OpCodes.Calli),
system\reflection\emit\ilgenerator.cs (19)
492
if (opcode.
Equals
(OpCodes.Call) || opcode.
Equals
(OpCodes.Callvirt) || opcode.
Equals
(OpCodes.Newobj))
504
bool useMethodDef = opcode.
Equals
(OpCodes.Ldtoken) || opcode.
Equals
(OpCodes.Ldftn) || opcode.
Equals
(OpCodes.Ldvirtftn);
612
if (!(opcode.
Equals
(OpCodes.Call) || opcode.
Equals
(OpCodes.Callvirt) || opcode.
Equals
(OpCodes.Newobj)))
633
if (!(methodInfo is SymbolMethod) && methodInfo.IsStatic == false && !(opcode.
Equals
(OpCodes.Newobj)))
666
Contract.Assert(opcode.
Equals
(OpCodes.Calli),
700
Contract.Assert(opcode.
Equals
(OpCodes.Call) ||
701
opcode.
Equals
(OpCodes.Callvirt),
708
Contract.Assert(opcode.
Equals
(OpCodes.Call) ||
709
opcode.
Equals
(OpCodes.Callvirt) ||
710
opcode.
Equals
(OpCodes.Newobj),
876
if (opcode.
Equals
(OpCodes.Ldloc))
898
else if (opcode.
Equals
(OpCodes.Stloc))
920
else if (opcode.
Equals
(OpCodes.Ldloca))
system\reflection\emit\opcode.cs (2)
280
return
Equals
((OpCode)obj);
294
return a.
Equals
(b);
System.Data.SqlXml (12)
System\Xml\Xsl\IlGen\GenerateHelper.cs (12)
1544
Debug.Assert(!opcode.
Equals
(OpCodes.Br) && !opcode.
Equals
(OpCodes.Br_S), "Use EmitUnconditionalBranch and be careful not to emit unverifiable code.");
1574
Debug.Assert(!opcode.
Equals
(OpCodes.Call) && !opcode.
Equals
(OpCodes.Callvirt), "Use Call so that debug information will be output correctly.");
1644
if (!opcode.
Equals
(OpCodes.Br) && !opcode.
Equals
(OpCodes.Br_S)) {
1645
Debug.Assert(opcode.
Equals
(OpCodes.Brtrue) || opcode.
Equals
(OpCodes.Brtrue_S) ||
1646
opcode.
Equals
(OpCodes.Brfalse) || opcode.
Equals
(OpCodes.Brfalse_S));
1656
if (this.lastSourceInfo != null && (opcode.
Equals
(OpCodes.Br) || opcode.
Equals
(OpCodes.Br_S))) {
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeGenerator.cs (4)
985
if (!opCode.
Equals
(OpCodes.Nop))
1414
if (opCode.
Equals
(OpCodes.Nop))
1477
if (opCode.
Equals
(OpCodes.Nop))
1653
if (opCode.
Equals
(OpCodes.Nop))
System.ServiceModel (4)
System\ServiceModel\Dispatcher\CodeGenerator.cs (4)
394
if (!opCode.
Equals
(OpCodes.Nop))
717
if (opCode.
Equals
(OpCodes.Nop))
743
if (opCode.
Equals
(OpCodes.Nop))
827
if (opCode.
Equals
(OpCodes.Nop))
System.Xml (5)
System\Xml\Serialization\CodeGenerator.cs (5)
998
if (!opCode.
Equals
(OpCodes.Nop)) {
1439
Debug.Assert(!opCode.
Equals
(OpCodes.Nop));
1440
if (opCode.
Equals
(OpCodes.Nop))
1515
if (opCode.
Equals
(OpCodes.Nop))
1686
if (opCode.
Equals
(OpCodes.Nop)) {