public ImmutableArray <Cci.ITypeDefinitionMember> GetSynthesizedMembers(Cci.ITypeDefinition container) { SynthesizedDefinitions defs = GetCacheOfSynthesizedDefinitions((TNamedTypeSymbol)container, addIfNotFound: false); if (defs == null) { return(ImmutableArray <Cci.ITypeDefinitionMember> .Empty); } return(defs.GetAllMembers()); }
public ITypeDefinitionMember[] GetSynthesizedMembers(ITypeDefinition container) { SynthesizedDefinitions defs = GetCacheOfSynthesizedDefinitions((TNamedTypeSymbol)container, addIfNotFound: false); if (defs == null) { return(new ITypeDefinitionMember[0]); } return(defs.GetAllMembers()); }