Beispiel #1
0
 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));
 }
Beispiel #2
0
 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));
 }
Beispiel #3
0
 private static ISymbolWriter GetSymbolWriter(ModuleDefinition module, string fq_name, ISymbolWriterProvider symbol_writer_provider) =>
 symbol_writer_provider?.GetSymbolWriter(module, fq_name);