Class CommandLineArguments
Inheritance
CommandLineArguments
Assembly: Microsoft.CodeAnalysis.dll
Syntax
public abstract class CommandLineArguments
Properties
AdditionalFiles
Declaration
public ImmutableArray<CommandLineSourceFile> AdditionalFiles { get; }
Property Value
AnalyzerConfigPaths
Declaration
public ImmutableArray<string> AnalyzerConfigPaths { get; }
Property Value
AnalyzerReferences
Declaration
public ImmutableArray<CommandLineAnalyzerReference> AnalyzerReferences { get; }
Property Value
AppConfigPath
Declaration
public string? AppConfigPath { get; }
Property Value
BaseDirectory
Declaration
public string? BaseDirectory { get; }
Property Value
ChecksumAlgorithm
Declaration
public SourceHashAlgorithm ChecksumAlgorithm { get; }
Property Value
CompilationName
Declaration
public string? CompilationName { get; }
Property Value
CompilationOptions
Declaration
public CompilationOptions CompilationOptions { get; }
Property Value
CompilationOptionsCore
Declaration
protected abstract CompilationOptions CompilationOptionsCore { get; }
Property Value
DisplayHelp
Declaration
public bool DisplayHelp { get; }
Property Value
DisplayLangVersions
Declaration
public bool DisplayLangVersions { get; }
Property Value
DisplayLogo
Declaration
public bool DisplayLogo { get; }
Property Value
DisplayVersion
Declaration
public bool DisplayVersion { get; }
Property Value
DocumentationPath
Declaration
public string? DocumentationPath { get; }
Property Value
EmbeddedFiles
Declaration
public ImmutableArray<CommandLineSourceFile> EmbeddedFiles { get; }
Property Value
EmitOptions
Declaration
public EmitOptions EmitOptions { get; }
Property Value
EmitPdb
Declaration
public bool EmitPdb { get; }
Property Value
EmitPdbFile
Declaration
public bool EmitPdbFile { get; }
Property Value
Encoding
Declaration
public Encoding? Encoding { get; }
Property Value
ErrorLogOptions
Declaration
public ErrorLogOptions? ErrorLogOptions { get; }
Property Value
ErrorLogPath
Declaration
public string? ErrorLogPath { get; }
Property Value
Errors
Declaration
public ImmutableArray<Diagnostic> Errors { get; }
Property Value
GeneratedFilesOutputDirectory
Declaration
public string? GeneratedFilesOutputDirectory { get; }
Property Value
InteractiveMode
Declaration
public bool InteractiveMode { get; }
Property Value
KeyFileSearchPaths
Declaration
public ImmutableArray<string> KeyFileSearchPaths { get; }
Property Value
ManifestResources
Declaration
public ImmutableArray<ResourceDescription> ManifestResources { get; }
Property Value
Declaration
public ImmutableArray<CommandLineReference> MetadataReferences { get; }
Property Value
NoWin32Manifest
Declaration
public bool NoWin32Manifest { get; }
Property Value
OutputDirectory
Declaration
public string OutputDirectory { get; }
Property Value
OutputFileName
Declaration
public string? OutputFileName { get; }
Property Value
OutputRefFilePath
Declaration
public string? OutputRefFilePath { get; }
Property Value
ParseOptions
Declaration
public ParseOptions ParseOptions { get; }
Property Value
ParseOptionsCore
Declaration
protected abstract ParseOptions ParseOptionsCore { get; }
Property Value
PathMap
Declaration
public ImmutableArray<KeyValuePair<string, string>> PathMap { get; }
Property Value
PdbPath
Declaration
public string? PdbPath { get; }
Property Value
PreferredUILang
Declaration
public CultureInfo? PreferredUILang { get; }
Property Value
PrintFullPaths
Declaration
public bool PrintFullPaths { get; }
Property Value
ReferencePaths
Declaration
public ImmutableArray<string> ReferencePaths { get; }
Property Value
ReportAnalyzer
Declaration
public bool ReportAnalyzer { get; }
Property Value
ReportInternalsVisibleToAttributes
Declaration
public bool ReportInternalsVisibleToAttributes { get; }
Property Value
RuleSetPath
Declaration
public string? RuleSetPath { get; }
Property Value
ScriptArguments
Declaration
public ImmutableArray<string> ScriptArguments { get; }
Property Value
SkipAnalyzers
Declaration
public bool SkipAnalyzers { get; }
Property Value
SourceFiles
Declaration
public ImmutableArray<CommandLineSourceFile> SourceFiles { get; }
Property Value
SourceLink
Declaration
public string? SourceLink { get; }
Property Value
SourcePaths
Declaration
public ImmutableArray<string> SourcePaths { get; }
Property Value
TouchedFilesPath
Declaration
public string? TouchedFilesPath { get; }
Property Value
Utf8Output
Declaration
public bool Utf8Output { get; }
Property Value
Win32Icon
Declaration
public string? Win32Icon { get; }
Property Value
Win32Manifest
Declaration
public string? Win32Manifest { get; }
Property Value
Win32ResourceFile
Declaration
public string? Win32ResourceFile { get; }
Property Value
Methods
GetOutputFilePath(string)
Declaration
public string GetOutputFilePath(string outputFileName)
Parameters
| Type |
Name |
Description |
| string |
outputFileName |
|
Returns
GetPdbFilePath(string)
Declaration
public string GetPdbFilePath(string outputFileName)
Parameters
| Type |
Name |
Description |
| string |
outputFileName |
|
Returns
ResolveAnalyzerReferences(IAnalyzerAssemblyLoader)
Declaration
public IEnumerable<AnalyzerReference> ResolveAnalyzerReferences(IAnalyzerAssemblyLoader analyzerLoader)
Parameters
Returns
Declaration
public IEnumerable<MetadataReference> ResolveMetadataReferences(MetadataReferenceResolver metadataResolver)
Parameters
Returns