This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using AutoFixture; | |
using AutoFixture.Xunit2; | |
using Xunit; | |
using Xunit.Sdk; | |
namespace CustomMyDataAttributesDemo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DiagnosticsSubstitutionContext : ISubstitutionContext | |
{ | |
[ThreadStatic] | |
private static IList<IArgumentSpecification> LastDequeuedList; | |
private static ConcurrentDictionary<IArgumentSpecification, ArgumentInfo> ArgumentInfos { get; } = new ConcurrentDictionary<IArgumentSpecification, ArgumentInfo>(); | |
private class ArgumentInfo | |
{ | |
public string CreationStack { get; } | |
public int DequeueCounter { get; set; } |