CodeProfilerTests StoppingWithoutHavingStartedThrowsException Method Delta Engine Documentation

Namespace: DeltaEngine.Profiling.Tests
Assembly: DeltaEngine.Profiling.Tests (in DeltaEngine.Profiling.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void StoppingWithoutHavingStartedThrowsException()
Examples

[Test]
public void StoppingWithoutHavingStartedThrowsException()
{
    var profiler = new CodeProfiler();
    Assert.Throws<CodeProfiler.SectionNeverStarted>(
        () => profiler.Stop(ProfilingMode.Rendering, Section));
}
See Also