Class TestCompilationBuilderExtensions
Inheritance
TestCompilationBuilderExtensions
Assembly: Neon.Roslyn.Xunit.dll
Syntax
public static class TestCompilationBuilderExtensions
Methods
AddAdditionalFile(TestCompilationBuilder, string)
Adds Additional files to the compilation.
Declaration
public static TestCompilationBuilder AddAdditionalFile(this TestCompilationBuilder compilation, string fileText)
Parameters
Returns
AddAdditionalFilePath(TestCompilationBuilder, string)
Adds Additional files to the compilation by file path.
Declaration
public static TestCompilationBuilder AddAdditionalFilePath(this TestCompilationBuilder compilation, string filePath)
Parameters
Returns
AddAdditionalFilePaths(TestCompilationBuilder, params string[])
Adds Additional files to the compilation by file paths.
Declaration
public static TestCompilationBuilder AddAdditionalFilePaths(this TestCompilationBuilder compilation, params string[] filePaths)
Parameters
Returns
AddAdditionalFiles(TestCompilationBuilder, params string[])
Adds Additional files to the compilation.
Declaration
public static TestCompilationBuilder AddAdditionalFiles(this TestCompilationBuilder compilation, params string[] fileTexts)
Parameters
Returns
AddAssemblies(TestCompilationBuilder, params Assembly[])
Adds assemblies to the compilation.
Declaration
public static TestCompilationBuilder AddAssemblies(this TestCompilationBuilder compilation, params Assembly[] assemblies)
Parameters
Returns
AddAssemblies(TestCompilationBuilder, params string[])
Adds assemblies to the compilation.
Declaration
public static TestCompilationBuilder AddAssemblies(this TestCompilationBuilder compilation, params string[] paths)
Parameters
Returns
AddAssembly(TestCompilationBuilder, Assembly)
Adds an assembly to the compilation.
Declaration
public static TestCompilationBuilder AddAssembly(this TestCompilationBuilder compilation, Assembly assembly)
Parameters
Returns
AddAssembly(TestCompilationBuilder, string)
Adds an assembly to the compilation.
Declaration
public static TestCompilationBuilder AddAssembly(this TestCompilationBuilder compilation, string path)
Parameters
Returns
AddOption(TestCompilationBuilder, string, object)
Adds a build option to the compilation.
Declaration
public static TestCompilationBuilder AddOption(this TestCompilationBuilder compilation, string key, object value)
Parameters
Returns
AddOption(TestCompilationBuilder, string, string)
Adds a build option to the compilation.
Declaration
public static TestCompilationBuilder AddOption(this TestCompilationBuilder compilation, string key, string value)
Parameters
Returns
AddOptions(TestCompilationBuilder, Dictionary<string, string>)
Adds a collection of build options to the compilation.
Declaration
public static TestCompilationBuilder AddOptions(this TestCompilationBuilder compilation, Dictionary<string, string> options)
Parameters
Returns
AddSource(TestCompilationBuilder, string)
Adds source text to the compilation.
Declaration
public static TestCompilationBuilder AddSource(this TestCompilationBuilder compilation, string source)
Parameters
Returns
AddSourceFile(TestCompilationBuilder, string)
Adds source file to the compilation.
Declaration
public static TestCompilationBuilder AddSourceFile(this TestCompilationBuilder compilation, string path)
Parameters
Returns
AddSourceFiles(TestCompilationBuilder, params string[])
Adds source files to the compilation.
Declaration
public static TestCompilationBuilder AddSourceFiles(this TestCompilationBuilder compilation, params string[] paths)
Parameters
Returns
AddSourceGenerator(TestCompilationBuilder, ISourceGenerator)
Declaration
public static TestCompilationBuilder AddSourceGenerator(this TestCompilationBuilder compilation, ISourceGenerator sourceGenerator)
Parameters
Returns
AddSourceGenerator<T>(TestCompilationBuilder)
Declaration
public static TestCompilationBuilder AddSourceGenerator<T>(this TestCompilationBuilder compilation) where T : ISourceGenerator, new()
Parameters
Returns
Type Parameters
AddSources(TestCompilationBuilder, params string[])
Adds source texts to the compilation.
Declaration
public static TestCompilationBuilder AddSources(this TestCompilationBuilder compilation, params string[] sources)
Parameters
Returns