2 writes to Current
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\XomlCompiler.cs (2)
270
WorkflowCompilationContext.
Current
= new WorkflowCompilationContext(this);
296
WorkflowCompilationContext.
Current
= this.currentContext;
20 references to Current
System.Workflow.Activities (6)
Rules\DeclarativeExpressionConditionDeclaration.cs (2)
393
IDisposable localContextScope = (WorkflowCompilationContext.
Current
== null ? WorkflowCompilationContext.CreateScope(manager) : null);
396
RuleValidation ruleValidator = new RuleValidation(activity, typeProvider, WorkflowCompilationContext.
Current
.CheckTypes);
Rules\RuleSetReference.cs (2)
148
IDisposable localContextScope = (WorkflowCompilationContext.
Current
== null ? WorkflowCompilationContext.CreateScope(manager) : null);
152
RuleValidation validation = new RuleValidation(activity, typeProvider, WorkflowCompilationContext.
Current
.CheckTypes);
Rules\RuleValidation.cs (2)
942
Debug.Assert(WorkflowCompilationContext.
Current
!= null, "Can't have checkTypes set to true without a context in scope");
943
this.authorizedTypes = WorkflowCompilationContext.
Current
.GetAuthorizedTypes();
System.Workflow.ComponentModel (14)
AuthoringOM\Bind.cs (2)
260
Debug.Assert(WorkflowCompilationContext.
Current
!= null, "Can't have checkTypes set to true without a context in scope");
261
IList<AuthorizedType> authorizedTypes = WorkflowCompilationContext.
Current
.GetAuthorizedTypes();
AuthoringOM\Compiler\Validation\BindValidator.cs (4)
152
IDisposable localContextScope = (WorkflowCompilationContext.
Current
== null ? WorkflowCompilationContext.CreateScope(manager) : null);
155
if (WorkflowCompilationContext.
Current
.CheckTypes)
349
IDisposable localContextScope = (WorkflowCompilationContext.
Current
== null ? WorkflowCompilationContext.CreateScope(manager) : null);
352
if (WorkflowCompilationContext.
Current
.CheckTypes)
AuthoringOM\Compiler\XomlCompiler.cs (2)
269
this.currentContext = WorkflowCompilationContext.
Current
;
1017
WorkflowCompilationContext context = WorkflowCompilationContext.
Current
;
AuthoringOM\Compiler\XomlCompilerHelpers.cs (6)
62
authorizedTypes = WorkflowCompilationContext.
Current
.GetAuthorizedTypes();
71
ITypeProvider typeProvider = WorkflowCompilationContext.
Current
.ServiceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider;
155
DesignerSerializationManager manager = new DesignerSerializationManager(WorkflowCompilationContext.
Current
.ServiceProvider);
204
WorkflowCompilationContext context = WorkflowCompilationContext.
Current
;
215
CodeGenerationManager codeGenerationManager = new CodeGenerationManager(WorkflowCompilationContext.
Current
.ServiceProvider);
666
ValidationManager validationManager = new ValidationManager(WorkflowCompilationContext.
Current
.ServiceProvider);