Binary.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. //
  2. // System.Data.ObjectSpaces.Query.Binary
  3. //
  4. //
  5. // Author:
  6. // Richard Thombs ([email protected])
  7. //
  8. //
  9. // Permission is hereby granted, free of charge, to any person obtaining
  10. // a copy of this software and associated documentation files (the
  11. // "Software"), to deal in the Software without restriction, including
  12. // without limitation the rights to use, copy, modify, merge, publish,
  13. // distribute, sublicense, and/or sell copies of the Software, and to
  14. // permit persons to whom the Software is furnished to do so, subject to
  15. // the following conditions:
  16. //
  17. // The above copyright notice and this permission notice shall be
  18. // included in all copies or substantial portions of the Software.
  19. //
  20. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  23. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  24. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  25. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  26. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  27. //
  28. #if NET_2_0
  29. using System;
  30. using System.Xml;
  31. namespace System.Data.ObjectSpaces.Query
  32. {
  33. [MonoTODO()]
  34. public class Binary : Expression
  35. {
  36. [MonoTODO()]
  37. public Binary(Expression left,Expression right,BinaryOperator _operator) : base()
  38. {
  39. throw new NotImplementedException();
  40. }
  41. [MonoTODO()]
  42. public override object Clone()
  43. {
  44. throw new NotImplementedException();
  45. }
  46. [MonoTODO()]
  47. public static Int64 Compare(object vLeft,object vRight,Type type,BinaryOperator op)
  48. {
  49. throw new NotImplementedException();
  50. }
  51. [MonoTODO()]
  52. public static object EvaluateConstant(Literal left,BinaryOperator op,Literal right)
  53. {
  54. throw new NotImplementedException();
  55. }
  56. [MonoTODO()]
  57. public static Type GetResultType(Expression leftExpr,Expression rightExpr,BinaryOperator op)
  58. {
  59. throw new NotImplementedException();
  60. }
  61. [MonoTODO()]
  62. public static bool IsInteger(Type type)
  63. {
  64. throw new NotImplementedException();
  65. }
  66. [MonoTODO()]
  67. public static bool IsOperatorArithmetic(BinaryOperator op)
  68. {
  69. throw new NotImplementedException();
  70. }
  71. [MonoTODO()]
  72. public static bool IsOperatorBoolean(BinaryOperator op)
  73. {
  74. throw new NotImplementedException();
  75. }
  76. [MonoTODO()]
  77. public static bool IsOperatorLogical(BinaryOperator op)
  78. {
  79. throw new NotImplementedException();
  80. }
  81. [MonoTODO()]
  82. public static bool IsOperatorRelational(BinaryOperator op)
  83. {
  84. throw new NotImplementedException();
  85. }
  86. [MonoTODO()]
  87. public override void WriteXml(XmlWriter xmlw)
  88. {
  89. throw new NotImplementedException();
  90. }
  91. [MonoTODO()]
  92. public override bool IsConst
  93. {
  94. get { throw new NotImplementedException(); }
  95. }
  96. // Gets/sets the left operand of this binary expression
  97. [MonoTODO()]
  98. public Expression Left
  99. {
  100. get { throw new NotImplementedException(); }
  101. set { throw new NotImplementedException(); }
  102. }
  103. [MonoTODO()]
  104. public override NodeType NodeType
  105. {
  106. get { throw new NotImplementedException(); }
  107. }
  108. // Gets/sets the operator used by this binary expression
  109. [MonoTODO()]
  110. public Expression Operator
  111. {
  112. get { throw new NotImplementedException(); }
  113. set { throw new NotImplementedException(); }
  114. }
  115. // Gets/sets the right operand of this binary expression
  116. [MonoTODO()]
  117. public Expression Right
  118. {
  119. get { throw new NotImplementedException(); }
  120. set { throw new NotImplementedException(); }
  121. }
  122. [MonoTODO()]
  123. public override Type ValueType
  124. {
  125. get { throw new NotImplementedException(); }
  126. }
  127. }
  128. }
  129. #endif