1 instantiation of WorkflowCompilationContext
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\XomlCompiler.cs (1)
270WorkflowCompilationContext.Current = new WorkflowCompilationContext(this);
40 references to WorkflowCompilationContext
System.Workflow.Activities (9)
Rules\DeclarativeExpressionConditionDeclaration.cs (3)
393IDisposable localContextScope = (WorkflowCompilationContext.Current == null ? WorkflowCompilationContext.CreateScope(manager) : null); 396RuleValidation ruleValidator = new RuleValidation(activity, typeProvider, WorkflowCompilationContext.Current.CheckTypes);
Rules\Design\Dialogs\RuleSetBrowserDialog.cs (1)
110using (WorkflowCompilationContext.CreateScope(manager))
Rules\RuleSetReference.cs (3)
148IDisposable localContextScope = (WorkflowCompilationContext.Current == null ? WorkflowCompilationContext.CreateScope(manager) : null); 152RuleValidation validation = new RuleValidation(activity, typeProvider, WorkflowCompilationContext.Current.CheckTypes);
Rules\RuleValidation.cs (2)
942Debug.Assert(WorkflowCompilationContext.Current != null, "Can't have checkTypes set to true without a context in scope"); 943this.authorizedTypes = WorkflowCompilationContext.Current.GetAuthorizedTypes();
System.Workflow.ComponentModel (29)
AuthoringOM\Bind.cs (2)
260Debug.Assert(WorkflowCompilationContext.Current != null, "Can't have checkTypes set to true without a context in scope"); 261IList<AuthorizedType> authorizedTypes = WorkflowCompilationContext.Current.GetAuthorizedTypes();
AuthoringOM\Compiler\Validation\BindValidator.cs (6)
152IDisposable localContextScope = (WorkflowCompilationContext.Current == null ? WorkflowCompilationContext.CreateScope(manager) : null); 155if (WorkflowCompilationContext.Current.CheckTypes) 349IDisposable localContextScope = (WorkflowCompilationContext.Current == null ? WorkflowCompilationContext.CreateScope(manager) : null); 352if (WorkflowCompilationContext.Current.CheckTypes)
AuthoringOM\Compiler\XomlCompiler.cs (11)
115static WorkflowCompilationContext current = null; 125public static WorkflowCompilationContext Current 129return WorkflowCompilationContext.current; 133WorkflowCompilationContext.current = value; 263WorkflowCompilationContext currentContext; 269this.currentContext = WorkflowCompilationContext.Current; 270WorkflowCompilationContext.Current = new WorkflowCompilationContext(this); 296WorkflowCompilationContext.Current = this.currentContext; 751using (WorkflowCompilationContext.CreateScope(serviceContainer, parameters)) 1017WorkflowCompilationContext context = WorkflowCompilationContext.Current;
AuthoringOM\Compiler\XomlCompilerHelpers.cs (7)
62authorizedTypes = WorkflowCompilationContext.Current.GetAuthorizedTypes(); 71ITypeProvider typeProvider = WorkflowCompilationContext.Current.ServiceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 155DesignerSerializationManager manager = new DesignerSerializationManager(WorkflowCompilationContext.Current.ServiceProvider); 204WorkflowCompilationContext context = WorkflowCompilationContext.Current; 215CodeGenerationManager codeGenerationManager = new CodeGenerationManager(WorkflowCompilationContext.Current.ServiceProvider); 666ValidationManager validationManager = new ValidationManager(WorkflowCompilationContext.Current.ServiceProvider);
AuthoringOM\Design\ActivityDesigner.cs (1)
445using (WorkflowCompilationContext.CreateScope(validationManager))
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
279using (WorkflowCompilationContext.CreateScope(manager))
AuthoringOM\ScheduleChanges.cs (1)
106using (WorkflowCompilationContext.CreateScope(validationManager))
System.Workflow.Runtime (2)
System\Activities\Statements\Interop.cs (1)
1016using (WorkflowCompilationContext.CreateScope(manager))
WorkflowDefinitionDispenser.cs (1)
231using (WorkflowCompilationContext.CreateScope(validationManager))