CS: Don't output redundant interfaces in type declarations
This commit is contained in:
@@ -654,6 +654,9 @@ namespace Il2CppInspector.Reflection
|
||||
}
|
||||
}
|
||||
|
||||
// Get only interfaces not inherited from base interfaces
|
||||
public IEnumerable<TypeInfo> NonInheritedInterfaces => ImplementedInterfaces.Except(ImplementedInterfaces.SelectMany(t => t.ImplementedInterfaces));
|
||||
|
||||
public bool IsAbstract => (Attributes & TypeAttributes.Abstract) == TypeAttributes.Abstract;
|
||||
public bool IsArray { get; }
|
||||
public bool IsByRef { get; }
|
||||
|
||||
Reference in New Issue
Block a user