Show / Hide Table of Contents

Class OpenGenericParameterDataType

Represents an open generic parameter type, i.e. a wildcard type.

Inheritance
System.Object
DataType
OpenGenericParameterDataType
Inherited Members
DataType.Reduce()
DataType.ToString()
DataType.FromType(Type)
DataType.FromType(Type, Boolean)
DataType.TryFromType(Type, DataType)
DataType.TryFromType(Type, Boolean, DataType)
DataType.Check(Type)
DataType.Check(Type, Boolean)
DataType.TryCheck(Type, ReadOnlyCollection<DataTypeError>)
DataType.TryCheck(Type, Boolean, ReadOnlyCollection<DataTypeError>)
DataType.IsStructuralEntityDataType(Type)
DataType.IsEntityEnumDataType(Type)
DataType.CheckType(Object)
DataType.TryCheckType(Object)
DataType.UnderlyingType
Namespace: Nuqleon.DataModel.TypeSystem
Assembly: Nuqleon.DataModel.CompilerServices.dll
Syntax
public class OpenGenericParameterDataType : DataType

Properties

Kind

Gets the kind of the data type.

Declaration
public override DataTypeKinds Kind { get; }
Property Value
Type Description
DataTypeKinds
Overrides
DataType.Kind

Methods

CreateInstance(Object[])

Creates a new instance of the open generic parameter type.

Declaration
public override object CreateInstance(params object[] arguments)
Parameters
Type Name Description
System.Object[] arguments

Irrelevant; this method should not be called for this data type.

Returns
Type Description
System.Object

Irrelevant; this method should not be called for this data type.

Overrides
DataType.CreateInstance(Object[])
Exceptions
Type Condition
System.InvalidOperationException

Always thrown; should not try to create an instance of an open generic parameter type.

In This Article
Back to top Generated by DocFX