31 references to Current
System.Workflow.ComponentModel (31)
AuthoringOM\Compiler\Validation\ActivityValidator.cs (1)
55
System.Diagnostics.Debug.Assert(manager.Context.
Current
== activity, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (2)
141
System.Diagnostics.Debug.Assert(manager.Context.
Current
== childContext, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
169
System.Diagnostics.Debug.Assert(manager.Context.
Current
== propertyValidationContext, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
AuthoringOM\Compiler\Validation\Validator.cs (2)
127
System.Diagnostics.Debug.Assert(manager.Context.
Current
== childContext, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
135
System.Diagnostics.Debug.Assert(manager.Context.
Current
== propertyValidationContext, "Unwinding contextStack: the item that is about to be popped is not the one we pushed.");
AuthoringOM\Design\ComponentSerializationService.cs (3)
206
xomlSerializationManager.Context.
Current
is Activity
208
WorkflowMarkupSerializationHelpers.ProcessDefTag(xomlSerializationManager, eventArgs.XmlReader, xomlSerializationManager.Context.
Current
as Activity, true, string.Empty);
258
System.Diagnostics.Debug.Assert(obj == xomlSerializationManager.Context.
Current
, "Serialization Store did not remove object which it pushed onto the stack.");
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
194
object extendee = manager.Context.
Current
;
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (1)
163
Debug.Assert((PropertyInfo)serializationManager.Context.
Current
== serializableProperty, "Serializer did not remove an object it pushed into stack.");
AuthoringOM\Serializer\PropertySegmentSerializer.cs (1)
35
return Activator.CreateInstance(type, new object[] { serializationManager as IServiceProvider, serializationManager.Context.
Current
});
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (20)
84
WorkflowMarkupSerializationHelpers.ProcessDefTag(markupSerializationManager, eventArgs.XmlReader, markupSerializationManager.Context.
Current
as Activity, false, fileName);
252
Debug.Assert(serializationManager.Context.
Current
== obj, "Serializer did not remove an object it pushed into stack.");
358
Debug.Assert(serializationManager.Context.
Current
== dependencyProperty, "Serializer did not remove an object it pushed into stack.");
374
Debug.Assert((PropertyInfo)serializationManager.Context.
Current
== property, "Serializer did not remove an object it pushed into stack.");
390
Debug.Assert((EventInfo)serializationManager.Context.
Current
== evt, "Serializer did not remove an object it pushed into stack.");
479
Debug.Assert(serializationManager.Context.
Current
== dependencyProperty, "Serializer did not remove an object it pushed into stack.");
493
Debug.Assert((PropertyInfo)serializationManager.Context.
Current
== property, "Serializer did not remove an object it pushed into stack.");
577
Debug.Assert(serializationManager.Context.
Current
== obj, "Serializer did not remove an object it pushed into stack.");
937
Debug.Assert(serializationManager.Context.
Current
== propertyObj, "Serializer did not remove an object it pushed into stack.");
1154
PropertyInfo property = serializationManager.Context.
Current
as PropertyInfo;
1799
DependencyProperty dependencyProperty = serializationManager.Context.
Current
as DependencyProperty;
1800
PropertyInfo property = serializationManager.Context.
Current
as PropertyInfo;
1913
DependencyProperty dependencyProperty = serializationManager.Context.
Current
as DependencyProperty;
1914
PropertyInfo property = serializationManager.Context.
Current
as PropertyInfo;
1944
EventInfo evt = serializationManager.Context.
Current
as EventInfo;
1945
DependencyProperty dependencyEvent = serializationManager.Context.
Current
as DependencyProperty;
1976
DependencyProperty dependencyProperty = serializationManager.Context.
Current
as DependencyProperty;
1991
EventInfo evt = serializationManager.Context.
Current
as EventInfo;
2007
PropertyInfo property = serializationManager.Context.
Current
as PropertyInfo;
2642
Debug.Assert((PropertyInfo)serializationManager.Context.
Current
== property, "Serializer did not remove an object it pushed into stack.");