29 references to Cmp
System.Private.DataContractSerialization (29)
System\Runtime\Serialization\CodeGenerator.cs (14)
333
If(
Cmp
.NotEqualTo);
347
private static OpCode GetBranchCode(
Cmp
cmp)
351
case
Cmp
.LessThan:
353
case
Cmp
.EqualTo:
355
case
Cmp
.LessThanOrEqualTo:
357
case
Cmp
.GreaterThan:
359
case
Cmp
.NotEqualTo:
362
Debug.Assert(cmp ==
Cmp
.GreaterThanOrEqualTo, "Unexpected cmp");
367
internal void If(
Cmp
cmpOp)
377
internal void If(object value1,
Cmp
cmpOp, object? value2)
393
internal void ElseIf(object value1,
Cmp
cmpOp, object value2)
1259
_ilGen.Emit(GetBranchCode(
Cmp
.EqualTo), ifState.ElseBegin);
1268
If(
Cmp
.NotEqualTo);
1278
internal 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);