Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/CommandLine/ParserResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace CommandLine
{
sealed class TypeInfo
public sealed class TypeInfo
{
private readonly Type current;
private readonly IEnumerable<Type> choices;
Expand All @@ -27,12 +27,12 @@ public IEnumerable<Type> Choices
get { return this.choices; }
}

public static TypeInfo Create(Type current)
internal static TypeInfo Create(Type current)
{
return new TypeInfo(current, Enumerable.Empty<Type>());
}

public static TypeInfo Create(Type current, IEnumerable<Type> choices)
internal static TypeInfo Create(Type current, IEnumerable<Type> choices)
{
return new TypeInfo(current, choices);
}
Expand Down Expand Up @@ -78,7 +78,7 @@ public ParserResultType Tag
get { return this.tag; }
}

internal TypeInfo TypeInfo
public TypeInfo TypeInfo
{
get { return typeInfo; }
}
Expand Down Expand Up @@ -216,4 +216,4 @@ public bool Equals(NotParsed<T> other)
&& Errors.SequenceEqual(other.Errors);
}
}
}
}