1 instantiation of WorkflowCompilationContext
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\XomlCompiler.cs (1)
270
WorkflowCompilationContext.Current = new
WorkflowCompilationContext
(this);
40 references to WorkflowCompilationContext
System.Workflow.Activities (9)
Rules\DeclarativeExpressionConditionDeclaration.cs (3)
393
IDisposable localContextScope = (
WorkflowCompilationContext
.Current == null ?
WorkflowCompilationContext
.CreateScope(manager) : null);
396
RuleValidation ruleValidator = new RuleValidation(activity, typeProvider,
WorkflowCompilationContext
.Current.CheckTypes);
Rules\Design\Dialogs\RuleSetBrowserDialog.cs (1)
110
using (
WorkflowCompilationContext
.CreateScope(manager))
Rules\RuleSetReference.cs (3)
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 (29)
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 (6)
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 (11)
115
static
WorkflowCompilationContext
current = null;
125
public static
WorkflowCompilationContext
Current
129
return
WorkflowCompilationContext
.current;
133
WorkflowCompilationContext
.current = value;
263
WorkflowCompilationContext
currentContext;
269
this.currentContext =
WorkflowCompilationContext
.Current;
270
WorkflowCompilationContext
.Current = new WorkflowCompilationContext(this);
296
WorkflowCompilationContext
.Current = this.currentContext;
751
using (
WorkflowCompilationContext
.CreateScope(serviceContainer, parameters))
1017
WorkflowCompilationContext
context =
WorkflowCompilationContext
.Current;
AuthoringOM\Compiler\XomlCompilerHelpers.cs (7)
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);
AuthoringOM\Design\ActivityDesigner.cs (1)
445
using (
WorkflowCompilationContext
.CreateScope(validationManager))
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
279
using (
WorkflowCompilationContext
.CreateScope(manager))
AuthoringOM\ScheduleChanges.cs (1)
106
using (
WorkflowCompilationContext
.CreateScope(validationManager))
System.Workflow.Runtime (2)
System\Activities\Statements\Interop.cs (1)
1016
using (
WorkflowCompilationContext
.CreateScope(manager))
WorkflowDefinitionDispenser.cs (1)
231
using (
WorkflowCompilationContext
.CreateScope(validationManager))