5 instantiations of CompilerParameters
Microsoft.Build.Engine.UnitTests (1)
BackEnd\CustomTaskHelper.cs (1)
41
CompilerParameters compilerParameters = new
CompilerParameters
(referenceAssembliesForTask);
System.CodeDom (4)
System\CodeDom\Compiler\CodeDomProvider.cs (2)
23
AddCompilerInfo(new CompilerInfo(new
CompilerParameters
() { WarningLevel = 4 }, typeof(CSharpCodeProvider).FullName)
30
AddCompilerInfo(new CompilerInfo(new
CompilerParameters
() { WarningLevel = 4 }, typeof(VBCodeProvider).FullName)
System\CodeDom\Compiler\CompilerInfo.cs (2)
86
_compilerParams = compilerParams ?? new
CompilerParameters
();
103
CompilerParameters copy = new
CompilerParameters
();
48 references to CompilerParameters
Microsoft.Build.Engine.UnitTests (1)
BackEnd\CustomTaskHelper.cs (1)
41
CompilerParameters
compilerParameters = new CompilerParameters(referenceAssembliesForTask);
System (1)
src\libraries\shims\System\ref\System.cs (1)
119
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.Compiler.
CompilerParameters
))]
System.CodeDom (46)
Microsoft\CSharp\CSharpCodeGenerator.cs (12)
2903
CompilerResults ICodeCompiler.CompileAssemblyFromDom(
CompilerParameters
options, CodeCompileUnit e)
2920
CompilerResults ICodeCompiler.CompileAssemblyFromFile(
CompilerParameters
options, string fileName)
2937
CompilerResults ICodeCompiler.CompileAssemblyFromSource(
CompilerParameters
options, string source)
2954
CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(
CompilerParameters
options, string[] sources)
2971
CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(
CompilerParameters
options, string[] fileNames)
2999
CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(
CompilerParameters
options, CodeCompileUnit[] ea)
3016
private CompilerResults FromDom(
CompilerParameters
options, CodeCompileUnit e)
3027
private static CompilerResults FromFile(
CompilerParameters
options, string fileName)
3045
private static CompilerResults FromSource(
CompilerParameters
options, string source)
3055
private CompilerResults FromDomBatch(
CompilerParameters
options, CodeCompileUnit[] ea)
3088
private static void ResolveReferencedAssemblies(
CompilerParameters
options, CodeCompileUnit e)
3102
private static CompilerResults FromSourceBatch(
CompilerParameters
options, string[] sources)
Microsoft\CSharp\CSharpCodeGenerator.PlatformNotSupported.cs (1)
12
private static CompilerResults FromFileBatch(
CompilerParameters
options, string[] fileNames)
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
389
protected override string CmdArgsFromParameters(
CompilerParameters
options)
665
protected override string GetResponseFileCmdArgs(
CompilerParameters
options, string cmdArgs)
Microsoft\VisualBasic\VBCodeGenerator.PlatformNotSupported.cs (1)
11
protected override CompilerResults FromFileBatch(
CompilerParameters
options, string[] fileNames)
System\CodeDom\Compiler\CodeCompiler.cs (15)
11
CompilerResults ICodeCompiler.CompileAssemblyFromDom(
CompilerParameters
options, CodeCompileUnit e)
28
CompilerResults ICodeCompiler.CompileAssemblyFromFile(
CompilerParameters
options, string fileName)
45
CompilerResults ICodeCompiler.CompileAssemblyFromSource(
CompilerParameters
options, string source)
62
CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(
CompilerParameters
options, string[] sources)
79
CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(
CompilerParameters
options, string[] fileNames)
106
CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(
CompilerParameters
options, CodeCompileUnit[] ea)
127
protected virtual CompilerResults FromDom(
CompilerParameters
options, CodeCompileUnit e)
137
protected virtual CompilerResults FromFile(
CompilerParameters
options, string fileName)
154
protected virtual CompilerResults FromSource(
CompilerParameters
options, string source)
164
protected virtual CompilerResults FromDomBatch(
CompilerParameters
options, CodeCompileUnit[] ea)
197
private static void ResolveReferencedAssemblies(
CompilerParameters
options, CodeCompileUnit e)
211
protected virtual CompilerResults FromFileBatch(
CompilerParameters
options, string[] fileNames)
227
protected abstract string CmdArgsFromParameters(
CompilerParameters
options);
229
protected virtual string GetResponseFileCmdArgs(
CompilerParameters
options, string cmdArgs)
243
protected virtual CompilerResults FromSourceBatch(
CompilerParameters
options, string[] sources)
System\CodeDom\Compiler\CodeDomProvider.cs (3)
136
public virtual CompilerResults CompileAssemblyFromDom(
CompilerParameters
options, params CodeCompileUnit[] compilationUnits) =>
139
public virtual CompilerResults CompileAssemblyFromFile(
CompilerParameters
options, params string[] fileNames) =>
142
public virtual CompilerResults CompileAssemblyFromSource(
CompilerParameters
options, params string[] sources) =>
System\CodeDom\Compiler\CompilerInfo.cs (6)
14
internal
CompilerParameters
_compilerParams; // This can never by null
81
public
CompilerParameters
CreateDefaultCompilerParameters() => CloneCompilerParameters();
83
internal CompilerInfo(
CompilerParameters
compilerParams, string codeDomProviderTypeName)
101
private
CompilerParameters
CloneCompilerParameters()
103
CompilerParameters
copy = new CompilerParameters();
111
internal
CompilerParameters
CompilerParams => _compilerParams;
System\CodeDom\Compiler\ICodeCompiler.cs (6)
8
CompilerResults CompileAssemblyFromDom(
CompilerParameters
options, CodeCompileUnit compilationUnit);
9
CompilerResults CompileAssemblyFromFile(
CompilerParameters
options, string fileName);
10
CompilerResults CompileAssemblyFromSource(
CompilerParameters
options, string source);
11
CompilerResults CompileAssemblyFromDomBatch(
CompilerParameters
options, CodeCompileUnit[] compilationUnits);
12
CompilerResults CompileAssemblyFromFileBatch(
CompilerParameters
options, string[] fileNames);
13
CompilerResults CompileAssemblyFromSourceBatch(
CompilerParameters
options, string[] sources);