ReferenceType,
ValueType
}
+
+ public abstract class GenericTypeParameterBuilder : Type
+ {
+ }
+
+ public class InternalsVisibleToAttribute
+ {
+ public string AssemblyName;
+ }
+
+ class ConstraintChecker
+ {
+ public static bool CheckConstraints (EmitContext ec, MethodBase a, MethodBase b, Location loc)
+ {
+ throw new NotSupportedException ();
+ }
+ }
public abstract class GenericConstraints
{
+ public bool HasConstructorConstraint {
+ get { throw new NotImplementedException (); }
+ }
+
public bool HasValueTypeConstraint {
- get {
- throw new NotImplementedException ();
- }
+ get { throw new NotImplementedException (); }
+ }
+
+ public bool HasClassConstraint {
+ get { throw new NotImplementedException (); }
+ }
+
+ public bool HasReferenceTypeConstraint {
+ get { throw new NotImplementedException (); }
}
public abstract string TypeParameter {
public bool IsValueType {
get { throw new NotSupportedException (); }
- }
+ }
+
+ public Type[] InterfaceConstraints {
+ get { throw new NotSupportedException (); }
+ }
+
+ public Type ClassConstraint {
+ get { throw new NotSupportedException (); }
+ }
+
+ public Type EffectiveBaseClass {
+ get { throw new NotSupportedException (); }
+ }
}
public class Constraints : GenericConstraints
{
throw new NotImplementedException ();
}
+
+ public void ErrorInvalidVariance (MemberCore mc, Variance v)
+ {
+ }
//
// MemberContainer
return true;
}
+ public void Define (Type t)
+ {
+ }
+
public override void ApplyAttributeBuilder (Attribute a, CustomAttributeBuilder cb, PredefinedAttributes pa)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+
+ public void SetConstraints (GenericTypeParameterBuilder type)
+ {
+ throw new NotImplementedException ();
+ }
}
public class TypeParameterExpr : TypeExpr
throw new NotImplementedException ();
}
- public bool VerifyVariantTypeParameters ()
+ public TypeArguments TypeArguments {
+ get { throw new NotImplementedException (); }
+ }
+
+ public bool VerifyVariantTypeParameters (IResolveContext rc)
{
throw new NotImplementedException ();
}
public class TypeInferenceContext
{
+ public Type[] InferredTypeArguments;
+
+ public void AddCommonTypeBound (Type type)
+ {
+ throw new NotImplementedException ();
+ }
+
public void ExactInference (Type u, Type v)
{
throw new NotImplementedException ();
{
throw new NotImplementedException ();
}
+
+ public bool FixAllTypes ()
+ {
+ return false;
+ }
+ }
+
+ partial class TypeManager
+ {
+ public static Variance CheckTypeVariance (Type type, Variance v, MemberCore mc)
+ {
+ return v;
+ }
+
+ public static bool IsVariantOf (Type a, Type b)
+ {
+ return false;
+ }
+
+ public static TypeContainer LookupGenericTypeContainer (Type t)
+ {
+ throw new NotImplementedException ();
+ }
}
}