231 references to NewGuid
ComSvcConfig (2)
ComAdminWrapper.cs (2)
305typelib.SetGuid(Guid.NewGuid()); 378Guid clsidVal = Guid.NewGuid();
mscorlib (5)
System\Diagnostics\Eventing\TraceLogging\EventSourceActivity.cs (1)
250newActivity.activityId = Guid.NewGuid();
system\runtime\remoting\identity.cs (1)
38private static String s_originalAppDomainGuid = Guid.NewGuid().ToString().Replace('-', '_');
system\security\accesscontrol\ace.cs (2)
2045objectAceType = Guid.NewGuid(); 2046inheritedObjectAceType = Guid.NewGuid();
system\sharedstatics.cs (1)
57_sharedStatics._Remoting_Identity_IDGuid = Guid.NewGuid().ToString().Replace('-', '_');
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
930return Guid.NewGuid().ToString();
PresentationCore (1)
Core\CSharp\System\Windows\Media\MediaContext.cs (1)
224_contextGuid = Guid.NewGuid();
PresentationFramework (7)
src\Framework\System\Windows\Annotations\Annotation.cs (1)
122_id = Guid.NewGuid();
src\Framework\System\Windows\Annotations\AnnotationResource.cs (2)
67_id = Guid.NewGuid(); 85_id = Guid.NewGuid();
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1192LastNavigation = Guid.NewGuid();
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
82GuidId = Guid.NewGuid();
src\Framework\System\Windows\Navigation\PageFunction.cs (1)
41PageFunctionId = Guid.NewGuid();
src\Framework\System\Windows\Standard\MessageWindow.cs (1)
74_className = "MessageWindowClass+" + Guid.NewGuid().ToString();
SMSvcHost (2)
System\ServiceModel\Activation\ActivatedMessageQueue.cs (1)
46Interlocked.Increment(ref listenerChannelIdCounter), Guid.NewGuid());
System\ServiceModel\Activation\SharingService.cs (1)
114controlServiceGuid = Guid.NewGuid();
System (21)
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (3)
72private static readonly Guid _extenderProviderKey = Guid.NewGuid(); 73private static readonly Guid _extenderPropertiesKey = Guid.NewGuid(); 74private static readonly Guid _extenderProviderPropertiesKey = Guid.NewGuid();
compmod\system\componentmodel\TypeDescriptor.cs (12)
73Guid.NewGuid(), // attributes 74Guid.NewGuid(), // properties 75Guid.NewGuid() // events 80Guid.NewGuid(), // attributes 81Guid.NewGuid(), // properties 82Guid.NewGuid() // events 87Guid.NewGuid(), // attributes 88Guid.NewGuid(), // properties 89Guid.NewGuid() // events 94Guid.NewGuid(), // attributes 95Guid.NewGuid(), // properties 96Guid.NewGuid() // events
compmod\system\diagnostics\CorrelationManager.cs (1)
49StartLogicalOperation(Guid.NewGuid());
compmod\system\diagnostics\TextWriterTraceListener.cs (1)
228fileNameOnly = Guid.NewGuid().ToString() + fileNameOnly;
net\System\Net\Internal.cs (1)
1734HttpWebRequest request = new HttpWebRequest(uriBuilder.Uri, null, true, "WebSocket" + Guid.NewGuid());
net\System\Net\mail\Attachment.cs (1)
218cid = Guid.NewGuid().ToString();
net\System\Net\mail\MimeMultiPart.cs (1)
214string boundaryString = "--boundary_" + b.ToString(CultureInfo.InvariantCulture)+"_"+Guid.NewGuid().ToString(null, CultureInfo.InvariantCulture);
net\System\Net\mail\SmtpClient.cs (1)
401filename = Guid.NewGuid().ToString() + ".eml";
System.Activities (5)
System\Activities\WorkflowApplication.cs (1)
259this.instanceId = Guid.NewGuid();
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (4)
447return desiredPrefix + Guid.NewGuid().ToString(); 482xClassName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty).Substring(0, 4)); 808propertyName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty)); 883this.propertyName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty));
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (1)
61modelItemToGuid.Add(destinationState, Guid.NewGuid().ToString());
System\Activities\Core\Presentation\StateDesigner.xaml.cs (1)
47this.guid = Guid.NewGuid();
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
69this.lockOwnerId = Guid.NewGuid();
System.Activities.Presentation (9)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
253return prefix + Guid.NewGuid().ToString();
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
219frameObject.IdRef = Guid.NewGuid().ToString();
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
43static readonly string WorkflowCallbackClipboardFormat = string.Format(CultureInfo.InvariantCulture, "WorkflowCallbackFormat{0}", Guid.NewGuid());
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
46string postfix = Guid.NewGuid().ToString();
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
73this.Identity = Guid.NewGuid();
System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
126Guid objectReferenceId = Guid.NewGuid();
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (3)
229prefix = string.Format(CultureInfo.InvariantCulture, "__{0}", Guid.NewGuid().ToString().Replace("-", "").Substring(0, 5)); 277Guid.NewGuid().ToString().Replace('-', '_'), name.Name); 278return new NamespaceDeclaration(ns, Guid.NewGuid().ToString());
System.AddIn (2)
System\Addin\Hosting\AddInProcess.cs (1)
360Guid guid = Guid.NewGuid();
System\Addin\Hosting\RemotingHelper.cs (1)
45props["portName"] = Guid.NewGuid().ToString();
System.Core (1)
System\Diagnostics\EventSchemaTraceListener.cs (1)
665path = fileNameWithoutExt + Guid.NewGuid().ToString() + fileExt;
System.Data (16)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
253return prefix + Guid.NewGuid().ToString();
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
219frameObject.IdRef = Guid.NewGuid().ToString();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
43static readonly string WorkflowCallbackClipboardFormat = string.Format(CultureInfo.InvariantCulture, "WorkflowCallbackFormat{0}", Guid.NewGuid());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
46string postfix = Guid.NewGuid().ToString();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
73this.Identity = Guid.NewGuid();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
126Guid objectReferenceId = Guid.NewGuid();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (3)
229prefix = string.Format(CultureInfo.InvariantCulture, "__{0}", Guid.NewGuid().ToString().Replace("-", "").Substring(0, 5)); 277Guid.NewGuid().ToString().Replace('-', '_'), name.Name); 278return new NamespaceDeclaration(ns, Guid.NewGuid().ToString());
fx\src\data\System\Data\Common\ActivityCorrelator.cs (1)
32this.Id = Guid.NewGuid();
fx\src\data\System\Data\SqlClient\SqlDependency.cs (3)
226private readonly string _id = Guid.NewGuid().ToString() + ";" + _appDomainKey; 248private static readonly string _appDomainKey = Guid.NewGuid().ToString(); 1192builder.Append(Guid.NewGuid().ToString());
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
100guid = Guid.NewGuid().ToString();
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
203Guid.NewGuid().ToString("D", System.Globalization.CultureInfo.InvariantCulture)
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
838string uniqueId = Guid.NewGuid().ToString("N");
System.Data.Entity (4)
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (1)
280Append(String.Format(CultureInfo.InvariantCulture, "MD-{0}", Guid.NewGuid()));
System\Data\Metadata\MetadataWorkspace.cs (1)
1486_metadataWorkspaceId = Guid.NewGuid();
System\Data\Objects\CompiledQuery.cs (1)
29private readonly Guid _cacheToken = Guid.NewGuid();
System\Data\SqlClient\SqlProviderServices.cs (1)
852string databaseName = databaseName = String.Format(CultureInfo.InvariantCulture, "{0}_{1}", strippedFileName, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture));
System.Data.Entity.Design (2)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
118string filename = Path.Combine(tempFiles.TempDir, "EdmCodeGenFixup-" + Guid.NewGuid().ToString() + ".tmp");
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
82assemblyAttribute = AttributeEmitter.EmitSimpleAttribute("System.Data.Objects.DataClasses.EdmSchemaAttribute", System.Guid.NewGuid().ToString());
System.Data.Services (2)
System\Data\Services\DataService.cs (2)
1842string batchBoundary = XmlConstants.HttpMultipartBoundaryBatchResponse + '_' + Guid.NewGuid().ToString(); 2391changesetBoundary = XmlConstants.HttpMultipartBoundaryChangesetResponse + '_' + Guid.NewGuid().ToString();
System.Data.Services.Client (4)
System\Data\Services\Client\DataServiceContext.cs (4)
4181this.batchBoundary = XmlConstants.HttpMultipartBoundaryBatch + "_" + Guid.NewGuid().ToString(); 4185this.batchBoundary = XmlConstants.HttpMultipartBoundaryBatchResponse + "_" + Guid.NewGuid().ToString(); 4860this.changesetBoundary = XmlConstants.HttpMultipartBoundaryChangesetResponse + "_" + Guid.NewGuid().ToString(); 5075this.changesetBoundary = XmlConstants.HttpMultipartBoundaryChangeSet + "_" + Guid.NewGuid().ToString();
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
277string filename = Path.Combine(tempFiles.TempDir, "EdmCodeGenFixup-" + Guid.NewGuid().ToString() + ".tmp");
System.IdentityModel (5)
System\IdentityModel\Metadata\MetadataSerializer.cs (2)
2154string entityReference = "_" + Guid.NewGuid().ToString(); 2241string entityReference = "_" + Guid.NewGuid().ToString();
System\IdentityModel\SecurityUniqueId.cs (1)
13static string commonPrefix = "uuid-" + Guid.NewGuid().ToString() + "-";
System\IdentityModel\Tokens\SamlAssertion.cs (1)
23string assertionId = SamlConstants.AssertionIdPrefix + Guid.NewGuid().ToString();
System\IdentityModel\UniqueId.cs (1)
135return Guid.NewGuid().ToString("D", CultureInfo.InvariantCulture);
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InfoCardProofToken.cs (1)
38m_id = Guid.NewGuid().ToString();
System.Management (1)
Instrumentation\Instrumentation.cs (1)
52processIdentity = Guid.NewGuid().ToString().ToLower(CultureInfo.InvariantCulture);
System.Net (1)
net\PeerToPeer\Collaboration\PeerObject.cs (1)
50m_id = Guid.NewGuid();
System.Runtime.Caching (1)
System\Caching\SqlChangeMonitor.cs (1)
24_uniqueId = Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture);
System.Runtime.Serialization (4)
System\Runtime\Serialization\Configuration\ParameterElement.cs (1)
97internal readonly Guid identity = Guid.NewGuid();
System\Runtime\Serialization\Configuration\TypeElement.cs (1)
120string key = Guid.NewGuid().ToString();
System\Xml\UniqueID.cs (1)
44public UniqueId() : this(Guid.NewGuid())
System\Xml\XmlMtomWriter.cs (1)
878prefix = string.Concat(Guid.NewGuid().ToString(), "+id=");
System.ServiceModel (34)
System\ServiceModel\Administration\AppDomainInfo.cs (1)
29this.instanceId = Guid.NewGuid();
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
83context.ListenUriRelativeAddress = Guid.NewGuid().ToString();
System\ServiceModel\Channels\MsmqDiagnostics.cs (1)
105activity = ServiceModelActivity.CreateBoundedActivityWithTransferInOnly(Guid.NewGuid());
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (1)
321string id = "uuid://session-gram/" + Guid.NewGuid().ToString();
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
264string id = "uuid:/session-gram/" + Guid.NewGuid();
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (1)
64string lockGuid = Guid.NewGuid().ToString();
System\ServiceModel\Channels\PeerHelpers.cs (1)
290Guid serviceGuid = Guid.NewGuid();
System\ServiceModel\Channels\PeerNodeImplementation.cs (1)
346Guid result = Guid.NewGuid();
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
104ssc = SelfSignedCertificate.Create("CN=" + Guid.NewGuid().ToString(), this.Password);
System\ServiceModel\Channels\PipeConnection.cs (2)
2165Uri tempUri = new Uri(pipeUri, Guid.NewGuid().ToString()); 2535Guid pipeGuid = Guid.NewGuid();
System\ServiceModel\Channels\SelfSignedCertificate.cs (1)
31Guid.NewGuid().ToString());
System\ServiceModel\Channels\ServiceChannel.cs (1)
667rpc.ActivityId = Guid.NewGuid();
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
340this.securityEventName = Guid.NewGuid().ToString();
System\ServiceModel\Channels\TransportChannelListener.cs (4)
136this.SetUri(context.ListenUriBaseAddress, relativeAddress + Guid.NewGuid().ToString()); 377exactGeneratedAddressPrefix = "Temporary_Listen_Addresses/" + Guid.NewGuid().ToString(); 378strongWildcardGeneratedAddressPrefix = "Temporary_Listen_Addresses/" + Guid.NewGuid().ToString(); 379weakWildcardGeneratedAddressPrefix = "Temporary_Listen_Addresses/" + Guid.NewGuid().ToString();
System\ServiceModel\Channels\UriGenerator.cs (1)
33prefix = string.Concat(scheme, ":", Guid.NewGuid().ToString(), delimiter, "id=");
System\ServiceModel\ComIntegration\ComPlusInstanceContextInitializer.cs (1)
25private static string manifestFileName = Guid.NewGuid().ToString();
System\ServiceModel\ComIntegration\EmitterCache.cs (2)
48assemblyName.Name = Guid.NewGuid().ToString(); 50DynamicModule = assemblyBuilder.DefineDynamicModule(Guid.NewGuid().ToString());
System\ServiceModel\ComIntegration\TypeLibraryHelper.cs (1)
104Guid guid = Guid.NewGuid();
System\ServiceModel\Configuration\DelegatingHandlerElement.cs (1)
16Guid id = Guid.NewGuid();
System\ServiceModel\Configuration\PeerCustomResolverElement.cs (1)
109SetPropertyValueIfNotDefaultValue(ConfigurationStrings.BindingConfiguration, PeerStrings.PeerCustomResolver + Guid.NewGuid().ToString());
System\ServiceModel\Description\ServiceEndpoint.cs (1)
170id = Guid.NewGuid().ToString();
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (1)
22this.headerId = Guid.NewGuid();
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (2)
123return ServiceModelActivity.CreateActivity(Guid.NewGuid(), true); 132ServiceModelActivity activity = ServiceModelActivity.CreateActivity(Guid.NewGuid(), true);
System\ServiceModel\Diagnostics\TraceUtility.cs (2)
1054activityId = Guid.NewGuid(); 1111guid = Guid.NewGuid();
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
320Guid registrationId = Guid.NewGuid();
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (1)
40clientId = Guid.NewGuid();
System\ServiceModel\Security\SecurityUtils.cs (1)
2393static string commonPrefix = "uuid-" + Guid.NewGuid().ToString() + "-";
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
196activityName = workflowService.Name.LocalName + "_" + Guid.NewGuid().ToString().Replace("-", "_");
System.ServiceModel.Activities (14)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (2)
542outgoingContextMessageProperty.Context.Add(ContextMessageProperty.InstanceIdKey, Guid.NewGuid().ToString()); 547outgoingContextMessageProperty.Context[ContextMessageProperty.InstanceIdKey] = Guid.NewGuid().ToString();
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (4)
524AssociateInstanceKeyToInstanceId = suggestedIdOrId == Guid.Empty ? Guid.NewGuid() : suggestedIdOrId, 564handle = this.store.CreateInstanceHandle(this.owner, suggestedIdOrId == Guid.Empty ? Guid.NewGuid() : suggestedIdOrId); 957this.context = new PersistenceContext(this.ppd, this.suggestedIdOrId == Guid.Empty ? Guid.NewGuid() : this.suggestedIdOrId, this.key, this.associatedKeys); 965this.suggestedIdOrId = Guid.NewGuid();
System\ServiceModel\Activities\InternalSendMessage.cs (5)
747e2eTracingId = Guid.NewGuid(); 765InstanceKey requestReplyCorrelationKey = new InstanceKey(Guid.NewGuid(), 783requestReplyCorrelationKey = new InstanceKey(Guid.NewGuid(), 1134instance.E2EActivityId = Guid.NewGuid(); 1506contextValue = Guid.NewGuid().ToString();
System\ServiceModel\Activities\Tracking\Configuration\TrackingQueryElement.cs (1)
51this.elementKey = Guid.NewGuid();
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (2)
29new EndpointAddress(new Uri(WorkflowControlEndpoint.DefaultBaseUri, new Uri(Guid.NewGuid().ToString(), UriKind.Relative)))) 118Guid.NewGuid().ToString()));
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpChannelListener.cs (2)
658this.listenUri = UdpUtility.AppendRelativePath(listenUriBaseAddress, Guid.NewGuid().ToString()); 668uriBuilder.Path = Guid.NewGuid().ToString();
System.ServiceModel.Internals (3)
System\Runtime\Diagnostics\EventTraceActivity.cs (2)
21: this(Guid.NewGuid(), setOnThread) 61guid = Guid.NewGuid();
System\Runtime\NameGenerator.cs (1)
20this.prefix = string.Concat("_", Guid.NewGuid().ToString().Replace('-', '_'), "_");
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\RoutingChannelExtension.cs (1)
30this.ActivityID = Guid.NewGuid();
System.Transactions (4)
System\Transactions\InternalTransaction.cs (1)
234string temp = Guid.NewGuid().ToString() + ":";
System\Transactions\Oletx\OletxResourceManager.cs (1)
1022enlistmentGuid = Guid.NewGuid();
System\Transactions\Oletx\OletxTransactionManager.cs (1)
982this.myGuid = Guid.NewGuid();
System\Transactions\Transaction.cs (1)
1478private static string CurrentTransactionProperty = "TxCurrent_" + Guid.NewGuid().ToString();
System.Web (16)
Cache\SqlCacheDependency.cs (1)
128_uniqueID = Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture);
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
680call.Parameters.Add(new CodePrimitiveExpression(Guid.NewGuid().ToString()));
DataAccess\SqlConnectionHelper.cs (2)
223databaseName = strippedFileName.Substring(0, 30) + "_" + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 225databaseName = strippedFileName + "_" + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture);
DynamicModuleRegistry.cs (1)
49return String.Format(CultureInfo.InvariantCulture, _moduleNameFormat, moduleType.AssemblyQualifiedName, Guid.NewGuid());
Hosting\HostingEnvironment.cs (1)
1517s_appDomainUniqueInteger = Guid.NewGuid().GetHashCode();
Management\WebEvents.cs (1)
227_id = Guid.NewGuid();
OutputCacheModule.cs (1)
47_cachedVaryId = Guid.NewGuid();
Security\AnonymousIdentificationModule.cs (1)
228context.Request.AnonymousID = Guid.NewGuid().ToString("D", CultureInfo.InvariantCulture);
UI\PartialCachingControl.cs (1)
829_cachedVaryId = Guid.NewGuid();
UI\WebParts\WebPartManager.cs (2)
1927int guidHash = Math.Abs(Guid.NewGuid().GetHashCode()); 1940int guidHash = Math.Abs(Guid.NewGuid().GetHashCode());
Util\ActivityIdHelper.cs (1)
22private static readonly Guid _baseGuid = Guid.NewGuid();
Util\FactoryGenerator.cs (1)
108return Guid.NewGuid().ToString().Replace('-', '_');
Util\FastPropertyAccessor.cs (1)
59return Guid.NewGuid().ToString().Replace('-', '_');
XmlSiteMapProvider.cs (1)
792key = Guid.NewGuid().ToString();
System.Web.ApplicationServices (1)
Hosting\CustomLoaderHelper.cs (1)
65AppDomain newAppDomainForCustomLoader = AppDomain.CreateDomain("aspnet-custom-loader-" + Guid.NewGuid(), null, setup);
System.Web.DataVisualization (6)
WebForm\ChartWebControl.cs (2)
470_currentChartImageLocation = _currentChartImageLocation.Replace("#UID", Guid.NewGuid().ToString()); 597htmlImage.ImageUrl = chartImageSrc + (addGuidParameter ? "?" + Guid.NewGuid().ToString() : "");
WebForm\General\ChartHttpHandler.cs (4)
99private static string _machineHash = "_" + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture) + "_"; 464string guidKey = Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 834private string _sesionKey = "chartKey-" + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 1238String testFileName = fileDirectory + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture);
System.Web.Extensions (7)
ClientServices\Providers\ClientData.cs (1)
303string name = Guid.NewGuid().ToString("N");
ClientServices\Providers\SqlHelper.cs (1)
102string name = Guid.NewGuid().ToString("N");
Compilation\WCFModel\DataSvcMapFile.cs (1)
116_id = Guid.NewGuid().ToString();
Compilation\WCFModel\MetadataFile.cs (3)
71m_ID = Guid.NewGuid().ToString(); 86m_ID = Guid.NewGuid().ToString(); 108m_ID = Guid.NewGuid().ToString();
Compilation\WCFModel\SvcMapFile.cs (1)
116_id = Guid.NewGuid().ToString();
System.Web.Mobile (4)
UI\MobileControls\Adapters\MultiPartWriter.cs (1)
53return Guid.NewGuid().ToString() + filetype;
UI\MobileControls\Design\Util\TemporaryBitmapFile.cs (1)
36_path = Path.GetTempPath() + Guid.NewGuid().ToString() + ".bmp";
UI\MobileControls\FactoryGenerator.cs (1)
116return Guid.NewGuid().ToString().Replace('-', '_');
UI\MobileControls\MobileControlsSectionHandler.cs (1)
124deviceName = Guid.NewGuid().ToString();
System.Workflow.Activities (6)
Delay.cs (2)
93this.SetValue(QueueNameProperty, Guid.NewGuid()); 172static DependencyProperty SubscriptionIDProperty = DependencyProperty.Register("SubscriptionID", typeof(Guid), typeof(DelayActivity), new PropertyMetadata(Guid.NewGuid()));
Executors\WorkflowWebService.cs (1)
173workflowInstanceId = Guid.NewGuid();
LocalService\MessageEventSubscriptionService.cs (1)
37: this(queueName, instanceId, Guid.NewGuid())
LocalService\MethodMessage.cs (1)
83callbackCookie = Guid.NewGuid();
StateMachineSubscription.cs (1)
120this.SubscriptionId = Guid.NewGuid();
System.Workflow.ComponentModel (4)
AuthoringOM\ActivityExecutionContextCollection.cs (1)
112ActivityExecutionContextInfo contextInfo = new ActivityExecutionContextInfo(activity.QualifiedName, this.ownerContext.WorkflowCoreRuntime.GetNewContextActivityId(), Guid.NewGuid(), this.ownerContext.ContextId);
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
269this.guid = Guid.NewGuid();
AuthoringOM\Compiler\XomlCompiler.cs (1)
518createdDirectoryName = Path.GetTempPath() + "\\" + Guid.NewGuid();
AuthoringOM\ScheduleChanges.cs (1)
142((Activity)this.clonedRootActivity).SetValue(WorkflowChanges.WorkflowChangeVersionProperty, Guid.NewGuid());
System.Workflow.Runtime (11)
DebugEngine\DebugController.cs (2)
1064this.typeToGuid[scheduleType] = Guid.NewGuid(); 1076this.xomlHashToGuid[scheduleDefHashCode] = Guid.NewGuid();
Hosting\SqlWorkflowPersistenceService.cs (2)
765_serviceInstanceId = Guid.NewGuid(); 813_serviceInstanceId = Guid.NewGuid();
TimerEventSubscription.cs (1)
79: this(Guid.NewGuid(), workflowInstanceId, expiresAt)
WorkflowExecutor.cs (2)
34internal readonly static DependencyProperty WorkflowInstanceIdProperty = DependencyProperty.RegisterAttached("WorkflowInstanceId", typeof(Guid), typeof(WorkflowExecutor), new PropertyMetadata(Guid.NewGuid())); 2837WorkflowInstance instance = this.WorkflowRuntime.InternalCreateWorkflow(new CreationContext(workflowType, this, this.CurrentActivity.QualifiedName, namedArgumentValues), Guid.NewGuid());
WorkflowRuntime.cs (4)
115private Guid _uid = Guid.NewGuid(); 364return InternalCreateWorkflow(new CreationContext(workflowType, null, null, null), Guid.NewGuid()); 369return CreateWorkflow(workflowType, namedArgumentValues, Guid.NewGuid()); 383return CreateWorkflow(workflowDefinitionReader, rulesReader, namedArgumentValues, Guid.NewGuid());
System.WorkflowServices (8)
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (1)
102instanceId = Guid.NewGuid();
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (1)
589this.hostId = Guid.NewGuid();
System\Workflow\Activities\ContractType.cs (1)
119this.guid = Guid.NewGuid();
System\Workflow\Activities\LogicalChannel.cs (2)
37this.instanceId = Guid.NewGuid(); 42this.instanceId = Guid.NewGuid();
System\Workflow\Activities\ReceiveContext.cs (1)
80new KeyValuePair<string, string>(WellKnownContextProperties.ConversationId, Guid.NewGuid().ToString()));
System\Workflow\Runtime\CompiledWorkflowDefinitionContext.cs (1)
51return this.CreateWorkflow(Guid.NewGuid());
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (1)
152return this.CreateWorkflow(Guid.NewGuid());
WindowsBase (6)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (1)
1089new string(Base32EncodeWithoutPadding(Guid.NewGuid().ToByteArray()));
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
690return String.Concat("R", Guid.NewGuid().ToString("N").Substring(0, _timestampLength));
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
819+ Guid.NewGuid().ToString(_guidStorageFormatString, (IFormatProvider)null)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
1267Guid.NewGuid().ToString(_guidStorageFormatString, (IFormatProvider)null) + _defaultSignaturePartNameExtension, UriKind.Relative));
Base\System\Security\RightsManagement\UnsignedPublishLicense.cs (1)
61_contentId = Guid.NewGuid();
Shared\MS\Win32\HwndWrapper.cs (1)
126string randomName = Guid.NewGuid().ToString();
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (1)
149appDomain = XamlBuildTaskServices.CreateAppDomain("CompilationPass2AppDomain_" + Guid.NewGuid(), BuildTaskPath);
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (1)
266return XamlBuildTaskServices.CreateAppDomain("PartialClassAppDomain_" + Guid.NewGuid(), BuildTaskPath);