Browse Source

Add Conversion.IsNullLiteralConversion (icsharpcode/NRefactory#59)

newNRvisualizers
Daniel Grunwald 14 years ago
parent
commit
13dce76d36
  1. 8
      ICSharpCode.NRefactory/Semantics/Conversion.cs

8
ICSharpCode.NRefactory/Semantics/Conversion.cs

@ -185,6 +185,10 @@ namespace ICSharpCode.NRefactory.Semantics
get { return type == 0; } get { return type == 0; }
} }
public override bool IsNullLiteralConversion {
get { return type == 1; }
}
public override bool IsReferenceConversion { public override bool IsReferenceConversion {
get { return type == 3; } get { return type == 3; }
} }
@ -365,6 +369,10 @@ namespace ICSharpCode.NRefactory.Semantics
get { return false; } get { return false; }
} }
public virtual bool IsNullLiteralConversion {
get { return false; }
}
public virtual bool IsNumericConversion { public virtual bool IsNumericConversion {
get { return false; } get { return false; }
} }

Loading…
Cancel
Save