CSharpTestOptions Class
Namespace: Roslynator.Testing.CSharp
Assembly: Roslynator.Testing.CSharp.dll
Represents options for a C# code verifier.
public sealed class CSharpTestOptions : Roslynator.Testing.TestOptions
Inheritance
Object → TestOptions → CSharpTestOptions
Constructors
| Constructor | Summary |
|---|---|
| CSharpTestOptions(CSharpCompilationOptions, CSharpParseOptions, IEnumerable<MetadataReference>, IEnumerable<String>, DiagnosticSeverity, IEnumerable<KeyValuePair<String, String>>) | Initializes a new instance of CSharpTestOptions. |
Properties
| Property | Summary |
|---|---|
| AllowedCompilerDiagnosticIds | Gets a collection of compiler diagnostic IDs. (Inherited from TestOptions) |
| AllowedCompilerDiagnosticSeverity | Gets a maximal allowed compiler diagnostic severity. (Inherited from TestOptions) |
| CommonCompilationOptions | Gets a common compilation options. (Overrides TestOptions.CommonCompilationOptions) |
| CommonParseOptions | Gets a common parse options. (Overrides TestOptions.CommonParseOptions) |
| CompilationOptions | Gets a compilation options that should be used to compile test project. |
| ConfigOptions | Gets a collection of config options. (Inherited from TestOptions) |
| Default | Gets a default code verification options. |
| Language | Gets C# programming language identifier. (Overrides TestOptions.Language) |
| MetadataReferences | Gets metadata references of a test project. (Inherited from TestOptions) |
| ParseOptions | Gets a parse options that should be used to parse tested source code. |