[Mono-devel-list] trouble compiling gmcs

Ben Martin benmartin at fourthplanet.net
Thu Apr 29 19:31:46 EDT 2004


I tried following these directions 
http://primates.ximian.com/~martin/blog/archives/000396.html , but when 
I do I get a bunch of errors when I try to build gmcs such as

decl.cs(456) error CS0117: `System.Type' does not contain a definition 
for `IsGenericInstance'
decl.cs(462) error CS0117: `System.Type' does not contain a definition 
for `IsGenericParameter'
decl.cs(629) error CS0117: `System.Type' does not contain a definition 
for `IsGenericParameter'
class.cs(2708) error CS0117: `System.Reflection.Emit.TypeBuilder' does 
not contain a definition for `DefineGenericMethod'
class.cs(3519) error CS0117: `System.Reflection.Emit.MethodBuilder' does 
not contain a definition for `SetGenericMethodSignature'
expression.cs(5100) error CS0117: `System.Type' does not contain a 
definition for `IsGenericParameter'
expression.cs(7324) error CS0117: `System.Type' does not contain a 
definition for `IsGenericParameter'
expression.cs(7377) error CS0117: `System.Type' does not contain a 
definition for `IsGenericParameter'
expression.cs(8081) error CS0117: `System.Type' does not contain a 
definition for `MakeArrayType'
expression.cs(8099) error CS0117: `System.Type' does not contain a 
definition for `MakeArrayType'
generic.cs(161) error CS0117: `System.Reflection.Emit.TypeBuilder' does 
not contain a definition for `DefineGenericParameter'
generic.cs(167) error CS0117: `System.Reflection.Emit.MethodBuilder' 
does not contain a definition for `DefineGenericParameter'
generic.cs(173) error CS0117: `System.Type' does not contain a 
definition for `GenericParameterPosition'
generic.cs(175) error CS0117: `System.Reflection.Emit.TypeBuilder' does 
not contain a definition for `SetGenericParameterConstraints'
generic.cs(177) error CS0117: `System.Reflection.Emit.TypeBuilder' does 
not contain a definition for `SetGenericParameterConstraints'
generic.cs(182) error CS0117: `System.Type' does not contain a 
definition for `GenericParameterPosition'
generic.cs(184) error CS0117: `System.Reflection.Emit.MethodBuilder' 
does not contain a definition for `SetGenericParameterConstraints'
generic.cs(186) error CS0117: `System.Reflection.Emit.MethodBuilder' 
does not contain a definition for `SetGenericParameterConstraints'
generic.cs(373) error CS0117: `System.Type' does not contain a 
definition for `GetGenericTypeDefinition'
generic.cs(382) error CS0117: `System.Type' does not contain a 
definition for `GetGenericTypeDefinition'
generic.cs(408) warning CS0162: Unreachable code detected
generic.cs(403) warning CS0162: Unreachable code detected
generic.cs(420) warning CS0162: Unreachable code detected
generic.cs(438) error CS0117: `System.Type' does not contain a 
definition for `GetGenericTypeDefinition'
generic.cs(484) error CS0117: `System.Type' does not contain a 
definition for `GetGenericTypeDefinition'
generic.cs(501) error CS0117: `System.Type' does not contain a 
definition for `GetGenericArguments'
generic.cs(519) error CS0117: `System.Type' does not contain a 
definition for `BindGenericParameters'
generic.cs(689) warning CS0162: Unreachable code detected
generic.cs(705) error CS0117: `System.Reflection.MethodInfo' does not 
contain a definition for `GetGenericArguments'
generic.cs(707) error CS0165: Use of unassigned local variable `gen_params'
generic.cs(714) error CS0117: `System.Reflection.MethodInfo' does not 
contain a definition for `BindGenericParameters'
generic.cs(760) error CS0117: `System.Type' does not contain a 
definition for `IsGenericParameter'
support.cs(44) error CS0117: `System.Reflection.MethodBase' does not 
contain a definition for `HasGenericParameters'
typemanager.cs(551) error CS0117: `System.Type' does not contain a 
definition for `MakeByRefType'
typemanager.cs(818) error CS0117: `System.Type' does not contain a 
definition for `HasGenericArguments'
typemanager.cs(818) error CS0117: `System.Type' does not contain a 
definition for `IsGenericInstance'
typemanager.cs(1458) error CS0117: `System.Type' does not contain a 
definition for `HasGenericArguments'
typemanager.cs(1478) error CS0117: `System.Type' does not contain a 
definition for `GetGenericArguments'
typemanager.cs(1498) error CS0117: `System.Type' does not contain a 
definition for `HasGenericArguments'
typemanager.cs(1504) error CS0117: `System.Type' does not contain a 
definition for `GetGenericArguments'
typemanager.cs(1553) error CS0117: `System.Type' does not contain a 
definition for `IsGenericParameter'
typemanager.cs(1568) error CS0117: `System.Type' does not contain a 
definition for `IsGenericTypeDefinition'
typemanager.cs(1568) error CS0117: `System.Type' does not contain a 
definition for `IsGenericInstance'
typemanager.cs(1612) error CS0117: `System.Type' does not contain a 
definition for `IsGenericParameter'
typemanager.cs(1645) error CS0117: `System.Type' does not contain a 
definition for `IsGenericParameter'
typemanager.cs(1657) error CS0117: `System.Type' does not contain a 
definition for `IsGenericInstance'
typemanager.cs(1657) error CS0117: `System.Type' does not contain a 
definition for `IsGenericInstance'
typemanager.cs(1673) error CS0117: `System.Type' does not contain a 
definition for `IsGenericInstance'
typemanager.cs(1673) error CS0117: `System.Type' does not contain a 
definition for `IsGenericInstance'
typemanager.cs(1675) error CS0117: `System.Type' does not contain a 
definition for `GetGenericTypeDefinition'
typemanager.cs(1675) error CS0117: `System.Type' does not contain a 
definition for `GetGenericTypeDefinition'
typemanager.cs(2350) error CS0117: `System.Type' does not contain a 
definition for `IsGenericInstance'
Compilation failed: 48 error(s), 4 warnings
make: *** [gmcs.exe] Error 1


What am I doing wrong???

Thanks,
Ben



More information about the Mono-devel-list mailing list