private static ISymbolWriter GetSymbolWriter(ModuleDefinition module, string fq_name, ISymbolWriterProvider symbol_writer_provider, WriterParameters parameters) { if (symbol_writer_provider == null) { return(null); } if (parameters.SymbolStream != null) { return(symbol_writer_provider.GetSymbolWriter(module, parameters.SymbolStream)); } return(symbol_writer_provider.GetSymbolWriter(module, fq_name)); }
private static ISymbolWriter GetSymbolWriter(ModuleDefinition module, string fq_name, ISymbolWriterProvider symbol_writer_provider) { if (symbol_writer_provider == null) { return(null); } return(symbol_writer_provider.GetSymbolWriter(module, fq_name)); }
private static ISymbolWriter GetSymbolWriter(ModuleDefinition module, string fq_name, ISymbolWriterProvider symbol_writer_provider) => symbol_writer_provider?.GetSymbolWriter(module, fq_name);