185 references to CurrentUICulture
ComSvcConfig (1)
Tool.cs (1)
902Thread.CurrentThread.CurrentUICulture = CultureInfo.CurrentUICulture.GetConsoleFallbackUICulture();
mscorlib (24)
system\diagnostics\eventing\eventsource.cs (4)
3511string msg = manifest.GetLocalizedMessage(eventKey, CultureInfo.CurrentUICulture, etwFormat: false); 6507cultures.Add(CultureInfo.CurrentUICulture); 6609if (!cultures.Contains(CultureInfo.CurrentUICulture)) 6610cultures.Insert(0, CultureInfo.CurrentUICulture);
system\reflection\ConstructorInfo.cs (3)
549String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateInterfaceEx"), declaringType)); 554String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateAbstEx"), declaringType)); 574String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateGenericEx"), declaringType));
system\reflection\customattribute.cs (4)
804String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_CATypeResolutionFailed"), typeName)); 1791String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 1822String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 2030CultureInfo.CurrentUICulture, Environment.GetResourceString("Format_AttributeUsage"), attributeType));
system\reflection\fieldinfo.cs (1)
533String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_FieldDeclTarget"),
system\reflection\methodbody.cs (3)
91return String.Format(CultureInfo.CurrentUICulture, 98return String.Format(CultureInfo.CurrentUICulture, 103return String.Format(CultureInfo.CurrentUICulture,
system\reflection\module.cs (4)
750String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_InvalidToken", tk, this))); 914String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString())); 918String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_InvalidToken", tk, this))); 924String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString()));
system\resources\resourcefallbackmanager.cs (1)
58m_startingCulture = CultureInfo.CurrentUICulture;
system\resources\resourcemanager.cs (2)
1262if(Object.ReferenceEquals(culture, CultureInfo.CurrentUICulture)) 1377if(Object.ReferenceEquals(culture, CultureInfo.CurrentUICulture))
system\rttype.cs (2)
4443throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this)); 4485throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this));
PresentationCore (1)
Core\CSharp\MS\Internal\Resources\ResourceManagerWrapper.cs (1)
59stream = this.ResourceManager.GetStream(name, CultureInfo.CurrentUICulture);
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (2)
110String clrProductName = resourceManager.GetString("PlatformMicrosoftCommonLanguageRuntime", CultureInfo.CurrentUICulture); 111String versionString = resourceManager.GetString("PlatformDependentAssemblyVersion", CultureInfo.CurrentUICulture);
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
161key.SetValue("uiLanguage", CultureInfo.CurrentUICulture.Name); 215if (!uiLanguage.Equals(CultureInfo.CurrentUICulture.Name))
src\Framework\System\Windows\Markup\XamlTemplateSerializer.cs (2)
188lineNumber.ToString(CultureInfo.CurrentUICulture), 189linePosition.ToString(CultureInfo.CurrentUICulture));
src\Framework\System\Windows\SystemResources.cs (1)
925stream = rm.GetStream(resourceName, CultureInfo.CurrentUICulture);
System (1)
compmod\system\componentmodel\ComponentResourceManager.cs (1)
74culture = CultureInfo.CurrentUICulture;
System.Activities (1)
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (1)
502this.xClassNamespace = string.Format(CultureInfo.CurrentUICulture, "clr-namespace:{0}", this.xClassNamespace ?? string.Empty);
System.Activities.Core.Presentation (24)
System\Activities\Core\Presentation\DynamicActivityPropertyToTooltipConverter.cs (1)
27return string.Format(CultureInfo.CurrentUICulture, SR.PropertyReferenceNotResolved, property.Name);
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
335errorMessage += string.Format(CultureInfo.CurrentUICulture, "Link{0}:{1}\n", i + 1, error);
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (1)
552reason = string.Format(CultureInfo.CurrentUICulture, SR.EqualityError, genericType.Name);
System\Activities\Core\Presentation\InvokeDelegateValidationFeature.cs (8)
135this.EmitValidationError(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyReferenceNotResolved, reference)); 141this.EmitValidationWarning(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAConcreteActivityDelegate, reference)); 147this.EmitValidationError(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAnActivityDelegate, reference)); 153this.EmitValidationWarning(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAConcreteActivityDelegate, reference)); 174errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateArgumentsDirectionalityMismatch, expectedArgument.Name, delegateArgument.Direction, expectedArgument.Direction); 183errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateInArgumentTypeMismatch, expectedArgument.Name, expectedArgument.Type, delegateArgument.ArgumentType); 190errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateOutArgumentTypeMismatch, expectedArgument.Name, expectedArgument.Type, delegateArgument.ArgumentType); 197errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateArgumentMissing, expectedArgument.Name);
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (2)
215errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.PasteTransitionWithoutAvailableConnectionPoints, sourceState.DisplayName); 243errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.PasteTransitionWithoutAvailableConnectionPoints, destinationStateItem.Properties["DisplayName"].Value);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
2173name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", DefaultStateDisplayName, ++suffix);
System\Activities\Core\Presentation\StateLinkButtonToolTipConverter.cs (1)
23return string.Format(CultureInfo.CurrentUICulture, SR.StateLinkButtonToolTip, stateOrTransitionName);
System\Activities\Presentation\ActivityDesignerHelper.cs (1)
146name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", prefix, 1);
System\ServiceModel\Activities\Presentation\ActivityXRefConverter.cs (1)
45return string.Format(CultureInfo.CurrentUICulture, formatString, displayName);
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (2)
160string.Format(CultureInfo.CurrentUICulture, (string)this.FindResource("parametersRequiredText"), requestDisplayName.GetCurrentValue()))); 171string.Format(CultureInfo.CurrentUICulture, (string)this.FindResource("parametersRequiredText"), this.Activity.Properties["DisplayName"].ComputedValue)));
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (1)
329errors.Add(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.DuplicateKeyName, name));
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (2)
165ErrorReporting.ShowAlertMessage(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.CannotPasteSendReplyOrReceiveReply, typeof(SendReply).Name)); 221DisplayName = string.Format(CultureInfo.CurrentUICulture, "SendReplyTo{0}", receive.Properties["DisplayName"].ComputedValue),
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (2)
168ErrorReporting.ShowAlertMessage(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.CannotPasteSendReplyOrReceiveReply, typeof(ReceiveReply).Name)); 224DisplayName = string.Format(CultureInfo.CurrentUICulture, "ReceiveReplyFor{0}", send.Properties["DisplayName"].ComputedValue),
System.Activities.Presentation (39)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
185this.ReportError(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(this.Factory.DelegateType, false)), details);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
57throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidFlagName, value, flagType.Name)));
System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (3)
324throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkIdentifier, value.Identifier))); 329throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkProfile, value.Profile))); 334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString())));
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
453ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(type, false)), details);
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
66ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, "{0}\n\n\"{1}\"", message, details));
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (1)
167throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorNameToSet,
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionMorphHelperAttribute.cs (1)
25throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture,
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
685string toolTipText = string.Format(CultureInfo.CurrentUICulture, SR.SearchHintText, entry.ModelProperty.Name);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (1)
157if (0 == string.Compare(category.CategoryName, categoryName, true, CultureInfo.CurrentUICulture))
System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "CommitBookmark"))); 253throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "RollbackBookmark")));
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
797originalError.ErrorMessages.Add(string.Format(CultureInfo.CurrentUICulture, SR.WarningFormat, newError.Message)); 853throw FxTrace.Exception.Argument("validationErrorInfo", string.Format(CultureInfo.CurrentUICulture, SR.SourceReferenceIdNotFoundInWorkflow, sourceReferenceId));
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (4)
477identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 482duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 1295errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, name)); 1306errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateArgumentName, name));
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (7)
404this.UnsupportedEditorMessage = string.Format(CultureInfo.CurrentUICulture, SR.NonRegisteredExpressionEditor, editorName); 418throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorName, 645throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorType, 650throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.ExpressionActivityEditorRequiresDefaultConstructor, 824errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 829errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 835errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch,
System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (1)
63return string.Format(CultureInfo.CurrentUICulture, "{0}:({1})", base.ToString(), typeof(TData).Name);
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (5)
165identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 170duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 931name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", namePrefix, countStartValue++); 1418errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, newName)); 1442errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, currentName));
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (3)
128this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, trimedName); 133this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName); 138this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
930Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 988Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace));
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
457throw FxTrace.Exception.AsError(new SecurityException(string.Format(CultureInfo.CurrentUICulture, SR.UntrustedSourceDetected, fileName)));
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
813string.Format(CultureInfo.CurrentUICulture, "{0} ) WorkflowViewElement.OnMouseUp ({1}, mouseCaptured {2})",
System.Data (39)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
185this.ReportError(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(this.Factory.DelegateType, false)), details);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
57throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidFlagName, value, flagType.Name)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (3)
324throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkIdentifier, value.Identifier))); 329throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkProfile, value.Profile))); 334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString())));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
453ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(type, false)), details);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
66ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, "{0}\n\n\"{1}\"", message, details));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (1)
167throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorNameToSet,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionMorphHelperAttribute.cs (1)
25throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
685string toolTipText = string.Format(CultureInfo.CurrentUICulture, SR.SearchHintText, entry.ModelProperty.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (1)
157if (0 == string.Compare(category.CategoryName, categoryName, true, CultureInfo.CurrentUICulture))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "CommitBookmark"))); 253throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "RollbackBookmark")));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
797originalError.ErrorMessages.Add(string.Format(CultureInfo.CurrentUICulture, SR.WarningFormat, newError.Message)); 853throw FxTrace.Exception.Argument("validationErrorInfo", string.Format(CultureInfo.CurrentUICulture, SR.SourceReferenceIdNotFoundInWorkflow, sourceReferenceId));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (4)
477identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 482duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 1295errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, name)); 1306errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateArgumentName, name));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (7)
404this.UnsupportedEditorMessage = string.Format(CultureInfo.CurrentUICulture, SR.NonRegisteredExpressionEditor, editorName); 418throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorName, 645throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorType, 650throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.ExpressionActivityEditorRequiresDefaultConstructor, 824errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 829errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 835errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (1)
63return string.Format(CultureInfo.CurrentUICulture, "{0}:({1})", base.ToString(), typeof(TData).Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (5)
165identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 170duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 931name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", namePrefix, countStartValue++); 1418errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, newName)); 1442errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, currentName));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (3)
128this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, trimedName); 133this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName); 138this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
930Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 988Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
457throw FxTrace.Exception.AsError(new SecurityException(string.Format(CultureInfo.CurrentUICulture, SR.UntrustedSourceDetected, fileName)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
813string.Format(CultureInfo.CurrentUICulture, "{0} ) WorkflowViewElement.OnMouseUp ({1}, mouseCaptured {2})",
System.Drawing (1)
commonui\System\Drawing\Advanced\FontFamily.cs (1)
258return System.Globalization.CultureInfo.CurrentUICulture.LCID;
System.IdentityModel.Selectors (4)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (4)
615errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture, 620errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture, 629errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture, 711System.Globalization.CultureInfo.CurrentUICulture,
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpTransportManager.cs (1)
237this.uiCultureInfo = CultureInfo.CurrentUICulture;
System.Web (16)
Compilation\IResourceProvider.cs (1)
57culture = CultureInfo.CurrentUICulture;
ErrorFormatter.cs (1)
744return CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft;
ModelBinding\ModelBinderErrorMessageProviders.cs (1)
63? modelBindingExecutionContext.HttpContext.GetGlobalResourceObject(resourceClassKey, resourceName, CultureInfo.CurrentUICulture) as string
Routing\HttpMethodConstraint.cs (1)
64throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
Routing\Route.cs (1)
161CultureInfo.CurrentUICulture,
Routing\RouteCollection.cs (2)
73CultureInfo.CurrentUICulture, 282CultureInfo.CurrentUICulture,
Routing\RouteData.cs (1)
57CultureInfo.CurrentUICulture,
Routing\RouteParser.cs (5)
106CultureInfo.CurrentUICulture, 123CultureInfo.CurrentUICulture, 135CultureInfo.CurrentUICulture, 301CultureInfo.CurrentUICulture, 311CultureInfo.CurrentUICulture,
Routing\UrlRoutingHandler.cs (1)
53CultureInfo.CurrentUICulture,
Routing\UrlRoutingModule.cs (1)
89CultureInfo.CurrentUICulture,
UI\WebParts\WebPartManager.cs (1)
2323ConnectionPointKey connectionPointKey = new ConnectionPointKey(type, CultureInfo.CurrentCulture, CultureInfo.CurrentUICulture);
System.Web.Extensions (14)
UI\CompositeScriptReference.cs (2)
59CultureInfo currentCulture = CultureInfo.CurrentUICulture; 116throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
UI\ScriptManager.cs (2)
1163(EnableScriptLocalization ? CultureInfo.CurrentUICulture : CultureInfo.InvariantCulture), 1262String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptManager_MustHaveGreaterVersion,
UI\ScriptReference.cs (4)
197.DetermineNearestAvailableCulture(GetAssembly(scriptManager), EffectiveResourceName, CultureInfo.CurrentUICulture); 201CultureInfo currentCulture = CultureInfo.CurrentUICulture; 244String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptReference_InvalidReleaseScriptName, releaseName)); 355throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
UI\ScriptReferenceBase.cs (1)
179String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptReference_InvalidReleaseScriptPath, pathWithoutQuery));
UI\ScriptResourceAttribute.cs (1)
120assembly, embeddedResourceName, CultureInfo.CurrentUICulture, zip));
UI\WebResourceUtil.cs (4)
52CultureInfo.CurrentUICulture, 82CultureInfo.CurrentUICulture, 88CultureInfo.CurrentUICulture, 101CultureInfo.CurrentUICulture,
System.Windows.Forms (1)
winforms\Managed\System\WinForms\MenuItem.cs (1)
1192windowItem.Text = String.Format(CultureInfo.CurrentUICulture, "&{0} {1}", accel, forms[i].Text);
System.Workflow.Activities (3)
Rules\Design\Dialogs\BasicBrowserDialog.cs (1)
212if (CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft)
Rules\Design\Dialogs\RuleSetDialog.cs (1)
316if (CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft)
Rules\Design\LogicalExpressionEditor.cs (1)
162returnVal = typeDescriptorContext.PropertyDescriptor.Converter.ConvertFrom(typeDescriptorContext, CultureInfo.CurrentUICulture, dlg.SelectedName);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerResources.cs (1)
231return GetString(CultureInfo.CurrentUICulture, resID, args);
System.Workflow.Runtime (4)
Hosting\DefaultWorkflowSchedulerService.cs (4)
103throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 116throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 118throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 133throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "timerId"), "timerId");
WindowsBase (2)
Base\System\Windows\SplashScreen.cs (2)
155UnmanagedMemoryStream stream = _resourceManager.GetStream(_resourceName, System.Globalization.CultureInfo.CurrentUICulture); 166return _resourceManager.GetStream(resourceName, System.Globalization.CultureInfo.CurrentUICulture);
WsatConfig (1)
CommandLine\ConsoleEntryPoint.cs (1)
256Thread.CurrentThread.CurrentUICulture = CultureInfo.CurrentUICulture.GetConsoleFallbackUICulture();