|
|
|
@ -103,6 +103,8 @@ namespace ICSharpCode.NRefactory.TypeSystem |
|
|
|
IEnumeratorOfT, |
|
|
|
IEnumeratorOfT, |
|
|
|
/// <summary><c>System.Collections.Generic.IList{T}</c></summary>
|
|
|
|
/// <summary><c>System.Collections.Generic.IList{T}</c></summary>
|
|
|
|
IListOfT, |
|
|
|
IListOfT, |
|
|
|
|
|
|
|
/// <summary><c>System.Collections.Generic.IReadOnlyList{T}</c></summary>
|
|
|
|
|
|
|
|
IReadOnlyListOfT, |
|
|
|
/// <summary><c>System.Threading.Tasks.Task</c></summary>
|
|
|
|
/// <summary><c>System.Threading.Tasks.Task</c></summary>
|
|
|
|
Task, |
|
|
|
Task, |
|
|
|
/// <summary><c>System.Threading.Tasks.Task{T}</c></summary>
|
|
|
|
/// <summary><c>System.Threading.Tasks.Task{T}</c></summary>
|
|
|
|
@ -157,6 +159,7 @@ namespace ICSharpCode.NRefactory.TypeSystem |
|
|
|
new KnownTypeReference(KnownTypeCode.IEnumerableOfT, "System.Collections.Generic", "IEnumerable", 1), |
|
|
|
new KnownTypeReference(KnownTypeCode.IEnumerableOfT, "System.Collections.Generic", "IEnumerable", 1), |
|
|
|
new KnownTypeReference(KnownTypeCode.IEnumeratorOfT, "System.Collections.Generic", "IEnumerator", 1), |
|
|
|
new KnownTypeReference(KnownTypeCode.IEnumeratorOfT, "System.Collections.Generic", "IEnumerator", 1), |
|
|
|
new KnownTypeReference(KnownTypeCode.IListOfT, "System.Collections.Generic", "IList", 1), |
|
|
|
new KnownTypeReference(KnownTypeCode.IListOfT, "System.Collections.Generic", "IList", 1), |
|
|
|
|
|
|
|
new KnownTypeReference(KnownTypeCode.IReadOnlyListOfT, "System.Collections.Generic", "IReadOnlyList", 1), |
|
|
|
new KnownTypeReference(KnownTypeCode.Task, "System.Threading.Tasks", "Task"), |
|
|
|
new KnownTypeReference(KnownTypeCode.Task, "System.Threading.Tasks", "Task"), |
|
|
|
new KnownTypeReference(KnownTypeCode.TaskOfT, "System.Threading.Tasks", "Task", 1, baseType: KnownTypeCode.Task), |
|
|
|
new KnownTypeReference(KnownTypeCode.TaskOfT, "System.Threading.Tasks", "Task", 1, baseType: KnownTypeCode.Task), |
|
|
|
new KnownTypeReference(KnownTypeCode.NullableOfT, "System", "Nullable", 1, baseType: KnownTypeCode.ValueType), |
|
|
|
new KnownTypeReference(KnownTypeCode.NullableOfT, "System", "Nullable", 1, baseType: KnownTypeCode.ValueType), |
|
|
|
@ -312,16 +315,6 @@ namespace ICSharpCode.NRefactory.TypeSystem |
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public static readonly KnownTypeReference UIntPtr = Get(KnownTypeCode.UIntPtr); |
|
|
|
public static readonly KnownTypeReference UIntPtr = Get(KnownTypeCode.UIntPtr); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets a type reference pointing to the <c>System.Collections.Generic.IList{T}</c> type.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public static readonly KnownTypeReference GenericIList = Get(KnownTypeCode.IListOfT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets a type reference pointing to the <c>System.Nullable{T}</c> type.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public static readonly KnownTypeReference NullableOfT = Get(KnownTypeCode.NullableOfT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets a type reference pointing to the <c>System.Collections.IEnumerable</c> type.
|
|
|
|
/// Gets a type reference pointing to the <c>System.Collections.IEnumerable</c> type.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
@ -347,6 +340,11 @@ namespace ICSharpCode.NRefactory.TypeSystem |
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public static readonly KnownTypeReference IListOfT = Get(KnownTypeCode.IListOfT); |
|
|
|
public static readonly KnownTypeReference IListOfT = Get(KnownTypeCode.IListOfT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets a type reference pointing to the <c>System.Collections.Generic.IReadOnlyList{T}</c> type.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public static readonly KnownTypeReference IReadOnlyListOfT = Get(KnownTypeCode.IReadOnlyListOfT); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets a type reference pointing to the <c>System.Threading.Tasks.Task</c> type.
|
|
|
|
/// Gets a type reference pointing to the <c>System.Threading.Tasks.Task</c> type.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
@ -357,6 +355,11 @@ namespace ICSharpCode.NRefactory.TypeSystem |
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public static readonly KnownTypeReference TaskOfT = Get(KnownTypeCode.TaskOfT); |
|
|
|
public static readonly KnownTypeReference TaskOfT = Get(KnownTypeCode.TaskOfT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets a type reference pointing to the <c>System.Nullable{T}</c> type.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
public static readonly KnownTypeReference NullableOfT = Get(KnownTypeCode.NullableOfT); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets a type reference pointing to the <c>System.IDisposable</c> type.
|
|
|
|
/// Gets a type reference pointing to the <c>System.IDisposable</c> type.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
|