27 references to CompilerHelpers
System.Workflow.ComponentModel (27)
AuthoringOM\Compiler\CompileXomlTask.cs (3)
566
codeProvider =
CompilerHelpers
.CreateCodeProviderInstance(typeof(VBCodeProvider), compilerParameters.CompilerVersion);
568
codeProvider =
CompilerHelpers
.CreateCodeProviderInstance(typeof(CSharpCodeProvider), compilerParameters.CompilerVersion);
627
WorkflowMarkupSerializationHelpers.FixStandardNamespacesAndRootNamespace(ccu.Namespaces, this.RootNamespace,
CompilerHelpers
.GetSupportedLanguage(this.ProjectType.ToString())); //just add the standard namespaces
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
142
SupportedLanguages language =
CompilerHelpers
.GetSupportedLanguage(serviceProvider);
AuthoringOM\Compiler\XomlCompiler.cs (4)
869
SupportedLanguages language =
CompilerHelpers
.GetSupportedLanguage(parameters.LanguageToUse);
872
CodeDomProvider codeDomProvider =
CompilerHelpers
.GetCodeDomProvider(language, parameters.CompilerVersion);
1111
codeCompileUnit.Namespaces.AddRange(WorkflowMarkupSerializationHelpers.GenerateCodeFromXomlDocument(rootActivity, fileName, context.RootNamespace,
CompilerHelpers
.GetSupportedLanguage(context.Language), context.ServiceProvider));
1114
WorkflowMarkupSerializationHelpers.FixStandardNamespacesAndRootNamespace(codeCompileUnit.Namespaces, context.RootNamespace,
CompilerHelpers
.GetSupportedLanguage(context.Language));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (4)
210
WorkflowMarkupSerializationHelpers.ReapplyRootNamespace(results.CompiledUnit.Namespaces, context.RootNamespace,
CompilerHelpers
.GetSupportedLanguage(context.Language));
211
WorkflowMarkupSerializationHelpers.FixStandardNamespacesAndRootNamespace(results.CompiledUnit.Namespaces, context.RootNamespace,
CompilerHelpers
.GetSupportedLanguage(context.Language));
231
SupportedLanguages language =
CompilerHelpers
.GetSupportedLanguage(parameters.LanguageToUse);
232
CodeDomProvider codeDomProvider =
CompilerHelpers
.GetCodeDomProvider(language, parameters.CompilerVersion);
AuthoringOM\Compiler\XomlCompilerParameters.cs (1)
536
if (parameters.CompilerOptions != null && (
CompilerHelpers
.GetSupportedLanguage(parameters.LanguageToUse) == SupportedLanguages.VB))
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
330
SupportedLanguages language =
CompilerHelpers
.GetSupportedLanguage(context);
AuthoringOM\Design\IdentifierCreationService.cs (4)
42
SupportedLanguages language =
CompilerHelpers
.GetSupportedLanguage(this.serviceProvider);
44
this.provider =
CompilerHelpers
.CreateCodeProviderInstance(typeof(CSharpCodeProvider));
46
this.provider =
CompilerHelpers
.CreateCodeProviderInstance(typeof(VBCodeProvider));
65
SupportedLanguages language =
CompilerHelpers
.GetSupportedLanguage(this.serviceProvider);
AuthoringOM\Design\PropertyDescriptors.cs (2)
98
bool isVB = (
CompilerHelpers
.GetSupportedLanguage(activity.Site) == SupportedLanguages.VB);
535
bool isVB = (
CompilerHelpers
.GetSupportedLanguage(context) == SupportedLanguages.VB);
Shared\CompilerHelpers.cs (2)
70
options.Add(
CompilerHelpers
.CompilerVersionKeyword, compilerVersion);
108
return
CompilerHelpers
.GetCodeDomProvider(language, string.Empty);
Shared\ValidationHelpers.cs (4)
40
SupportedLanguages language =
CompilerHelpers
.GetSupportedLanguage(serviceProvider);
41
CodeDomProvider provider =
CompilerHelpers
.GetCodeDomProvider(language);
84
SupportedLanguages language =
CompilerHelpers
.GetSupportedLanguage(context);
85
CodeDomProvider provider =
CompilerHelpers
.GetCodeDomProvider(language);
Shared\XomlSerializationHelpers.cs (1)
213
CodeDomProvider codeDomProvider =
CompilerHelpers
.GetCodeDomProvider(language);