//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void showIndices(DbStructureVisitor visitor, org.neo4j.kernel.api.KernelTransaction ktx, org.neo4j.internal.kernel.api.TokenNameLookup nameLookup) throws org.neo4j.internal.kernel.api.exceptions.schema.IndexNotFoundKernelException private void ShowIndices(DbStructureVisitor visitor, KernelTransaction ktx, TokenNameLookup nameLookup) { SchemaRead schemaRead = ktx.SchemaRead(); foreach (IndexReference reference in loop(sortByType(schemaRead.IndexesGetAll()))) { string userDescription = reference.Schema().userDescription(nameLookup); double uniqueValuesPercentage = schemaRead.IndexUniqueValuesSelectivity(reference); long size = schemaRead.IndexSize(reference); visitor.VisitIndex(( IndexDescriptor )reference, userDescription, uniqueValuesPercentage, size); } }