public TypeDefinition GetType(string fullName) { Mixin.CheckFullName(fullName); if (fullName.IndexOf('/') > 0) { return(GetNestedType(fullName)); } return(((TypeDefinitionCollection)Types).GetType(fullName)); }
public bool HasTypeReference(string scope, string fullName) { Mixin.CheckFullName(fullName); if (!HasImage) { return(false); } return(GetTypeReference(scope, fullName) != null); }
public bool TryGetTypeReference(string scope, string fullName, out TypeReference type) { Mixin.CheckFullName(fullName); if (!HasImage) { type = null; return(false); } return((type = GetTypeReference(scope, fullName)) != null); }