public ReadOnlyCollection <IType> GetArgumentTypes() { if (_argumentTypes == null) { IType[] argumentTypes = _argumentTypeSignatures.Select(i => VirtualMachine.FindType(i)).ToArray(); if (argumentTypes.OfType <UnloadedReferenceType>().Any()) { return(new ReadOnlyCollection <IType>(argumentTypes)); } _argumentTypes = argumentTypes; } return(new ReadOnlyCollection <IType>(_argumentTypes)); }
public IType GetFieldType() { if (_fieldType == null) { IType fieldType = VirtualMachine.FindType(GetSignature()); if (fieldType is UnloadedReferenceType) { return(fieldType); } _fieldType = fieldType; } return(_fieldType); }
public IType GetComponentType() { return(VirtualMachine.FindType(GetComponentSignature())); }
public IType GetReturnType() { return(VirtualMachine.FindType(_returnTypeSignature)); }
public IType GetLocalType() { return(VirtualMachine.FindType(GetSignature())); }