public bool HasTypeReference (string scope, string fullName) { Mixin.CheckFullName (fullName); if (!HasImage) return false; return GetTypeReference (scope, fullName) != null; }
public TypeDefinition GetType (string fullName) { Mixin.CheckFullName (fullName); var position = fullName.IndexOf ('/'); if (position > 0) return GetNestedType (fullName); return ((TypeDefinitionCollection) this.Types).GetType (fullName); }
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; }