private AttributeAnnotationMethodWrapper(AttributeAnnotationTypeWrapper tw, string name, TypeWrapper returnType, bool optional) : base(tw, name, "()" + returnType.SigName, returnType, TypeWrapper.EmptyArray, MemberFlags.None) { this.optional = optional; }
internal AttributeAnnotationMethodWrapper(AttributeAnnotationTypeWrapper tw, string name, Type type, bool optional) : this(tw, name, MapType(type, false), optional) { }
internal MultipleAnnotationTypeWrapper(AttributeAnnotationTypeWrapper declaringType) : base(declaringType.Name + AttributeAnnotationMultipleSuffix) { #if STATIC_COMPILER || STUB_GENERATOR this.fakeType = FakeTypes.GetAttributeMultipleType(declaringType.attributeType); #elif !FIRST_PASS this.fakeType = typeof([email protected]<>).MakeGenericType(declaringType.attributeType); #endif this.declaringType = declaringType; }
internal MultipleAnnotation(AttributeAnnotationTypeWrapper type) { this.type = type; }
internal ReturnValueAnnotation(AttributeAnnotationTypeWrapper type) { this.type = type; }