12 changed files with 116 additions and 105 deletions
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.NRefactory.TypeSystem.Implementation |
||||
{ |
||||
/// <summary>
|
||||
/// Type representing the C# 'dynamic' type.
|
||||
/// </summary>
|
||||
sealed class DynamicType : AbstractType |
||||
{ |
||||
public override string Name { |
||||
get { return "dynamic"; } |
||||
} |
||||
|
||||
public override bool? IsReferenceType { |
||||
get { return true; } |
||||
} |
||||
|
||||
public override bool Equals(IType other) |
||||
{ |
||||
return other is DynamicType; |
||||
} |
||||
|
||||
public override int GetHashCode() |
||||
{ |
||||
return 31986112; |
||||
} |
||||
} |
||||
} |
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.NRefactory.TypeSystem.Implementation |
||||
{ |
||||
/// <summary>
|
||||
/// Type of the 'null' literal.
|
||||
/// </summary>
|
||||
sealed class NullType : AbstractType |
||||
{ |
||||
public override string Name { |
||||
get { return "null"; } |
||||
} |
||||
|
||||
public override bool? IsReferenceType { |
||||
get { return true; } |
||||
} |
||||
|
||||
public override bool Equals(IType other) |
||||
{ |
||||
return other is NullType; |
||||
} |
||||
|
||||
public override int GetHashCode() |
||||
{ |
||||
return 362709548; |
||||
} |
||||
} |
||||
} |
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.NRefactory.TypeSystem.Implementation |
||||
{ |
||||
/// <summary>
|
||||
/// Type representing resolve errors.
|
||||
/// </summary>
|
||||
sealed class UnknownType : AbstractType |
||||
{ |
||||
public override string Name { |
||||
get { return "?"; } |
||||
} |
||||
|
||||
public override bool? IsReferenceType { |
||||
get { return null; } |
||||
} |
||||
|
||||
public override bool Equals(IType other) |
||||
{ |
||||
return other is UnknownType; |
||||
} |
||||
|
||||
public override int GetHashCode() |
||||
{ |
||||
return 950772036; |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue