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)
86_compilerParams = compilerParams ?? new CompilerParameters(); 103CompilerParameters 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)
2903CompilerResults ICodeCompiler.CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit e) 2920CompilerResults ICodeCompiler.CompileAssemblyFromFile(CompilerParameters options, string fileName) 2937CompilerResults ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, string source) 2954CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources) 2971CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames) 2999CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) 3016private CompilerResults FromDom(CompilerParameters options, CodeCompileUnit e) 3027private static CompilerResults FromFile(CompilerParameters options, string fileName) 3045private static CompilerResults FromSource(CompilerParameters options, string source) 3055private CompilerResults FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) 3088private static void ResolveReferencedAssemblies(CompilerParameters options, CodeCompileUnit e) 3102private 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) 665protected 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) 28CompilerResults ICodeCompiler.CompileAssemblyFromFile(CompilerParameters options, string fileName) 45CompilerResults ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, string source) 62CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, string[] sources) 79CompilerResults ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, string[] fileNames) 106CompilerResults ICodeCompiler.CompileAssemblyFromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) 127protected virtual CompilerResults FromDom(CompilerParameters options, CodeCompileUnit e) 137protected virtual CompilerResults FromFile(CompilerParameters options, string fileName) 154protected virtual CompilerResults FromSource(CompilerParameters options, string source) 164protected virtual CompilerResults FromDomBatch(CompilerParameters options, CodeCompileUnit[] ea) 197private static void ResolveReferencedAssemblies(CompilerParameters options, CodeCompileUnit e) 211protected virtual CompilerResults FromFileBatch(CompilerParameters options, string[] fileNames) 227protected abstract string CmdArgsFromParameters(CompilerParameters options); 229protected virtual string GetResponseFileCmdArgs(CompilerParameters options, string cmdArgs) 243protected virtual CompilerResults FromSourceBatch(CompilerParameters options, string[] sources)
System\CodeDom\Compiler\CodeDomProvider.cs (3)
136public virtual CompilerResults CompileAssemblyFromDom(CompilerParameters options, params CodeCompileUnit[] compilationUnits) => 139public virtual CompilerResults CompileAssemblyFromFile(CompilerParameters options, params string[] fileNames) => 142public virtual CompilerResults CompileAssemblyFromSource(CompilerParameters options, params string[] sources) =>
System\CodeDom\Compiler\CompilerInfo.cs (6)
14internal CompilerParameters _compilerParams; // This can never by null 81public CompilerParameters CreateDefaultCompilerParameters() => CloneCompilerParameters(); 83internal CompilerInfo(CompilerParameters compilerParams, string codeDomProviderTypeName) 101private CompilerParameters CloneCompilerParameters() 103CompilerParameters copy = new CompilerParameters(); 111internal 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);