5 instantiations of CompilerParameters
Microsoft.Build.Engine.UnitTests (1)
BackEnd\CustomTaskHelper.cs (1)
41CompilerParameters compilerParameters = new CompilerParameters(referenceAssembliesForTask);
System.CodeDom (4)
System\CodeDom\Compiler\CodeDomProvider.cs (2)
23AddCompilerInfo(new CompilerInfo(new CompilerParameters() { WarningLevel = 4 }, typeof(CSharpCodeProvider).FullName) 30AddCompilerInfo(new CompilerInfo(new CompilerParameters() { WarningLevel = 4 }, typeof(VBCodeProvider).FullName)
System\CodeDom\Compiler\CompilerInfo.cs (2)
83_compilerParams = compilerParams ?? new CompilerParameters(); 100CompilerParameters copy = new CompilerParameters();
48 references to CompilerParameters
Microsoft.Build.Engine.UnitTests (1)
BackEnd\CustomTaskHelper.cs (1)
41CompilerParameters 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)
2888CompilerResults ICodeCompiler.CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e) 2902CompilerResults ICodeCompiler.CompileAssemblyFromFile(CompilerParameters options, string fileName) 2916CompilerResults ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, string source) 2930CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources) 2944CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames) 2966CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) 2980private CompilerResults FromDom(CompilerParameters options, CodeCompileUnit e) 2988private static CompilerResults FromFile(CompilerParameters options, string fileName) 3000private static CompilerResults FromSource(CompilerParameters options, string source) 3007private CompilerResults FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) 3034private static void ResolveReferencedAssemblies(CompilerParameters options, CodeCompileUnit e) 3048private static CompilerResults FromSourceBatch(CompilerParameters options, string[] sources)
Microsoft\CSharp\CSharpCodeGenerator.PlatformNotSupported.cs (1)
12private static CompilerResults FromFileBatch(CompilerParameters options, string[] fileNames)
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
389protected override string CmdArgsFromParameters(CompilerParameters options) 662protected override string GetResponseFileCmdArgs(CompilerParameters options, string cmdArgs)
Microsoft\VisualBasic\VBCodeGenerator.PlatformNotSupported.cs (1)
11protected override CompilerResults FromFileBatch(CompilerParameters options, string[] fileNames)
System\CodeDom\Compiler\CodeCompiler.cs (15)
11CompilerResults ICodeCompiler.CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e) 25CompilerResults ICodeCompiler.CompileAssemblyFromFile(CompilerParameters options, string fileName) 39CompilerResults ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, string source) 53CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources) 67CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames) 88CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) 106protected virtual CompilerResults FromDom(CompilerParameters options, CodeCompileUnit e) 113protected virtual CompilerResults FromFile(CompilerParameters options, string fileName) 124protected virtual CompilerResults FromSource(CompilerParameters options, string source) 131protected virtual CompilerResults FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) 158private static void ResolveReferencedAssemblies(CompilerParameters options, CodeCompileUnit e) 172protected virtual CompilerResults FromFileBatch(CompilerParameters options, string[] fileNames) 182protected abstract string CmdArgsFromParameters(CompilerParameters options); 184protected virtual string GetResponseFileCmdArgs(CompilerParameters options, string cmdArgs) 198protected virtual CompilerResults FromSourceBatch(CompilerParameters options, string[] sources)
System\CodeDom\Compiler\CodeDomProvider.cs (3)
130public virtual CompilerResults CompileAssemblyFromDom(CompilerParameters options, params CodeCompileUnit[] compilationUnits) => 133public virtual CompilerResults CompileAssemblyFromFile(CompilerParameters options, params string[] fileNames) => 136public virtual CompilerResults CompileAssemblyFromSource(CompilerParameters options, params string[] sources) =>
System\CodeDom\Compiler\CompilerInfo.cs (6)
14internal CompilerParameters _compilerParams; // This can never by null 78public CompilerParameters CreateDefaultCompilerParameters() => CloneCompilerParameters(); 80internal CompilerInfo(CompilerParameters compilerParams, string codeDomProviderTypeName) 98private CompilerParameters CloneCompilerParameters() 100CompilerParameters copy = new CompilerParameters(); 108internal CompilerParameters CompilerParams => _compilerParams;
System\CodeDom\Compiler\ICodeCompiler.cs (6)
8CompilerResults CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit compilationUnit); 9CompilerResults CompileAssemblyFromFile(CompilerParameters options, string fileName); 10CompilerResults CompileAssemblyFromSource(CompilerParameters options, string source); 11CompilerResults CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] compilationUnits); 12CompilerResults CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames); 13CompilerResults CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources);