public bool Equals(ExtensionReference?other) { if (ReferenceEquals(this, other)) { return(true); } return(other switch { null => false, ExtensionFileReference fileReference => Equals(fileReference), _ => FullPath == other.FullPath });
internal Extensions(ExtensionFileReference reference, ExtensionPredicate extensionPredicate) { _reference = reference; _extensionPredicate = extensionPredicate; _lazyAllExtensions = default; }