Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
Added qualified type constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritao committed Jul 25, 2013
1 parent 9a4b1d4 commit 341aa85
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/AST/Type.cs
Expand Up @@ -137,11 +137,19 @@ public struct TypeQualifiers
/// </summary>
public struct QualifiedType
{
public QualifiedType(Type type) : this()
public QualifiedType(Type type)
: this()
{
Type = type;
}

public QualifiedType(Type type, TypeQualifiers qualifiers)
: this()
{
Type = type;
Qualifiers = qualifiers;
}

public Type Type { get; set; }
public TypeQualifiers Qualifiers { get; set; }

Expand Down

0 comments on commit 341aa85

Please sign in to comment.