public RecordingSession(RepositorySharedContext context) { this.context = context; this.oldCounter = ProfilerInterceptor.ReentrancyCounter; ProfilerInterceptor.ReentrancyCounter = 0; }
public InRecordingContext(RepositorySharedContext context) : base(context) { this.oldCounter = ProfilerInterceptor.ReentrancyCounter; ProfilerInterceptor.ReentrancyCounter = 0; }
public InCreateContext(RepositorySharedContext context) { this.context = context; Debug.Assert(!context.InCreate); context.InCreate = true; }
public InArrangeContext(RepositorySharedContext context) { this.context = context; Debug.Assert(!context.InArrange); context.InArrange = true; }
public InAssertSetContext(RepositorySharedContext context) : base(context) { Debug.Assert(!this.Context.InAssertSet); context.InAssertSet = true; }
public InArrangeArgMatchingContext(RepositorySharedContext context) : base(context) { Debug.Assert(!this.Context.InArrangeArgMatching); context.InArrangeArgMatching = true; }
public InArrangeContext(RepositorySharedContext context) : base(context) { Debug.Assert(!this.Context.InArrange); context.InArrange = true; }
public ContextSession(RepositorySharedContext context) { this.context = context; }
public InRunClassConstructorContext(RepositorySharedContext context) : base(context) { context.RunClassConstructorCount++; }