33 references to SupportedLanguages
System.Workflow.Activities (33)
Common\CompilerHelpers.cs (10)
108
internal static CodeDomProvider GetCodeDomProvider(
SupportedLanguages
language)
114
internal static CodeDomProvider GetCodeDomProvider(
SupportedLanguages
language, string compilerVersion)
116
if (language ==
SupportedLanguages
.CSharp)
127
internal static
SupportedLanguages
GetSupportedLanguage(IServiceProvider serviceProvider)
129
SupportedLanguages
supportedLanguage =
SupportedLanguages
.CSharp;
137
internal static
SupportedLanguages
GetSupportedLanguage(string language)
139
SupportedLanguages
supportedLanguage =
SupportedLanguages
.CSharp;
143
supportedLanguage =
SupportedLanguages
.VB;
Common\TypeSystemHelpers.cs (13)
284
internal static string FormatType(Type type,
SupportedLanguages
language)
290
if (language ==
SupportedLanguages
.CSharp)
296
if (language ==
SupportedLanguages
.CSharp)
312
if (language ==
SupportedLanguages
.CSharp)
324
if (language ==
SupportedLanguages
.VB)
331
if (language ==
SupportedLanguages
.CSharp)
342
internal static string FormatType(string type,
SupportedLanguages
language)
353
if (language ==
SupportedLanguages
.VB)
364
if (language ==
SupportedLanguages
.CSharp)
376
if (language ==
SupportedLanguages
.VB)
384
if (language ==
SupportedLanguages
.CSharp)
409
internal static Type ParseTypeName(ITypeProvider typeProvider,
SupportedLanguages
language, string typeName)
419
if (ParseTypeName(typeName, language ==
SupportedLanguages
.CSharp ? ParseTypeNameLanguage.CSharp : ParseTypeNameLanguage.VB, out simpleTypeName, out parameters, out decoratorString))
Common\ValidationHelpers.cs (6)
41
SupportedLanguages
language = CompilerHelpers.GetSupportedLanguage(serviceProvider);
43
if (language ==
SupportedLanguages
.CSharp && identifier.StartsWith("@", StringComparison.Ordinal) ||
44
language ==
SupportedLanguages
.VB && identifier.StartsWith("[", StringComparison.Ordinal) && identifier.EndsWith("]", StringComparison.Ordinal) ||
85
SupportedLanguages
language = CompilerHelpers.GetSupportedLanguage(context);
88
if (language ==
SupportedLanguages
.CSharp && identifier.StartsWith("@", StringComparison.Ordinal) ||
89
language ==
SupportedLanguages
.VB && identifier.StartsWith("[", StringComparison.Ordinal) && identifier.EndsWith("]", StringComparison.Ordinal) ||
WebServiceReceive.cs (4)
675
SupportedLanguages
language = CompilerHelpers.GetSupportedLanguage(manager);
679
if (member is CodeMemberMethod && String.Compare(member.Name, methodInfo.Name, language ==
SupportedLanguages
.CSharp ? StringComparison.InvariantCulture : StringComparison.InvariantCultureIgnoreCase) == 0)
785
private CodeMemberMethod GetWebServiceMethodDeclaraion(MethodInfo methodInfo, bool isActivation,
SupportedLanguages
language)
812
if (paramDecl.Direction == FieldDirection.Out && language ==
SupportedLanguages
.VB)