2 types derived from CodeDomProvider
System.CodeDom (2)
Microsoft\CSharp\CSharpCodeProvider.cs (1)
14
public class CSharpCodeProvider :
CodeDomProvider
Microsoft\VisualBasic\VBCodeProvider.cs (1)
14
public class VBCodeProvider :
CodeDomProvider
72 references to CodeDomProvider
Microsoft.Build.Engine.UnitTests (2)
BackEnd\CustomTaskHelper.cs (2)
45
using
CodeDomProvider
codegenerator =
CodeDomProvider
.CreateProvider("cs");
Microsoft.Build.Tasks.Core (24)
CodeTaskFactory.cs (2)
719
using (
CodeDomProvider
provider =
CodeDomProvider
.CreateProvider(_language))
GenerateResource.cs (6)
1625
CodeDomProvider
provider = null;
2161
CodeDomProvider
provider = null;
3427
CodeDomProvider
provider = null;
3503
public static string GenerateDefaultStronglyTypedFilename(
CodeDomProvider
provider, string outputResourcesFile)
3520
public static bool TryCreateCodeDomProvider(TaskLoggingHelper logger, string stronglyTypedLanguage, out
CodeDomProvider
provider)
3526
provider =
CodeDomProvider
.CreateProvider(stronglyTypedLanguage);
ResGen.cs (3)
14
using CodeDomProvider = System.CodeDom.Compiler.
CodeDomProvider
;
292
CodeDomProvider
provider = null;
295
provider =
CodeDomProvider
.CreateProvider(StronglyTypedLanguage);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (2)
255
using (
CodeDomProvider
provider =
CodeDomProvider
.CreateProvider(taskInfo.CodeLanguage))
system.design\stronglytypedresourcebuilder.cs (7)
114
internal static CodeCompileUnit Create(Dictionary<string, IResource> resourceList, String baseName, String generatedCodeNamespace, String resourcesNamespace,
CodeDomProvider
codeProvider, bool internalClass, out String[] unmatchable)
136
private static CodeCompileUnit InternalCreate(Dictionary<String, ResourceData> resourceList, String baseName, String generatedCodeNamespace, String resourcesNamespace,
CodeDomProvider
codeProvider, bool internalClass, out String[] unmatchable)
261
internal static CodeCompileUnit Create(String resxFile, String baseName, String generatedCodeNamespace,
CodeDomProvider
codeProvider, bool internalClass, out String[] unmatchable)
267
internal static CodeCompileUnit Create(String resxFile, String baseName, String generatedCodeNamespace, String resourcesNamespace,
CodeDomProvider
codeProvider, bool internalClass, out String[] unmatchable)
665
internal static String VerifyResourceName(String key,
CodeDomProvider
provider)
671
private static String VerifyResourceName(String key,
CodeDomProvider
provider, bool isNameSpace)
716
CodeDomProvider
codeProvider,
WriteCodeFragment.cs (2)
145
CodeDomProvider
provider = null;
150
provider =
CodeDomProvider
.CreateProvider(Language);
XamlTaskFactory\XamlTaskFactory.cs (2)
133
using
var
codegenerator =
CodeDomProvider
.CreateProvider("cs");
PresentationBuildTasks (11)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (11)
646
CodeDomProvider
codeProvider = EnsureCodeProvider();
1376
CodeDomProvider
cdp = EnsureCodeProvider();
1649
CodeDomProvider
codeProvider = EnsureCodeProvider();
1717
CodeDomProvider
codeProvider = EnsureCodeProvider();
2097
private
CodeDomProvider
EnsureCodeProvider()
2128
if (
CodeDomProvider
.IsDefinedLanguage(language))
2130
CompilerInfo =
CodeDomProvider
.GetCompilerInfo(language);
2951
CodeDomProvider
codeProvider = EnsureCodeProvider();
3160
CodeDomProvider
codeProvider = EnsureCodeProvider();
3231
CodeDomProvider
codeProvider = EnsureCodeProvider();
3487
private
CodeDomProvider
_codeProvider = null;
System (1)
src\libraries\shims\System\ref\System.cs (1)
112
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.Compiler.
CodeDomProvider
))]
System.CodeDom (7)
System\CodeDom\Compiler\CodeDomProvider.cs (2)
53
public static
CodeDomProvider
CreateProvider(string language, System.Collections.Generic.IDictionary<string, string> providerOptions)
59
public static
CodeDomProvider
CreateProvider(string language)
System\CodeDom\Compiler\CompilerInfo.cs (5)
43
public
CodeDomProvider
CreateProvider()
56
return (
CodeDomProvider
)ci.Invoke(new object[] { _providerOptions });
60
return (
CodeDomProvider
)Activator.CreateInstance(CodeDomProviderType);
63
public
CodeDomProvider
CreateProvider(IDictionary<string, string> providerOptions)
73
return (
CodeDomProvider
)constructor.Invoke(new object[] { providerOptions });
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
156
private
CodeDomProvider
? CodeProvider
System\Runtime\Serialization\Schema\ImportOptions.cs (2)
24
/// Gets or sets a <see cref="
CodeDomProvider
"/> instance that provides the means to check whether particular options for a target language are supported.
26
public
CodeDomProvider
? CodeProvider { get; set; }
System.Windows.Forms.Design (22)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (5)
54
protected abstract
CodeDomProvider
? CodeDomProvider { get; }
390
CodeDomProvider
? provider = CodeDomProvider;
1085
CodeDomProvider
? provider = CodeDomProvider;
1118
CodeDomProvider
? provider = CodeDomProvider;
1195
CodeDomProvider
? provider = CodeDomProvider;
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
56
TypeConverter? modifierConverter = context?.GetService<
CodeDomProvider
>()?.GetConverter(typeof(MemberAttributes));
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
47
CodeDomProvider
? provider = manager.GetService<
CodeDomProvider
>();
System\Resources\Tools\StronglyTypedResourceBuilder.cs (14)
38
/// The output of the <see cref="Create(IDictionary, string, string,
CodeDomProvider
, bool, out string[])"/> method
78
/// A <see cref="
CodeDomProvider
"/> class that provides the language in which the class will be generated.
106
CodeDomProvider
codeProvider,
130
/// A <see cref="
CodeDomProvider
"/> class that provides the language in which the class will be generated.
159
CodeDomProvider
codeProvider,
214
/// A <see cref="
CodeDomProvider
"/> class that provides the language in which the class will be generated.
228
CodeDomProvider
codeProvider,
249
/// A <see cref="
CodeDomProvider
"/> class that provides the language in which the class will be generated.
264
CodeDomProvider
codeProvider,
309
CodeDomProvider
codeProvider,
815
/// <param name="provider">A <see cref="
CodeDomProvider
"/> object that specifies the target language to use.</param>
824
public static string? VerifyResourceName(string key,
CodeDomProvider
provider)
828
private static string? VerifyResourceName(string key,
CodeDomProvider
provider, bool isNameSpace)
861
CodeDomProvider
codeProvider,
System.Windows.Forms.Design.Tests (2)
System\Resources\Tools\CodeDomCompileHelper.cs (1)
17
private static readonly
CodeDomProvider
s_cSharpProvider = new CSharpCodeProvider();
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (1)
21
private static readonly
CodeDomProvider
s_cSharpProvider = new CSharpCodeProvider();