29 references to Cmp
System.Private.DataContractSerialization (29)
System\Runtime\Serialization\CodeGenerator.cs (14)
333If(Cmp.NotEqualTo); 347private static OpCode GetBranchCode(Cmp cmp) 351case Cmp.LessThan: 353case Cmp.EqualTo: 355case Cmp.LessThanOrEqualTo: 357case Cmp.GreaterThan: 359case Cmp.NotEqualTo: 362Debug.Assert(cmp == Cmp.GreaterThanOrEqualTo, "Unexpected cmp"); 367internal void If(Cmp cmpOp) 377internal void If(object value1, Cmp cmpOp, object? value2) 393internal void ElseIf(object value1, Cmp cmpOp, object value2) 1259_ilGen.Emit(GetBranchCode(Cmp.EqualTo), ifState.ElseBegin); 1268If(Cmp.NotEqualTo); 1278internal void BeginWhileBody(Cmp cmpOp)
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (7)
486_ilg.If(objectId, Cmp.EqualTo, Globals.NullObjectId); 543_ilg.If(objectId, Cmp.NotEqualTo, Globals.NullObjectId); 775_ilg.BeginWhileBody(Cmp.NotEqualTo); 779_ilg.If(Cmp.NotEqualTo); 843_ilg.If(_objectLocal, Cmp.EqualTo, null); 861_ilg.If(_objectLocal, Cmp.EqualTo, null); 881_ilg.If(size, Cmp.EqualTo, i);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
684_ilg.If(memberValue, Cmp.EqualTo, null);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (6)
407_ilg.If(requiredIndexLocal!, Cmp.LessThan, memberCount); 523_ilg.If(objectId, Cmp.EqualTo, Globals.NullObjectId); 580_ilg.If(objectId, Cmp.NotEqualTo, Globals.NullObjectId); 698_ilg.If(size, Cmp.EqualTo, -1); 792_ilg.If(_objectLocal, Cmp.EqualTo, null); 814_ilg.If(size, Cmp.EqualTo, i);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (1)
697_ilg.If(memberValue, Cmp.EqualTo, null);