15 references to Extension
Microsoft.CodeAnalysis.Workspaces.UnitTests (15)
ExtensionOrdererTests.cs (15)
26var extensions = new List<Lazy<Extension, OrderableMetadata>>() { d, b, a, c, e };
43var extensions = new List<Lazy<Extension, OrderableMetadata>>() { d, b, a, c, e };
60var extensions = new List<Lazy<Extension, OrderableMetadata>>() { d, b, a, c, e };
77var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e };
94var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e };
109var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c };
124var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c };
143var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e, f, g };
162var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e, f, g };
180var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e, f };
198var extensions = new List<Lazy<Extension, OrderableMetadata>>() { a, b, c, d, e, f };
208private static Lazy<Extension, OrderableMetadata> CreateExtension(string? name = null, IEnumerable<string>? before = null, IEnumerable<string>? after = null)
209=> new Lazy<Extension, OrderableMetadata>(new OrderableMetadata(name, before: before, after: after));
211private static IEnumerable<string?> GetNames(IEnumerable<Lazy<Extension, OrderableMetadata>> actual)
214private static void VerifyOrder(string expected, IEnumerable<Lazy<Extension, OrderableMetadata>> actual)