13 interfaces inheriting from IList
Aspire.Hosting (1)
ApplicationModel\IResourceCollection.cs (1)
9public interface IResourceCollection : IList<IResource>
Microsoft.Extensions.DependencyInjection.Abstractions (1)
IServiceCollection.cs (1)
11public interface IServiceCollection : IList<ServiceDescriptor>
Microsoft.Maui (7)
Core\IContainer.cs (1)
8 public interface IContainer : IList<IView>
Core\IMenuBar.cs (1)
9 public interface IMenuBar : IList<IMenuBarItem>, IElement
Core\IMenuBarItem.cs (1)
8 public interface IMenuBarItem : IList<IMenuElement>, IElement
Core\IMenuFlyout.cs (1)
8 public interface IMenuFlyout : IList<IMenuElement>, IFlyout
Core\IMenuFlyoutSubItem.cs (1)
8 public interface IMenuFlyoutSubItem : IMenuFlyoutItem, IList<IMenuElement>
Core\ISwipeItems.cs (1)
8 public interface ISwipeItems : IList<ISwipeItem>
Hosting\Fonts\IFontCollection.cs (1)
9 public interface IFontCollection : IList<FontDescriptor>, ICollection<FontDescriptor>, IEnumerable<FontDescriptor>, IEnumerable
Microsoft.Maui.Controls (3)
LegacyLayouts\AbsoluteLayout.cs (1)
304 public interface IAbsoluteList<T> : IList<T> where T : View
LegacyLayouts\Grid.cs (1)
293 public interface IGridList<T> : IList<T> where T : View
LegacyLayouts\RelativeLayout.cs (1)
341 public interface IRelativeList<T> : IList<T> where T : View
Microsoft.Maui.Maps (1)
Core\IGeoPathMapElement.cs (1)
6 public interface IGeoPathMapElement : IMapElement, IList<Location>
279 implementations of IList
aspire (1)
src\Shared\CircularBuffer.cs (1)
16internal sealed class CircularBuffer<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
16internal sealed class CircularBuffer<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Aspire.Hosting (1)
src\Shared\CircularBuffer.cs (1)
16internal sealed class CircularBuffer<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
11public class SynchronizedCollection<T> : IList<T>, IList
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
10public class SynchronizedReadOnlyCollection<T> : IList<T>, IList
Shared\Options\ListValue.cs (1)
19internal class ListValue<TValue> : ICollection, IList<TValue>, IList
GenerateDocumentationAndConfigFiles (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Metrics (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Metrics.Legacy (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.AspNetCore.Http.Abstractions (10)
EndpointFilterInvocationContextOfT.Generated.cs (10)
12internal sealed class EndpointFilterInvocationContext<T0> : EndpointFilterInvocationContext, IList<object?> 134internal sealed class EndpointFilterInvocationContext<T0, T1> : EndpointFilterInvocationContext, IList<object?> 263internal sealed class EndpointFilterInvocationContext<T0, T1, T2> : EndpointFilterInvocationContext, IList<object?> 399internal sealed class EndpointFilterInvocationContext<T0, T1, T2, T3> : EndpointFilterInvocationContext, IList<object?> 542internal sealed class EndpointFilterInvocationContext<T0, T1, T2, T3, T4> : EndpointFilterInvocationContext, IList<object?> 692internal sealed class EndpointFilterInvocationContext<T0, T1, T2, T3, T4, T5> : EndpointFilterInvocationContext, IList<object?> 849internal sealed class EndpointFilterInvocationContext<T0, T1, T2, T3, T4, T5, T6> : EndpointFilterInvocationContext, IList<object?> 1013internal sealed class EndpointFilterInvocationContext<T0, T1, T2, T3, T4, T5, T6, T7> : EndpointFilterInvocationContext, IList<object?> 1184internal sealed class EndpointFilterInvocationContext<T0, T1, T2, T3, T4, T5, T6, T7, T8> : EndpointFilterInvocationContext, IList<object?> 1362internal sealed class EndpointFilterInvocationContext<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> : EndpointFilterInvocationContext, IList<object?>
Microsoft.AspNetCore.HttpOverrides (2)
DualIPNetworkList.cs (2)
17internal sealed class DualIPNetworkList : IList<IPNetwork>, IList<AspNetIPNetwork>
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\CopyOnWriteList.cs (1)
12internal sealed class CopyOnWriteList<T> : IList<T>
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
CollectionModelBinderIntegrationTest.cs (2)
1288private class ExplicitClosedGenericList : IList<string> 1428private class ExplicitList<T> : IList<T>
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
9public class TagHelperAttributeList : ReadOnlyTagHelperAttributeList, IList<TagHelperAttribute>
Microsoft.CodeAnalysis (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.BannedApiAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.CodeStyle (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.Collections.Package (7)
Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.Extensions.Package (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.InteractiveHost (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.PublicApiAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.Scripting (1)
Hosting\SynchronizedList.cs (1)
12internal class SynchronizedList<T> : IList<T>
Microsoft.CodeAnalysis.Threading.Package (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\GeneratedEmbeddings.cs (1)
14public sealed class GeneratedEmbeddings<TEmbedding> : IList<TEmbedding>, IReadOnlyList<TEmbedding>
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
186private sealed class ConfigurationSources : IList<IConfigurationSource>
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
19public readonly struct StringValues : IList<string?>, IReadOnlyList<string?>, IEquatable<StringValues>, IEquatable<string?>, IEquatable<string?[]?>
Microsoft.Maui (1)
Primitives\LockableObservableListWrapper.cs (1)
12 public class LockableObservableListWrapper : IList<string>, ICollection<string>, INotifyCollectionChanged, INotifyPropertyChanged, IReadOnlyList<string>, IReadOnlyCollection<string>, IEnumerable<string>, IEnumerable
Microsoft.Maui.Controls (18)
DefinitionCollection.cs (1)
8 public class DefinitionCollection<T> : IList<T>, ICollection<T> where T : IDefinition
Element\Element.cs (1)
1075 class TemporaryWrapper : IList<Element>
Interactivity\TriggerBase.cs (1)
131 internal class SealedList<T> : IList<T>
Items\SelectionList.cs (1)
10 internal class SelectionList : IList<object>
Layout\Layout.cs (1)
19 public abstract partial class Layout : View, Maui.ILayout, IList<IView>, IBindableLayout, IPaddingElement, IVisualTreeElement, ISafeAreaView, IInputTransparentContainerElement
NavigationStepRequest.cs (1)
22 class NavigatingStepRequestList : IList<NavigationStepRequest>
ObservableWrapper.cs (1)
10 internal class ObservableWrapper<TTrack, TRestrict> : IList<TRestrict>, IList, INotifyCollectionChanged where TTrack : Element where TRestrict : TTrack
OrderedDictionary.cs (2)
40 internal sealed class OrderedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IList<KeyValuePair<TKey, TValue>> 367 class ReadOnlyValueCollection : IList<TValue>
ReadOnlyCastingList.cs (1)
69 class CastingList<T, TFrom> : IList<T>
Shell\MenuItemCollection.cs (1)
10 public sealed class MenuItemCollection : IEnumerable<MenuItem>, IList<MenuItem>, INotifyCollectionChanged
Shell\ShellElementCollection.cs (2)
14 IList<BaseShellItem>, 279 IList<TBaseShellItem>
SwipeView\SwipeItems.cs (1)
13 public class SwipeItems : Element, IList<ISwipeItem>, INotifyCollectionChanged
SynchronizedList.cs (1)
9 internal class SynchronizedList<T> : IList<T>, IReadOnlyList<T>
TableView\TableSection.cs (1)
13 public abstract class TableSectionBase<T> : TableSectionBase, IList<T>, IVisualTreeElement, INotifyCollectionChanged where T : BindableObject
VisualStateManager.cs (2)
149 public class VisualStateGroupList : IList<VisualStateGroup> 725 internal class WatchAddList<T> : IList<T>
PresentationCore (37)
MS\Internal\PartialArray.cs (1)
13internal struct PartialArray<T> : IList<T>
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
21internal sealed class ThousandthOfEmRealDoubles : IList<double>
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
17internal sealed class ThousandthOfEmRealPoints : IList<Point>
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
27internal abstract class CharacterBuffer : IList<char>
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
26internal class PartialList<T> : IList<T>
System\Windows\FreezableCollection.cs (1)
24public class FreezableCollection<T>: Animatable, IList, IList<T>, INotifyCollectionChanged, INotifyPropertyChanged
System\Windows\Generated\TextDecorationCollection.cs (1)
22public sealed partial class TextDecorationCollection : Animatable, IList, IList<TextDecoration>
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
21public sealed partial class TimelineCollection : Animatable, IList, IList<Timeline>
System\Windows\Media\DrawingCollection.cs (1)
18public sealed partial class DrawingCollection : Animatable, IList, IList<Drawing>
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
24public sealed partial class BitmapEffectCollection : Animatable, IList, IList<BitmapEffect>
System\Windows\Media\FamilyMapCollection.cs (1)
12public sealed class FontFamilyMapCollection : IList<FontFamilyMap>, SC.IList
System\Windows\Media\FamilyTypefaceCollection.cs (1)
11public sealed class FamilyTypefaceCollection : IList<FamilyTypeface>, SC.IList
System\Windows\Media\Generated\DoubleCollection.cs (1)
32public sealed partial class DoubleCollection : Freezable, IFormattable, IList, IList<double>
System\Windows\Media\Generated\DrawingCollection.cs (1)
31public sealed partial class DrawingCollection : Animatable, IList, IList<Drawing>
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
31public sealed partial class GeneralTransformCollection : Animatable, IList, IList<GeneralTransform>
System\Windows\Media\Generated\GeometryCollection.cs (1)
31public sealed partial class GeometryCollection : Animatable, IList, IList<Geometry>
System\Windows\Media\Generated\GradientStopCollection.cs (1)
31public sealed partial class GradientStopCollection : Animatable, IFormattable, IList, IList<GradientStop>
System\Windows\Media\Generated\Int32Collection.cs (1)
32public sealed partial class Int32Collection : Freezable, IFormattable, IList, IList<int>
System\Windows\Media\Generated\PathFigureCollection.cs (1)
32public sealed partial class PathFigureCollection : Animatable, IFormattable, IList, IList<PathFigure>
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
31public sealed partial class PathSegmentCollection : Animatable, IList, IList<PathSegment>
System\Windows\Media\Generated\PointCollection.cs (1)
32public sealed partial class PointCollection : Freezable, IFormattable, IList, IList<Point>
System\Windows\Media\Generated\TextEffectCollection.cs (1)
31public sealed partial class TextEffectCollection : Animatable, IList, IList<TextEffect>
System\Windows\Media\Generated\TransformCollection.cs (1)
31public sealed partial class TransformCollection : Animatable, IList, IList<Transform>
System\Windows\Media\Generated\VectorCollection.cs (1)
32public sealed partial class VectorCollection : Freezable, IFormattable, IList, IList<Vector>
System\Windows\Media\GeometryCollection.cs (1)
17public sealed partial class GeometryCollection : Animatable, IList, IList<Geometry>
System\Windows\Media\GlyphRun.cs (2)
2082private class DefaultCaretStopList : IList<bool> 2184private class DefaultClusterMap : IList<ushort>
System\Windows\Media\PathFigureCollection.cs (1)
15public sealed partial class PathFigureCollection : Animatable, IList, IList<PathFigure>
System\Windows\Media\PathSegmentCollection.cs (1)
17public sealed partial class PathSegmentCollection : Animatable, IList, IList<PathSegment>
System\Windows\Media\TextEffectCollection.cs (1)
21public sealed partial class TextEffectCollection : Animatable, IList, IList<TextEffect>
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
29public sealed partial class GeneralTransform3DCollection : Animatable, IList, IList<GeneralTransform3D>
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
29public sealed partial class MaterialCollection : Animatable, IList, IList<Material>
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
29public sealed partial class Model3DCollection : Animatable, IList, IList<Model3D>
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
30public sealed partial class Point3DCollection : Freezable, IFormattable, IList, IList<Point3D>
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
29public sealed partial class Transform3DCollection : Animatable, IList, IList<Transform3D>
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
30public sealed partial class Vector3DCollection : Freezable, IFormattable, IList, IList<Vector3D>
System\Windows\Media3D\Visual3DCollection.cs (1)
14public sealed class Visual3DCollection : IList, IList<Visual3D>
PresentationFramework (12)
MS\Internal\Data\RBTree.cs (1)
47internal class RBTree<T> : RBNode<T>, IList<T>
MS\Internal\Documents\ContentElementCollection.cs (1)
21internal abstract class ContentElementCollection<TParent, TItem> : IList<TItem>, IList
MS\Internal\ListOfObject.cs (1)
12internal class ListOfObject : IList<object>
System\Windows\Controls\ColumnDefinition.cs (1)
41public sealed class ColumnDefinitionCollection : IList<ColumnDefinition> , IList
System\Windows\Controls\CustomDictionarySources.cs (1)
29internal class CustomDictionarySources : IList<Uri>, IList
System\Windows\Controls\RowDefinition.cs (1)
36public sealed class RowDefinitionCollection : IList<RowDefinition> , IList
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
10internal class VirtualizedCellInfoCollection : IList<DataGridCellInfo>
System\Windows\Documents\TableCellCollection.cs (1)
20public sealed class TableCellCollection : IList<TableCell>, IList
System\Windows\Documents\TableColumnCollection.cs (1)
20public sealed class TableColumnCollection : IList<TableColumn>, IList
System\Windows\Documents\TableRowCollection.cs (1)
20public sealed class TableRowCollection : IList<TableRow>, IList
System\Windows\Documents\TableRowGroupCollection.cs (1)
20public sealed class TableRowGroupCollection : IList<TableRowGroup>, IList
System\Windows\TriggerActionCollection.cs (1)
20public sealed class TriggerActionCollection : IList, IList<TriggerAction>
Roslyn.Diagnostics.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
System.Collections (5)
System\Collections\Generic\OrderedDictionary.cs (3)
35IList<KeyValuePair<TKey, TValue>>, IReadOnlyList<KeyValuePair<TKey, TValue>>, IList 1467public sealed class KeyCollection : IList<TKey>, IReadOnlyList<TKey>, IList 1662public sealed class ValueCollection : IList<TValue>, IReadOnlyList<TValue>, IList
System\Collections\Generic\SortedList.cs (2)
1002public sealed class KeyList : IList<TKey>, ICollection 1116public sealed class ValueList : IList<TValue>, ICollection
System.Collections.Immutable (6)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
18public sealed class Builder : IList<T>, IReadOnlyList<T>
System\Collections\Immutable\ImmutableArray_1.cs (1)
15public readonly partial struct ImmutableArray<T> : IReadOnlyList<T>, IList<T>, IEquatable<ImmutableArray<T>>, IList, IImmutableArray, IStructuralComparable, IStructuralEquatable, IImmutableList<T>
System\Collections\Immutable\ImmutableArray_1.netcoreapp.cs (1)
8public readonly partial struct ImmutableArray<T> : IReadOnlyList<T>, IList<T>, IEquatable<ImmutableArray<T>>, IList, IImmutableArray, IStructuralComparable, IStructuralEquatable, IImmutableList<T>
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
32public sealed class Builder : IList<T>, IList, IReadOnlyList<T>
System\Collections\Immutable\ImmutableList_1.cs (1)
19public sealed partial class ImmutableList<T> : IImmutableList<T>, IList<T>, IList, IStrongEnumerable<T, ImmutableList<T>.Enumerator>
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
24public sealed partial class ImmutableSortedSet<T> : IImmutableSet<T>, IReadOnlySet<T>, IReadOnlyList<T>, IList<T>, ISet<T>, IList, IStrongEnumerable<T, ImmutableSortedSet<T>.Enumerator>
System.Data.Common (1)
System\Data\Common\DbBatchCommandCollection.cs (1)
9public abstract class DbBatchCommandCollection : IList<DbBatchCommand>
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\TagList.netcore.cs (1)
22public struct TagList : IList<KeyValuePair<string, object?>>, IReadOnlyList<KeyValuePair<string, object?>>
System.DirectoryServices.AccountManagement (1)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net11.0\System.DirectoryServices.AccountManagement.notsupported.cs (1)
353public partial class PrincipalValueCollection<T> : System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T>, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
706private sealed class ImmutableStringList : IList<string>
System.Linq (4)
System\Linq\Grouping.cs (1)
354internal sealed class Grouping<TKey, TElement> : IGrouping<TKey, TElement>, IList<TElement>
System\Linq\Range.SpeedOpt.cs (1)
11private sealed partial class RangeIterator<T> : IList<T>, IReadOnlyList<T> where T : INumber<T>
System\Linq\Repeat.SpeedOpt.cs (1)
11private sealed partial class RepeatIterator<TResult> : IList<TResult>, IReadOnlyList<TResult>
System\Linq\SkipTake.SpeedOpt.cs (1)
16private sealed class IListSkipTakeIterator<TSource> : Iterator<TSource>, IList<TSource>, IReadOnlyList<TSource>
System.Linq.AsyncEnumerable (2)
System\Linq\GroupBy.cs (1)
389internal sealed class Grouping<TKey, TElement> : IGrouping<TKey, TElement>, IList<TElement>
System\Linq\ToLookupAsync.cs (1)
220private sealed class EmptyLookup<TKey, TElement> : ILookup<TKey, TElement>, IList<IGrouping<TKey, TElement>>, IReadOnlyCollection<IGrouping<TKey, TElement>>
System.Linq.Expressions (3)
System\Dynamic\Utils\ListArgumentProvider.cs (1)
13internal abstract class ListProvider<T> : IList<T>
System\Linq\Expressions\BlockExpression.cs (1)
679internal sealed class BlockExpressionList : IList<Expression>
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
15public sealed class ReadOnlyCollectionBuilder<T> : IList<T>, IList
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
29internal abstract class QueryResults<T> : IList<T>
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
25public readonly struct ArraySegment<T> : IList<T>, IReadOnlyList<T>
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
21public class List<T> : IList<T>, IList, IReadOnlyList<T>
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
14public class Collection<T> : IList<T>, IList, IReadOnlyList<T>
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
15public class ReadOnlyCollection<T> : IList<T>, IList, IReadOnlyList<T>
System.Private.Xml (4)
System\Xml\Xsl\ListBase.cs (1)
19internal abstract class ListBase<T> : IList<T>, System.Collections.IList
System\Xml\Xsl\QIL\QilNode.cs (1)
22internal class QilNode : IList<QilNode>
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
22public class XmlQuerySequence<T> : IList<T>, System.Collections.IList 492public sealed class XmlQueryNodeSequence : XmlQuerySequence<XPathNavigator>, IList<XPathItem>
System.ServiceModel.Primitives (2)
System\ServiceModel\SynchronizedCollection.cs (1)
12public class SynchronizedCollection<T> : IList<T>, IList
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
11public class SynchronizedReadOnlyCollection<T> : IList<T>, IList
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.IList.cs (1)
9public sealed partial class JsonArray : JsonNode, IList<JsonNode?>
System\Text\Json\Nodes\JsonObject.IList.cs (1)
9public partial class JsonObject : IList<KeyValuePair<string, JsonNode?>>
System\Text\Json\Serialization\ConfigurationList.cs (1)
15internal abstract class ConfigurationList<TItem> : IList<TItem>
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
16public class CaptureCollection : IList<Capture>, IReadOnlyList<Capture>, IList
System\Text\RegularExpressions\GroupCollection.cs (1)
17public class GroupCollection : IList<Group>, IReadOnlyList<Group>, IList, IReadOnlyDictionary<string, Group>
System\Text\RegularExpressions\MatchCollection.cs (1)
16public class MatchCollection : IList<Match>, IReadOnlyList<Match>, IList
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListAdapter.cs (1)
15internal sealed class ListAdapter<T> : IList<T>, IWrapper<IList>
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
13: IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
575private class OnlyGenericIListClassWithItem : ClassWithItem, IList<int>
System.Xaml (1)
System\Xaml\XamlSchemaContext.cs (1)
1410private class WeakReferenceList<T> : List<WeakReference>, IList<T> where T : class
Test.Utilities (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
Text.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
73internal readonly partial struct ImmutableSegmentedList<T> : IImmutableList<T>, IReadOnlyList<T>, IList<T>, IList, IEquatable<ImmutableSegmentedList<T>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
16public sealed class Builder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
16private struct ValueBuilder : IList<T>, IReadOnlyList<T>, IList
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
22internal readonly partial struct SegmentedArray<T> : ICloneable, IList, IStructuralComparable, IStructuralEquatable, IList<T>, IReadOnlyList<T>, IEquatable<SegmentedArray<T>>
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
35internal class SegmentedList<T> : IList<T>, IList, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
23internal class List<T> : Collection<T>, IList<T>, IReadOnlyList<T>
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
17internal sealed class List<T> : IReadOnlyList<T>, IList<T>, IReadOnlyCollection<T>
7089 references to IList
ApiExplorerWebSite (1)
ApiExplorerDataFilter.cs (1)
164public IList<ApiExplorerResponseFormat> ResponseFormats { get; }
aspire (9)
Commands\TelemetryCommandHelpers.cs (1)
170IList<ResourceInfoJson> resources,
src\Shared\ConsoleLogs\LogEntries.cs (1)
27public IList<LogEntry> GetEntries() => _logEntries;
src\Shared\ConsoleLogs\SharedAIHelpers.cs (7)
59IList<OtlpResourceLogsJson>? resourceLogs, 88IList<OtlpResourceLogsJson>? resourceLogs, 108IList<OtlpResourceSpansJson>? resourceSpans, 137IList<OtlpResourceSpansJson>? resourceSpans, 152public static List<OtlpTraceDto> GetTracesFromOtlpData(IList<OtlpResourceSpansJson>? resourceSpans) 425public static List<OtlpLogEntryDto> GetLogRecordsFromOtlpData(IList<OtlpResourceLogsJson>? resourceLogs) 646public static string SerializeConsoleLogs(IList<string> logEntries)
Aspire.Cli.EndToEnd.Tests (3)
McpDocsE2ETests.cs (3)
70var tools = await _mcpClient.ListToolsAsync(cancellationToken: cancellationToken); 276var tools = await _mcpClient.ListToolsAsync(cancellationToken: cancellationToken); 298var tools = await _mcpClient.ListToolsAsync(cancellationToken: cancellationToken);
Aspire.Cli.Tests (5)
Commands\AgentMcpCommandTests.cs (2)
123var tools = await _mcpClient.ListToolsAsync(cancellationToken: _cts.Token).DefaultTimeout(); 200var tools = await _mcpClient.ListToolsAsync(cancellationToken: _cts.Token).DefaultTimeout();
Mcp\E2E\McpDocsE2ETests.cs (3)
54var tools = await _mcpClient.ListToolsAsync(); 240var tools = await _mcpClient.ListToolsAsync(); 261var tools = await _mcpClient.ListToolsAsync();
Aspire.Dashboard (31)
Components\Controls\AspireMenuButton.razor.cs (1)
40public required IList<MenuButtonItem> Items { get; set; }
Components\Controls\Chart\ChartBase.cs (2)
228var dimensionValues = dimension.Values; 444var dimensionValues = dimension.Values;
Components\Controls\LogViewer.razor.cs (1)
90var entries = _logEntries?.GetEntries();
Components\Interactions\InteractionsProvider.cs (1)
156var item = ((IList<WatchInteractionsResponseUpdate>)_pendingInteractions)[0];
Components\Pages\ConsoleLogs.razor.cs (1)
942var entries = _logEntries.GetEntries();
Components\Pages\Resources.razor.cs (1)
41private IList<GridColumn>? _gridColumns;
Components\Pages\StructuredLogs.razor.cs (1)
52private IList<GridColumn> _gridColumns = null!;
Components\Pages\TraceDetail.razor.cs (1)
46private IList<GridColumn> _gridColumns = null!;
Components\Pages\Traces.razor.cs (1)
33private IList<GridColumn> _gridColumns = null!;
Components\Resize\GridColumnManager.razor.cs (1)
22public required IList<GridColumn> Columns { get; set; }
Components\ResourcesGridColumns\UrlsColumnDisplay.razor.cs (1)
20public required IList<DisplayedUrl> DisplayedUrls { get; set; }
ConsoleLogs\LogEntrySerializer.cs (1)
18public static void WriteLogEntriesToStream(IList<LogEntry> entries, Stream stream)
Model\Assistant\AIHelpers.cs (4)
298Func<IList<ChatMessage>, Task> onMessageCallback, 328var newMessages = GetMessages(update, filter: c => c is not TextContent); 351public static IList<ChatMessage> GetMessages(ChatResponseUpdate update, Func<AIContent, bool>? filter = null) 353var contentsList = filter is null ? update.Contents : update.Contents.Where(filter).ToList();
Model\Assistant\AssistantChatViewModel.cs (1)
712void AddChatMessages(IList<ChatMessage> messages)
Model\GenAI\GenAISchemaHelpers.cs (2)
143internal static IList<string> ConvertTypeToNames(IOpenApiSchema? schema) 198var itemTypeNames = ConvertTypeToNames(itemsSchema);
Otlp\Model\MetricValues\DimensionScope.cs (1)
16public IList<MetricValueBase> Values => _values;
ServiceClient\DashboardClient.cs (2)
732private static ResourceLogLine[] CreateLogLines(IList<ConsoleLogLine> logLines) 796internal void SetInitialDataReceived(IList<Resource>? initialData = null)
src\Shared\ConsoleLogs\LogEntries.cs (1)
27public IList<LogEntry> GetEntries() => _logEntries;
src\Shared\ConsoleLogs\SharedAIHelpers.cs (7)
59IList<OtlpResourceLogsJson>? resourceLogs, 88IList<OtlpResourceLogsJson>? resourceLogs, 108IList<OtlpResourceSpansJson>? resourceSpans, 137IList<OtlpResourceSpansJson>? resourceSpans, 152public static List<OtlpTraceDto> GetTracesFromOtlpData(IList<OtlpResourceSpansJson>? resourceSpans) 425public static List<OtlpLogEntryDto> GetLogRecordsFromOtlpData(IList<OtlpResourceLogsJson>? resourceLogs) 646public static string SerializeConsoleLogs(IList<string> logEntries)
Aspire.Dashboard.Components.Tests (5)
GridColumnManagerTests.cs (3)
21IList<GridColumn> gridColumns = [ 49IList<GridColumn> gridColumns = [ 86IList<GridColumn> gridColumns = [
tests\Shared\TestDashboardClient.cs (2)
19private readonly IList<ResourceViewModel>? _initialResources; 33IList<ResourceViewModel>? initialResources = null,
Aspire.Dashboard.Tests (10)
ConsoleLogsTests\LogEntriesTests.cs (6)
131var entries = logEntries.GetEntries(); 175var entries = logEntries.GetEntries(); 220var entries = logEntries.GetEntries(); 248var entries = logEntries.GetEntries(); 269var entries = logEntries.GetEntries(); 289var entries = logEntries.GetEntries();
Integration\IntegrationTestHelpers.cs (1)
90var sources = ((IConfigurationBuilder)builder.Configuration).Sources;
Model\GenAISchemaHelpersTests.cs (1)
18var typeNames = GenAISchemaHelpers.ConvertTypeToNames(stringSchema);
tests\Shared\TestDashboardClient.cs (2)
19private readonly IList<ResourceViewModel>? _initialResources; 33IList<ResourceViewModel>? initialResources = null,
Aspire.Hosting (26)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (4)
29public CommandLineArgsCallbackAnnotation(Action<IList<object>> callback) 52public sealed class CommandLineArgsCallbackContext(IList<object> args, CancellationToken cancellationToken = default) 62public CommandLineArgsCallbackContext(IList<object> args, IResource resource, CancellationToken cancellationToken = default) 68public IList<object> Args { get; } = args ?? throw new ArgumentNullException(nameof(args));
ApplicationModel\ContainerRuntimeArgsCallbackAnnotation.cs (3)
29public ContainerRuntimeArgsCallbackAnnotation(Action<IList<object>> callback) 51public sealed class ContainerRuntimeArgsCallbackContext(IList<object> args, CancellationToken cancellationToken = default) 56public IList<object> Args { get; } = args ?? throw new ArgumentNullException(nameof(args));
ApplicationModel\Docker\DockerfileStage.cs (1)
37public IList<DockerfileStatement> Statements => _statements;
Ats\AtsCapabilityScanner.cs (2)
1708if (genericDef == typeof(List<>) || genericDef == typeof(IList<>)) 2005if (genericDef == typeof(List<>) || genericDef == typeof(IList<>))
Ats\AtsConstants.cs (1)
512genericDef == typeof(IList<>);
Ats\AtsContext.cs (1)
124if (genericDef == typeof(List<>) || genericDef == typeof(IList<>))
Ats\CollectionExports.cs (9)
122public static object? ListGet(IList<object> list, int index) 132public static void ListSet(IList<object> list, int index, object value) 146public static void ListAdd(IList<object> list, object item) 156public static bool ListRemoveAt(IList<object> list, int index) 172public static int ListLength(IList<object> list) 180public static void ListClear(IList<object> list) 190public static void ListInsert(IList<object> list, int index, object item) 205public static int ListIndexOf(IList<object> list, object item) 214public static object[] ListToArray(IList<object> list)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
957var toolsList = await mcpClient.ListToolsAsync(cancellationToken: linked.Token).ConfigureAwait(false);
ContainerResourceBuilderExtensions.cs (1)
1578public static void AddRange<T>(this IList<T> list, IEnumerable<T> collection)
Orchestrator\ParameterProcessor.cs (2)
452internal async Task HandleUnresolvedParametersAsync(IList<ParameterResource> unresolvedParameters, CancellationToken cancellationToken) 554private void OnParameterResolved(IList<ParameterResource> unresolvedParameters, ParameterResource parameter)
src\Shared\ConsoleLogs\LogEntries.cs (1)
27public IList<LogEntry> GetEntries() => _logEntries;
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
162IList<(IResource Resource, IAzureResource AzureResource)> azureResources,
Aspire.Hosting.Azure.Kusto.Tests (1)
AddAzureKustoTests.cs (1)
440public static async Task<IList<object>> GetContainerRuntimeArgs(this ContainerRuntimeArgsCallbackAnnotation annotation)
Aspire.Hosting.RemoteHost.Tests (3)
AtsMarshallerTests.cs (3)
488var result = marshaller.UnmarshalFromJson(json, typeof(IList<int>), context); 491var list = Assert.IsAssignableFrom<IList<int>>(result);
Aspire.Playground.Tests (2)
AppHostTests.cs (2)
131public static IList<TestEndpoints> GetAllTestEndpoints() 133IList<TestEndpoints> candidates =
aspire-nuget (1)
Commands\RestoreCommand.cs (1)
279var configPaths = settings.GetConfigFilePaths();
aspire-server (1)
Ats\AtsMarshaller.cs (1)
377if (genericDef == typeof(List<>) || genericDef == typeof(IList<>) || genericDef == typeof(IEnumerable<>) || genericDef == typeof(ICollection<>) || genericDef == typeof(IReadOnlyList<>) || genericDef == typeof(IReadOnlyCollection<>))
AzureSearch.ApiService (1)
Program.cs (1)
63var searchFields = fieldBuilder.Build(typeof(Hotel));
BasicWebSite (4)
Controllers\AsyncActionsController.cs (1)
198private readonly IList<Action> _continuations = new List<Action>();
Controllers\TempDataController.cs (3)
51IList<string> listValues, 74var value3 = (IList<string>)TempData["key3"];
CdkSample.ApiService (1)
Program.cs (1)
156var fields = new FieldBuilder().Build(typeof(SimpleDocument));
CodeGenerator (2)
src\Servers\Kestrel\shared\KnownHeaders.cs (2)
401static string AppendSwitchSection(int length, IList<KnownHeader> values) 1474private static string AppendQPackSwitch(IList<(int Index, System.Net.Http.QPack.HeaderField Field)> values)
csc (1)
src\Compilers\Shared\BuildProtocol.cs (1)
77IList<string> args,
dotnet-dev-certs (15)
Program.cs (3)
307var certificates = certificateManager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true); 368var availableCertificates = CertificateManager.Instance.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true); 383var certificates = manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, exportPath.HasValue());
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
dotnet-getdocument (1)
Commands\InvokeCommand.cs (1)
21private IList<string> _args;
dotnet-razorpagegenerator (2)
Program.cs (2)
40var results = MainCore(projectEngine, targetProjectDirectory, physicalPathPrefix); 86public static IList<RazorPageGeneratorResult> MainCore(
dotnet-svcutil.xmlserializer (17)
Microsoft\Tools\ServiceModel\SvcUtil\CommandLineParser.cs (7)
88private Dictionary<string, IList<string>> _contents; 92_contents = new Dictionary<string, IList<string>>(capacity); 97IList<string> values; 111IList<string> values; 126internal IList<string> GetArguments(string key) 128IList<string> result; 139internal void Add(string key, IList<string> values)
Microsoft\Tools\ServiceModel\SvcUtil\Options.cs (10)
262IList<string> namespaceMappingsArgs = _arguments.GetArguments(Options.Cmd.Namespace); 291IList<string> referencedAssembliesArgs = _arguments.GetArguments(Options.Cmd.Reference); 292IList<string> excludeTypesArgs = _arguments.GetArguments(Options.Cmd.ExcludeType); 293IList<string> referencedCollectionTypesArgs = _arguments.GetArguments(Options.Cmd.CollectionType); 331private void AddReferencedTypes(IList<string> referenceArgs, IList<string> excludedTypeArgs, IList<string> collectionTypesArgs, bool nostdlib) 354private void LoadReferencedAssemblies(IList<string> referenceArgs) 382private Dictionary<string, Type> AddSpecifiedTypesToDictionary(IList<string> typeArgs, string cmd) 418IList<string> referencedAssembliesArgs = smReferenceArg.Split(';').ToList();
dotnet-svcutil-lib (144)
CodeDomFixup\ConfigToCode.cs (3)
113IList<CodeTypeMember> toRemoves = new List<CodeTypeMember>(); 180IList<CodeTypeMember> toRemoves = new List<CodeTypeMember>(); 308IList<CodeTypeMember> toRemoves = new List<CodeTypeMember>();
CommandProcessorOptions.cs (2)
876private static Dictionary<string, Type> AddSpecifiedTypesToDictionary(IList<string> typeArgs, string cmd) 967private void AddReferencedCollectionTypes(IList<string> collectionTypesArgs, Dictionary<string, Type> foundCollectionTypes)
FrameworkFork\Microsoft.Xml\Xml\schema\GenerateConverter.cs (10)
441IList<Type> uniqueSourceTypes, uniqueDestTypes; 465IList<ConversionRule> rules = group.Find(XmlTypeCode.None, tSrc, tDst); 724private ConversionRule FindDefaultRule(IList<ConversionRule> rules) 734private void GenerateConversions(ConversionRule defaultRule, IList<ConversionRule> rulesSwitch) 776private void GenerateConversionsTo(IList<ConversionRule> rules) 781private void GenerateConversionsFrom(IList<ConversionRule> rules) 786private void GenerateConversionsToFrom(IList<ConversionRule> rules, bool isFrom) 901public IList<Type> FindUniqueSourceTypes(Type tDst) 914public IList<Type> FindUniqueDestinationTypes(Type tSrc) 927public IList<ConversionRule> Find(XmlTypeCode code, Type tSrc, Type tDst)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (1)
220internal IList<IDtdDefaultAttributeInfo> DefaultAttDefs
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\FunctionQuery.cs (1)
17private IList<Query> _args;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\StringFunctions.cs (2)
19private IList<Query> _argList; 21public StringFunctions(Function.FunctionType funcType, IList<Query> argList)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
902return ((IList<Type>)KnownInterfaces).Contains(type);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (8)
1688IList<int> nestedParamCounts = GetDataContractNameForGenericName(typeName, localName); 1734internal static IList<int> GetDataContractNameForGenericName(string typeName, StringBuilder localName) 2010IList<int> nestedParameterCounts = genericNameProvider.GetNestedParameterCounts(); 2334IList<int> GetNestedParameterCounts(); 2345private IList<int> _nestedParamCounts; 2367public IList<int> GetNestedParameterCounts() 2474internal IList<GenericInfo> Parameters 2484public IList<int> GetNestedParameterCounts()
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (1)
31internal IList<Type> knownTypeList;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataObject.cs (2)
14private IList<ExtensionDataMember> _members; 27internal IList<ExtensionDataMember> Members
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
691s_typeOfIListGeneric = typeof(IList<>);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerContext.cs (2)
26protected IList<Type> serializerKnownTypeList; 200internal static DataContractDictionary GetDataContractsForKnownTypes(IList<Type> knownTypeList)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
279IList<Tuple<string, string>> exceptionInfo = new List<Tuple<string, string>>()
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\DefaultClaimSet.cs (4)
17private IList<Claim> _claims; 24public DefaultClaimSet(IList<Claim> claims) 34public DefaultClaimSet(ClaimSet issuer, IList<Claim> claims) 91protected void Initialize(ClaimSet issuer, IList<Claim> claims)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
21private IList<Claim> _claims; 161private IList<Claim> InitializeClaimsCore()
FrameworkFork\System.ServiceModel\System\IdentityModel\Policy\AuthorizationContext.cs (1)
19public static AuthorizationContext CreateDefaultAuthorizationContext(IList<IAuthorizationPolicy> authorizationPolicies)
FrameworkFork\System.ServiceModel\System\IdentityModel\Policy\UnconditionalPolicy.cs (2)
231IList<IIdentity> identities; 241identities = obj as IList<IIdentity>;
FrameworkFork\System.ServiceModel\System\IdentityModel\Security\WSTrust.cs (2)
36public override void PopulateTokenEntries(IList<SecurityTokenSerializer.TokenEntry> tokenEntryList) 41public override void PopulateKeyIdentifierClauseEntries(IList<SecurityTokenSerializer.KeyIdentifierClauseEntry> keyIdentifierClauseEntries)
FrameworkFork\System.ServiceModel\System\IdentityModel\SecurityUtils.cs (2)
131internal static AuthorizationContext CreateDefaultAuthorizationContext(IList<IAuthorizationPolicy> authorizationPolicies) 403public SimpleAuthorizationContext(IList<IAuthorizationPolicy> authorizationPolicies)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenSerializer.cs (4)
187public virtual void PopulateTokenEntries(IList<TokenEntry> tokenEntries) { } 188public virtual void PopulateKeyIdentifierEntries(IList<KeyIdentifierEntry> keyIdentifierEntries) { } 189public virtual void PopulateKeyIdentifierClauseEntries(IList<KeyIdentifierClauseEntry> keyIdentifierClauseEntries) { } 190public virtual void PopulateStrEntries(IList<StrEntry> strEntries) { }
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
323internal void PopulateStrEntries(IList<StrEntry> strEntries)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityJan2004.cs (8)
35public override void PopulateKeyIdentifierClauseEntries(IList<KeyIdentifierClauseEntry> clauseEntries) 43protected void PopulateJan2004StrEntries(IList<StrEntry> strEntries) 55public override void PopulateStrEntries(IList<StrEntry> strEntries) 60protected void PopulateJan2004TokenEntries(IList<TokenEntry> tokenEntryList) 68public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 184private IList<StrEntry> _strEntries; 186public SecurityTokenReferenceJan2004ClauseEntry(bool emitBspRequiredAttributes, IList<StrEntry> strEntries) 198protected IList<StrEntry> StrEntries
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WSSecurityXXX2005.cs (4)
23public override void PopulateStrEntries(IList<StrEntry> strEntries) 31public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 38public override void PopulateKeyIdentifierClauseEntries(IList<KeyIdentifierClauseEntry> clauseEntries) 58public SecurityTokenReferenceXXX2005ClauseEntry(bool emitBspRequiredAttributes, IList<StrEntry> strEntries)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\XmlDsigSep2000.cs (2)
24public override void PopulateKeyIdentifierEntries(IList<KeyIdentifierEntry> keyIdentifierEntries) 29public override void PopulateKeyIdentifierClauseEntries(IList<SecurityTokenSerializer.KeyIdentifierClauseEntry> keyIdentifierClauseEntries)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\XmlEncApr2001.cs (1)
21public override void PopulateKeyIdentifierClauseEntries(IList<KeyIdentifierClauseEntry> keyIdentifierClauseEntries)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeaderCollection.cs (2)
25IList<AddressHeader> collection = addressHeaders as IList<AddressHeader>;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
388IList<XmlDictionaryString> newStrings = _writerSession.GetNewStrings(); 931public IList<XmlDictionaryString> GetNewStrings()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChainedAsyncResult.cs (4)
130private IList<ICommunicationObject> _collection; 132public ChainedCloseAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, IList<ICommunicationObject> collection) 165private IList<ICommunicationObject> _collection; 167public ChainedOpenAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, IList<ICommunicationObject> collection)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (1)
18public CloseCollectionAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, IList<ICommunicationObject> collection)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (1)
752IList<MessageHeaderInfo> list = new ReadOnlyCollection<MessageHeaderInfo>(headers);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (1)
19public OpenCollectionAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, IList<ICommunicationObject> collection)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (2)
92public virtual XmlObjectSerializer CreateSerializer(Type type, string name, string ns, IList<Type> knownTypes) 97public virtual XmlObjectSerializer CreateSerializer(Type type, XmlDictionaryString name, XmlDictionaryString ns, IList<Type> knownTypes)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (6)
38private Dictionary<WsdlNS.Message, IList<string>> _bodyPartsTable; 40private Dictionary<WsdlNS.Message, IList<string>> BodyPartsTable 45_bodyPartsTable = new Dictionary<WsdlNS.Message, IList<string>>(); 440IList<string> bodyPartsFromBindings; 476IList<string> bodyPartsFromBindings; 1319IList<string> bodyPartsFromBindings;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (3)
159private static IList<string> s_xsdValueTypePrimitives = new string[] 165private static IList<string> s_dataContractPrimitives = new string[] 170private static IList<string> s_xmlSerializerPrimitives = new string[]
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ClientOperation.cs (1)
19public IList<IParameterInspector> ParameterInspectors
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
26public IList<IClientMessageInspector> MessageInspectors
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (6)
25internal static DataContractSerializer CreateSerializer(Type type, IList<Type> knownTypes, int maxItems) 37internal static DataContractSerializer CreateSerializer(Type type, IList<Type> knownTypes, string rootName, string rootNs, int maxItems) 51internal static DataContractSerializer CreateSerializer(Type type, IList<Type> knownTypes, XmlDictionaryString rootName, XmlDictionaryString rootNs, int maxItems) 70private IList<Type> _knownTypes; 509private IList<Type> _knownTypes; 515IList<Type> knownTypes, DataContractSerializerOperationBehavior behavior)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\FaultContractInfo.cs (3)
17private IList<Type> _knownTypes; 24internal FaultContractInfo(string action, Type detail, XmlName elementName, string ns, IList<Type> knownTypes) 51internal IList<Type> KnownTypes { get { return _knownTypes; } }
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
93IList<FaultContractInfo> faultInfos;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
71IList<XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo> faultInfos;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
492IList<MessageHeader<object>> messageHeaderOfTAttributes = (IList<MessageHeader<object>>)_attributes[headerDescription.Index];
FrameworkFork\System.ServiceModel\System\ServiceModel\EmptyArray.cs (2)
19internal static T[] ToArray(IList<T> collection) 37return EmptyArray<T>.ToArray((IList<T>)collection);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityToken.cs (1)
26private IList<XmlElement> _requestProperties;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (4)
762internal IList<SupportingTokenAuthenticatorSpecification> GetSupportingTokenAuthenticators(string action, out bool expectSignedTokens, out bool expectBasicTokens, out bool expectEndorsingTokens) 787return (Object.ReferenceEquals(_channelSupportingTokenAuthenticatorSpecification, EmptyTokenAuthenticators)) ? null : (IList<SupportingTokenAuthenticatorSpecification>)_channelSupportingTokenAuthenticatorSpecification; 877private void AddSupportingTokenAuthenticators(SupportingTokenParameters supportingTokenParameters, bool isOptional, IList<SupportingTokenAuthenticatorSpecification> authenticatorSpecList) 969AddSupportingTokenAuthenticators(_securityBindingElement.EndpointSupportingTokenParameters, false, (IList<SupportingTokenAuthenticatorSpecification>)_channelSupportingTokenAuthenticatorSpecification);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (2)
24private IList<Type> _knownTypes; 26public SecurityContextCookieSerializer(SecurityStateEncoder securityStateEncoder, IList<Type> knownTypes)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TrustDriver.cs (1)
138public abstract GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy,
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSKeyInfoSerializer.cs (3)
82public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 256public override void PopulateStrEntries(IList<StrEntry> strEntries) 304public override void PopulateStrEntries(IList<StrEntry> strEntries)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecureConversation.cs (2)
43public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 309public SecurityContextTokenEntry(WSSecureConversation parent, SecurityStateEncoder securityStateEncoder, IList<Type> knownClaimTypes)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecureConversationDec2005.cs (3)
34private IList<Type> _knownClaimTypes; 65public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 81public SecurityContextTokenEntryDec2005(WSSecureConversationDec2005 parent, SecurityStateEncoder securityStateEncoder, IList<Type> knownClaimTypes)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecureConversationFeb2005.cs (3)
34private IList<Type> _knownClaimTypes; 65public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 73public SecurityContextTokenEntryFeb2005(WSSecureConversationFeb2005 parent, SecurityStateEncoder securityStateEncoder, IList<Type> knownClaimTypes)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityJan2004.cs (2)
46protected void PopulateJan2004TokenEntries(IList<TokenEntry> tokenEntryList) 54public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (1)
526public virtual void PopulateTokenEntries(IList<TokenEntry> tokenEntries) { }
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityXXX2005.cs (1)
39public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (2)
56public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 486public override GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy, string expectedTokenType,
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceSecurityContext.cs (3)
92IList<IIdentity> identities = GetIdentities(); 129private IList<IIdentity> GetIdentities() 135return identities as IList<IIdentity>;
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (7)
12private IList<T> _items; 75protected IList<T> Items 130T IList<T>.this[int index] 158void IList<T>.Insert(int index, T value) 163void IList<T>.RemoveAt(int index) 274private IList<T> _list; 277public EnumeratorAdapter(IList<T> list)
Shared\Options\ListValueOption.cs (1)
78if (value is IList<TValue> list)
Shared\ProjectDependency.cs (1)
431internal static void RemoveRedundantReferences(IList<ProjectDependency> dependencies)
GenerateDocumentationAndConfigFiles (105)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (12)
115public TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 123protected abstract TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 124protected abstract TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 125protected abstract TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 126protected abstract TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 127protected abstract TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 128protected abstract TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 140public abstract TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, TCodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 232Func<SyntaxNode, TCodeGenerationContextInfo, IList<bool>?, CancellationToken, SyntaxNode> declarationTransform, 272IList<bool>? availableIndices, 326IList<bool>? availableIndices, 355IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService_FindDeclaration.cs (8)
20protected abstract IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken); 22private IList<bool>? GetAvailableInsertionIndices<TDeclarationNode>(TDeclarationNode destination, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 62out IList<bool>? availableIndices, 141private (SyntaxNode? declaration, IList<bool>? availableIndices) FindMostRelevantDeclaration( 163if (TryAddToRelatedDeclaration(declarations.Where(d => d is not ICompilationUnitSyntax), checkGeneratedCode: false, out var declaration1, out var availableIndices1) || 171if (TryAddToWorker(declarations, checkGeneratedCode: true, out var declaration2, out var availableIndices2, predicate: node => true)) 180out IList<bool>? availableIndices) 220out IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
86public static int GetPreferredIndex(int index, IList<bool>? availableIndices, bool forward) 192IList<bool>? availableIndices, 300IList<bool>? availableIndices, 325IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (2)
503public static INamespaceSymbol CreateNamespaceSymbol(string name, IList<ISymbol>? imports = null, IList<INamespaceOrTypeSymbol>? members = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
123TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
17private readonly IList<ISymbol> _imports; 19private CodeGenerationNamespaceInfo(IList<ISymbol> imports) 24IList<ISymbol> imports) 36public static IList<ISymbol> GetImports(INamespaceSymbol @namespace) 39private static IList<ISymbol> GetImports(CodeGenerationNamespaceInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceSymbol.cs (2)
14internal sealed class CodeGenerationNamespaceSymbol(string name, IList<INamespaceOrTypeSymbol> members) : CodeGenerationNamespaceOrTypeSymbol(null, null, default, Accessibility.NotApplicable, default, name), INamespaceSymbol 16private readonly IList<INamespaceOrTypeSymbol> _members = members ?? SpecializedCollections.EmptyList<INamespaceOrTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
170public static async Task<ImmutableArray<Diagnostic>> GetErrorsAsync(this Document document, CancellationToken cancellationToken, IList<string>? ignoreErrorCode = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
13public static ImmutableArray<IParameterSymbol> RenameParameters(this IList<IParameterSymbol> parameters, ImmutableArray<string> parameterNames)
http2cat (3)
src\Shared\Http2cat\Http2Utilities.cs (1)
423internal static void WriteSettings(IList<Http2PeerSetting> settings, Span<byte> destination)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
IdentitySample.Mvc (5)
Controllers\AccountController.cs (1)
354var userFactors = await _userManager.GetValidTwoFactorProvidersAsync(user);
Controllers\ManageController.cs (1)
306var userLogins = await _userManager.GetLoginsAsync(user);
Models\ManageViewModels\IndexViewModel.cs (1)
12public IList<UserLoginInfo> Logins { get; set; }
Models\ManageViewModels\ManageLoginsViewModel.cs (2)
11public IList<UserLoginInfo> CurrentLogins { get; set; } 13public IList<AuthenticationScheme> OtherLogins { get; set; }
IdentitySample.PasskeyConformance (2)
InMemoryUserStore.cs (2)
90public Task<IList<UserPasskeyInfo>> GetPasskeysAsync(TUser user, CancellationToken cancellationToken) 91=> Task.FromResult<IList<UserPasskeyInfo>>(user.Passkeys.Select(ToUserPasskeyInfo).ToList()!);
IdentitySample.PasskeyUI (2)
InMemoryUserStore.cs (2)
90public Task<IList<UserPasskeyInfo>> GetPasskeysAsync(TUser user, CancellationToken cancellationToken) 91=> Task.FromResult<IList<UserPasskeyInfo>>(user.Passkeys.Select(ToUserPasskeyInfo).ToList()!);
IIS.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
40public static IList<FrebLogItem> FrebChecks()
src\Shared\Http2cat\Http2Utilities.cs (1)
423internal static void WriteSettings(IList<Http2PeerSetting> settings, Span<byte> destination)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
IIS.LongTests (3)
src\Shared\Http2cat\Http2Utilities.cs (1)
423internal static void WriteSettings(IList<Http2PeerSetting> settings, Span<byte> destination)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
IIS.NewHandler.FunctionalTests (3)
src\Shared\Http2cat\Http2Utilities.cs (1)
423internal static void WriteSettings(IList<Http2PeerSetting> settings, Span<byte> destination)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
IIS.ShadowCopy.Tests (2)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
IISExpress.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
40public static IList<FrebLogItem> FrebChecks()
src\Shared\Http2cat\Http2Utilities.cs (1)
423internal static void WriteSettings(IList<Http2PeerSetting> settings, Span<byte> destination)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
illink (10)
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (2)
3652var settings = Http2FrameReader.ReadSettings(frame.PayloadSequence); 3709var settings = Http2FrameReader.ReadSettings(frame.PayloadSequence);
Interop.FunctionalTests (2)
H2SpecCommands.cs (1)
74public static IList<Tuple<string, string>> EnumerateTestCases()
H2SpecTests.cs (1)
67var testCases = H2SpecCommands.EnumerateTestCases();
JwtBearerSample (2)
Startup.cs (2)
22public IList<Todo> Todos { get; } = new List<Todo>(); 96private void Serialize(IList<Todo> todos, IBufferWriter<byte> output)
Metrics (69)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
Metrics.Legacy (69)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
Microsoft.Analyzers.Extra.Tests (2)
Resources\RoslynTestUtils.cs (1)
153public static IList<Diagnostic> FilterDiagnostics(this IEnumerable<Diagnostic> diagnostics, params DiagnosticDescriptor[] filter)
UsingToStringInLoggersTests.cs (1)
70var d = RoslynTestUtils.FilterDiagnostics(fullDiags, DiagDescriptors.UsingToStringInLoggers);
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
153public static IList<Diagnostic> FilterDiagnostics(this IEnumerable<Diagnostic> diagnostics, params DiagnosticDescriptor[] filter)
Microsoft.Arcade.Test.Common (10)
DiffUtil.cs (9)
36private class LCS<T> : LongestCommonSubsequence<IList<T>> 47protected override bool ItemsEqual(IList<T> sequenceA, int indexA, IList<T> sequenceB, int indexB) 52public IEnumerable<string> CalculateDiff(IList<T> sequenceA, IList<T> sequenceB, Func<T, string> toString) 79IList<T> expectedList = expected as IList<T> ?? new List<T>(expected); 80IList<T> actualList = actual as IList<T> ?? new List<T>(actual);
MockEngine.cs (1)
88public BuildEngineResult BuildProjectFilesInParallel(string[] projectFileNames, string[] targetNames, IDictionary[] globalProperties, IList<string>[] removeGlobalProperties, string[] toolsVersion, bool returnTargetOutputs)
Microsoft.AspNetCore (2)
WebApplication.cs (2)
296public IList<string>? Middleware 301value is IList<string> descriptions)
Microsoft.AspNetCore.App.Analyzers (9)
Infrastructure\RoutePattern\RoutePatternParser.cs (8)
84private static void ValidateStart(RoutePatternCompilationUnit root, IList<EmbeddedDiagnostic> diagnostics) 125private static void ValidateCatchAllParameters(RoutePatternCompilationUnit root, IList<EmbeddedDiagnostic> diagnostics) 159private static void ValidateNoConsecutiveParameters(RoutePatternCompilationUnit root, IList<EmbeddedDiagnostic> diagnostics) 213private static void ValidateParameterParts(RoutePatternCompilationUnit root, IList<EmbeddedDiagnostic> diagnostics, IList<RouteParameter> routeParameters) 291private static void ValidateNoConsecutiveSeparators(RoutePatternCompilationUnit root, IList<EmbeddedDiagnostic> diagnostics) 315private static void CollectDiagnostics(RoutePatternNode node, HashSet<EmbeddedDiagnostic> seenDiagnostics, IList<EmbeddedDiagnostic> diagnostics) 337HashSet<EmbeddedDiagnostic> seenDiagnostics, ImmutableArray<EmbeddedDiagnostic> from, IList<EmbeddedDiagnostic> to)
RouteEmbeddedLanguage\RoutePatternHighlighter.cs (1)
72private static void HighlightSymbol(SemanticModel semanticModel, IMethodSymbol methodSymbol, IList<AspNetCoreHighlightSpan> highlightSpans, ISymbol matchingParameter, CancellationToken cancellationToken)
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\ExportProviderExtensions.cs (1)
65if (contractType.GetGenericTypeDefinition() == typeof(IList<>)
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationOptions.cs (1)
15private readonly IList<AuthenticationSchemeBuilder> _schemes = new List<AuthenticationSchemeBuilder>();
Microsoft.AspNetCore.Authentication.Certificate (1)
LoggingExtensions.cs (1)
18public static partial void CertificateFailedValidation(this ILogger logger, string subject, IList<string> chainErrors);
Microsoft.AspNetCore.Authentication.JwtBearer (2)
JwtBearerOptions.cs (2)
118public IList<ISecurityTokenValidator> SecurityTokenValidators { get; private set; } 123public IList<TokenHandler> TokenHandlers { get; private set; }
Microsoft.AspNetCore.Authentication.Negotiate (1)
Internal\LdapAdapter.cs (1)
101private static void GetNestedGroups(LdapConnection connection, ClaimsIdentity principal, string distinguishedName, string groupCN, ILogger logger, IList<string> retrievedClaims, HashSet<string> processedGroups)
Microsoft.AspNetCore.Authentication.OAuth (1)
ClaimActionCollection.cs (1)
14private IList<ClaimAction> Actions { get; } = new List<ClaimAction>();
Microsoft.AspNetCore.Authentication.Test (10)
OpenIdConnect\OpenIdConnectChallengeTests.cs (1)
439var challengeCookies = SetCookieHeaderValue.ParseList(transaction.SetCookie);
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1016Assert.True(SetCookieHeaderValue.TryParseStrictList(values.ToList(), out var parsedValues));
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1016Assert.True(SetCookieHeaderValue.TryParseStrictList(values.ToList(), out var parsedValues));
OpenIdConnect\TestTransaction.cs (1)
15public IList<string> SetCookie { get; set; }
Transaction.cs (1)
14public IList<string> SetCookie { get; set; }
TwitterTests.cs (3)
220Assert.True(SetCookieHeaderValue.TryParseList(setCookie.ToList(), out var setCookieValues)); 270Assert.True(SetCookieHeaderValue.TryParseList(setCookie.ToList(), out var setCookieValues)); 377Assert.True(SetCookieHeaderValue.TryParseList(setCookie.ToList(), out var setCookieValues));
WsFederation\WsFederationTest.cs (1)
271var cookies = SetCookieHeaderValue.ParseList(response.Headers.GetValues(HeaderNames.SetCookie).ToList());
WsFederation\WsFederationTest_Handler.cs (1)
262var cookies = SetCookieHeaderValue.ParseList(response.Headers.GetValues(HeaderNames.SetCookie).ToList());
Microsoft.AspNetCore.Authorization (3)
AuthorizationPolicy.cs (1)
125if (authorizeData is IList<IAuthorizeData> dataList)
AuthorizationPolicyBuilder.cs (2)
42public IList<IAuthorizationRequirement> Requirements { get; set; } = new List<IAuthorizationRequirement>(); 51public IList<string> AuthenticationSchemes { get; set; } = new List<string>();
Microsoft.AspNetCore.Authorization.Test (1)
AuthorizationEndpointConventionBuilderExtensionsTests.cs (1)
253public IList<Action<EndpointBuilder>> Conventions { get; } = new List<Action<EndpointBuilder>>();
Microsoft.AspNetCore.Components (1)
src\Http\Routing\src\Tree\TreeRouteBuilder.cs (1)
236public IList<InboundRouteEntry> InboundEntries { get; } = new List<InboundRouteEntry>();
Microsoft.AspNetCore.Components.Authorization (1)
AuthenticationStateData.cs (1)
16public IList<ClaimData> Claims { get; set; } = [];
Microsoft.AspNetCore.Components.Authorization.Tests (2)
src\Components\Shared\test\CapturedBatch.cs (2)
13public IList<RenderTreeDiff> DiffsInOrder { get; } 16public IList<int> DisposedComponentIDs { get; set; }
Microsoft.AspNetCore.Components.Endpoints (26)
FormMapping\Converters\CollectionAdapters\ReadOnlyCollectionBufferAdapter.cs (5)
8internal sealed class ReadOnlyCollectionBufferAdapter<TElement> : ICollectionBufferAdapter<ReadOnlyCollection<TElement>, IList<TElement>, TElement> 10public static IList<TElement> CreateBuffer() => new List<TElement>(); 12public static IList<TElement> Add(ref IList<TElement> buffer, TElement element) 18public static ReadOnlyCollection<TElement> ToResult(IList<TElement> buffer) => new(buffer);
FormMapping\Converters\FileConverter.cs (1)
41var buffer = ReadOnlyCollectionBufferAdapter<IBrowserFile>.CreateBuffer();
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (4)
87var _ when type == (typeof(IList<TElement>)) => true, 138new CollectionConverter<ReadOnlyCollection<TElement>, ReadOnlyCollectionBufferAdapter<TElement>, IList<TElement>, TElement>(elementTypeConverter), 195var _ when type.IsAssignableTo(typeof(IList<TElement>)) => 196CreateConverter<IList<TElement>, List<TElement>>(elementTypeConverter),
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (8)
29var properties = metadata.Properties; 30var constructorParameters = metadata.ConstructorParameters; 111IList<FormDataParameterMetadata> constructorParameters, 113IList<FormDataPropertyMetadata> props, 227IList<FormDataParameterMetadata> constructorParameterMetadata, 229IList<FormDataPropertyMetadata> propertyMetadata, 322IList<FormDataPropertyMetadata> properties, 421IList<FormDataParameterMetadata> constructorParameters,
FormMapping\Metadata\FormDataTypeMetadata.cs (2)
22public IList<FormDataParameterMetadata> ConstructorParameters { get; set; } = new List<FormDataParameterMetadata>(); 24public IList<FormDataPropertyMetadata> Properties { get; set; } = new List<FormDataPropertyMetadata>();
src\Shared\Components\ComponentParameter.cs (2)
14public static (IList<ComponentParameter> parameterDefinitions, IList<object?> parameterValues) FromParameterView(ParameterView parameters)
src\Shared\Components\ServerComponent.cs (4)
18IList<ComponentParameter> parametersDefinitions, 19IList<object?> parameterValues, 37public IList<ComponentParameter> ParameterDefinitions { get; set; } 40public IList<object?> ParameterValues { get; set; }
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
Binding\FormDataMapperTests.cs (1)
690CanDeserialize_Collection<IList<int>, List<int>, int>(expected);
Binding\FormDataMetadataFactoryTests.cs (1)
528var metadata = factory.GetOrCreateMetadataFor(typeof(IList<>), options);
src\Components\Shared\test\CapturedBatch.cs (2)
13public IList<RenderTreeDiff> DiffsInOrder { get; } 16public IList<int> DisposedComponentIDs { get; set; }
Microsoft.AspNetCore.Components.Forms.Tests (2)
src\Components\Shared\test\CapturedBatch.cs (2)
13public IList<RenderTreeDiff> DiffsInOrder { get; } 16public IList<int> DisposedComponentIDs { get; set; }
Microsoft.AspNetCore.Components.QuickGrid.Tests (2)
src\Components\Shared\test\CapturedBatch.cs (2)
13public IList<RenderTreeDiff> DiffsInOrder { get; } 16public IList<int> DisposedComponentIDs { get; set; }
Microsoft.AspNetCore.Components.Server (10)
CircuitJavaScriptInitializationMiddleware.cs (1)
12private readonly IList<string> _initializers;
CircuitOptions.cs (1)
124internal IList<string> JavaScriptInitializers { get; } = new List<string>();
Circuits\ComponentParameterDeserializer.cs (2)
22public bool TryDeserializeParameters(IList<ComponentParameter> parametersDefinitions, IList<object> parameterValues, out ParameterView parameters)
src\Shared\Components\ComponentParameter.cs (2)
14public static (IList<ComponentParameter> parameterDefinitions, IList<object?> parameterValues) FromParameterView(ParameterView parameters)
src\Shared\Components\ServerComponent.cs (4)
18IList<ComponentParameter> parametersDefinitions, 19IList<object?> parameterValues, 37public IList<ComponentParameter> ParameterDefinitions { get; set; } 40public IList<object?> ParameterValues { get; set; }
Microsoft.AspNetCore.Components.Tests (32)
RendererTest.cs (19)
241[EventActionsName] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 400[EventActionsName] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 444[EventActionsName] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 488[EventActionsName] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 3555[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 3588[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 3621[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 3655[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 3752[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 3810[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 3865[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 3919[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 4049[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 4083[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 4120[nameof(NestedAsyncComponent.EventActions)] = new Dictionary<int, IList<NestedAsyncComponent.ExecutionAction>> 5196var baseFragment = (RenderFragment<IList<string>>)((IList<string> items) => builder => 5888[Parameter] public IDictionary<int, IList<ExecutionAction>> EventActions { get; set; } 5970var entries = EventActions[TestId];
RenderTreeDiffBuilderTest.cs (9)
236var newComponents = GetComponents<CaptureSetParametersComponent>(newTree); 265var oldComponents = GetComponents(oldTree); 302var oldComponents = GetComponents(oldTree); 328var oldComponents = GetComponents(oldTree); 339var newComponents = GetComponents(newTree); 2038var oldComponents = GetComponents<CaptureSetParametersComponent>(oldTree); 2057var newComponents = GetComponents<CaptureSetParametersComponent>(newTree); 2433private static IList<IComponent> GetComponents(RenderTreeBuilder builder) 2436private static IList<T> GetComponents<T>(RenderTreeBuilder builder) where T : IComponent
Routing\RouteTableFactoryTests.cs (1)
1128readonly IList<(string Template, Type Handler)> _routeTemplates = new List<(string, Type)>();
Routing\TemplateParserTests.cs (1)
244public IList<RoutePatternPathSegment> Segments { get; set; } = new List<RoutePatternPathSegment>();
src\Components\Shared\test\CapturedBatch.cs (2)
13public IList<RenderTreeDiff> DiffsInOrder { get; } 16public IList<int> DisposedComponentIDs { get; set; }
Microsoft.AspNetCore.Components.Web.Tests (2)
src\Components\Shared\test\CapturedBatch.cs (2)
13public IList<RenderTreeDiff> DiffsInOrder { get; } 16public IList<int> DisposedComponentIDs { get; set; }
Microsoft.AspNetCore.Components.WebAssembly (19)
Hosting\WebAssemblyHostBuilder.cs (1)
168var values = WebAssemblyComponentParameterDeserializer.GetParameterValues(registeredComponent.ParameterValues!);
Hosting\WebAssemblyHostConfiguration.cs (1)
27IList<IConfigurationSource> IConfigurationBuilder.Sources => new ReadOnlyCollection<IConfigurationSource>(_sources.ToArray());
Infrastructure\WebAssemblyJsonSerializerContext.cs (1)
17[JsonSerializable(typeof(IList<object>))]
Prerendering\WebAssemblyComponentParameterDeserializer.cs (3)
24public ParameterView DeserializeParameters(IList<ComponentParameter> parametersDefinitions, IList<object> parameterValues) 85public static IList<object> GetParameterValues(string parameterValues)
Services\DefaultWebAssemblyJSRuntime.cs (1)
146var values = WebAssemblyComponentParameterDeserializer.GetParameterValues(marker.ParameterValues!);
src\Shared\Components\ComponentParameter.cs (2)
14public static (IList<ComponentParameter> parameterDefinitions, IList<object?> parameterValues) FromParameterView(ParameterView parameters)
WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
62if (type == typeof(global::System.Collections.Generic.IList<object>))
WebAssemblyJsonSerializerContext.IListObject.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<object>>? _IListObject; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<object>> IListObject 22get => _IListObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<object>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IList<object>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<object>> Create_IListObject(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IList<object>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IList<object>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IList<object>> 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIListInfo<global::System.Collections.Generic.IList<object>, object>(options, info);
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
ContentEncodingNegotiator.cs (1)
48if (!StringWithQualityHeaderValue.TryParseList(accept, out var encodings) || encodings.Count == 0)
Microsoft.AspNetCore.Connections.Abstractions (2)
ConnectionBuilder.cs (1)
16private readonly IList<Func<ConnectionDelegate, ConnectionDelegate>> _components = new List<Func<ConnectionDelegate, ConnectionDelegate>>();
MultiplexedConnectionBuilder.cs (1)
16private readonly IList<Func<MultiplexedConnectionDelegate, MultiplexedConnectionDelegate>> _components = new List<Func<MultiplexedConnectionDelegate, MultiplexedConnectionDelegate>>();
Microsoft.AspNetCore.CookiePolicy.Test (9)
CookieConsentTests.cs (8)
217var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie); 267var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie); 398var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie); 445var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie); 510var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie); 574var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie); 627var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie); 672var cookies = SetCookieHeaderValue.ParseList(httpContext.Response.Headers.SetCookie);
Transaction.cs (1)
15public IList<string> SetCookie { get; set; }
Microsoft.AspNetCore.Cors (11)
Infrastructure\CorsPolicy.cs (4)
98public IList<string> ExposedHeaders { get; } = new List<string>(); 103public IList<string> Headers { get; } = new List<string>(); 108public IList<string> Methods { get; } = new List<string>(); 113public IList<string> Origins { get; } = new List<string>();
Infrastructure\CorsResult.cs (3)
40public IList<string> AllowedMethods { get; } = new List<string>(); 45public IList<string> AllowedHeaders { get; } = new List<string>(); 50public IList<string> AllowedExposedHeaders { get; } = new List<string>();
Infrastructure\CorsService.cs (4)
118var allowedMethods = policy.AllowAnyMethod ? 123var allowedHeaders = policy.AllowAnyHeader ? 209private static void AddHeaderValues(IList<string> target, IList<string> headerValues)
Microsoft.AspNetCore.Cors.Test (1)
CorsEndpointConventionBuilderExtensionsTests.cs (1)
98public IList<Action<EndpointBuilder>> Conventions { get; } = new List<Action<EndpointBuilder>>();
Microsoft.AspNetCore.DataProtection (5)
KeyManagement\KeyManagementOptions.cs (2)
149public IList<IKeyEscrowSink> KeyEscrowSinks { get; } = new List<IKeyEscrowSink>(); 165public IList<IAuthenticatedEncryptorFactory> AuthenticatedEncryptorFactories { get; } = new List<IAuthenticatedEncryptorFactory>();
KeyManagement\XmlKeyManager.cs (3)
115var escrowSinks = keyManagementOptions.Value.KeyEscrowSinks; 723private readonly IList<IKeyEscrowSink> _sinks; 725public AggregateKeyEscrowSink(IList<IKeyEscrowSink> sinks)
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\KeyRingProviderTests.cs (1)
753IList<string> callSequence,
Microsoft.AspNetCore.DeveloperCertificates.XPlat (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (6)
CertificateManagerTests.cs (6)
56var httpsCertificates = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 393var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true); 413var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true); 451var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true); 469var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true); 500var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
Microsoft.AspNetCore.Diagnostics (5)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
206var acceptHeader = headers.Accept;
DeveloperExceptionPage\Views\CompilationErrorModel.cs (2)
27public IList<ExceptionDetails> ErrorDetails { get; } = new List<ExceptionDetails>(); 32public IList<string?> CompiledContent { get; } = new List<string?>();
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (2)
21public static IList<StackFrameInfo> GetFrames(Exception exception, out AggregateException? error) 241IList<CustomAttributeData> attributes;
Microsoft.AspNetCore.Diagnostics.Middleware (3)
Buffering\PerRequestLogBufferingOptions.cs (1)
72public IList<LogBufferingFilterRule> Rules { get; set; } = [];
Logging\HeaderReader.cs (1)
29public void Read(IHeaderDictionary headers, IList<KeyValuePair<string, object?>> logContext)
Logging\IncomingHttpRouteUtility.cs (1)
43var parameters = endpoint?.Metadata.GetMetadata<ControllerActionDescriptor>()?.Parameters;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.AspNetCore.Grpc.JsonTranscoding (11)
Internal\Json\FieldMaskConverter.cs (2)
43var paths = (IList<string>)value.Descriptor.Fields[FieldMask.PathsFieldNumber].Accessor.GetValue(value);
Internal\Json\JsonConverterHelper.cs (2)
68var mapFields = descriptor.MessageType.Fields.InFieldNumberOrder(); 132var mapFields = fieldDescriptor.MessageType.Fields.InFieldNumberOrder();
Internal\Json\MessageTypeInfoResolver.cs (2)
35var fields = messageDescriptor.Fields.InFieldNumberOrder(); 190private static Dictionary<string, FieldDescriptor> CreateJsonFieldMap(IList<FieldDescriptor> fields)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (1)
241public static string GetFieldMaskText(IList<string> paths)
src\Grpc\JsonTranscoding\src\Shared\Server\MethodOptions.cs (1)
155private static void AddCompressionProviders(Dictionary<string, ICompressionProvider> resolvedProviders, IList<ICompressionProvider>? compressionProviders)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (3)
66public static bool TryResolveDescriptors(MessageDescriptor messageDescriptor, IList<string> path, bool allowJsonName, [NotNullWhen(true)]out List<FieldDescriptor>? fieldDescriptors) 108var fields = messageDescriptor.Fields.InFieldNumberOrder(); 510var messageFields = messageDescriptor.Fields.InFieldNumberOrder();
Microsoft.AspNetCore.Grpc.Swagger (6)
Internal\MessageDescriptorHelpers.cs (2)
14var mapFields = field.MessageType.Fields.InFieldNumberOrder(); 20return typeof(IList<>).MakeGenericType(GetTypeFromFieldType(field));
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (1)
241public static string GetFieldMaskText(IList<string> paths)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (3)
66public static bool TryResolveDescriptors(MessageDescriptor messageDescriptor, IList<string> path, bool allowJsonName, [NotNullWhen(true)]out List<FieldDescriptor>? fieldDescriptors) 108var fields = messageDescriptor.Fields.InFieldNumberOrder(); 510var messageFields = messageDescriptor.Fields.InFieldNumberOrder();
Microsoft.AspNetCore.HeaderParsing (4)
Parsers\CookieHeaderValueListParser.cs (1)
17if (!CookieHeaderValue.TryParseList(values, out var parsedValue))
Parsers\EntityTagHeaderValueListParser.cs (1)
17if (!EntityTagHeaderValue.TryParseList(values, out var parsedValues))
Parsers\MediaTypeHeaderValueListParser.cs (1)
17if (!MediaTypeHeaderValue.TryParseList(values, out var parsedValues))
Parsers\StringWithQualityHeaderValueListParser.cs (1)
17if (!StringWithQualityHeaderValue.TryParseList(values, out var parsedValues))
Microsoft.AspNetCore.HostFiltering (2)
HostFilteringMiddleware.cs (1)
101private bool CheckHostInAllowList(IList<StringSegment>? allowedHosts, string host)
HostFilteringOptions.cs (1)
24public IList<string> AllowedHosts { get; set; } = new List<string>();
Microsoft.AspNetCore.Hosting (2)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (2)
21public static IList<StackFrameInfo> GetFrames(Exception exception, out AggregateException? error) 241IList<CustomAttributeData> attributes;
Microsoft.AspNetCore.Hosting.Tests (2)
StartupManagerTests.cs (1)
755private readonly IList<object> _configurationMethodCalledList = new List<object>();
WebHostTests.cs (1)
1236public IList<StartInstance> StartInstances { get; } = new List<StartInstance>();
Microsoft.AspNetCore.Html.Abstractions (2)
HtmlContentBuilder.cs (2)
43public HtmlContentBuilder(IList<object> entries) 57internal IList<object> Entries { get; }
Microsoft.AspNetCore.Http (3)
Builder\ApplicationBuilder.cs (2)
210public IList<string>? Middleware 215value is IList<string> descriptions)
Internal\DefaultWebSocketManager.cs (1)
53public override IList<string> WebSocketRequestedProtocols
Microsoft.AspNetCore.Http.Abstractions (18)
CookieBuilder.cs (1)
87public IList<string> Extensions
DefaultEndpointFilterInvocationContext.cs (1)
27public override IList<object?> Arguments { get; }
EndpointFilterInvocationContext.cs (1)
23public abstract IList<object?> Arguments { get; }
EndpointFilterInvocationContextOfT.Generated.cs (10)
42public override IList<object?> Arguments => this; 169public override IList<object?> Arguments => this; 303public override IList<object?> Arguments => this; 444public override IList<object?> Arguments => this; 592public override IList<object?> Arguments => this; 747public override IList<object?> Arguments => this; 909public override IList<object?> Arguments => this; 1078public override IList<object?> Arguments => this; 1254public override IList<object?> Arguments => this; 1437public override IList<object?> Arguments => this;
Extensions\EndpointBuilder.cs (2)
18public IList<Func<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate>> FilterFactories => _filterFactories ??= new(); 33public IList<object> Metadata { get; } = new List<object>();
HostString.cs (1)
225public static bool MatchesAny(StringSegment value, IList<StringSegment> patterns)
WebSocketManager.cs (2)
24public abstract IList<string> WebSocketRequestedProtocols { get; } 63public IList<string> WebSocketRequestedProtocols => new List<string>(_manager.WebSocketRequestedProtocols);
Microsoft.AspNetCore.Http.Connections (2)
HttpConnectionDispatcherOptions.cs (1)
43public IList<IAuthorizeData> AuthorizationData { get; }
WebSocketOptions.cs (1)
28public Func<IList<string>, string>? SubProtocolSelector { get; set; }
Microsoft.AspNetCore.Http.Connections.Common (2)
AvailableTransport.cs (1)
21public IList<string>? TransferFormats { get; set; }
NegotiationResponse.cs (1)
43public IList<AvailableTransport>? AvailableTransports { get; set; }
Microsoft.AspNetCore.Http.Connections.Tests (2)
TestWebSocketConnectionFeature.cs (2)
267public IList<WebSocketMessage> Received { get; } 270public WebSocketConnectionSummary(IList<WebSocketMessage> received, WebSocketReceiveResult closeResult)
Microsoft.AspNetCore.Http.Extensions (66)
DefaultProblemDetailsWriter.cs (1)
29var acceptHeader = httpContext.Request.Headers.Accept.GetList<MediaTypeHeaderValue>();
HeaderDictionaryTypeExtensions.cs (28)
65internal static void SetList<T>(this IHeaderDictionary headers, string name, IList<T>? values) 96public static void AppendList<T>(this IHeaderDictionary Headers, string name, IList<T> values) 153private static IList<MediaTypeHeaderValue> ParseMediaTypeHeaderValue(IList<string> value) => 154MediaTypeHeaderValue.TryParseList(value, out var result) ? result : Array.Empty<MediaTypeHeaderValue>(); 156private static IList<StringWithQualityHeaderValue> ParseStringWithQualityHeaderValue(IList<string> value) => 157StringWithQualityHeaderValue.TryParseList(value, out var result) ? result : Array.Empty<StringWithQualityHeaderValue>(); 159private static IList<CookieHeaderValue> ParseCookieHeaderValue(IList<string> value) => 160CookieHeaderValue.TryParseList(value, out var result) ? result : Array.Empty<CookieHeaderValue>(); 162private static IList<EntityTagHeaderValue> ParseEntityTagHeaderValue(IList<string> value) => 163EntityTagHeaderValue.TryParseList(value, out var result) ? result : Array.Empty<EntityTagHeaderValue>(); 165private static IList<SetCookieHeaderValue> ParseSetCookieHeaderValue(IList<string> value) => 166SetCookieHeaderValue.TryParseList(value, out var result) ? result : Array.Empty<SetCookieHeaderValue>(); 220internal static IList<T> GetList<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] T>(this IHeaderDictionary headers, string name) 229internal static IList<T> GetList<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] T>(this StringValues values) 239return (IList<T>)ParseMediaTypeHeaderValue(values); 243return (IList<T>)ParseStringWithQualityHeaderValue(values); 247return (IList<T>)ParseCookieHeaderValue(values); 251return (IList<T>)ParseEntityTagHeaderValue(values); 255return (IList<T>)ParseSetCookieHeaderValue(values); 298private static IList<T> GetListViaReflection<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] T>(StringValues values) 310&& methodParams[0].ParameterType.Equals(typeof(IList<string>)) 312&& methodParams[1].ParameterType.Equals(typeof(IList<T>).MakeByRefType()); 329return (IList<T>)parameters[1]!;
QueryBuilder.cs (1)
18private readonly IList<KeyValuePair<string, string>> _params;
RequestDelegateFactory.cs (2)
114private static readonly PropertyInfo ListIndexer = typeof(IList<object>).GetProperty("Item")!; 304private static IReadOnlyList<object> AsReadOnlyList(IList<object> metadata)
RequestHeaders.cs (10)
34public IList<MediaTypeHeaderValue> Accept 49public IList<StringWithQualityHeaderValue> AcceptCharset 64public IList<StringWithQualityHeaderValue> AcceptEncoding 79public IList<StringWithQualityHeaderValue> AcceptLanguage 169public IList<CookieHeaderValue> Cookie 229public IList<EntityTagHeaderValue> IfMatch 259public IList<EntityTagHeaderValue> IfNoneMatch 371public IList<T> GetList<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] T>(string name) 394public void SetList<T>(string name, IList<T>? values) 419public void AppendList<T>(string name, IList<T> values)
ResponseHeaders.cs (4)
188public IList<SetCookieHeaderValue> SetCookie 221public IList<T> GetList<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] T>(string name) 244public void SetList<T>(string name, IList<T>? values) 269public void AppendList<T>(string name, IList<T> values)
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ReadOnlyCollectionBufferAdapter.cs (5)
8internal sealed class ReadOnlyCollectionBufferAdapter<TElement> : ICollectionBufferAdapter<ReadOnlyCollection<TElement>, IList<TElement>, TElement> 10public static IList<TElement> CreateBuffer() => new List<TElement>(); 12public static IList<TElement> Add(ref IList<TElement> buffer, TElement element) 18public static ReadOnlyCollection<TElement> ToResult(IList<TElement> buffer) => new(buffer);
src\Components\Endpoints\src\FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (4)
87var _ when type == (typeof(IList<TElement>)) => true, 138new CollectionConverter<ReadOnlyCollection<TElement>, ReadOnlyCollectionBufferAdapter<TElement>, IList<TElement>, TElement>(elementTypeConverter), 195var _ when type.IsAssignableTo(typeof(IList<TElement>)) => 196CreateConverter<IList<TElement>, List<TElement>>(elementTypeConverter),
src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (8)
29var properties = metadata.Properties; 30var constructorParameters = metadata.ConstructorParameters; 111IList<FormDataParameterMetadata> constructorParameters, 113IList<FormDataPropertyMetadata> props, 227IList<FormDataParameterMetadata> constructorParameterMetadata, 229IList<FormDataPropertyMetadata> propertyMetadata, 322IList<FormDataPropertyMetadata> properties, 421IList<FormDataParameterMetadata> constructorParameters,
src\Components\Endpoints\src\FormMapping\Metadata\FormDataTypeMetadata.cs (2)
22public IList<FormDataParameterMetadata> ConstructorParameters { get; set; } = new List<FormDataParameterMetadata>(); 24public IList<FormDataPropertyMetadata> Properties { get; set; } = new List<FormDataPropertyMetadata>();
src\Shared\PropertyAsParameterInfo.cs (1)
178public override IList<CustomAttributeData> GetCustomAttributesData()
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
103public IList<string> Extensions
Microsoft.AspNetCore.Http.Results (15)
ChallengeHttpResult.cs (2)
29internal ChallengeHttpResult(IList<string> authenticationSchemes) 53internal ChallengeHttpResult(IList<string> authenticationSchemes, AuthenticationProperties? properties)
ForbidHttpResult.cs (2)
29internal ForbidHttpResult(IList<string> authenticationSchemes) 64internal ForbidHttpResult(IList<string> authenticationSchemes, AuthenticationProperties? properties)
Results.cs (3)
41IList<string>? authenticationSchemes = null) 59public static IResult Forbid(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null) 81public static IResult SignOut(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null)
SignOutHttpResult.cs (2)
29internal SignOutHttpResult(IList<string> authenticationSchemes) 51internal SignOutHttpResult(IList<string> authenticationSchemes, AuthenticationProperties? properties)
src\Shared\ResultsHelpers\FileResultHelper.cs (3)
206var ifMatch = httpRequestHeaders.IfMatch; 223var ifNoneMatch = httpRequestHeaders.IfNoneMatch; 263IList<EntityTagHeaderValue> etagHeader,
TypedResults.cs (3)
41IList<string>? authenticationSchemes = null) 59public static ForbidHttpResult Forbid(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null) 85public static SignOutHttpResult SignOut(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null)
Microsoft.AspNetCore.Http.Results.Tests (16)
ResultsOfTHelperTests.cs (4)
25var metadata = GetMetadata<PublicMethodEndpointMetadataProvider>(); 42var metadata = GetMetadata<ExplicitMethodEndpointMetadataProvider>(); 59var metadata = GetMetadata<ExplicitAndPublicMethodEndpointMetadataProvider>(); 79private static IList<object> GetMetadata<T>()
ResultsTests.cs (6)
379public void Challenge_ResultHasCorrectValues(AuthenticationProperties properties, IList<string> authenticationSchemes) 391public void Forbid_ResultHasCorrectValues(AuthenticationProperties properties, IList<string> authenticationSchemes) 441public void SignOut_ResultHasCorrectValues(AuthenticationProperties properties, IList<string> authenticationSchemes) 453public void SignIn_ResultHasCorrectValues(AuthenticationProperties properties, IList<string> authenticationSchemes) 470new object[] { new AuthenticationProperties(), default(IList<string>) }, 472new object[] { default(AuthenticationProperties), default(IList<string>) },
TypedResultsTests.cs (6)
427public void Challenge_ResultHasCorrectValues(AuthenticationProperties properties, IList<string> authenticationSchemes) 439public void Forbid_ResultHasCorrectValues(AuthenticationProperties properties, IList<string> authenticationSchemes) 451public void SignOut_ResultHasCorrectValues(AuthenticationProperties properties, IList<string> authenticationSchemes) 463public void SignIn_ResultHasCorrectValues(AuthenticationProperties properties, IList<string> authenticationSchemes) 480new object[] { new AuthenticationProperties(), default(IList<string>) }, 482new object[] { default(AuthenticationProperties), default(IList<string>) },
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingInterceptorContext.cs (1)
81public IList<KeyValuePair<string, object?>> Parameters => InternalParameters;
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingEndpointConventionBuilderTests.cs (1)
64public IList<Action<EndpointBuilder>> Conventions { get; } = new List<Action<EndpointBuilder>>();
Microsoft.AspNetCore.HttpOverrides (13)
DualIPNetworkList.cs (8)
38IPNetwork IList<IPNetwork>.this[int index] 48AspNetIPNetwork IList<AspNetIPNetwork>.this[int index] 93int IList<IPNetwork>.IndexOf(IPNetwork item) => _system.IndexOf(item); 94int IList<AspNetIPNetwork>.IndexOf(AspNetIPNetwork item) => _aspnet.IndexOf(item); 96void IList<IPNetwork>.Insert(int index, IPNetwork item) 102void IList<AspNetIPNetwork>.Insert(int index, AspNetIPNetwork item) 136void IList<IPNetwork>.RemoveAt(int index) => RemoveAt(index); 137void IList<AspNetIPNetwork>.RemoveAt(int index) => RemoveAt(index);
ForwardedHeadersMiddleware.cs (1)
25private IList<StringSegment>? _allowedHosts;
ForwardedHeadersOptions.cs (4)
88public IList<IPAddress> KnownProxies { get; } = new List<IPAddress>() { IPAddress.IPv6Loopback }; 95public IList<AspNetIPNetwork> KnownNetworks => _knownNetworks; 100public IList<IPNetwork> KnownIPNetworks => _knownNetworks; 116public IList<string> AllowedHosts { get; set; } = new List<string>();
Microsoft.AspNetCore.HttpOverrides.Tests (2)
DualIPNetworkListTests.cs (2)
33var obsoleteList = options.KnownNetworks; 92var obsoleteList = options.KnownNetworks;
Microsoft.AspNetCore.HttpsPolicy (2)
HstsMiddleware.cs (1)
24private readonly IList<string> _excludedHosts;
HstsOptions.cs (1)
40public IList<string> ExcludedHosts { get; } = new List<string>
Microsoft.AspNetCore.Identity (5)
GeneratedRouteBuilderExtensions.g.cs (1)
1344var routeHandlerFilters = builder.FilterFactories;
PasskeyHandler.cs (2)
97var passkeys = await _userManager.GetPasskeysAsync(existingUser).ConfigureAwait(false); 148var passkeys = await _userManager.GetPasskeysAsync(user).ConfigureAwait(false);
SignInManager.cs (2)
206IList<Claim> claims = Array.Empty<Claim>(); 248IList<Claim> additionalClaims = Array.Empty<Claim>();
Microsoft.AspNetCore.Identity.EntityFrameworkCore (11)
RoleStore.cs (1)
336public virtual async Task<IList<Claim>> GetClaimsAsync(TRole role, CancellationToken cancellationToken = default(CancellationToken))
UserOnlyStore.cs (4)
334public override async Task<IList<Claim>> GetClaimsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 453public override async Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 509public override async Task<IList<TUser>> GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken = default(CancellationToken)) 646public virtual async Task<IList<UserPasskeyInfo>> GetPasskeysAsync(TUser user, CancellationToken cancellationToken)
UserStore.cs (6)
408public override async Task<IList<string>> GetRolesAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 451public override async Task<IList<Claim>> GetClaimsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 570public override async Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 626public override async Task<IList<TUser>> GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken = default(CancellationToken)) 649public override async Task<IList<TUser>> GetUsersInRoleAsync(string normalizedRoleName, CancellationToken cancellationToken = default(CancellationToken)) 791public virtual async Task<IList<UserPasskeyInfo>> GetPasskeysAsync(TUser user, CancellationToken cancellationToken)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (7)
SqlStoreTestBase.cs (2)
169var roles = await userMgr.GetRolesAsync(user); 194var roles = await userMgr.GetRolesAsync(user);
UserStoreWithGenericsTest.cs (5)
109var userClaims = await manager.GetClaimsAsync(user); 138var userClaims = await manager.GetClaimsAsync(user); 149var userClaims2 = await manager.GetClaimsAsync(user2); 160var userClaims = await manager.GetClaimsAsync(user); 165var newUserClaims = await manager.GetClaimsAsync(user);
Microsoft.AspNetCore.Identity.InMemory.Test (15)
InMemoryStore.cs (9)
41public Task<IList<string>> GetRolesAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 43IList<string> roles = new List<string>(); 59public Task<IList<TUser>> GetUsersInRoleAsync(string roleName, CancellationToken cancellationToken = default(CancellationToken)) 66return Task.FromResult<IList<TUser>>(new List<TUser>()); 68return Task.FromResult<IList<TUser>>(Users.Where(u => (u.Roles.Where(x => x.RoleId == role.Id).Any())).Select(x => x).ToList()); 127public Task<IList<Claim>> GetClaimsAsync(TRole role, CancellationToken cancellationToken = default(CancellationToken)) 130return Task.FromResult<IList<Claim>>(claims); 179public Task<IList<UserPasskeyInfo>> GetPasskeysAsync(TUser user, CancellationToken cancellationToken) 181return Task.FromResult<IList<UserPasskeyInfo>>(user.Passkeys.Select(ToUserPasskeyInfo).ToList()!);
InMemoryUserStore.cs (6)
33public Task<IList<Claim>> GetClaimsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 36return Task.FromResult<IList<Claim>>(claims); 188public Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)) 190IList<UserLoginInfo> result = user.Logins 334public Task<IList<TUser>> GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken = default(CancellationToken)) 342return Task.FromResult<IList<TUser>>(query.ToList());
Microsoft.AspNetCore.Identity.Specification.Tests (21)
IdentitySpecificationTestBase.cs (5)
246var roleClaims = await manager.GetClaimsAsync(role); 247var safeRoleClaims = await manager.GetClaimsAsync(roleSafe); 409var rs = await userManager.GetRolesAsync(u); 643var fetchedPasskeys = await manager.GetPasskeysAsync(user); 731var all = await manager.GetPasskeysAsync(user);
TestLogger.cs (2)
16IList<string> LogMessages { get; } 28public IList<string> LogMessages { get; } = new List<string>();
UserManagerSpecificationTests.cs (14)
563var logins = await manager.GetLoginsAsync(user); 582var logins = await manager.GetLoginsAsync(user); 606var logins = await manager.GetLoginsAsync(user); 645var logins = await manager.GetLoginsAsync(user); 716var userClaims = await manager.GetClaimsAsync(user); 747var userClaims = await manager.GetClaimsAsync(user); 758var userClaims2 = await manager.GetClaimsAsync(user2); 773var userClaims = await manager.GetClaimsAsync(user); 778var newUserClaims = await manager.GetClaimsAsync(user); 799var userClaims = await manager.GetClaimsAsync(user); 801var userClaims2 = await manager.GetClaimsAsync(user); 806var newUserClaims = await manager.GetClaimsAsync(user); 1714var factors = await manager.GetValidTwoFactorProvidersAsync(user); 1810var factors = await manager.GetValidTwoFactorProvidersAsync(user);
Microsoft.AspNetCore.Identity.Test (25)
Passkeys\PasskeyHandlerAssertionTest.cs (1)
1039.Returns((PocoUser user) => Task.FromResult<IList<UserPasskeyInfo>>(
SignInManagerTest.cs (3)
320IList<string> providers = new List<string>(); 362IList<string> providers = new List<string>(); 1280IList<string> providers = new List<string>();
UserManagerTest.cs (21)
814var passkeys = (IList<UserPasskeyInfo>)[passkey]; 819var result = await userManager.GetPasskeysAsync(user); 1601public Task<IList<Claim>> GetClaimsAsync(PocoUser user, CancellationToken cancellationToken = default(CancellationToken)) 1603return Task.FromResult<IList<Claim>>(new List<Claim>()); 1691public Task<IList<UserLoginInfo>> GetLoginsAsync(PocoUser user, CancellationToken cancellationToken = default(CancellationToken)) 1693return Task.FromResult<IList<UserLoginInfo>>(new List<UserLoginInfo>()); 1780public Task<IList<string>> GetRolesAsync(PocoUser user, CancellationToken cancellationToken = default(CancellationToken)) 1782return Task.FromResult<IList<string>>(new List<string>()); 1830public Task<IList<PocoUser>> GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken = default(CancellationToken)) 1832return Task.FromResult<IList<PocoUser>>(new List<PocoUser>()); 1835public Task<IList<PocoUser>> GetUsersInRoleAsync(string roleName, CancellationToken cancellationToken = default(CancellationToken)) 1837return Task.FromResult<IList<PocoUser>>(new List<PocoUser>()); 1855public Task<IList<UserPasskeyInfo>> GetPasskeysAsync(PocoUser user, CancellationToken cancellationToken) 1857return Task.FromResult<IList<UserPasskeyInfo>>([]); 1907public Task<IList<Claim>> GetClaimsAsync(PocoUser user, CancellationToken cancellationToken = default(CancellationToken)) 1997public Task<IList<UserLoginInfo>> GetLoginsAsync(PocoUser user, CancellationToken cancellationToken = default(CancellationToken)) 2092public Task<IList<string>> GetRolesAsync(PocoUser user, CancellationToken cancellationToken = default(CancellationToken)) 2112public Task<IList<PocoUser>> GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken = default(CancellationToken)) 2117public Task<IList<PocoUser>> GetUsersInRoleAsync(string roleName, CancellationToken cancellationToken = default(CancellationToken)) 2152public Task<IList<UserPasskeyInfo>> GetPasskeysAsync(PocoUser user, CancellationToken cancellationToken)
Microsoft.AspNetCore.Identity.UI (10)
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
34public IList<AuthenticationScheme>? ExternalLogins { get; set; }
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
69var logins = await _userManager.GetLoginsAsync(user);
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (2)
22public IList<UserLoginInfo>? CurrentLogins { get; set; } 28public IList<AuthenticationScheme>? OtherLogins { get; set; }
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
43public IList<AuthenticationScheme>? ExternalLogins { get; set; }
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
34public IList<AuthenticationScheme>? ExternalLogins { get; set; }
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
69var logins = await _userManager.GetLoginsAsync(user);
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (2)
22public IList<UserLoginInfo>? CurrentLogins { get; set; } 28public IList<AuthenticationScheme>? OtherLogins { get; set; }
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
43public IList<AuthenticationScheme>? ExternalLogins { get; set; }
Microsoft.AspNetCore.InternalTesting (1)
Tracing\EventAssert.cs (1)
17private readonly IList<(string name, Action<object> asserter)> _payloadAsserters = new List<(string, Action<object>)>();
Microsoft.AspNetCore.JsonPatch (27)
Converters\JsonPatchDocumentConverter.cs (1)
69var lst = jsonPatchDoc.GetOperations();
IJsonPatchDocument.cs (1)
14IList<Operation> GetOperations();
Internal\ListAdapter.cs (1)
279var genericList = ClosedGenericMatcher.ExtractGenericInterface(listType, typeof(IList<>));
JsonPatchDocument.cs (1)
210IList<Operation> IJsonPatchDocument.GetOperations()
JsonPatchDocumentOfT.cs (23)
85Expression<Func<TModel, IList<TProp>>> path, 107public JsonPatchDocument<TModel> Add<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value) 142public JsonPatchDocument<TModel> Remove<TProp>(Expression<Func<TModel, IList<TProp>>> path, int position) 160public JsonPatchDocument<TModel> Remove<TProp>(Expression<Func<TModel, IList<TProp>>> path) 200public JsonPatchDocument<TModel> Replace<TProp>(Expression<Func<TModel, IList<TProp>>> path, 221public JsonPatchDocument<TModel> Replace<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value) 262public JsonPatchDocument<TModel> Test<TProp>(Expression<Func<TModel, IList<TProp>>> path, 283public JsonPatchDocument<TModel> Test<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value) 327Expression<Func<TModel, IList<TProp>>> from, 352Expression<Func<TModel, IList<TProp>>> path, 376Expression<Func<TModel, IList<TProp>>> from, 378Expression<Func<TModel, IList<TProp>>> path, 401Expression<Func<TModel, IList<TProp>>> from, 403Expression<Func<TModel, IList<TProp>>> path) 425Expression<Func<TModel, IList<TProp>>> path) 469Expression<Func<TModel, IList<TProp>>> from, 494Expression<Func<TModel, IList<TProp>>> path, 518Expression<Func<TModel, IList<TProp>>> from, 520Expression<Func<TModel, IList<TProp>>> path, 543Expression<Func<TModel, IList<TProp>>> from, 545Expression<Func<TModel, IList<TProp>>> path) 567Expression<Func<TModel, IList<TProp>>> path) 646IList<Operation> IJsonPatchDocument.GetOperations()
Microsoft.AspNetCore.JsonPatch.SystemTextJson (26)
IJsonPatchDocument.cs (1)
14IList<Operation> GetOperations();
Internal\ListAdapter.cs (1)
207var genericList = ClosedGenericMatcher.ExtractGenericInterface(listType, typeof(IList<>));
JsonPatchDocument.cs (1)
203IList<Operation> IJsonPatchDocument.GetOperations()
JsonPatchDocumentOfT.cs (23)
78Expression<Func<TModel, IList<TProp>>> path, 100public JsonPatchDocument<TModel> Add<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value) 135public JsonPatchDocument<TModel> Remove<TProp>(Expression<Func<TModel, IList<TProp>>> path, int position) 153public JsonPatchDocument<TModel> Remove<TProp>(Expression<Func<TModel, IList<TProp>>> path) 193public JsonPatchDocument<TModel> Replace<TProp>(Expression<Func<TModel, IList<TProp>>> path, 214public JsonPatchDocument<TModel> Replace<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value) 255public JsonPatchDocument<TModel> Test<TProp>(Expression<Func<TModel, IList<TProp>>> path, 276public JsonPatchDocument<TModel> Test<TProp>(Expression<Func<TModel, IList<TProp>>> path, TProp value) 320Expression<Func<TModel, IList<TProp>>> from, 345Expression<Func<TModel, IList<TProp>>> path, 369Expression<Func<TModel, IList<TProp>>> from, 371Expression<Func<TModel, IList<TProp>>> path, 394Expression<Func<TModel, IList<TProp>>> from, 396Expression<Func<TModel, IList<TProp>>> path) 418Expression<Func<TModel, IList<TProp>>> path) 462Expression<Func<TModel, IList<TProp>>> from, 487Expression<Func<TModel, IList<TProp>>> path, 511Expression<Func<TModel, IList<TProp>>> from, 513Expression<Func<TModel, IList<TProp>>> path, 536Expression<Func<TModel, IList<TProp>>> from, 538Expression<Func<TModel, IList<TProp>>> path) 560Expression<Func<TModel, IList<TProp>>> path) 639IList<Operation> IJsonPatchDocument.GetOperations()
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (4)
Internal\ObjectVisitorTest.cs (1)
16public IList<string> States { get; set; } = new List<string>();
TestObjectModels\HeterogenousCollection.cs (1)
34public IList<Shape> Items { get; set; }
TestObjectModels\SimpleObject.cs (1)
13public IList<int> IntegerIList { get; set; }
TestObjectModels\SimpleObjectWithNestedObject.cs (1)
20public IList<SimpleObject> SimpleObjectIList { get; set; }
Microsoft.AspNetCore.JsonPatch.Tests (4)
Internal\ObjectVisitorTest.cs (1)
16public IList<string> States { get; set; } = new List<string>();
TestObjectModels\HeterogenousCollection.cs (1)
34public IList<Shape> Items { get; set; }
TestObjectModels\SimpleObject.cs (1)
13public IList<int> IntegerIList { get; set; }
TestObjectModels\SimpleObjectWithNestedObject.cs (1)
20public IList<SimpleObject> SimpleObjectIList { get; set; }
Microsoft.AspNetCore.Localization (17)
AcceptLanguageHeaderRequestCultureProvider.cs (1)
27var acceptLanguageHeader = httpContext.Request.GetTypedHeaders().AcceptLanguage;
ProviderCultureResult.cs (5)
39public ProviderCultureResult(IList<StringSegment> cultures) 50public ProviderCultureResult(IList<StringSegment> cultures, IList<StringSegment> uiCultures) 59public IList<StringSegment> Cultures { get; } 64public IList<StringSegment> UICultures { get; }
RequestCultureProviderLoggerExtensions.cs (2)
12public static partial void UnsupportedCultures(this ILogger logger, string requestCultureProvider, IList<StringSegment> cultures); 15public static partial void UnsupportedUICultures(this ILogger logger, string requestCultureProvider, IList<StringSegment> uiCultures);
RequestLocalizationMiddleware.cs (6)
64var cultures = providerResultCulture.Cultures; 65var uiCultures = providerResultCulture.UICultures; 130IList<StringSegment> cultureNames, 131IList<CultureInfo> supportedCultures, 153IList<CultureInfo>? supportedCultures, 182private static CultureInfo? GetCultureInfo(StringSegment name, IList<CultureInfo>? supportedCultures)
RequestLocalizationOptions.cs (3)
97public IList<CultureInfo>? SupportedCultures { get; set; } = new List<CultureInfo> { CultureInfo.CurrentCulture }; 104public IList<CultureInfo>? SupportedUICultures { get; set; } = new List<CultureInfo> { CultureInfo.CurrentUICulture }; 116public IList<IRequestCultureProvider> RequestCultureProviders { get; set; }
Microsoft.AspNetCore.Localization.Tests (1)
CustomRequestCultureProviderTest.cs (1)
64private static string GetCultureInfoFromUrl(HttpContext context, IList<CultureInfo> supportedCultures)
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (3)
TestDiagnosticListener.cs (3)
11public IList<string> MiddlewareStarting { get; } = new List<string>(); 12public IList<string> MiddlewareFinished { get; } = new List<string>(); 13public IList<string> MiddlewareException { get; } = new List<string>();
Microsoft.AspNetCore.Mvc.Abstractions (34)
Abstractions\ActionDescriptor.cs (5)
44public IList<IActionConstraintMetadata>? ActionConstraints { get; set; } 50public IList<object> EndpointMetadata { get; set; } = Array.Empty<ParameterDescriptor>(); 55public IList<ParameterDescriptor> Parameters { get; set; } = Array.Empty<ParameterDescriptor>(); 60public IList<ParameterDescriptor> BoundProperties { get; set; } = Array.Empty<ParameterDescriptor>(); 65public IList<FilterDescriptor> FilterDescriptors { get; set; } = Array.Empty<FilterDescriptor>();
Abstractions\ActionDescriptorProviderContext.cs (2)
12/// Gets the <see cref="IList{T}" /> of <see cref="ActionDescriptor"/> instances of <see cref="IActionDescriptorProvider"/> 15public IList<ActionDescriptor> Results { get; } = new List<ActionDescriptor>();
ActionConstraints\ActionConstraintProviderContext.cs (2)
23IList<ActionConstraintItem> items) 47public IList<ActionConstraintItem> Results { get; }
ApiExplorer\ApiDescription.cs (3)
34public IList<ApiParameterDescription> ParameterDescriptions { get; } = new List<ApiParameterDescription>(); 57public IList<ApiRequestFormat> SupportedRequestFormats { get; } = new List<ApiRequestFormat>(); 66public IList<ApiResponseType> SupportedResponseTypes { get; } = new List<ApiResponseType>();
ApiExplorer\ApiDescriptionProviderContext.cs (1)
34public IList<ApiDescription> Results { get; }
ApiExplorer\ApiResponseType.cs (1)
16public IList<ApiResponseFormat> ApiResponseFormats { get; set; } = new List<ApiResponseFormat>();
Filters\ActionExecutedContext.cs (1)
24IList<IFilterMetadata> filters,
Filters\ActionExecutingContext.cs (1)
25IList<IFilterMetadata> filters,
Filters\AuthorizationFilterContext.cs (1)
19IList<IFilterMetadata> filters)
Filters\ExceptionContext.cs (1)
22public ExceptionContext(ActionContext actionContext, IList<IFilterMetadata> filters)
Filters\FilterContext.cs (2)
20IList<IFilterMetadata> filters) 31public virtual IList<IFilterMetadata> Filters { get; }
Filters\FilterProviderContext.cs (2)
18public FilterProviderContext(ActionContext actionContext, IList<FilterItem> items) 37public IList<FilterItem> Results { get; set; }
Filters\ResourceExecutedContext.cs (1)
21public ResourceExecutedContext(ActionContext actionContext, IList<IFilterMetadata> filters)
Filters\ResourceExecutingContext.cs (3)
22IList<IFilterMetadata> filters, 23IList<IValueProviderFactory> valueProviderFactories) 43public IList<IValueProviderFactory> ValueProviderFactories { get; }
Filters\ResultExecutedContext.cs (1)
27IList<IFilterMetadata> filters,
Filters\ResultExecutingContext.cs (1)
21IList<IFilterMetadata> filters,
Formatters\FormatterCollection.cs (1)
26public FormatterCollection(IList<TFormatter> list)
ModelBinding\Validation\ClientValidatorProviderContext.cs (2)
17public ClientValidatorProviderContext(ModelMetadata modelMetadata, IList<ClientValidatorItem> items) 42public IList<ClientValidatorItem> Results { get; }
ModelBinding\Validation\ModelValidatorProviderContext.cs (2)
16public ModelValidatorProviderContext(ModelMetadata modelMetadata, IList<ValidatorItem> items) 41public IList<ValidatorItem> Results { get; }
ModelBinding\ValueProviderFactoryContext.cs (1)
32public IList<IValueProvider> ValueProviders { get; } = new List<IValueProvider>();
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
Filters\FilterContextTest.cs (1)
121public TestFilterContext(IList<IFilterMetadata> filters)
Microsoft.AspNetCore.Mvc.Api.Analyzers (14)
ActualApiResponseMetadataFactory.cs (1)
25out IList<ActualApiResponseMetadata> actualResponseMetadata)
AddResponseTypeAttributeCodeFixAction.cs (3)
55var declaredResponseMetadata = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(context.SymbolCache, context.Method); 169private static ICollection<(int statusCode, ITypeSymbol? typeSymbol)> CalculateStatusCodesToApply(in CodeActionContext context, IList<DeclaredApiResponseMetadata> declaredResponseMetadata) 173if (!ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(context.SymbolCache, operation, out var actualResponseMetadata))
ApiConventionAnalyzer.cs (3)
47var declaredResponseMetadata = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 48var hasUnreadableStatusCodes = !ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(symbolCache, (IMethodBodyOperation)context.Operation, out var actualResponseMetadata); 95internal static bool Contains(IList<ActualApiResponseMetadata> actualResponseMetadata, DeclaredApiResponseMetadata declaredMetadata)
DeclaredApiResponseMetadata.cs (2)
56internal static bool Contains(IList<DeclaredApiResponseMetadata> declaredApiResponseMetadata, ActualApiResponseMetadata actualMetadata) 62IList<DeclaredApiResponseMetadata> declaredApiResponseMetadata,
SymbolApiResponseMetadataProvider.cs (5)
15private static readonly IList<DeclaredApiResponseMetadata> DefaultResponseMetadatas = new[] 20public static IList<DeclaredApiResponseMetadata> GetDeclaredResponseMetadata( 24var metadataItems = GetResponseMetadataFromMethodAttributes(symbolCache, method); 64private static IList<DeclaredApiResponseMetadata> GetResponseMetadataFromConventions( 140private static IList<DeclaredApiResponseMetadata> GetResponseMetadataFromMethodAttributes(in ApiControllerSymbolCache symbolCache, IMethodSymbol methodSymbol)
Microsoft.AspNetCore.Mvc.ApiExplorer (6)
ApiParameterContext.cs (1)
28public IList<ApiParameterDescription> Results { get; }
DefaultApiDescriptionProvider.cs (1)
166private IList<ApiParameterDescription> GetParameters(ApiParameterContext context)
EndpointMetadataApiDescriptionProvider.cs (3)
155var supportedRequestFormats = apiDescription.SupportedRequestFormats; 322IList<ApiResponseType> supportedResponseTypes, 501private static void AddResponseContentTypes(IList<ApiResponseFormat> apiResponseFormats, IReadOnlyList<string> contentTypes)
src\Shared\PropertyAsParameterInfo.cs (1)
178public override IList<CustomAttributeData> GetCustomAttributesData()
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (10)
DefaultApiDescriptionProviderTest.cs (7)
367var parameters = description.ParameterDescriptions; 398var parameters = description.ParameterDescriptions; 1352var parameters = description.ParameterDescriptions; 1450var parameters = description.ParameterDescriptions; 1482var parameters = description.ParameterDescriptions; 1566var parameters = description.ParameterDescriptions; 1992var parameters = description.ParameterDescriptions;
EndpointMetadataApiDescriptionProviderTest.cs (3)
32var apiDescriptions = GetApiDescriptions(() => { }, "/", new string[] { "FOO", "BAR" }); 40var apiDescriptions = GetApiDescriptions(() => { }, "/", Array.Empty<string>()); 1766private static IList<ApiDescription> GetApiDescriptions(
Microsoft.AspNetCore.Mvc.Core (128)
ApplicationModels\ActionAttributeRouteModel.cs (2)
118private static void AddActionConstraints(SelectorModel selector, IList<IActionConstraintMetadata>? actionConstraints) 129private static void AddEndpointMetadata(SelectorModel selector, IList<object>? controllerMetadata)
ApplicationModels\ActionModel.cs (3)
105public IList<IFilterMetadata> Filters { get; } 110public IList<ParameterModel> Parameters { get; } 160public IList<SelectorModel> Selectors { get; }
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (1)
103static bool IsAttributeRouted(IList<SelectorModel> selectorModel)
ApplicationModels\ApplicationModel.cs (2)
42public IList<ControllerModel> Controllers { get; } 47public IList<IFilterMetadata> Filters { get; }
ApplicationModels\ApplicationModelFactory.cs (1)
20private readonly IList<IApplicationModelConvention> _conventions;
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
21public static IList<ControllerActionDescriptor> Build(ApplicationModel application)
ApplicationModels\ControllerModel.cs (4)
74public IList<ActionModel> Actions { get; } 115public IList<PropertyModel> ControllerProperties { get; } 120public IList<IFilterMetadata> Filters { get; } 145public IList<SelectorModel> Selectors { get; }
ApplicationModels\DefaultApplicationModelProvider.cs (5)
358internal static void AddReturnTypeMetadata(IList<SelectorModel> selectors, MethodInfo methodInfo) 494private static IList<SelectorModel> CreateSelectors(IList<object> attributes) 653private static SelectorModel CreateSelectorModel(IRouteTemplateProvider? route, IList<object> attributes) 704private static void AddRange<T>(IList<T> list, IEnumerable<T> items)
ApplicationModels\IFilterModel.cs (1)
16IList<IFilterMetadata> Filters { get; }
ApplicationModels\SelectorModel.cs (2)
47public IList<IActionConstraintMetadata> ActionConstraints { get; } 52public IList<object> EndpointMetadata { get; }
ApplicationParts\ApplicationPartManager.cs (2)
17public IList<IApplicationFeatureProvider> FeatureProviders { get; } = 29public IList<ApplicationPart> ApplicationParts { get; } = new List<ApplicationPart>();
Authorization\AuthorizeFilter.cs (1)
212var filters = context.Filters;
Builder\MvcApplicationBuilderExtensions.cs (1)
109public IList<IRouter> Routes { get; }
ChallengeResult.cs (4)
39public ChallengeResult(IList<string> authenticationSchemes) 74public ChallengeResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 83public IList<string> AuthenticationSchemes { get; set; } 115public static void ChallengeResultExecuting(ILogger logger, IList<string> schemes)
ControllerContext.cs (2)
19private IList<IValueProviderFactory>? _valueProviderFactories; 72public virtual IList<IValueProviderFactory> ValueProviderFactories
Controllers\ControllerBinderDelegateProvider.cs (2)
121var parameters = actionDescriptor.Parameters; 167var properties = actionDescriptor.BoundProperties;
Controllers\ControllerFeature.cs (1)
21public IList<TypeInfo> Controllers { get; } = new List<TypeInfo>();
DependencyInjection\ApplicationModelConventionExtensions.cs (6)
19public static void RemoveType<TApplicationModelConvention>(this IList<IApplicationModelConvention> list) 32public static void RemoveType(this IList<IApplicationModelConvention> list, Type type) 55this IList<IApplicationModelConvention> conventions, 72this IList<IApplicationModelConvention> conventions, 89this IList<IApplicationModelConvention> conventions, 106this IList<IApplicationModelConvention> conventions,
Filters\DefaultFilterProvider.cs (1)
20var results = context.Results;
ForbidResult.cs (4)
39public ForbidResult(IList<string> authenticationSchemes) 74public ForbidResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 83public IList<string> AuthenticationSchemes { get; set; } 116public static void ForbidResultExecuting(ILogger logger, IList<string> authenticationSchemes)
Formatters\AcceptHeaderParser.cs (4)
11public static IList<MediaTypeSegmentWithQuality> ParseAcceptHeader(IList<string> acceptHeaders) 19public static void ParseAcceptHeader(IList<string> acceptHeaders, IList<MediaTypeSegmentWithQuality> parsedValues)
Formatters\TextInputFormatter.cs (1)
32public IList<Encoding> SupportedEncodings { get; } = new List<Encoding>();
Formatters\TextOutputFormatter.cs (8)
33public IList<Encoding> SupportedEncodings { get; } 74var acceptCharsetHeaderValues = GetAcceptCharsetHeaderValues(context); 170internal static IList<StringWithQualityHeaderValue> GetAcceptCharsetHeaderValues(OutputFormatterWriteContext context) 173if (StringWithQualityHeaderValue.TryParseList(request.Headers.AcceptCharset, out var result)) 192private Encoding? MatchAcceptCharacterEncoding(IList<StringWithQualityHeaderValue> acceptCharsetHeaders) 196var acceptValues = Sort(acceptCharsetHeaders); 220private static IList<StringWithQualityHeaderValue> Sort(IList<StringWithQualityHeaderValue> values)
Infrastructure\ControllerActionInvoker.cs (2)
578public ActionExecutingContextSealed(ActionContext actionContext, IList<IFilterMetadata> filters, IDictionary<string, object?> actionArguments, object controller) : base(actionContext, filters, actionArguments, controller) { } 583public ActionExecutedContextSealed(ActionContext actionContext, IList<IFilterMetadata> filters, object controller) : base(actionContext, filters, controller) { }
Infrastructure\ControllerEndpointFilterInvocationContext.cs (1)
42public override IList<object?> Arguments { get; }
Infrastructure\DefaultOutputFormatterSelector.cs (9)
28private readonly IList<IOutputFormatter> _formatters; 50public override IOutputFormatter? SelectFormatter(OutputFormatterCanWriteContext context, IList<IOutputFormatter> formatters, MediaTypeCollection contentTypes) 170IList<IOutputFormatter> formatters) 190IList<IOutputFormatter> formatters, 191IList<MediaTypeSegmentWithQuality> sortedAcceptHeaders) 215IList<IOutputFormatter> formatters, 237IList<IOutputFormatter> formatters, 238IList<MediaTypeSegmentWithQuality> sortedAcceptableContentTypes, 304public static partial void NoFormatterFromNegotiation(ILogger logger, IList<MediaTypeSegmentWithQuality> acceptTypes);
Infrastructure\MvcCoreMvcOptionsSetup.cs (1)
107internal static void ConfigureAdditionalModelMetadataDetailsProviders(IList<IMetadataDetailsProvider> modelMetadataDetailsProviders)
Infrastructure\ObjectResultExecutor.cs (1)
93(IList<IOutputFormatter>)result.Formatters ?? Array.Empty<IOutputFormatter>(),
Infrastructure\OutputFormatterSelector.cs (1)
33public abstract IOutputFormatter? SelectFormatter(OutputFormatterCanWriteContext context, IList<IOutputFormatter> formatters, MediaTypeCollection mediaTypes);
Infrastructure\ResourceInvoker.cs (9)
24protected readonly IList<IValueProviderFactory> _valueProviderFactories; 48IList<IValueProviderFactory> valueProviderFactories) 1571IList<IFilterMetadata> filters, 1581IList<IFilterMetadata> filters, 1590public ExceptionContextSealed(ActionContext actionContext, IList<IFilterMetadata> filters) : base(actionContext, filters) { } 1594public ResourceExecutedContextSealed(ActionContext actionContext, IList<IFilterMetadata> filters) : base(actionContext, filters) { } 1598public ResourceExecutingContextSealed(ActionContext actionContext, IList<IFilterMetadata> filters, IList<IValueProviderFactory> valueProviderFactories) : base(actionContext, filters, valueProviderFactories) { } 1602public AuthorizationFilterContextSealed(ActionContext actionContext, IList<IFilterMetadata> filters) : base(actionContext, filters) { }
ModelBinding\Binders\BodyModelBinder.cs (4)
22private readonly IList<IInputFormatter> _formatters; 35public BodyModelBinder(IList<IInputFormatter> formatters, IHttpRequestStreamReaderFactory readerFactory) 50IList<IInputFormatter> formatters, 68IList<IInputFormatter> formatters,
ModelBinding\Binders\BodyModelBinderProvider.cs (4)
19private readonly IList<IInputFormatter> _formatters; 29public BodyModelBinderProvider(IList<IInputFormatter> formatters, IHttpRequestStreamReaderFactory readerFactory) 40public BodyModelBinderProvider(IList<IInputFormatter> formatters, IHttpRequestStreamReaderFactory readerFactory, ILoggerFactory loggerFactory) 53IList<IInputFormatter> formatters,
ModelBinding\CompositeValueProvider.cs (4)
31public CompositeValueProvider(IList<IValueProvider> valueProviders) 49var factories = controllerContext.ValueProviderFactories; 66IList<IValueProviderFactory> factories) 81IList<IValueProviderFactory> factories)
ModelBinding\Metadata\HasValidatorsValidationMetadataProvider.cs (2)
16public HasValidatorsValidationMetadataProvider(IList<IModelValidatorProvider> modelValidatorProviders) 47if (context.PropertyAttributes is not IList<object> propertyAttributes)
ModelBinding\Metadata\MetadataDetailsProviderExtensions.cs (2)
18public static void RemoveType<TMetadataDetailsProvider>(this IList<IMetadataDetailsProvider> list) where TMetadataDetailsProvider : IMetadataDetailsProvider 30public static void RemoveType(this IList<IMetadataDetailsProvider> list, Type type)
ModelBinding\Metadata\ValidationMetadata.cs (1)
44public IList<object> ValidatorMetadata { get; } = new List<object>();
ModelBinding\ModelBinderProviderExtensions.cs (2)
18public static void RemoveType<TModelBinderProvider>(this IList<IModelBinderProvider> list) where TModelBinderProvider : IModelBinderProvider 30public static void RemoveType(this IList<IModelBinderProvider> list, Type type)
ModelBinding\ObjectModelValidator.cs (1)
26IList<IModelValidatorProvider> validatorProviders)
ModelBinding\Validation\CompositeModelValidatorProvider.cs (2)
19public CompositeModelValidatorProvider(IList<IModelValidatorProvider> providers) 29public IList<IModelValidatorProvider> ValidatorProviders { get; }
ModelBinding\Validation\DefaultModelValidatorProvider.cs (1)
39public bool HasValidators(Type modelType, IList<object> validatorMetadata)
ModelBinding\Validation\DefaultObjectValidator.cs (1)
25IList<IModelValidatorProvider> validatorProviders,
ModelBinding\Validation\IMetadataBasedModelValidatorProvider.cs (1)
28bool HasValidators(Type modelType, IList<object> validatorMetadata);
ModelBinding\Validation\ModelValidatorProviderExtensions.cs (2)
18public static void RemoveType<TModelValidatorProvider>(this IList<IModelValidatorProvider> list) where TModelValidatorProvider : IModelValidatorProvider 30public static void RemoveType(this IList<IModelValidatorProvider> list, Type type)
ModelBinding\ValueProviderFactoryExtensions.cs (2)
18public static void RemoveType<TValueProviderFactory>(this IList<IValueProviderFactory> list) where TValueProviderFactory : IValueProviderFactory 30public static void RemoveType(this IList<IValueProviderFactory> list, Type type)
MvcOptions.cs (5)
85public IList<IApplicationModelConvention> Conventions { get; } 165public IList<IModelBinderProvider> ModelBinderProviders { get; } 187public IList<IMetadataDetailsProvider> ModelMetadataDetailsProviders { get; } 192public IList<IModelValidatorProvider> ModelValidatorProviders { get; } 215public IList<IValueProviderFactory> ValueProviderFactories { get; }
Routing\ActionConstraintMatcherPolicy.cs (2)
42if (action?.ActionConstraints is IList<IActionConstraintMetadata> { Count: > 0 } constraints && HasSignificantActionConstraint(constraints)) 53static bool HasSignificantActionConstraint(IList<IActionConstraintMetadata> constraints)
Routing\ActionEndpointFactory.cs (1)
458var routeHandlerFilters = builder.FilterFactories;
Routing\UrlHelper.cs (1)
38var routers = ActionContext.RouteData.Routers;
SignOutResult.cs (4)
51public SignOutResult(IList<string> authenticationSchemes) 73public SignOutResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 82public IList<string> AuthenticationSchemes { get; set; } 132public static void SignOutResultExecuting(ILogger logger, IList<string> authenticationSchemes)
src\Shared\ResultsHelpers\FileResultHelper.cs (3)
206var ifMatch = httpRequestHeaders.IfMatch; 223var ifNoneMatch = httpRequestHeaders.IfNoneMatch; 263IList<EntityTagHeaderValue> etagHeader,
Microsoft.AspNetCore.Mvc.Core.Test (86)
ApplicationModels\ControllerActionDescriptorBuilderTest.cs (4)
46var descriptors = ControllerActionDescriptorBuilder.Build(applicationModel); 78var descriptors = ControllerActionDescriptorBuilder.Build(applicationModel); 104var descriptors = ControllerActionDescriptorBuilder.Build(applicationModel); 131var descriptors = ControllerActionDescriptorBuilder.Build(applicationModel);
ApplicationModels\DefaultApplicationModelProviderTest.cs (5)
443var attributeRoutes = GetAttributeRoutes(model.Selectors); 465var attributeRoutes = GetAttributeRoutes(model.Selectors); 1425private IList<AttributeRouteModel> GetAttributeRoutes(IList<SelectorModel> selectors) 1835IList<IFormFile> formFileIList,
ApplicationModels\InferParameterBindingInfoConventionTest.cs (3)
1052public IActionResult CollectionOfSimpleTypes(IList<int> parameter) => null; 1056public IActionResult CollectionOfComplexTypes(IList<TestModel> parameter) => null; 1165public IList<IFormFile> Files { get; set; }
ApplicationParts\ApplicationPartManagerTest.cs (2)
102public IList<string> Values { get; } = new List<string>(); 107public IList<string> Values { get; } = new List<string>();
Filters\FilterFactoryTest.cs (3)
155var filterDescriptors = actionContext.ActionDescriptor.FilterDescriptors; 186var filterDescriptors = actionContext.ActionDescriptor.FilterDescriptors; 228var filterDescriptors = actionContext.ActionDescriptor.FilterDescriptors;
Filters\FilterProviderTest.cs (4)
30var results = context.Results; 61var results = context.Results; 93var results = context.Results; 124var results = context.Results;
Formatters\AcceptHeaderParserTest.cs (12)
21var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string> { header }); 39var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string> { header }); 61var mediaTypes = AcceptHeaderParser.ParseAcceptHeader(new List<string> { header }); 98var parsed = AcceptHeaderParser.ParseAcceptHeader(acceptHeader); 115var parsed = AcceptHeaderParser.ParseAcceptHeader( 133var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string>() { input }); 148var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string>() { input }); 167var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string>() { input }); 185var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string>() { input }); 200var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string>() { input }); 215var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string>() { input }); 230var parsed = AcceptHeaderParser.ParseAcceptHeader(new List<string>() { input });
Formatters\InputFormatterTest.cs (1)
442public IList<Type> SupportedTypes { get; } = new List<Type>();
Formatters\JsonInputFormatterTestBase.cs (1)
279public virtual Task ReadAsync_ReadsValidArray_AsIListOfT() => ReadAsync_ReadsValidArray_AsList(typeof(IList<int>));
Formatters\TextInputFormatterTest.cs (1)
214public IList<Type> SupportedTypes { get; } = new List<Type>();
Formatters\TextOutputFormatterTests.cs (1)
251var result = TextOutputFormatter.GetAcceptCharsetHeaderValues(writerContext);
Infrastructure\ControllerActionInvokerTest.cs (2)
1605IList<IValueProviderFactory> valueProviderFactories = null) 1678IList<IValueProviderFactory> valueProviderFactories = null,
ModelBinding\Binders\ArrayModelBinderProviderTest.cs (1)
13[InlineData(typeof(IList<int>))]
ModelBinding\Binders\BodyModelBinderTests.cs (2)
707private static BodyModelBinder CreateBinder(IList<IInputFormatter> formatters, bool treatEmptyInputAsDefaultValueOption = false) 716private static BodyModelBinder CreateBinder(IList<IInputFormatter> formatters, MvcOptions mvcOptions)
ModelBinding\Binders\ByteArrayModelBinderProviderTest.cs (1)
11[InlineData(typeof(IList<byte>))]
ModelBinding\Binders\CancellationTokenModelBinderProviderTest.cs (1)
11[InlineData(typeof(IList<int>))]
ModelBinding\Binders\CollectionModelBinderProviderTest.cs (1)
40[InlineData(typeof(IList<int>))]
ModelBinding\Binders\CollectionModelBinderTest.cs (6)
86var list = Assert.IsAssignableFrom<IList<int>>(bindingContext.Result.Model); 143var list = Assert.IsAssignableFrom<IList<int>>(bindingContext.Result.Model); 430{ typeof(IList<int>), true }, 552public IList<int> ListProperty { get; set; }
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (3)
1000var originalCollection = model.ReadOnlyList; 1391public IList<int> ReadOnlyList { get; } = new List<int>(); 1402public IList<int> SettableList { get; set; } = new List<int> { 3, 9, 0 };
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (3)
1162var originalCollection = model.ReadOnlyList; 1566public IList<int> ReadOnlyList { get; } = new List<int>(); 1577public IList<int> SettableList { get; set; } = new List<int> { 3, 9, 0 };
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
597{ typeof(IList<KeyValuePair<int, int>>), true },
ModelBinding\Binders\FormCollectionModelBinderProviderTest.cs (1)
29[InlineData(typeof(IList<int>))]
ModelBinding\Binders\FormFileModelBinderProviderTest.cs (1)
15[InlineData(typeof(IList<int>))]
ModelBinding\Binders\FormFileModelBinderTest.cs (3)
243var files = Assert.IsAssignableFrom<IList<IFormFile>>(bindingContext.Result.Model); 250[InlineData(typeof(IList<IFormFile>))]
ModelBinding\Binders\HeaderModelBinderTests.cs (2)
63[InlineData(typeof(IList<string>))] 196[InlineData(typeof(IList<string>))]
ModelBinding\Metadata\HasValidatorsValidationMetadataProviderTest.cs (3)
56metadataBasedModelValidatorProvider.Setup(p => p.HasValidators(typeof(object), It.IsAny<IList<object>>())) 84var provider = Mock.Of<IMetadataBasedModelValidatorProvider>(p => p.HasValidators(typeof(object), It.IsAny<IList<object>>()) == false); 107var provider = Mock.Of<IMetadataBasedModelValidatorProvider>(p => p.HasValidators(typeof(object), It.IsAny<IList<object>>()) == false);
ModelBinding\ModelBindingHelperTest.cs (3)
1338[InlineData(typeof(IList<int>))] 1362[InlineData(typeof(IList<int>))] 1396var bindingContext = GetBindingContext(typeof(IList<int>));
ModelBinding\ParameterBinderTest.cs (1)
833public IList<Person> Kids { get; } = new List<Person>();
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (7)
26var validatorItems = context.Results; 46var validatorItems = context.Results; 68var validatorItems = context.Results; 90var validatorItems = context.Results; 113var validatorItems = context.Results; 135var validatorItems = context.Results; 170private static IList<ValidatorItem> GetValidatorItems(ModelMetadata metadata)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (3)
875{ new List<string> { "Foo", "Bar", "Baz" }, typeof(IList<string>)}, 1470var validatorProviders = TestModelValidatorProvider.CreateDefaultProvider().ValidatorProviders; 1477var validatorProviders = TestModelValidatorProvider.CreateDefaultProvider().ValidatorProviders;
Routing\ActionEndpointDataSourceBaseTest.cs (1)
167IList<object> metadata = null);
Routing\ActionEndpointFactoryTest.cs (1)
459IList<object> metadata = null)
Routing\ControllerActionEndpointDataSourceTest.cs (1)
563IList<object> metadata = null)
Routing\EndpointRoutingUrlHelperTest.cs (1)
260IList<object> metadata = null)
Microsoft.AspNetCore.Mvc.Core.TestCommon (5)
CommonResourceInvokerTest.cs (2)
24IList<IValueProviderFactory> valueProviderFactories = null) 33IList<IValueProviderFactory> valueProviderFactories = null);
TestModelMetadataProvider.cs (2)
44public static IModelMetadataProvider CreateDefaultProvider(IList<IMetadataDetailsProvider> providers) 68public static IModelMetadataProvider CreateProvider(IList<IMetadataDetailsProvider> providers)
TestModelValidatorProvider.cs (1)
30public TestModelValidatorProvider(IList<IModelValidatorProvider> providers)
Microsoft.AspNetCore.Mvc.Cors (2)
CorsApplicationModelProvider.cs (2)
87var selectors = actionModel.Selectors; 95var actionConstraints = selectorModel.ActionConstraints;
Microsoft.AspNetCore.Mvc.Cors.Test (5)
CorsAuthorizationFilterTest.cs (5)
225IList<string> headers = null, 226IList<string> methods = null, 227IList<string> exposedHeaders = null, 266private void AddRange(IList<string> target, IList<string> source)
Microsoft.AspNetCore.Mvc.DataAnnotations (5)
DataAnnotationsClientModelValidatorProvider.cs (1)
60var results = context.Results;
DataAnnotationsModelValidatorProvider.cs (2)
54var results = context.Results; 97public bool HasValidators(Type modelType, IList<object> validatorMetadata)
DefaultClientModelValidatorProvider.cs (1)
23var results = context.Results;
NumericClientModelValidatorProvider.cs (1)
26var results = context.Results;
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (16)
DataAnnotationsClientModelValidatorProviderTest.cs (2)
51var items = GetValidatorItems(metadata); 135private IList<ClientValidatorItem> GetValidatorItems(ModelMetadata metadata)
DataAnnotationsModelValidatorProviderTest.cs (1)
160private IList<ValidatorItem> GetValidatorItems(ModelMetadata metadata)
DataTypeClientModelValidatorProviderTest.cs (2)
42var items = GetValidatorItems(metadata); 83private IList<ClientValidatorItem> GetValidatorItems(ModelMetadata metadata)
DefaultModelClientValidatorProviderTest.cs (10)
27var validatorItems = context.Results; 47var validatorItems = context.Results; 70var validatorItems = context.Results; 92var validatorItems = context.Results; 116var validatorItems = context.Results; 139var validatorItems = context.Results; 160var validatorItems = context.Results; 183var validatorItems = context.Results; 190private IList<ClientValidatorItem> GetClientValidatorItems(ModelMetadata metadata) 195private IList<ValidatorItem> GetValidatorItems(ModelMetadata metadata)
ValidatableObjectAdapterTest.cs (1)
189public IList<ValidationResult> ValidationResults { get; } = new List<ValidationResult>();
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
XmlDataContractSerializerInputFormatter.cs (1)
53public IList<IWrapperProviderFactory> WrapperProviderFactories { get; }
XmlDataContractSerializerOutputFormatter.cs (1)
92public IList<IWrapperProviderFactory> WrapperProviderFactories { get; }
XmlSerializerInputFormatter.cs (1)
50public IList<IWrapperProviderFactory> WrapperProviderFactories { get; }
XmlSerializerOutputFormatter.cs (1)
89public IList<IWrapperProviderFactory> WrapperProviderFactories { get; }
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (1)
EnumerableWrapperProviderTest.cs (1)
17[InlineData(typeof(IList<SerializableError>),
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
ApiExplorerTest.cs (1)
1645public IList<ApiExplorerResponseFormat> ResponseFormats { get; }
BasicTests.cs (2)
470var assemblyParts = JsonSerializer.Deserialize<IList<string>>(response, TestJsonSerializerOptionsProvider.Options);
TestingInfrastructureInheritanceTests.cs (1)
156public IList<string> ConfigureWebHostCalled { get; private set; } = new List<string>();
Microsoft.AspNetCore.Mvc.IntegrationTests (27)
CollectionModelBinderIntegrationTest.cs (16)
574public IList<Address4> Addresses { get; set; } 631public IList<Address5> Addresses { get; set; } 760typeof(IList<string>), 861typeof(IList<string>), 981ParameterType = typeof(IList<SuccessfulModel>), 1009ParameterType = typeof(IList<SuccessfulModel>), 1066ParameterType = typeof(IList<SuccessfulModel>), 1089public IList<SuccessfulModel> Successes { get; set; } 1292string IList<string>.this[int index] 1351int IList<string>.IndexOf(string item) 1356void IList<string>.Insert(int index, string item) 1366void IList<string>.RemoveAt(int index) 1432T IList<T>.this[int index] 1491int IList<T>.IndexOf(T item) 1496void IList<T>.Insert(int index, T item) 1506void IList<T>.RemoveAt(int index)
ComplexRecordIntegrationTest.cs (4)
2847public IList<string> Aliases { get; } 2973ParameterType = typeof(IList<Person5>), 3225private record Person7(string Name, IList<Person7> Children, IFormFile Photo); 3802private record RecordTypeWithCollectionParameter(string Id, IList<string> Tags);
ComplexTypeIntegrationTestBase.cs (3)
3040public IList<string> Aliases { get; } 3181ParameterType = typeof(IList<Person5>), 3451public IList<Person7> Children { get; set; }
ModelBindingTestHelper.cs (1)
134private static IList<IModelValidatorProvider> GetModelValidatorProviders(IOptions<MvcOptions> options)
ValidationIntegrationTests.cs (2)
2013public IList<Order12> RelatedOrders { get; set; } 2578public RecordingObjectValidator(IModelMetadataProvider modelMetadataProvider, IList<IModelValidatorProvider> validatorProviders, MvcOptions mvcOptions)
ValidationWithRecordIntegrationTests.cs (1)
1804public IList<Order12> RelatedOrders { get; set; }
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
BsonTempDataSerializer.cs (2)
179if (ClosedGenericMatcher.ExtractGenericInterface(typeToSerialize, typeof(IList<>)) != null) 222private static IList<TVal?> ConvertArray<TVal>(JArray array)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (1)
279public virtual Task ReadAsync_ReadsValidArray_AsIListOfT() => ReadAsync_ReadsValidArray_AsList(typeof(IList<int>));
Microsoft.AspNetCore.Mvc.Razor (12)
Compilation\CompiledViewDescriptor.cs (1)
88public IList<IChangeToken>? ExpirationTokens { get; set; }
Compilation\ViewsFeature.cs (1)
14public IList<CompiledViewDescriptor> ViewDescriptors { get; } = new List<CompiledViewDescriptor>();
RazorViewEngine.cs (3)
239var expanders = _options.ViewLocationExpanders; 343var expanders = _options.ViewLocationExpanders; 401var viewExpirationTokens = viewDescriptor.ExpirationTokens;
RazorViewEngineOptions.cs (6)
12/// Gets a <see cref="IList{IViewLocationExpander}"/> used by the <see cref="RazorViewEngine"/>. 14public IList<IViewLocationExpander> ViewLocationExpanders { get; } = new List<IViewLocationExpander>(); 39public IList<string> ViewLocationFormats { get; } = new List<string>(); 69public IList<string> AreaViewLocationFormats { get; } = new List<string>(); 100public IList<string> PageViewLocationFormats { get; } = new List<string>(); 135public IList<string> AreaPageViewLocationFormats { get; } = new List<string>();
TagHelpers\TagHelperFeature.cs (1)
21public IList<TypeInfo> TagHelpers { get; } = new List<TypeInfo>();
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (9)
MvcRazorRuntimeCompilationOptions.cs (2)
24public IList<IFileProvider> FileProviders { get; } = new List<IFileProvider>(); 33public IList<string> AdditionalReferencePaths { get; } = new List<string>();
PageDirectiveFeature.cs (1)
120public static void MalformedPageDirective(ILogger logger, string filePath, IList<RazorDiagnostic> diagnostics)
RuntimeCompilationFileProvider.cs (1)
42var fileProviders = options.FileProviders;
RuntimeViewCompiler.cs (5)
39IList<CompiledViewDescriptor> precompiledViews, 238IList<IChangeToken> expirationTokens = new List<IChangeToken> 280private IList<IChangeToken> GetExpirationTokens(CompiledViewDescriptor precompiledView) 295private void GetChangeTokensFromImports(IList<IChangeToken> expirationTokens, RazorProjectItem projectItem) 404public IList<IChangeToken> ExpirationTokens { get; set; } = default!;
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
RuntimeViewCompilerTest.cs (2)
823IList<CompiledViewDescriptor> precompiledViews = null, 871IList<CompiledViewDescriptor> precompiledViews,
Microsoft.AspNetCore.Mvc.Razor.Test (6)
Compilation\DefaultViewCompilerTest.cs (3)
118private static TestRazorViewCompiler GetViewCompiler(IList<CompiledViewDescriptor> compiledViews = null) 128public TestRazorViewCompiler(IList<CompiledViewDescriptor> compiledViews) : 149public IList<CompiledViewDescriptor> CompiledViews { get; init; }
RazorViewEngineOptionsTest.cs (2)
37var formats = accessor.Value.AreaViewLocationFormats; 67var formats = accessor.Value.ViewLocationFormats;
RazorViewEngineTest.cs (1)
2040IList<IChangeToken> changeTokens = null,
Microsoft.AspNetCore.Mvc.RazorPages (27)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (5)
62private static IList<object> CreateEndPointMetadata(PageApplicationModel applicationModel) 65var endpointMetadata = applicationModel.EndpointMetadata; 77var handlerModels = applicationModel.HandlerMethods; 99var methodParameters = handlerModel.Parameters; 122var properties = applicationModel.HandlerProperties;
ApplicationModels\PageApplicationModel.cs (4)
109public IList<IFilterMetadata> Filters { get; } 148public IList<PageHandlerModel> HandlerMethods { get; } 153public IList<PagePropertyModel> HandlerProperties { get; } 158public IList<object> EndpointMetadata { get; }
ApplicationModels\PageConventionCollection.cs (1)
32public PageConventionCollection(IList<IPageConvention> conventions)
ApplicationModels\PageHandlerModel.cs (1)
78public IList<PageParameterModel> Parameters { get; }
ApplicationModels\PageRouteModel.cs (1)
91public IList<SelectorModel> Selectors { get; }
ApplicationModels\PageRouteModelProviderContext.cs (1)
14public IList<PageRouteModel> RouteModels { get; } = new List<PageRouteModel>();
CompiledPageActionDescriptor.cs (1)
35public IList<HandlerMethodDescriptor> HandlerMethods { get; set; } = default!;
Filters\PageHandlerExecutedContext.cs (1)
29IList<IFilterMetadata> filters,
Filters\PageHandlerExecutingContext.cs (1)
26IList<IFilterMetadata> filters,
Filters\PageHandlerSelectedContext.cs (1)
24IList<IFilterMetadata> filters,
Infrastructure\DefaultPageHandlerMethodSelector.cs (1)
66var handlers = context.ActionDescriptor.HandlerMethods;
Infrastructure\HandlerMethodDescriptor.cs (1)
31public IList<HandlerParameterDescriptor> Parameters { get; set; } = default!;
Infrastructure\PageActionDescriptorProvider.cs (3)
47var pageRouteModels = BuildModel(); 59protected IList<PageRouteModel> BuildModel() 81private void AddActionDescriptors(IList<ActionDescriptor> actions, PageRouteModel model)
Infrastructure\PageBinderFactory.cs (1)
22var properties = actionDescriptor.BoundProperties;
PageContext.cs (4)
20private IList<IValueProviderFactory>? _valueProviderFactories; 22private IList<Func<IRazorPage>>? _viewStartFactories; 76public virtual IList<IValueProviderFactory> ValueProviderFactories 112public virtual IList<Func<IRazorPage>> ViewStartFactories
Microsoft.AspNetCore.Mvc.RazorPages.Test (17)
ApplicationModels\CompiledPageRouteModelProviderTest.cs (1)
472private CompiledPageRouteModelProvider CreateProvider(IList<RazorCompiledItem> items, RazorPagesOptions options = null)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (11)
680var handlerMethods = pageModel.HandlerMethods; 731var handlerMethods = pageModel.HandlerMethods; 758var handlerMethods = pageModel.HandlerMethods; 782var handlerMethods = pageModel.HandlerMethods; 812var handlerMethods = pageModel.HandlerMethods; 840var handlerMethods = pageModel.HandlerMethods; 870var handlerMethods = pageModel.HandlerMethods; 905var handlerMethods = pageModel.HandlerMethods; 948var properties = pageModel.HandlerProperties; 981var properties = pageModel.HandlerProperties; 1231var handlerMethods = pageModel.HandlerMethods;
Infrastructure\PageActionEndpointDataSourceTest.cs (1)
271IList<object> metadata = null)
Infrastructure\PageActionInvokerTest.cs (2)
1441IList<IValueProviderFactory> valueProviderFactories = null) 1486IList<IValueProviderFactory> valueProviderFactories = null,
Infrastructure\PageBinderFactoryTest.cs (1)
819public IList<ParameterDescriptor> Descriptors { get; } = new List<ParameterDescriptor>();
src\Mvc\Mvc.Core\test\Routing\ActionEndpointDataSourceBaseTest.cs (1)
167IList<object> metadata = null);
Microsoft.AspNetCore.Mvc.TagHelpers (9)
Cache\CacheTagKey.cs (9)
41private readonly IList<KeyValuePair<string, string>> _headers; 42private readonly IList<KeyValuePair<string, string>> _queries; 43private readonly IList<KeyValuePair<string, string>> _routeValues; 44private readonly IList<KeyValuePair<string, string>> _cookies; 265private static IList<KeyValuePair<string, string>> ExtractCollection<TSourceCollection>( 296IList<KeyValuePair<string, string>> values) 330IList<KeyValuePair<string, string>> values) 345private static bool AreSame(IList<KeyValuePair<string, string>> values1, IList<KeyValuePair<string, string>> values2)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
CacheTagHelperTest.cs (2)
977public IList<IChangeToken> ExpirationTokens { get; } = new List<IChangeToken>(); 979public IList<PostEvictionCallbackRegistration> PostEvictionCallbacks { get; } =
GlobbingUrlBuilderTest.cs (2)
435public FileNode(string name, IList<FileNode> children) 443public IList<FileNode> Children { get; }
Microsoft.AspNetCore.Mvc.Test (2)
MvcOptionsSetupTest.cs (2)
75var valueProviders = options.ValueProviderFactories; 167var providers = options.ModelMetadataDetailsProviders;
Microsoft.AspNetCore.Mvc.ViewFeatures (17)
DefaultHtmlGenerator.cs (2)
844var modelStates = ValidationHelpers.GetModelStateList(viewData, excludePropertyErrors); 1558if (!(selectList is IList<SelectListItem> itemsList))
DefaultValidationHtmlAttributeProvider.cs (1)
39var clientValidatorProviders = optionsAccessor.Value.ClientModelValidatorProviders;
Filters\AntiforgeryApplicationModelProvider.cs (1)
52private static bool HasValidAntiforgeryMetadata(IReadOnlyList<object> attributes, IList<IFilterMetadata> filters)
Filters\SaveTempDataFilter.cs (2)
121IList<IFilterMetadata> filters, 146public IList<IFilterMetadata> Filters { get; set; }
FormContext.cs (2)
23private IList<IHtmlContent> _endOfFormContent; 72public IList<IHtmlContent> EndOfFormContent
MvcViewOptions.cs (2)
39public IList<IViewEngine> ViewEngines { get; } = new List<IViewEngine>(); 44public IList<IClientModelValidatorProvider> ClientModelValidatorProviders { get; } =
Rendering\MultiSelectList.cs (5)
18private readonly IList<SelectListGroup> _groups; 19private IList<SelectListItem> _selectListItems; 141private IList<SelectListItem> GetListItems() 148private IList<SelectListItem> GetListItemsWithValueField() 178private IList<SelectListItem> GetListItemsWithoutValueField()
ValidationHelpers.cs (1)
44public static IList<ModelStateEntry> GetModelStateList(
ViewComponents\ViewComponentFeature.cs (1)
21public IList<TypeInfo> ViewComponents { get; } = new List<TypeInfo>();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (32)
Buffers\PagedBufferedTextWriterTest.cs (2)
325public IList<char[]> Returned { get; } = new List<char[]>(); 340public IList<char[]> Returned { get; } = new List<char[]>();
CookieTempDataProviderTest.cs (2)
283var responseCookies = httpContext.Response.GetTypedHeaders().SetCookie; 322var responseCookies = httpContext.Response.GetTypedHeaders().SetCookie;
ExpressionHelperTest.cs (24)
68(Expression<Func<IList<TestModel>, Category>>)(model => model[2].SelectedCategory), 72(Expression<Func<IList<TestModel>, Category>>)(model => model[i].SelectedCategory), 76(Expression<Func<IList<LowerModel>, Category>>)(model => model[i].selectedcategory), 88(Expression<Func<IList<TestModel>, Category>>)(model => myModels[i].SelectedCategory), 92(Expression<Func<IList<TestModel>, int>>)(model => model[2].PreferredCategories[i].CategoryId), 96(Expression<Func<IList<LowerModel>, int>>)(model => model[2].preferredcategories[i].CategoryId), 100(Expression<Func<IList<TestModel>, string>>)(model => model.FirstOrDefault().Name), 104(Expression<Func<IList<LowerModel>, string>>)(model => model.FirstOrDefault().name), 108(Expression<Func<IList<TestModel>, string>>)(model => model.FirstOrDefault().Model), 112(Expression<Func<IList<TestModel>, int>>)(model => model.FirstOrDefault().SelectedCategory.CategoryId), 116(Expression<Func<IList<TestModel>, string>>)(model => model.FirstOrDefault().SelectedCategory.CategoryName.MainCategory), 120(Expression<Func<IList<TestModel>, int>>)(model => model.FirstOrDefault().PreferredCategories.Count), 124(Expression<Func<IList<TestModel>, int>>)(model => model.FirstOrDefault().PreferredCategories.FirstOrDefault().CategoryId), 211(Expression<Func<IList<TestModel>, Category>>)(model => model[2].SelectedCategory), 212(Expression<Func<IList<TestModel>, Category>>)(model => myModels[i].SelectedCategory), 213(Expression<Func<IList<TestModel>, CategoryName>>)(testModel => testModel[i].SelectedCategory.CategoryName), 235(Expression<Func<IList<TestModel>, string>>)(model => model.FirstOrDefault().Name), 236(Expression<Func<IList<TestModel>, string>>)(model => model.FirstOrDefault().SelectedCategory.CategoryName.MainCategory), 237(Expression<Func<IList<TestModel>, int>>)(model => model.FirstOrDefault().PreferredCategories.FirstOrDefault().CategoryId), 326(Expression<Func<IList<TestModel>, Category>>)(model => model[2].SelectedCategory), 330(Expression<Func<IList<TestModel>, Category>>)(model => model[2].SelectedCategory), 331(Expression<Func<IList<LowerModel>, Category>>)(model => model[2].selectedcategory) 462public IList<Category> PreferredCategories { get; set; } 473public IList<Category> preferredcategories { get; set; }
MemberExpressionCacheKeyTest.cs (4)
25var actual = GetMembers(key); 45var actual = GetMembers(key); 64var actual = GetMembers(key); 76private static IList<MemberInfo> GetMembers(MemberExpressionCacheKey key)
Microsoft.AspNetCore.Mvc.Views.TestCommon (2)
TestViewBufferScope.cs (2)
10public IList<ViewBufferValue[]> CreatedBuffers { get; } = new List<ViewBufferValue[]>(); 12public IList<ViewBufferValue[]> ReturnedBuffers { get; } = new List<ViewBufferValue[]>();
Microsoft.AspNetCore.OpenApi (6)
GeneratedRouteBuilderExtensions.g.cs (1)
182var routeHandlerFilters = builder.FilterFactories;
Services\OpenApiDocumentService.cs (4)
551var endpointMetadata = description.ActionDescriptor.EndpointMetadata; 559IList<ApiRequestFormat> supportedRequestFormats, 561IList<object> endpointMetadata, 722IList<ApiRequestFormat> supportedRequestFormats,
src\Shared\PropertyAsParameterInfo.cs (1)
178public override IList<CustomAttributeData> GetCustomAttributesData()
Microsoft.AspNetCore.OpenApi.Tests (2)
Services\OpenApiDocumentServiceTestsBase.cs (1)
145public static IApiDescriptionGroupCollectionProvider CreateApiDescriptionGroupCollectionProvider(IList<ApiDescription> apiDescriptions = null)
Shared\SharedTypes.cs (1)
200public IList<ProjectBoardItem>? Items { get; set; }
Microsoft.AspNetCore.OutputCaching (3)
OutputCacheEntry.cs (1)
74internal OutputCacheEntry CreateBodyFrom(IList<byte[]> segments) // mainly used from tests
OutputCacheMiddleware.cs (1)
545&& EntityTagHeaderValue.TryParseList(ifNoneMatchHeader, out var ifNoneMatchETags))
RecyclableReadOnlySequenceSegment.cs (1)
79internal static ReadOnlySequence<byte> CreateSequence(IList<byte[]> segments)
Microsoft.AspNetCore.RateLimiting.Tests (1)
TestEndpointBuilder.cs (1)
24public IList<Action<EndpointBuilder>> Conventions { get; } = new List<Action<EndpointBuilder>>();
Microsoft.AspNetCore.Razor (4)
TagHelpers\ReadOnlyTagHelperAttributeList.cs (4)
27public ReadOnlyTagHelperAttributeList(IList<TagHelperAttribute> attributes) 50var items = Items; 120var items = Items; 153var items = Items;
Microsoft.AspNetCore.Razor.Runtime (1)
Runtime\TagHelpers\TagHelperExecutionContext.cs (1)
91public IList<ITagHelper> TagHelpers => _tagHelpers;
Microsoft.AspNetCore.Razor.Runtime.Test (1)
Runtime\TagHelpers\TagHelperRunnerTest.cs (1)
253public IList<int> ProcessOrderTracker { get; set; }
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
444&& EntityTagHeaderValue.TryParseList(ifNoneMatchHeader, out var ifNoneMatchEtags))
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
88if (!StringWithQualityHeaderValue.TryParseList(accept, out var encodings) || encodings.Count == 0)
Microsoft.AspNetCore.Rewrite (22)
ApacheModRewrite\ApacheModRewriteRule.cs (4)
11public IList<Condition>? Conditions { get; } 12public IList<UrlAction> Actions { get; } 14public ApacheModRewriteRule(UrlMatch initialMatch, IList<Condition>? conditions, IList<UrlAction> urlActions)
ApacheModRewrite\FileParser.cs (2)
8public static IList<IRule> Parse(TextReader input) 26var tokens = Tokenizer.Tokenize(line)!;
ApacheModRewrite\RuleBuilder.cs (3)
15private IList<Condition>? _conditions; 16internal IList<UrlAction> _actions = new List<UrlAction>(); 32var tokens = Tokenizer.Tokenize(rule)!;
ApacheModRewrite\TestStringParser.cs (2)
91private static void ParseConditionParameter(ParserContext context, IList<PatternSegment> results) 148private static void ParseLiteral(ParserContext context, IList<PatternSegment> results)
ApacheModRewrite\Tokenizer.cs (2)
23public static IList<string>? Tokenize(string rule) 103private static void RemoveQuotesAndEscapeCharacters(IList<string> tokens)
ApacheModRewriteOptionsExtensions.cs (1)
41var rules = FileParser.Parse(reader);
IISUrlRewrite\InputParser.cs (2)
85private void ParseParameter(ParserContext context, IList<PatternSegment> results, UriMatchPart uriMatchPart) 204private static void ParseLiteral(ParserContext context, IList<PatternSegment> results)
IISUrlRewrite\UrlRewriteFileParser.cs (2)
21public IList<IISUrlRewriteRule> Parse(TextReader reader, bool alwaysUseManagedServerVariables) 39private void ParseRules(XElement? rules, IList<IISUrlRewriteRule> result, bool global)
IISUrlRewriteOptionsExtensions.cs (1)
49var rules = new UrlRewriteFileParser().Parse(reader, alwaysUseManagedServerVariables);
Pattern.cs (2)
8public IList<PatternSegment> PatternSegments { get; } 9public Pattern(IList<PatternSegment> patternSegments)
RewriteOptions.cs (1)
18public IList<IRule> Rules { get; } = new List<IRule>();
Microsoft.AspNetCore.Rewrite.Tests (15)
ApacheModRewrite\RewriteTokenizerTest.cs (5)
14var tokens = Tokenizer.Tokenize(testString); 27var tokens = Tokenizer.Tokenize(testString); 40var tokens = Tokenizer.Tokenize(testString); 54var tokens = Tokenizer.Tokenize(testString); 68var tokens = Tokenizer.Tokenize(testString);
IISUrlRewrite\FileParserTests.cs (7)
34var res = new UrlRewriteFileParser().Parse(new StringReader(xml), false); 67var res = new UrlRewriteFileParser().Parse(new StringReader(xml), false); 112var res = new UrlRewriteFileParser().Parse(new StringReader(xml), false); 141var rules = new UrlRewriteFileParser().Parse(new StringReader(xml), false); 164var rules = new UrlRewriteFileParser().Parse(new StringReader(xml), false); 197private static void AssertUrlRewriteRuleEquality(IList<IISUrlRewriteRule> actual, IList<IISUrlRewriteRule> expected)
IISUrlRewrite\UrlRewriteApplicationTests.cs (3)
23var rules = new UrlRewriteFileParser().Parse(xml, false); 42var rules = new UrlRewriteFileParser().Parse(xml, false); 64var rules = new UrlRewriteFileParser().Parse(xml, false);
Microsoft.AspNetCore.Routing (19)
Constraints\HttpMethodRouteConstraint.cs (1)
30public IList<string> AllowedMethods { get; }
DecisionTree\DecisionTreeNode.cs (2)
14public IList<TItem> Matches { get; set; } 18public IList<DecisionCriterion<TItem>> Criteria { get; set; }
IRouteBuilder.cs (1)
33IList<IRouter> Routes { get; }
Matching\NegotiationMatcherPolicy.cs (2)
86!StringWithQualityHeaderValue.TryParseList(header, out var values) || values.Count == 0) 404!StringWithQualityHeaderValue.TryParseList(header, out var values) || values.Count == 0)
RouteBuilder.cs (1)
60public IList<IRouter> Routes { get; }
RouteEndpointBuilder.cs (1)
63private static EndpointMetadataCollection CreateMetadataCollection(IList<object> metadata, RoutePattern routePattern)
RouteValuesAddressScheme.cs (2)
29IList<OutboundMatchResult>? matchResults = null; 62private static IEnumerable<Endpoint> GetEndpoints(IList<OutboundMatchResult> matchResults, int matchCount)
Template\RouteTemplate.cs (2)
90public IList<TemplatePart> Parameters { get; } 95public IList<TemplateSegment> Segments { get; }
Tree\LinkGenerationDecisionTree.cs (3)
67public IList<OutboundMatchResult> GetMatches(RouteValueDictionary values, RouteValueDictionary ambientValues) 116var matches = node.Matches; 124var criteria = node.Criteria;
Tree\TreeRouteBuilder.cs (2)
236public IList<InboundRouteEntry> InboundEntries { get; } = new List<InboundRouteEntry>(); 242public IList<OutboundRouteEntry> OutboundEntries { get; } = new List<OutboundRouteEntry>();
Tree\TreeRouter.cs (1)
151var matches = _linkGenerationTree.GetMatches(context.Values, context.AmbientValues);
Tree\UrlMatchingTree.cs (1)
247private static bool RemainingSegmentsAreOptional(IList<TemplateSegment> segments, int currentParameterIndex)
Microsoft.AspNetCore.Routing.Abstractions (4)
RouteData.cs (4)
84public IList<IRouter> Routers 203private readonly IList<IRouter>? _routers; 216IList<IRouter>? routers, 272var snapshotRouters = _routers;
Microsoft.AspNetCore.Routing.Tests (11)
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (1)
254public IList<Action<EndpointBuilder>> Conventions { get; } = new List<Action<EndpointBuilder>>();
EndpointFactory.cs (1)
29IList<object> metadata = null)
Tree\LinkGenerationDecisionTreeTest.cs (9)
26var matches = tree.GetMatches(context.Values, ambientValues: null); 46var matches = tree.GetMatches(context.Values, context.AmbientValues); 66var matches = tree.GetMatches(context.Values, context.AmbientValues); 86var matches = tree.GetMatches(context.Values, context.AmbientValues); 110var matches = tree.GetMatches(context.Values, context.AmbientValues); 134var matches = tree.GetMatches(context.Values, context.AmbientValues); 156var matches = tree.GetMatches(context.Values, context.AmbientValues); 178var matches = tree.GetMatches(context.Values, context.AmbientValues); 203var matches = tree.GetMatches(context.Values, context.AmbientValues);
Microsoft.AspNetCore.Server.HttpSys (5)
AuthenticationManager.cs (3)
143internal static IList<string> GenerateChallenges(AuthenticationSchemes authSchemes) 150IList<string> challenges = new List<string>(); 181IList<string> challenges = GenerateChallenges(context.Response.AuthenticationChallenges);
HttpSysListener.cs (1)
297internal unsafe void SendError(ulong requestId, int httpStatusCode, IList<string>? authChallenges = null)
MessagePump.cs (1)
141private void UpdateUrlPrefixes(IList<string> serverAddressCopy)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
src\Shared\Http2cat\Http2Utilities.cs (1)
423internal static void WriteSettings(IList<Http2PeerSetting> settings, Span<byte> destination)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (2)
21public static IList<StackFrameInfo> GetFrames(Exception exception, out AggregateException? error) 241IList<CustomAttributeData> attributes;
Microsoft.AspNetCore.Server.IntegrationTesting (7)
TestMatrix.cs (7)
11public IList<ServerType> Servers { get; set; } = new List<ServerType>(); 12public IList<string> Tfms { get; set; } = new List<string>(); 13public IList<ApplicationType> ApplicationTypes { get; set; } = new List<ApplicationType>(); 14public IList<RuntimeArchitecture> Architectures { get; set; } = new List<RuntimeArchitecture>(); 17public IList<HostingModel> HostingModels { get; set; } = new List<HostingModel>(); 19private IList<Tuple<Func<TestVariant, bool>, string>> Skips { get; } = new List<Tuple<Func<TestVariant, bool>, string>>(); 267private void VaryByAncmHostingModel(IList<TestVariant> variants, ServerType server, string tfm, ApplicationType type, RuntimeArchitecture arch, string skip)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISDeploymentParameters.cs (2)
40public IList<Action<XElement, string>> WebConfigActionList { get; } = new List<Action<XElement, string>>(); 42public IList<Action<XElement, string>> ServerConfigActionList { get; } = new List<Action<XElement, string>>();
Microsoft.AspNetCore.Server.Kestrel.Core (16)
KestrelConfigurationLoader.cs (1)
75private IList<Action> EndpointsToAdd { get; } = new List<Action>();
KestrelServerOptions.cs (1)
382var certs = CertificateManager.Instance.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: false);
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\KnownHeaders.cs (2)
401static string AppendSwitchSection(int length, IList<KnownHeader> values) 1474private static string AppendQPackSwitch(IList<(int Index, System.Net.Http.QPack.HeaderField Field)> values)
Microsoft.AspNetCore.Shared.Tests (31)
CertificateManagerTests.cs (1)
151var certificates = manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
ClosedGenericMatcherTest.cs (1)
150typeof(IList<int>),
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (1)
226public static IList<Http2PeerSetting> ReadSettings(in ReadOnlySequence<byte> payload)
src\Shared\ServerInfrastructure\Http2\Http2PeerSettings.cs (1)
42public void Update(IList<Http2PeerSetting> settings)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (2)
21public static IList<StackFrameInfo> GetFrames(Exception exception, out AggregateException? error) 241IList<CustomAttributeData> attributes;
StackTraceHelperTest.cs (12)
38var stackFrames = StackTraceHelper.GetFrames(exception, out _); 60var stackFrames = StackTraceHelper.GetFrames(exception, out _); 74var stackFrames = StackTraceHelper.GetFrames(exception, out _); 88var stackFrames = StackTraceHelper.GetFrames(exception, out _); 103var stackFrames = StackTraceHelper.GetFrames(exception, out _); 118var stackFrames = StackTraceHelper.GetFrames(exception, out _); 133var stackFrames = StackTraceHelper.GetFrames(exception, out _); 147var stackFrames = StackTraceHelper.GetFrames(exception, out _); 180var stackFrames = StackTraceHelper.GetFrames(exception, out _); 217var stackFrames = StackTraceHelper.GetFrames(exception, out _); 232var stackFrames = StackTraceHelper.GetFrames(exception, out _); 247var stackFrames = StackTraceHelper.GetFrames(exception, out _);
TestCertificateManager.cs (1)
308protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
Microsoft.AspNetCore.SignalR.Client.Tests (3)
HubConnectionTests.Protocol.cs (1)
699var messages = await connection.ReadAllSentMessagesAsync(ignorePings: false).DefaultTimeout();
HubConnectionTests.Reconnect.cs (1)
360var logs = logCollector.GetLogs();
TestConnection.cs (1)
177public async Task<IList<string>> ReadAllSentMessagesAsync(bool ignorePings = true)
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\Utf8BufferTextWriterTests.cs (2)
206var segments = bufferWriter.GetSegments(); 414public IList<Memory<byte>> GetSegments()
Microsoft.AspNetCore.SignalR.Core (4)
HubConnectionHandler.cs (1)
113var supportedProtocols = _hubOptions.SupportedProtocols ?? _globalHubOptions.SupportedProtocols;
HubOptions.cs (1)
39public IList<string>? SupportedProtocols { get; set; }
Internal\DefaultHubDispatcher.cs (1)
676private static async Task<bool> IsHubMethodAuthorizedSlow(IServiceProvider provider, ClaimsPrincipal principal, IList<IAuthorizeData> policies, HubInvocationContext resource)
Internal\HubMethodDescriptor.cs (1)
175public IList<IAuthorizeData> Policies { get; }
Microsoft.AspNetCore.SignalR.Specification.Tests (4)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (4)
91public Task<IList<HubMessage>> StreamAsync(string methodName, params object[] args) 96public async Task<IList<HubMessage>> StreamAsync(string methodName, string[] streamIds, params object[] args) 102public async Task<IList<HubMessage>> StreamAsync(string methodName, string[] streamIds, IDictionary<string, string> headers, params object[] args) 108public async Task<IList<HubMessage>> ListenAllAsync(string invocationId)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (3)
Internal\DefaultHubMessageSerializer.cs (3)
13public DefaultHubMessageSerializer(IHubProtocolResolver hubProtocolResolver, IList<string>? globalSupportedProtocols, IList<string>? hubSupportedProtocols) 15var supportedProtocols = hubSupportedProtocols ?? globalSupportedProtocols ?? Array.Empty<string>();
Microsoft.AspNetCore.SignalR.Tests (8)
HubConnectionHandlerTests.cs (6)
2023var messages = await client.StreamAsync(method, 4).DefaultTimeout(); 2102var messages = await client.StreamAsync(streamMethod); 3226var messages = await client.StreamAsync(nameof(StreamingHub.ThrowStream)); 3261var messages = await client.StreamAsync(nameof(StreamingHub.NullStream)); 4430var messages = await messagePromise; 4490var messages = await client.StreamAsync(method, argument).DefaultTimeout();
Internal\TypedClientBuilderTests.cs (2)
344public IList<SendContext> Sends { get; } = new List<SendContext>(); 358public IList<SendContext> Sends { get; } = new List<SendContext>();
Microsoft.AspNetCore.SignalR.Tests.Utils (10)
HubProtocolHelpers.cs (1)
20public static readonly IList<IHubProtocol> AllProtocols = new List<IHubProtocol>()
src\Shared\SignalR\InProcessTestServer.cs (3)
94public IList<LogRecord> GetLogs() => _logSinkProvider.GetLogs(); 122var logs = _logSinkProvider.GetLogs(); 139private static string RenderLogs(IList<LogRecord> logs)
src\Shared\SignalR\LogSinkProvider.cs (1)
30public IList<LogRecord> GetLogs() => _logs.ToList();
src\Shared\SignalR\VerifyNoErrorScope.cs (1)
20public IList<LogRecord> GetLogs() => _sink.GetLogs();
TestClient.cs (4)
91public Task<IList<HubMessage>> StreamAsync(string methodName, params object[] args) 96public async Task<IList<HubMessage>> StreamAsync(string methodName, string[] streamIds, params object[] args) 102public async Task<IList<HubMessage>> StreamAsync(string methodName, string[] streamIds, IDictionary<string, string> headers, params object[] args) 108public async Task<IList<HubMessage>> ListenAllAsync(string invocationId)
Microsoft.AspNetCore.StaticAssets (2)
StaticAssetsInvoker.cs (2)
304var ifMatch = requestHeaders.IfMatch; 320var ifNoneMatch = requestHeaders.IfNoneMatch;
Microsoft.AspNetCore.StaticFiles (3)
DefaultFilesOptions.cs (1)
41public IList<string> DefaultFileNames { get; set; }
StaticFileContext.cs (2)
148var ifMatch = requestHeaders.IfMatch; 163var ifNoneMatch = requestHeaders.IfNoneMatch;
Microsoft.AspNetCore.TestHost (1)
WebSocketClient.cs (1)
39public IList<string> SubProtocols { get; }
Microsoft.AspNetCore.WebSockets (1)
WebSocketOptions.cs (1)
68public IList<string> AllowedOrigins { get; }
Microsoft.AspNetCore.WebSockets.ConformanceTests (3)
Autobahn\AutobahnSpec.cs (3)
12public IList<ServerSpec> Servers { get; } = new List<ServerSpec>(); 13public IList<string> Cases { get; } = new List<string>(); 14public IList<string> ExcludedCases { get; } = new List<string>();
Microsoft.Authentication.WebAssembly.Msal (3)
Models\MsalAuthenticationOptions.cs (1)
53public IList<string> KnownAuthorities { get; set; } = new List<string>();
Models\MsalProviderOptions.cs (2)
36public IList<string> DefaultAccessTokenScopes { get; set; } = new List<string>(); 44public IList<string> AdditionalScopesToConsent { get; set; } = new List<string>();
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Compilers\Shared\BuildProtocol.cs (1)
77IList<string> args,
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Compilers\Shared\BuildProtocol.cs (1)
77IList<string> args,
Microsoft.Cci.Extensions (1)
Filters\IntersectionFilter.cs (1)
32public IList<ICciFilter> Filters { get; }
Microsoft.CodeAnalysis (55)
AdditionalTextFile.cs (2)
22private IList<DiagnosticInfo> _diagnostics; 60internal IList<DiagnosticInfo> Diagnostics => _diagnostics;
CommandLine\CommandLineParser.cs (14)
217IList<Diagnostic> diagnostics, 349protected ImmutableArray<KeyValuePair<string, string>> ParsePathMap(string pathMap, IList<Diagnostic> errors) 435IList<Diagnostic> errors, 453IList<Diagnostic> errors, 477IList<Diagnostic> errors, 502IList<Diagnostic> diagnostics, 1116internal IEnumerable<string> ResolveRelativePaths(IEnumerable<string> paths, string baseDirectory, IList<Diagnostic> errors) 1150internal void ParseFileArgument(ReadOnlyMemory<char> arg, string? baseDirectory, ArrayBuilder<string> filePathBuilder, IList<Diagnostic> errors) 1182private protected void ParseSeparatedFileArgument(ReadOnlyMemory<char> value, string? baseDirectory, ArrayBuilder<string> filePathBuilder, IList<Diagnostic> errors) 1198private protected IEnumerable<string> ParseSeparatedFileArgument(string value, string? baseDirectory, IList<Diagnostic> errors) 1209internal IEnumerable<CommandLineSourceFile> ParseRecurseArgument(string arg, string? baseDirectory, IList<Diagnostic> errors) 1226IList<Diagnostic> errors) 1311internal abstract void GenerateErrorForNoFilesFoundInRecurse(string path, IList<Diagnostic> errors); 1313internal ReportDiagnostic GetDiagnosticOptionsFromRulesetFile(string? fullPath, out Dictionary<string, ReportDiagnostic> diagnosticOptions, IList<Diagnostic> diagnostics)
CommandLine\CommonCompiler.cs (2)
244internal SourceText? TryReadFileContent(CommandLineSourceFile file, IList<DiagnosticInfo> diagnostics) 256internal SourceText? TryReadFileContent(CommandLineSourceFile file, IList<DiagnosticInfo> diagnostics, out string? normalizedFilePath)
InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
PEWriter\Miscellaneous.cs (4)
31var asIListT = enumerable as IList<T>; 65var asIListT = enumerable as IList<T>;
RuleSet\RuleSet.cs (2)
288internal static ReportDiagnostic GetDiagnosticOptionsFromRulesetFile(string? rulesetFileFullPath, out Dictionary<string, ReportDiagnostic> diagnosticOptions, IList<Diagnostic>? diagnosticsOpt, CommonMessageProvider? messageProviderOpt) 299private static ReportDiagnostic GetDiagnosticOptionsFromRulesetFile(Dictionary<string, ReportDiagnostic> diagnosticOptions, string resolvedPath, IList<Diagnostic>? diagnosticsOpt, CommonMessageProvider? messageProviderOpt)
SpecialType.cs (1)
156/// Indicates that the type is <see cref="IList{T}"/>.
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
Syntax\LineDirectiveMap.cs (2)
40IList<TDirective> directives = syntaxRoot.GetDirectives<TDirective>(filter: ShouldAddDirective); 139private ImmutableArray<LineMappingEntry> CreateEntryMap(SyntaxTree tree, IList<TDirective> directives)
Syntax\SyntaxDiffer.cs (6)
38internal static IList<TextChange> GetTextChanges(SyntaxTree before, SyntaxTree after) 59internal static IList<TextChange> GetTextChanges(SyntaxNode oldNode, SyntaxNode newNode) 64private IList<TextChange> ComputeTextChangesFromOld() 72internal static IList<TextSpan> GetPossiblyDifferentTextSpans(SyntaxTree? before, SyntaxTree? after) 95internal static IList<TextSpan> GetPossiblyDifferentTextSpans(SyntaxNode oldNode, SyntaxNode newNode) 100private IList<TextSpan> ComputeSpansInNew()
Syntax\SyntaxNodeOrToken.cs (3)
842internal IList<TDirective> GetDirectives<TDirective>(Func<TDirective, bool>? filter = null) 845GetDirectives(this, filter, out var directives); 849private static void GetDirectives<TDirective>(in SyntaxNodeOrToken node, Func<TDirective, bool>? filter, out IList<TDirective> directives)
Syntax\SyntaxTree.cs (2)
336public abstract IList<TextSpan> GetChangedSpans(SyntaxTree syntaxTree); 366public abstract IList<TextChange> GetChanges(SyntaxTree oldTree);
Microsoft.CodeAnalysis.Analyzers (105)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (12)
115public TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 123protected abstract TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 124protected abstract TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 125protected abstract TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 126protected abstract TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 127protected abstract TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 128protected abstract TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 140public abstract TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, TCodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 232Func<SyntaxNode, TCodeGenerationContextInfo, IList<bool>?, CancellationToken, SyntaxNode> declarationTransform, 272IList<bool>? availableIndices, 326IList<bool>? availableIndices, 355IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService_FindDeclaration.cs (8)
20protected abstract IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken); 22private IList<bool>? GetAvailableInsertionIndices<TDeclarationNode>(TDeclarationNode destination, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 62out IList<bool>? availableIndices, 141private (SyntaxNode? declaration, IList<bool>? availableIndices) FindMostRelevantDeclaration( 163if (TryAddToRelatedDeclaration(declarations.Where(d => d is not ICompilationUnitSyntax), checkGeneratedCode: false, out var declaration1, out var availableIndices1) || 171if (TryAddToWorker(declarations, checkGeneratedCode: true, out var declaration2, out var availableIndices2, predicate: node => true)) 180out IList<bool>? availableIndices) 220out IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
86public static int GetPreferredIndex(int index, IList<bool>? availableIndices, bool forward) 192IList<bool>? availableIndices, 300IList<bool>? availableIndices, 325IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (2)
503public static INamespaceSymbol CreateNamespaceSymbol(string name, IList<ISymbol>? imports = null, IList<INamespaceOrTypeSymbol>? members = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
123TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
17private readonly IList<ISymbol> _imports; 19private CodeGenerationNamespaceInfo(IList<ISymbol> imports) 24IList<ISymbol> imports) 36public static IList<ISymbol> GetImports(INamespaceSymbol @namespace) 39private static IList<ISymbol> GetImports(CodeGenerationNamespaceInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceSymbol.cs (2)
14internal sealed class CodeGenerationNamespaceSymbol(string name, IList<INamespaceOrTypeSymbol> members) : CodeGenerationNamespaceOrTypeSymbol(null, null, default, Accessibility.NotApplicable, default, name), INamespaceSymbol 16private readonly IList<INamespaceOrTypeSymbol> _members = members ?? SpecializedCollections.EmptyList<INamespaceOrTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
170public static async Task<ImmutableArray<Diagnostic>> GetErrorsAsync(this Document document, CancellationToken cancellationToken, IList<string>? ignoreErrorCode = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
13public static ImmutableArray<IParameterSymbol> RenameParameters(this IList<IParameterSymbol> parameters, ImmutableArray<string> parameterNames)
Microsoft.CodeAnalysis.AnalyzerUtilities (69)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
Microsoft.CodeAnalysis.BannedApiAnalyzers (105)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (12)
115public TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 123protected abstract TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 124protected abstract TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 125protected abstract TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 126protected abstract TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 127protected abstract TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 128protected abstract TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 140public abstract TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, TCodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 232Func<SyntaxNode, TCodeGenerationContextInfo, IList<bool>?, CancellationToken, SyntaxNode> declarationTransform, 272IList<bool>? availableIndices, 326IList<bool>? availableIndices, 355IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService_FindDeclaration.cs (8)
20protected abstract IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken); 22private IList<bool>? GetAvailableInsertionIndices<TDeclarationNode>(TDeclarationNode destination, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 62out IList<bool>? availableIndices, 141private (SyntaxNode? declaration, IList<bool>? availableIndices) FindMostRelevantDeclaration( 163if (TryAddToRelatedDeclaration(declarations.Where(d => d is not ICompilationUnitSyntax), checkGeneratedCode: false, out var declaration1, out var availableIndices1) || 171if (TryAddToWorker(declarations, checkGeneratedCode: true, out var declaration2, out var availableIndices2, predicate: node => true)) 180out IList<bool>? availableIndices) 220out IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
86public static int GetPreferredIndex(int index, IList<bool>? availableIndices, bool forward) 192IList<bool>? availableIndices, 300IList<bool>? availableIndices, 325IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (2)
503public static INamespaceSymbol CreateNamespaceSymbol(string name, IList<ISymbol>? imports = null, IList<INamespaceOrTypeSymbol>? members = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
123TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
17private readonly IList<ISymbol> _imports; 19private CodeGenerationNamespaceInfo(IList<ISymbol> imports) 24IList<ISymbol> imports) 36public static IList<ISymbol> GetImports(INamespaceSymbol @namespace) 39private static IList<ISymbol> GetImports(CodeGenerationNamespaceInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceSymbol.cs (2)
14internal sealed class CodeGenerationNamespaceSymbol(string name, IList<INamespaceOrTypeSymbol> members) : CodeGenerationNamespaceOrTypeSymbol(null, null, default, Accessibility.NotApplicable, default, name), INamespaceSymbol 16private readonly IList<INamespaceOrTypeSymbol> _members = members ?? SpecializedCollections.EmptyList<INamespaceOrTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
170public static async Task<ImmutableArray<Diagnostic>> GetErrorsAsync(this Document document, CancellationToken cancellationToken, IList<string>? ignoreErrorCode = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
13public static ImmutableArray<IParameterSymbol> RenameParameters(this IList<IParameterSymbol> parameters, ImmutableArray<string> parameterNames)
Microsoft.CodeAnalysis.CodeStyle (67)
src\Analyzers\Core\Analyzers\Formatting\AbstractFormattingAnalyzer.cs (1)
54var formattingChanges = SyntaxFormatting.GetFormattingResult(root, spans, formattingOptions, rules: default, cancellationToken).GetTextChanges(cancellationToken);
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
Microsoft.CodeAnalysis.CodeStyle.Fixes (37)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.cs (1)
171SemanticDocument document, IEnumerable<Argument<TExpressionSyntax>> arguments, IList<string> reservedNames, NamingRule parameterNamingRule, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (12)
115public TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 123protected abstract TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 124protected abstract TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 125protected abstract TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 126protected abstract TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 127protected abstract TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 128protected abstract TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 140public abstract TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, TCodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 232Func<SyntaxNode, TCodeGenerationContextInfo, IList<bool>?, CancellationToken, SyntaxNode> declarationTransform, 272IList<bool>? availableIndices, 326IList<bool>? availableIndices, 355IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService_FindDeclaration.cs (8)
20protected abstract IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken); 22private IList<bool>? GetAvailableInsertionIndices<TDeclarationNode>(TDeclarationNode destination, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 62out IList<bool>? availableIndices, 141private (SyntaxNode? declaration, IList<bool>? availableIndices) FindMostRelevantDeclaration( 163if (TryAddToRelatedDeclaration(declarations.Where(d => d is not ICompilationUnitSyntax), checkGeneratedCode: false, out var declaration1, out var availableIndices1) || 171if (TryAddToWorker(declarations, checkGeneratedCode: true, out var declaration2, out var availableIndices2, predicate: node => true)) 180out IList<bool>? availableIndices) 220out IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
86public static int GetPreferredIndex(int index, IList<bool>? availableIndices, bool forward) 192IList<bool>? availableIndices, 300IList<bool>? availableIndices, 325IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (2)
503public static INamespaceSymbol CreateNamespaceSymbol(string name, IList<ISymbol>? imports = null, IList<INamespaceOrTypeSymbol>? members = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
123TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
17private readonly IList<ISymbol> _imports; 19private CodeGenerationNamespaceInfo(IList<ISymbol> imports) 24IList<ISymbol> imports) 36public static IList<ISymbol> GetImports(INamespaceSymbol @namespace) 39private static IList<ISymbol> GetImports(CodeGenerationNamespaceInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceSymbol.cs (2)
14internal sealed class CodeGenerationNamespaceSymbol(string name, IList<INamespaceOrTypeSymbol> members) : CodeGenerationNamespaceOrTypeSymbol(null, null, default, Accessibility.NotApplicable, default, name), INamespaceSymbol 16private readonly IList<INamespaceOrTypeSymbol> _members = members ?? SpecializedCollections.EmptyList<INamespaceOrTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
170public static async Task<ImmutableArray<Diagnostic>> GetErrorsAsync(this Document document, CancellationToken cancellationToken, IList<string>? ignoreErrorCode = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
13public static ImmutableArray<IParameterSymbol> RenameParameters(this IList<IParameterSymbol> parameters, ImmutableArray<string> parameterNames)
Microsoft.CodeAnalysis.Collections.Package (16)
Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
Microsoft.CodeAnalysis.CSharp (28)
Binder\Semantics\Conversions\CollectionExpressionTypeKind.cs (1)
24/// <item><see cref="IList{T}"/></item>
CommandLine\CSharpCommandLineParser.cs (12)
1833private static Platform ParsePlatform(string value, IList<Diagnostic> diagnostics) 1859private static OutputKind ParseTarget(string value, IList<Diagnostic> diagnostics) 1887private static IEnumerable<string> ParseUsings(string arg, string? value, IList<Diagnostic> diagnostics) 1928private static void ParseAssemblyReferences(string arg, ReadOnlyMemory<char>? valueMemory, IList<Diagnostic> diagnostics, bool embedInteropTypes, List<CommandLineReference> commandLineReferences) 2012private static void ValidateWin32Settings(string? win32ResourceFile, string? win32IconResourceFile, string? win32ManifestFile, OutputKind outputKind, IList<Diagnostic> diagnostics) 2033private static IEnumerable<InstrumentationKind> ParseInstrumentationKinds(string value, IList<Diagnostic> diagnostics) 2055IList<Diagnostic> diagnostics, 2161private static void UnimplementedSwitch(IList<Diagnostic> diagnostics, string switchName) 2166internal override void GenerateErrorForNoFilesFoundInRecurse(string path, IList<Diagnostic> diagnostics) 2171private static void AddDiagnostic(IList<Diagnostic> diagnostics, ErrorCode errorCode) 2176private static void AddDiagnostic(IList<Diagnostic> diagnostics, ErrorCode errorCode, params object[] arguments) 2184private static void AddDiagnostic(IList<Diagnostic> diagnostics, Dictionary<string, ReportDiagnostic> warningOptions, ErrorCode errorCode, params object[] arguments)
Compilation\CSharpCompilation.cs (1)
3926var checksumDirectives = tree.GetRoot().GetDirectives(d => d.Kind() == SyntaxKind.PragmaChecksumDirectiveTrivia &&
Compilation\SyntaxAndDeclarationManager.cs (1)
475var newLoadDirectivesSyntax = newTree.GetCompilationUnitRoot().GetLoadDirectives();
CSharpExtensions.cs (1)
372internal static IList<DirectiveTriviaSyntax> GetDirectives(this SyntaxNode node, Func<DirectiveTriviaSyntax, bool>? filter = null)
Declarations\DeclarationTreeBuilder.cs (1)
306IList<ReferenceDirectiveTriviaSyntax> directiveNodes = compilationUnit.GetReferenceDirectives(
Symbols\Source\SourceNamedTypeSymbol.cs (1)
262var parameterBuilders2 = parameterBuilders1.Transpose(); // type arguments are positional
Symbols\Source\TypeParameterBuilder.cs (3)
34internal TypeParameterSymbol MakeSymbol(int ordinal, IList<TypeParameterBuilder> builders, BindingDiagnosticBag diagnostics) 54private static ImmutableArray<Location> ToLocations(IList<TypeParameterBuilder> builders) 65private static ImmutableArray<SyntaxReference> ToSyntaxRefs(IList<TypeParameterBuilder> builders)
Syntax\CompilationUnitSyntax.cs (3)
17public IList<ReferenceDirectiveTriviaSyntax> GetReferenceDirectives() 22internal IList<ReferenceDirectiveTriviaSyntax> GetReferenceDirectives(Func<ReferenceDirectiveTriviaSyntax, bool>? filter) 35public IList<LoadDirectiveTriviaSyntax> GetLoadDirectives()
Syntax\CSharpSyntaxNode.cs (1)
220internal IList<DirectiveTriviaSyntax> GetDirectives(Func<DirectiveTriviaSyntax, bool>? filter = null)
Syntax\CSharpSyntaxTree.cs (2)
598public override IList<TextSpan> GetChangedSpans(SyntaxTree oldTree) 613public override IList<TextChange> GetChanges(SyntaxTree oldTree)
Syntax\InternalSyntax\CSharpSyntaxNode.cs (1)
177internal virtual IList<DirectiveTriviaSyntax> GetDirectives()
Microsoft.CodeAnalysis.CSharp.CodeStyle (14)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
54nameof(IList<>),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
115public static bool TryGetNameParts(this ExpressionSyntax expression, [NotNullWhen(true)] out IList<string>? parts)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (3)
594public static IList<IList<TSyntaxNode>> SplitNodesOnPreprocessorBoundaries<TSyntaxNode>( 599var result = new List<IList<TSyntaxNode>>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormatting.cs (1)
45protected override IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\AggregatedFormattingResult.cs (1)
15public AggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.FormattedComplexTrivia.cs (1)
18private readonly IList<TextChange> _textChanges;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Indentation\CSharpSmartTokenFormatter.cs (2)
44public IList<TextChange> FormatRange( 76public IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (3)
57var xNameParts = DecomposeNameParts(x); 58var yNameParts = DecomposeNameParts(y); 73private static IList<SimpleNameSyntax> DecomposeNameParts(NameSyntax name)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (1)
161private static void EnsureNewLines(IList<SyntaxNode> list, SyntaxTrivia newLineTrivia)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (49)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (2)
23public static ArgumentListSyntax GenerateArgumentList(IList<SyntaxNode> arguments) 26public static BracketedArgumentListSyntax GenerateBracketedArgumentList(IList<SyntaxNode> arguments)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
30IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (1)
26IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
173IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (9)
46protected override IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken) 59private static IList<bool> GetInsertionIndices(TypeDeclarationSyntax destination, CancellationToken cancellationToken) 90protected override TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 97protected override TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 115protected override TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 189protected override TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 247protected override TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 267protected override TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 907public override TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CSharpCodeGenerationContextInfo info, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (1)
28IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (2)
66IList<bool> availableIndices, 82IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (2)
57IList<bool>? availableIndices, 73IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (3)
34IList<bool>? availableIndices, 47IList<bool>? availableIndices, 62IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (4)
29IList<bool>? availableIndices, 43IList<bool>? availableIndices, 58IList<bool>? availableIndices, 144IList<ISymbol> newMembers,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamespaceGenerator.cs (3)
29IList<bool>? availableIndices, 49IList<bool>? availableIndices, 88IList<ISymbol> newMembers,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
27IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (2)
40IList<bool>? availableIndices, 56IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BaseNamespaceDeclarationSyntaxExtensions.cs (1)
15IList<UsingDirectiveSyntax> usingDirectives,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (3)
78IList<UsingDirectiveSyntax> usingDirectives, 102IList<UsingDirectiveSyntax> usingDirectives, 141CompilationUnitSyntax root, IList<UsingDirectiveSyntax> usingDirectives)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (2)
15public static IList<NameSyntax> GetNameParts(this NameSyntax nameSyntax) 20var parts = nameSyntax.GetNameParts();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\QueryExpressionSyntaxExtensions.cs (3)
13public static IList<SyntaxNode> GetAllClauses(this QueryExpressionSyntax query) 18public static IList<SyntaxNode> GetAllClauses(this QueryBodySyntax body) 23IList<SyntaxNode> allClauses)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SemanticModelExtensions.cs (3)
56IList<string> reservedNames, 71public static ImmutableArray<ParameterName> GenerateNames(IList<string> reservedNames, ImmutableArray<bool> isFixed, ImmutableArray<string> parameterNames) 79IList<string> reservedNames,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (1)
20public static IList<bool> GetInsertionIndices(this TypeDeclarationSyntax destination, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Formatting\CSharpSyntaxFormattingService.cs (3)
88var tokenEdits = FormatToken(document, indentationOptions, token, formattingRules, cancellationToken); 185private static IList<TextChange> FormatToken( 211var changes = formatter.FormatRange(tokenRange.Value.Item1, tokenRange.Value.Item2, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
620private static IMethodSymbol Instantiate(IMethodSymbol method, IList<ITypeSymbol> invocationTypes)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (2)
93protected override IList<TextChange> FormatBasedOnEndToken(ParsedDocument document, int position, SyntaxFormattingOptions options, CancellationToken cancellationToken) 652var changes = FormatBasedOnEndToken(newDocument, insertionPosition + bracePair.Length - 1, formattingOptions, cancellationToken);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (494)
Completion\ArgumentProviders\ArgumentProviderOrderTests.cs (4)
29var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 62var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 102var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 113var orderedCSharpArgumentProviders = ExtensionOrderer.Order(argumentProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp));
Completion\CompletionProviders\CompletionProviderOrderTests.cs (4)
30var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 100var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 140var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp)); 151var orderedCSharpCompletionProviders = ExtensionOrderer.Order(completionProviderExports.Where(export => export.Metadata.Language == LanguageNames.CSharp));
Debugging\ProximityExpressionsGetterTests.cs (2)
64var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 245, cancellationToken: default); 111var actualTerms = await getter.GetProximityExpressionsAsync(document, position, CancellationToken.None);
Debugging\ProximityExpressionsGetterTests.Lines.cs (332)
23var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 0, cancellationToken: default); 34var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 35, cancellationToken: default); 45var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 67, cancellationToken: default); 56var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 108, cancellationToken: default); 67var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 152, cancellationToken: default); 78var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 154, cancellationToken: default); 89var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 198, cancellationToken: default); 100var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 201, cancellationToken: default); 111var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 256, cancellationToken: default); 122var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 263, cancellationToken: default); 133var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 339, cancellationToken: default); 145var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 350, cancellationToken: default); 157var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 410, cancellationToken: default); 169var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 456, cancellationToken: default); 180var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 467, cancellationToken: default); 191var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 469, cancellationToken: default); 202var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 584, cancellationToken: default); 214var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 595, cancellationToken: default); 226var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 659, cancellationToken: default); 238var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 696, cancellationToken: default); 250var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 711, cancellationToken: default); 262var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 736, cancellationToken: default); 273var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 751, cancellationToken: default); 285var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 753, cancellationToken: default); 297var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 849, cancellationToken: default); 309var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 896, cancellationToken: default); 321var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 954, cancellationToken: default); 333var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1040, cancellationToken: default); 345var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1042, cancellationToken: default); 357var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1132, cancellationToken: default); 369var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1147, cancellationToken: default); 381var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1235, cancellationToken: default); 393var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1266, cancellationToken: default); 405var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1323, cancellationToken: default); 417var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1338, cancellationToken: default); 429var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1349, cancellationToken: default); 440var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1351, cancellationToken: default); 451var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1502, cancellationToken: default); 463var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1513, cancellationToken: default); 475var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1577, cancellationToken: default); 487var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1614, cancellationToken: default); 499var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1629, cancellationToken: default); 511var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1654, cancellationToken: default); 522var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1669, cancellationToken: default); 534var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1671, cancellationToken: default); 546var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1709, cancellationToken: default); 558var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1724, cancellationToken: default); 570var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1773, cancellationToken: default); 582var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1822, cancellationToken: default); 594var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1913, cancellationToken: default); 606var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2010, cancellationToken: default); 618var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2085, cancellationToken: default); 630var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2155, cancellationToken: default); 642var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2184, cancellationToken: default); 654var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2186, cancellationToken: default); 666var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2235, cancellationToken: default); 678var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2293, cancellationToken: default); 690var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2357, cancellationToken: default); 702var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2386, cancellationToken: default); 714var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2388, cancellationToken: default); 726var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2449, cancellationToken: default); 738var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2506, cancellationToken: default); 750var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2562, cancellationToken: default); 762var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2621, cancellationToken: default); 774var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2679, cancellationToken: default); 786var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2735, cancellationToken: default); 798var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2828, cancellationToken: default); 810var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2926, cancellationToken: default); 822var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2965, cancellationToken: default); 834var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3035, cancellationToken: default); 846var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3064, cancellationToken: default); 858var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3066, cancellationToken: default); 870var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3115, cancellationToken: default); 882var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3210, cancellationToken: default); 894var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3308, cancellationToken: default); 906var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3403, cancellationToken: default); 918var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3532, cancellationToken: default); 930var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3561, cancellationToken: default); 942var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3563, cancellationToken: default); 954var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3620, cancellationToken: default); 966var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3684, cancellationToken: default); 978var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3790, cancellationToken: default); 990var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3819, cancellationToken: default); 1002var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3821, cancellationToken: default); 1014var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3880, cancellationToken: default); 1026var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3988, cancellationToken: default); 1038var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4017, cancellationToken: default); 1050var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4019, cancellationToken: default); 1062var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4077, cancellationToken: default); 1074var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4184, cancellationToken: default); 1086var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4213, cancellationToken: default); 1098var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4215, cancellationToken: default); 1110var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4270, cancellationToken: default); 1122var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4374, cancellationToken: default); 1134var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4403, cancellationToken: default); 1146var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4418, cancellationToken: default); 1158var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4420, cancellationToken: default); 1170var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4458, cancellationToken: default); 1182var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4474, cancellationToken: default); 1194var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4571, cancellationToken: default); 1206var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4631, cancellationToken: default); 1218var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4646, cancellationToken: default); 1230var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4747, cancellationToken: default); 1242var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4772, cancellationToken: default); 1253var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4787, cancellationToken: default); 1265var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4789, cancellationToken: default); 1277var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4850, cancellationToken: default); 1289var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4865, cancellationToken: default); 1301var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4967, cancellationToken: default); 1313var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4992, cancellationToken: default); 1324var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5007, cancellationToken: default); 1336var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5009, cancellationToken: default); 1348var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5064, cancellationToken: default); 1360var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5079, cancellationToken: default); 1372var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5175, cancellationToken: default); 1384var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5200, cancellationToken: default); 1395var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5215, cancellationToken: default); 1407var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5217, cancellationToken: default); 1419var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5271, cancellationToken: default); 1431var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5282, cancellationToken: default); 1442var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5284, cancellationToken: default); 1453var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5447, cancellationToken: default); 1465var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5458, cancellationToken: default); 1477var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5507, cancellationToken: default); 1489var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5509, cancellationToken: default); 1501var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5595, cancellationToken: default); 1513var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5681, cancellationToken: default); 1525var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5753, cancellationToken: default); 1537var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5827, cancellationToken: default); 1549var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5917, cancellationToken: default); 1561var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5919, cancellationToken: default); 1573var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6004, cancellationToken: default); 1585var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6087, cancellationToken: default); 1597var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6158, cancellationToken: default); 1609var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6241, cancellationToken: default); 1621var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6321, cancellationToken: default); 1633var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6406, cancellationToken: default); 1645var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6421, cancellationToken: default); 1657var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6491, cancellationToken: default); 1669var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6506, cancellationToken: default); 1681var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6508, cancellationToken: default); 1693var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6589, cancellationToken: default); 1705var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6654, cancellationToken: default); 1717var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6749, cancellationToken: default); 1729var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6825, cancellationToken: default); 1741var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6840, cancellationToken: default); 1753var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6900, cancellationToken: default); 1765var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6915, cancellationToken: default); 1777var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6933, cancellationToken: default); 1789var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6948, cancellationToken: default); 1801var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7014, cancellationToken: default); 1813var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7029, cancellationToken: default); 1825var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7040, cancellationToken: default); 1836var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7042, cancellationToken: default); 1847var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7207, cancellationToken: default); 1859var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7218, cancellationToken: default); 1871var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7304, cancellationToken: default); 1883var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7388, cancellationToken: default); 1895var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7439, cancellationToken: default); 1907var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7493, cancellationToken: default); 1919var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7495, cancellationToken: default); 1931var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7576, cancellationToken: default); 1943var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7636, cancellationToken: default); 1955var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7651, cancellationToken: default); 1967var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7704, cancellationToken: default); 1979var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7806, cancellationToken: default); 1991var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7808, cancellationToken: default); 2003var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7891, cancellationToken: default); 2015var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7959, cancellationToken: default); 2027var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8044, cancellationToken: default); 2039var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8063, cancellationToken: default); 2051var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8133, cancellationToken: default); 2063var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8152, cancellationToken: default); 2075var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8167, cancellationToken: default); 2087var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8178, cancellationToken: default); 2098var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8180, cancellationToken: default); 2109var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8344, cancellationToken: default); 2121var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8355, cancellationToken: default); 2133var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8390, cancellationToken: default); 2145var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8466, cancellationToken: default); 2157var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8468, cancellationToken: default); 2169var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8523, cancellationToken: default); 2181var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8538, cancellationToken: default); 2193var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8591, cancellationToken: default); 2205var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8713, cancellationToken: default); 2217var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8715, cancellationToken: default); 2229var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8809, cancellationToken: default); 2241var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8824, cancellationToken: default); 2253var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8826, cancellationToken: default); 2265var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8854, cancellationToken: default); 2277var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8869, cancellationToken: default); 2289var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8935, cancellationToken: default); 2301var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8950, cancellationToken: default); 2313var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8968, cancellationToken: default); 2325var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8983, cancellationToken: default); 2337var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9041, cancellationToken: default); 2349var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9056, cancellationToken: default); 2361var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9067, cancellationToken: default); 2372var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9069, cancellationToken: default); 2383var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9230, cancellationToken: default); 2395var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9241, cancellationToken: default); 2407var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9318, cancellationToken: default); 2419var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9355, cancellationToken: default); 2431var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9409, cancellationToken: default); 2443var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9510, cancellationToken: default); 2455var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9512, cancellationToken: default); 2467var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9582, cancellationToken: default); 2479var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9674, cancellationToken: default); 2491var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9767, cancellationToken: default); 2503var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9769, cancellationToken: default); 2515var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9854, cancellationToken: default); 2527var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9869, cancellationToken: default); 2539var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9937, cancellationToken: default); 2551var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9952, cancellationToken: default); 2563var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9954, cancellationToken: default); 2575var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10006, cancellationToken: default); 2587var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10095, cancellationToken: default); 2599var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10106, cancellationToken: default); 2610var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10108, cancellationToken: default); 2621var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10270, cancellationToken: default); 2633var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10281, cancellationToken: default); 2645var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10335, cancellationToken: default); 2657var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10384, cancellationToken: default); 2669var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10466, cancellationToken: default); 2681var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10468, cancellationToken: default); 2693var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10516, cancellationToken: default); 2705var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10612, cancellationToken: default); 2717var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10614, cancellationToken: default); 2729var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10662, cancellationToken: default); 2741var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10743, cancellationToken: default); 2753var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10758, cancellationToken: default); 2765var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10834, cancellationToken: default); 2777var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10849, cancellationToken: default); 2789var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10851, cancellationToken: default); 2801var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11014, cancellationToken: default); 2813var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11029, cancellationToken: default); 2825var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11101, cancellationToken: default); 2837var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11175, cancellationToken: default); 2849var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11190, cancellationToken: default); 2861var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11201, cancellationToken: default); 2872var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11203, cancellationToken: default); 2883var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11366, cancellationToken: default); 2895var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11377, cancellationToken: default); 2907var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11464, cancellationToken: default); 2919var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11527, cancellationToken: default); 2931var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11581, cancellationToken: default); 2943var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11583, cancellationToken: default); 2955var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11632, cancellationToken: default); 2967var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11716, cancellationToken: default); 2979var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11718, cancellationToken: default); 2991var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11766, cancellationToken: default); 3003var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11863, cancellationToken: default); 3015var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11865, cancellationToken: default); 3027var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11913, cancellationToken: default); 3039var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11994, cancellationToken: default); 3051var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12009, cancellationToken: default); 3063var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12086, cancellationToken: default); 3075var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12101, cancellationToken: default); 3087var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12112, cancellationToken: default); 3098var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12114, cancellationToken: default); 3109var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12271, cancellationToken: default); 3121var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12282, cancellationToken: default); 3133var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12383, cancellationToken: default); 3145var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12385, cancellationToken: default); 3157var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12457, cancellationToken: default); 3169var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12549, cancellationToken: default); 3181var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12643, cancellationToken: default); 3193var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12645, cancellationToken: default); 3205var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12730, cancellationToken: default); 3217var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12745, cancellationToken: default); 3229var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12813, cancellationToken: default); 3241var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12828, cancellationToken: default); 3253var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12830, cancellationToken: default); 3265var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12916, cancellationToken: default); 3277var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12931, cancellationToken: default); 3289var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13000, cancellationToken: default); 3301var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13015, cancellationToken: default); 3313var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13017, cancellationToken: default); 3325var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13108, cancellationToken: default); 3337var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13188, cancellationToken: default); 3349var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13190, cancellationToken: default); 3361var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13234, cancellationToken: default); 3373var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13249, cancellationToken: default); 3385var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13297, cancellationToken: default); 3398var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14319, cancellationToken: default); 3410var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14372, cancellationToken: default); 3422var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14432, cancellationToken: default); 3434var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14529, cancellationToken: default); 3446var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14558, cancellationToken: default); 3458var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14560, cancellationToken: default); 3470var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14586, cancellationToken: default); 3482var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14648, cancellationToken: default); 3494var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14677, cancellationToken: default); 3506var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14692, cancellationToken: default); 3518var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14703, cancellationToken: default); 3529var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14705, cancellationToken: default); 3540var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14858, cancellationToken: default); 3552var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14869, cancellationToken: default); 3564var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14904, cancellationToken: default); 3576var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14906, cancellationToken: default); 3588var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14983, cancellationToken: default); 3600var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15066, cancellationToken: default); 3612var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15123, cancellationToken: default); 3624var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15138, cancellationToken: default); 3636var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15191, cancellationToken: default); 3648var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15193, cancellationToken: default); 3660var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15278, cancellationToken: default); 3672var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15363, cancellationToken: default); 3684var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15382, cancellationToken: default); 3696var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15447, cancellationToken: default); 3708var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15466, cancellationToken: default); 3720var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15468, cancellationToken: default); 3732var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15574, cancellationToken: default); 3744var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15589, cancellationToken: default); 3756var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15591, cancellationToken: default); 3768var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15669, cancellationToken: default); 3780var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15710, cancellationToken: default); 3792var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15788, cancellationToken: default); 3804var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15799, cancellationToken: default); 3815var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15801, cancellationToken: default); 3826var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15944, cancellationToken: default); 3838var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15955, cancellationToken: default); 3850var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16008, cancellationToken: default); 3862var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16023, cancellationToken: default); 3874var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16079, cancellationToken: default); 3886var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16098, cancellationToken: default); 3898var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16193, cancellationToken: default); 3910var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16212, cancellationToken: default); 3922var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16227, cancellationToken: default); 3934var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16238, cancellationToken: default); 3945var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16245, cancellationToken: default); 3956var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16248, cancellationToken: default);
Debugging\ProximityExpressionsGetterTests.Statements.cs (142)
26var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 347, cancellationToken: default); 40var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 422, cancellationToken: default); 54var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 592, cancellationToken: default); 68var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 671, cancellationToken: default); 82var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 708, cancellationToken: default); 96var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 727, cancellationToken: default); 110var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 908, cancellationToken: default); 124var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 966, cancellationToken: default); 138var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1054, cancellationToken: default); 152var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1144, cancellationToken: default); 166var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1282, cancellationToken: default); 180var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1510, cancellationToken: default); 194var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1589, cancellationToken: default); 208var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1626, cancellationToken: default); 222var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1645, cancellationToken: default); 236var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 1683, cancellationToken: default); 250var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2105, cancellationToken: default); 264var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2175, cancellationToken: default); 278var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2313, cancellationToken: default); 292var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2377, cancellationToken: default); 306var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 2985, cancellationToken: default); 320var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3055, cancellationToken: default); 334var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3423, cancellationToken: default); 348var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3552, cancellationToken: default); 362var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3704, cancellationToken: default); 376var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3810, cancellationToken: default); 390var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 3900, cancellationToken: default); 404var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4008, cancellationToken: default); 418var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4097, cancellationToken: default); 432var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4204, cancellationToken: default); 446var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4290, cancellationToken: default); 460var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4394, cancellationToken: default); 474var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4583, cancellationToken: default); 488var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4643, cancellationToken: default); 502var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4662, cancellationToken: default); 516var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4763, cancellationToken: default); 530var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4801, cancellationToken: default); 544var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4862, cancellationToken: default); 558var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4881, cancellationToken: default); 572var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 4983, cancellationToken: default); 586var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5021, cancellationToken: default); 600var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5076, cancellationToken: default); 614var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5095, cancellationToken: default); 628var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5191, cancellationToken: default); 642var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5229, cancellationToken: default); 656var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5455, cancellationToken: default); 670var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5470, cancellationToken: default); 684var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5765, cancellationToken: default); 698var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 5839, cancellationToken: default); 712var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6170, cancellationToken: default); 726var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6418, cancellationToken: default); 740var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6437, cancellationToken: default); 754var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6666, cancellationToken: default); 768var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6837, cancellationToken: default); 782var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6856, cancellationToken: default); 796var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6945, cancellationToken: default); 810var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 6964, cancellationToken: default); 824var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7215, cancellationToken: default); 838var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7451, cancellationToken: default); 852var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7507, cancellationToken: default); 866var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7588, cancellationToken: default); 880var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7648, cancellationToken: default); 894var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7667, cancellationToken: default); 908var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7720, cancellationToken: default); 922var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 7975, cancellationToken: default); 936var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8060, cancellationToken: default); 950var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8083, cancellationToken: default); 964var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8352, cancellationToken: default); 978var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8367, cancellationToken: default); 992var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8402, cancellationToken: default); 1006var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8480, cancellationToken: default); 1020var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8535, cancellationToken: default); 1034var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8554, cancellationToken: default); 1048var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8607, cancellationToken: default); 1062var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8731, cancellationToken: default); 1076var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8838, cancellationToken: default); 1090var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8866, cancellationToken: default); 1104var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8885, cancellationToken: default); 1118var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8980, cancellationToken: default); 1132var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 8999, cancellationToken: default); 1146var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9238, cancellationToken: default); 1160var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9367, cancellationToken: default); 1174var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9421, cancellationToken: default); 1188var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9524, cancellationToken: default); 1202var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9594, cancellationToken: default); 1216var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9686, cancellationToken: default); 1230var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9781, cancellationToken: default); 1244var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9866, cancellationToken: default); 1258var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 9885, cancellationToken: default); 1272var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10018, cancellationToken: default); 1286var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10278, cancellationToken: default); 1300var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10293, cancellationToken: default); 1314var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10347, cancellationToken: default); 1328var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10396, cancellationToken: default); 1342var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10528, cancellationToken: default); 1356var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10674, cancellationToken: default); 1370var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10755, cancellationToken: default); 1384var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10774, cancellationToken: default); 1398var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 10863, cancellationToken: default); 1412var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11026, cancellationToken: default); 1426var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11117, cancellationToken: default); 1440var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11374, cancellationToken: default); 1454var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11539, cancellationToken: default); 1468var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11595, cancellationToken: default); 1482var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11644, cancellationToken: default); 1496var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11778, cancellationToken: default); 1510var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 11925, cancellationToken: default); 1524var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12006, cancellationToken: default); 1538var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12025, cancellationToken: default); 1552var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12279, cancellationToken: default); 1566var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12294, cancellationToken: default); 1580var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12397, cancellationToken: default); 1594var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12469, cancellationToken: default); 1608var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12561, cancellationToken: default); 1622var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12657, cancellationToken: default); 1636var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12742, cancellationToken: default); 1650var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12761, cancellationToken: default); 1664var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12842, cancellationToken: default); 1678var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12928, cancellationToken: default); 1692var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 12947, cancellationToken: default); 1706var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 13202, cancellationToken: default); 1720var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14452, cancellationToken: default); 1734var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14549, cancellationToken: default); 1748var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14606, cancellationToken: default); 1762var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14668, cancellationToken: default); 1776var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14866, cancellationToken: default); 1790var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 14881, cancellationToken: default); 1804var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15078, cancellationToken: default); 1818var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15135, cancellationToken: default); 1832var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15154, cancellationToken: default); 1846var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15209, cancellationToken: default); 1860var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15294, cancellationToken: default); 1874var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15379, cancellationToken: default); 1888var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15402, cancellationToken: default); 1902var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15484, cancellationToken: default); 1916var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15722, cancellationToken: default); 1930var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15952, cancellationToken: default); 1944var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 15967, cancellationToken: default); 1958var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16020, cancellationToken: default); 1972var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16039, cancellationToken: default); 1986var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16095, cancellationToken: default); 2000var terms = CSharpProximityExpressionsService.GetProximityExpressions(tree, 16118, cancellationToken: default);
Formatting\FormattingEngineTests.cs (1)
340var spans = subjectDocument.SelectedSpans;
Formatting\Indentation\CSharpFormatterTestsBase.cs (1)
96var changes = formatter.FormatToken(token, CancellationToken.None);
Formatting\Indentation\SmartTokenFormatterFormatRangeTests.cs (2)
3140var changes = formatter.FormatRange(tokenRange.Value.startToken, tokenRange.Value.endToken, CancellationToken.None); 3145private static string GetFormattedText(ITextBuffer buffer, IList<TextChange> changes)
SplitStringLiteral\SplitStringLiteralCommandHandlerTests.cs (1)
76var originalSelections = document.SelectedSpans;
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (3)
160var list = bindingtuples.Item1; 348var list = bindingtuples.Item1; 432var list = bindingtuples.Item1;
SymbolKey\SymbolKeyTestBase.cs (2)
152var list = GetSourceSymbols(compilation, includeLocal: false); 198internal static IList<ISymbol> GetSourceSymbols(CSharpCompilation compilation, bool includeLocal)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (22)
CodeGen\CodeGenCapturing.cs (18)
27public readonly List<IList<string>> VariablesByScope = new List<IList<string>>(); 58var fields = VariablesByScope[0]; 72private static string MakeCaptureExpression(IList<int> varsToCapture, CaptureContext ctx) 85var varsAtCurrentDepth = variablesByScope[varDepth]; 119private static IEnumerable<IList<int>> GenerateAllSetCombinations(int sum, int numSubsets) 206void VerifyContext(IList<IEnumerable<string>> expectedCtx, List<IList<string>> actualCtx) 217private readonly IList<int> _layout; 220public LayoutEnumerator(IList<int> layout) 250bool FindNonEmptyDepth(int startingDepth, IList<int> layout, out (int depth, int localFuncIndex) newCurrent) 272LocalFuncs = new List<IList<string>>(); 278public List<IList<string>> LocalFuncs { get; private set; } 291: (IList<string>)new List<string>(x)).ToList(), 297private static IEnumerable<MethodInfo> MakeMethodsWithLayout(IList<int> localFuncLayout) 319foreach (var captureCombo in GenerateAllSetCombinations(MaxCaptures, depth + 2)) 353foreach (var localFuncLayout in GenerateAllSetCombinations(MaxLocalFuncs, MaxDepth)) 432var fields = methods.First().CaptureContext.VariablesByScope[0];
CodeGen\CodeGenTupleTest.cs (4)
19062var exprs = GetBindingNodes<ExpressionSyntax>(comp); 19101var exprs = GetBindingNodes<ExpressionSyntax>(comp); 19140var exprs = GetBindingNodes<ExpressionSyntax>(comp); 19179var exprs = GetBindingNodes<ExpressionSyntax>(comp);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Emit\EditAndContinue\EditAndContinueTestBase.cs (3)
229public static void CheckBlobValue(IList<MetadataReader> readers, BlobHandle valueHandle, byte[] expectedValue) 238public static void CheckStringValue(IList<MetadataReader> readers, StringHandle valueHandle, string expectedValue) 247public static MetadataAggregator GetAggregator(IList<MetadataReader> readers)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests.cs (1)
3180attrs.First().VerifyNamedArgumentValue<object[]>(0, "AryProp", TypedConstantKind.Array, new object[] { new object[] { "", typeof(IList<string>) } });
Microsoft.CodeAnalysis.CSharp.Features (78)
Debugging\BreakpointResolver.cs (2)
43out IList<NameAndArity> nameParts, 80var parts = name.GetNameParts();
Debugging\CSharpProximityExpressionsService.cs (3)
87public async Task<IList<string>> GetProximityExpressionsAsync( 103public static IList<string> GetProximityExpressions(SyntaxTree syntaxTree, int position, CancellationToken cancellationToken) 108IList<string> expressions,
Debugging\CSharpProximityExpressionsService.RelevantExpressionsCollector.cs (5)
15private sealed class RelevantExpressionsCollector(bool includeDeclarations, IList<string> expressions) : CSharpSyntaxVisitor 18private readonly IList<string> _expressions = expressions; 89IList<string> expressions) 107IList<string> expressions) 135IList<string> expressions)
Debugging\CSharpProximityExpressionsService.Worker.cs (1)
28internal IList<string> Do(CancellationToken cancellationToken)
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (14)
22private static void AddExpressionTerms(ExpressionSyntax expression, IList<string> terms) 38private static void AddIfValidTerm(ExpressionSyntax expression, ExpressionType type, IList<string> terms) 54private static void AddSubExpressionTerms(ExpressionSyntax expression, IList<string> terms, ref ExpressionType expressionType) 158private static void AddCastExpressionTerms(CastExpressionSyntax castExpression, IList<string> terms, ref ExpressionType expressionType) 176private static void AddMemberAccessExpressionTerms(MemberAccessExpressionSyntax memberAccessExpression, IList<string> terms, ref ExpressionType expressionType) 207private static void AddObjectCreationExpressionTerms(ObjectCreationExpressionSyntax objectionCreationExpression, IList<string> terms, ref ExpressionType expressionType) 230IList<string> terms, 253private static void AddInvocationExpressionTerms(InvocationExpressionSyntax invocationExpression, IList<string> terms, ref ExpressionType expressionType) 271private static void AddPrefixUnaryExpressionTerms(PrefixUnaryExpressionSyntax prefixUnaryExpression, IList<string> terms, ref ExpressionType expressionType) 289private static void AddAwaitExpressionTerms(AwaitExpressionSyntax awaitExpression, IList<string> terms, ref ExpressionType expressionType) 301private static void AddPostfixUnaryExpressionTerms(PostfixUnaryExpressionSyntax postfixUnaryExpression, IList<string> terms, ref ExpressionType expressionType) 316private static void AddConditionalExpressionTerms(ConditionalExpressionSyntax conditionalExpression, IList<string> terms, ref ExpressionType expressionType) 332private static void AddBinaryExpressionTerms(ExpressionSyntax binaryExpression, ExpressionSyntax left, ExpressionSyntax right, IList<string> terms, ref ExpressionType expressionType) 385private static void AddArgumentTerms(ArgumentListSyntax argumentList, IList<string> terms, ref ExpressionType expressionType)
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (2)
309private static IList<SyntaxToken> GetTextTokensFollowingExteriorTrivia(XmlTextSyntax xmlText) 346var textTokens = GetTextTokensFollowingExteriorTrivia(xmlText);
ExternalAccess\Pythia\Api\PythiaSignatureHelpItemWrapper.cs (1)
23IList<SymbolDisplayPart> descriptionParts)
GenerateType\CSharpGenerateTypeService.cs (4)
112protected override bool TryGetNameParts(ExpressionSyntax expression, out IList<string> nameParts) 483protected override bool TryGetArgumentList(ObjectCreationExpressionSyntax objectCreationExpression, out IList<ArgumentSyntax> argumentList) 495protected override IList<ParameterName> GenerateParameterNames( 496SemanticModel semanticModel, IList<ArgumentSyntax> arguments, CancellationToken cancellationToken)
IntroduceVariable\CSharpIntroduceVariableService.cs (1)
134protected override IList<bool> GetInsertionIndices(TypeDeclarationSyntax destination, CancellationToken cancellationToken)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceQueryLocal.cs (3)
59var oldClauses = oldInnerMostCommonQuery.GetAllClauses(); 60var newClauses = newInnerMostQuery.GetAllClauses(); 100var oldClauses = oldQuery.GetAllClauses();
Organizing\Organizers\MemberDeclarationsOrganizer.cs (9)
26var groups = members.SplitNodesOnPreprocessorBoundaries(cancellationToken); 41IList<TSyntaxNode> originalList, 42IList<TSyntaxNode> finalList) where TSyntaxNode : SyntaxNode 73private static void FixupOriginalFirstNode<TSyntaxNode>(IList<TSyntaxNode> originalList, IList<TSyntaxNode> finalList) where TSyntaxNode : SyntaxNode 93IList<TSyntaxNode> originalList, 94IList<TSyntaxNode> finalList) where TSyntaxNode : SyntaxNode 110private static IList<MemberDeclarationSyntax> OrganizeMemberGroup(IList<MemberDeclarationSyntax> members)
SignatureHelp\AbstractCSharpSignatureHelpProvider.cs (3)
36private static readonly IList<SymbolDisplayPart> _separatorParts = 42protected static IList<SymbolDisplayPart> GetSeparatorParts() => _separatorParts; 63protected IList<TaggedText> GetAwaitableUsage(IMethodSymbol method, SemanticModel semanticModel, int position)
SignatureHelp\AbstractGenericNameSignatureHelpProvider.cs (2)
159IList<SignatureHelpSymbolParameter> GetTypeArguments(IMethodSymbol method) 198private static IList<SymbolDisplayPart> GetSelectedDisplayParts(
SignatureHelp\AbstractGenericNameSignatureHelpProvider_Method.cs (2)
12private static IList<SymbolDisplayPart> GetPreambleParts( 74private static IList<SymbolDisplayPart> GetPostambleParts(IMethodSymbol method, SemanticModel semanticModel, int position)
SignatureHelp\AbstractGenericNameSignatureHelpProvider_NamedType.cs (2)
11private static IList<SymbolDisplayPart> GetPreambleParts( 19private static IList<SymbolDisplayPart> GetPostambleParts()
SignatureHelp\AbstractOrdinaryMethodSignatureHelpProvider.cs (3)
30IList<SymbolDisplayPart>? descriptionParts) 48private static IList<SymbolDisplayPart> GetMethodGroupPreambleParts( 88private static IList<SymbolDisplayPart> GetMethodGroupPostambleParts()
SignatureHelp\AttributeSignatureHelpProvider.cs (4)
155private static IList<SignatureHelpSymbolParameter> GetParameters( 159IList<ISymbol> namedParameters, 214private static IList<SymbolDisplayPart> GetPreambleParts( 222private static IList<SymbolDisplayPart> GetPostambleParts()
SignatureHelp\ConstructorInitializerSignatureHelpProvider.cs (2)
142private static IList<SymbolDisplayPart> GetPreambleParts( 150private static IList<SymbolDisplayPart> GetPostambleParts()
SignatureHelp\ElementAccessExpressionSignatureHelpProvider.cs (2)
237private static IList<SymbolDisplayPart> GetPreambleParts( 272private static IList<SymbolDisplayPart> GetPostambleParts()
SignatureHelp\InvocationExpressionSignatureHelpProvider.cs (1)
146var items = GetDelegateOrFunctionPointerInvokeItems(invocationExpression, currentSymbol,
SignatureHelp\InvocationExpressionSignatureHelpProviderBase_DelegateAndFunctionPointerInvoke.cs (4)
39private static IList<SignatureHelpItem> GetDelegateOrFunctionPointerInvokeItems(InvocationExpressionSyntax invocationExpression, IMethodSymbol invokeMethod, SemanticModel semanticModel, IStructuralTypeDisplayService structuralTypeDisplayService, IDocumentationCommentFormattingService documentationCommentFormattingService, out int? selectedItem, CancellationToken cancellationToken) 58private static IList<SymbolDisplayPart> GetDelegateOrFunctionPointerInvokePreambleParts(IMethodSymbol invokeMethod, SemanticModel semanticModel, int position) 79private static IList<SignatureHelpSymbolParameter> GetDelegateOrFunctionPointerInvokeParameters( 97private static IList<SymbolDisplayPart> GetDelegateOrFunctionPointerInvokePostambleParts()
SignatureHelp\ObjectCreationExpressionSignatureHelpProvider_DelegateType.cs (3)
36private static IList<SymbolDisplayPart> GetDelegateTypePreambleParts(IMethodSymbol invokeMethod, SemanticModel semanticModel, int position) 46private static IList<SignatureHelpSymbolParameter> GetDelegateTypeParameters(IMethodSymbol invokeMethod, SemanticModel semanticModel, int position) 79private static IList<SymbolDisplayPart> GetDelegateTypePostambleParts()
SignatureHelp\ObjectCreationExpressionSignatureHelpProvider_NormalType.cs (2)
37private static IList<SymbolDisplayPart> GetNormalTypePreambleParts( 50private static IList<SymbolDisplayPart> GetNormalTypePostambleParts()
SignatureHelp\PrimaryConstructorBaseTypeSignatureHelpProvider.cs (2)
137static IList<SymbolDisplayPart> GetPreambleParts( 150static IList<SymbolDisplayPart> GetPostambleParts()
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
54nameof(IList<>),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
SourceGeneration\StateTableTests.cs (2)
1319private void AssertTableEntries<T>(NodeStateTable<T> table, IList<(T Item, EntryState State, int OutputIndex)> expected) 1331private void AssertTableEntries<T>(NodeStateTable<ImmutableArray<T>> table, IList<(ImmutableArray<T> Item, EntryState State, int OutputIndex)> expected)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\GetSemanticInfoTests.cs (3)
596var exprs = GetBindingNodes<ExpressionSyntax>(comp); 629var exprs = GetBindingNodes<ExpressionSyntax>(comp); 2393var exprs = GetBindingNodes<ExpressionSyntax>(comp);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (46)
IncrementalParsing\IncrementalParsingTests.cs (4)
362var oldDirectives = oldTree.GetCompilationUnitRoot().GetDirectives(); 374var newDirectives = newTree.GetCompilationUnitRoot().GetDirectives(); 407var oldDirectives = oldTree.GetCompilationUnitRoot().GetDirectives(); 416var newDirectives = newTree.GetCompilationUnitRoot().GetDirectives();
LexicalAndXml\PreprocessorTests.cs (3)
122var directives = node.GetDirectives(); 145var directives = node.GetDirectives(); 295var directives = node.GetDirectives();
Syntax\StructuredTriviaTests.cs (4)
109var directives = compilationUnit.GetReferenceDirectives(); 123var directives = compilationUnit.GetReferenceDirectives(); 134var directives = compilationUnit.GetReferenceDirectives(); 147var directives = compilationUnit.GetReferenceDirectives();
Syntax\SyntaxDiffingTests.cs (28)
25var spans = newTree.GetChangedSpans(oldTree); 30var changes = newTree.GetChanges(oldTree); 44var spans = newTree.GetChangedSpans(oldTree); 50var changes = newTree.GetChanges(oldTree); 64var spans = newTree.GetChangedSpans(oldTree); 72var changes = newTree.GetChanges(oldTree); 87var spans = newTree.GetChangedSpans(oldTree); 92var changes = newTree.GetChanges(oldTree); 105var spans = newTree.GetChangedSpans(oldTree); 110var changes = newTree.GetChanges(oldTree); 124var spans = newTree.GetChangedSpans(oldTree); 129var changes = newTree.GetChanges(oldTree); 144var spans = newTree.GetChangedSpans(oldTree); 149var changes = newTree.GetChanges(oldTree); 162var spans = newTree.GetChangedSpans(oldTree); 167var changes = newTree.GetChanges(oldTree); 180var spans = newTree.GetChangedSpans(oldTree); 185var changes = newTree.GetChanges(oldTree); 198var spans = newTree.GetChangedSpans(oldTree); 202var changes = newTree.GetChanges(oldTree); 215var spans = newTree.GetChangedSpans(oldTree); 219var changes = newTree.GetChanges(oldTree); 232var spans = newTree.GetChangedSpans(oldTree); 236var changes = newTree.GetChanges(oldTree); 249var spans = newTree.GetChangedSpans(oldTree); 254var changes = newTree.GetChanges(oldTree); 322var changes = newTree.GetChanges(oldTree); 384var changes = newTree.GetChanges(oldTree);
Syntax\SyntaxNodeTests.cs (7)
46var directives = tree.GetRoot().GetDirectives(); 410var directives = expr.GetDirectives(); 3730var ChangesForDifferentTrees = FirstUsingClause.SyntaxTree.GetChanges(SecondUsingClause.SyntaxTree); 3741var ChangesFromTransform = ThirdUsingClause.SyntaxTree.GetChanges(newUsingClause.SyntaxTree); 3748var changes2UsingCommonSyntax = x.GetChanges(y); 3780var ChangesForDifferentTrees = FirstUsingClause.SyntaxTree.GetChanges(SecondUsingClause.SyntaxTree); 3813var ChangesForDifferentTrees = FirstUsingClause.SyntaxTree.GetChangedSpans(SecondUsingClause.SyntaxTree);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (5)
CSharpTestBase.cs (5)
2193public Tuple<IList<TNode>, SemanticModel> GetBindingNodesAndModel<TNode>(CSharpCompilation compilation, int treeIndex = 0, int which = -1) where TNode : SyntaxNode 2195var nodes = GetBindingNodes<TNode>(compilation, treeIndex, which); 2196return new Tuple<IList<TNode>, SemanticModel>(nodes, compilation.GetSemanticModel(compilation.SyntaxTrees[treeIndex])); 2223public IList<TNode> GetBindingNodes<TNode>(CSharpCompilation compilation, int treeIndex = 0, int which = -1) where TNode : SyntaxNode 2264public IList<TNode> GetBindingNodes<TNode>(Compilation compilation, int treeIndex = 0, int which = -1) where TNode : SyntaxNode
Microsoft.CodeAnalysis.CSharp.Workspaces (66)
Simplification\CSharpSimplificationService.Expander.cs (4)
552var typeArgumentSymbols = TypeArgumentSymbolsPresentInName(originalSimpleName); 759private IList<ISymbol> TypeArgumentSymbolsPresentInName(SimpleNameSyntax simpleName) 805private static bool IsTypeArgumentDefinedRecursive(ISymbol symbol, IList<ISymbol> typeArgumentSymbols, bool enterContainingSymbol) 826private static void TypeArgumentsInAllContainingSymbol(ISymbol symbol, IList<ISymbol> typeArgumentSymbols, bool enterContainingSymbol, bool isRecursive)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
115public static bool TryGetNameParts(this ExpressionSyntax expression, [NotNullWhen(true)] out IList<string>? parts)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (3)
594public static IList<IList<TSyntaxNode>> SplitNodesOnPreprocessorBoundaries<TSyntaxNode>( 599var result = new List<IList<TSyntaxNode>>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormatting.cs (1)
45protected override IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\AggregatedFormattingResult.cs (1)
15public AggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.FormattedComplexTrivia.cs (1)
18private readonly IList<TextChange> _textChanges;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Indentation\CSharpSmartTokenFormatter.cs (2)
44public IList<TextChange> FormatRange( 76public IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (3)
57var xNameParts = DecomposeNameParts(x); 58var yNameParts = DecomposeNameParts(y); 73private static IList<SimpleNameSyntax> DecomposeNameParts(NameSyntax name)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (1)
161private static void EnsureNewLines(IList<SyntaxNode> list, SyntaxTrivia newLineTrivia)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (2)
23public static ArgumentListSyntax GenerateArgumentList(IList<SyntaxNode> arguments) 26public static BracketedArgumentListSyntax GenerateBracketedArgumentList(IList<SyntaxNode> arguments)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
30IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (1)
26IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
173IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (9)
46protected override IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken) 59private static IList<bool> GetInsertionIndices(TypeDeclarationSyntax destination, CancellationToken cancellationToken) 90protected override TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 97protected override TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 115protected override TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 189protected override TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 247protected override TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 267protected override TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 907public override TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CSharpCodeGenerationContextInfo info, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (1)
28IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (2)
66IList<bool> availableIndices, 82IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (2)
57IList<bool>? availableIndices, 73IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (3)
34IList<bool>? availableIndices, 47IList<bool>? availableIndices, 62IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (4)
29IList<bool>? availableIndices, 43IList<bool>? availableIndices, 58IList<bool>? availableIndices, 144IList<ISymbol> newMembers,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamespaceGenerator.cs (3)
29IList<bool>? availableIndices, 49IList<bool>? availableIndices, 88IList<ISymbol> newMembers,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
27IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (2)
40IList<bool>? availableIndices, 56IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BaseNamespaceDeclarationSyntaxExtensions.cs (1)
15IList<UsingDirectiveSyntax> usingDirectives,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (3)
78IList<UsingDirectiveSyntax> usingDirectives, 102IList<UsingDirectiveSyntax> usingDirectives, 141CompilationUnitSyntax root, IList<UsingDirectiveSyntax> usingDirectives)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (2)
15public static IList<NameSyntax> GetNameParts(this NameSyntax nameSyntax) 20var parts = nameSyntax.GetNameParts();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\QueryExpressionSyntaxExtensions.cs (3)
13public static IList<SyntaxNode> GetAllClauses(this QueryExpressionSyntax query) 18public static IList<SyntaxNode> GetAllClauses(this QueryBodySyntax body) 23IList<SyntaxNode> allClauses)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SemanticModelExtensions.cs (3)
56IList<string> reservedNames, 71public static ImmutableArray<ParameterName> GenerateNames(IList<string> reservedNames, ImmutableArray<bool> isFixed, ImmutableArray<string> parameterNames) 79IList<string> reservedNames,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (1)
20public static IList<bool> GetInsertionIndices(this TypeDeclarationSyntax destination, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Formatting\CSharpSyntaxFormattingService.cs (3)
88var tokenEdits = FormatToken(document, indentationOptions, token, formattingRules, cancellationToken); 185private static IList<TextChange> FormatToken( 211var changes = formatter.FormatRange(tokenRange.Value.Item1, tokenRange.Value.Item2, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
620private static IMethodSymbol Instantiate(IMethodSymbol method, IList<ITypeSymbol> invocationTypes)
Microsoft.CodeAnalysis.EditorFeatures (68)
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (2)
55protected abstract IList<TextChange> FormatBasedOnEndToken(ParsedDocument document, int position, SyntaxFormattingOptions formattingOptions, CancellationToken cancellationToken); 213var changes = FormatBasedOnEndToken(newDocument, insertPosition, formattingOptions, cancellationToken);
CommentSelection\AbstractCommentSelectionBase.cs (1)
154var formattedChanges = Formatter.GetFormattedTextChanges(newRoot, formattingSpans, document.Project.Solution.Services, formattingOptions, rules: default, cancellationToken);
Editor\TextBufferAssociatedViewService.cs (2)
94private static IList<ITextView> GetTextViews(ITextBuffer textBuffer) 120var views = GetTextViews(textBuffer);
Extensibility\SignatureHelp\ISignatureHelpPresenterSession.cs (1)
14void PresentItems(ITrackingSpan triggerSpan, IList<SignatureHelpItem> items, SignatureHelpItem selectedItem, int? selectedParameter);
ExternalAccess\VSTypeScript\Api\IVSTypeScriptInlineRenameLocationSet.cs (2)
23public abstract IList<VSTypeScriptInlineRenameLocationWrapper> Locations { get; } 25IList<InlineRenameLocation> IInlineRenameLocationSet.Locations
Formatting\FormatCommandHandler.cs (1)
142IList<TextChange>? textChanges;
InlineRename\AbstractEditorInlineRenameService.InlineRenameLocationSet.cs (1)
36public IList<InlineRenameLocation> Locations { get; }
InlineRename\IEditorInlineRenameService.cs (1)
141IList<InlineRenameLocation> Locations { get; }
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (2)
50private readonly IList<IReadOnlyRegion> _readOnlyRegions = []; 52private readonly IList<ITextView> _textViews = [];
InlineRename\RenameLogMessage.cs (1)
34IList<InlineRenameReplacementKind> replacementKinds)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
60private readonly Action<IReadOnlyList<MatchResult>, string, IList<MatchResult>> _filterMethod;
Interactive\InertClassifierProvider.cs (1)
52var classifications = classifier.GetClassificationSpans(textBuffer.CurrentSnapshot.GetFullSpan());
Interactive\InertClassifierProvider.InertClassifier.cs (3)
28public IList<ClassificationSpan> GetClassificationSpans(SnapshotSpan span) 32if (_textBuffer.Properties.TryGetProperty<IList<ClassificationSpan>>(s_classificationsKey, out var classifications))
Peek\PeekableItemSource.cs (2)
45public void AugmentPeekSession(IPeekSession session, IList<IPeekableItem> peekableItems) 71IList<IPeekableItem> peekableItems, IUIThreadOperationContext context, SnapshotPoint triggerPoint, Document document)
Preview\SolutionPreviewResult.cs (2)
19IList<SolutionPreviewItem>? previews, 23private readonly IList<SolutionPreviewItem> _previews = previews ?? SpecializedCollections.EmptyList<SolutionPreviewItem>();
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
46private readonly IList<TrackingSession> _committedSessions = [];
Shared\Extensions\ClassificationExtensions.cs (1)
14public static IList<ClassificationSpan> ToClassificationSpans(
Shared\Extensions\IProjectionBufferFactoryServiceExtensions.cs (8)
224IList<object> sourceSpans, 253var snapshotSpanRanges = CreateSnapshotSpanRanges(snapshot, exposedLineSpans); 258foreach (var snapshotSpanRange in snapshotSpanRanges) 317private static IList<IList<SnapshotSpan>> CreateSnapshotSpanRanges(ITextSnapshot snapshot, ReadOnlySpan<LineSpan> exposedLineSpans) 319var result = new List<IList<SnapshotSpan>>(); 322var snapshotSpans = CreateSnapshotSpans(snapshot, lineSpan); 332private static IList<SnapshotSpan> CreateSnapshotSpans(ITextSnapshot snapshot, LineSpan lineSpan)
Shared\Extensions\ITextSnapshotExtensions.cs (1)
44var changes = result.GetTextChanges(cancellationToken);
Shared\Extensions\MefExtensions.cs (3)
22public static IList<Lazy<TExtension, TMetadata>> SelectMatchingExtensions<TExtension, TMetadata>( 34public static IList<Lazy<TExtension, TMetadata>> SelectMatchingExtensions<TExtension, TMetadata>( 42public static IList<TExtension> SelectMatchingExtensionValues<TExtension, TMetadata>(
Shared\Utilities\HACK_TextUndoTransactionThatRollsBackProperly.cs (1)
63public IList<ITextUndoPrimitive> UndoPrimitives => _innerTransaction.UndoPrimitives;
Shared\Utilities\LinkedEditsTracker.cs (1)
32public IList<SnapshotSpan> GetActiveSpansForSnapshot(ITextSnapshot snapshot)
SignatureHelp\Controller.cs (3)
34private readonly IList<Lazy<ISignatureHelpProvider, OrderableLanguageMetadata>> _allProviders; 48IList<Lazy<ISignatureHelpProvider, OrderableLanguageMetadata>> allProviders, 65IList<ISignatureHelpProvider> providers,
SignatureHelp\Controller.Session_UpdateModel.cs (2)
40IList<SignatureHelpItem> items, 71IList<SignatureHelpItem> filteredItems,
SignatureHelp\Model.cs (2)
20public IList<SignatureHelpItem> Items { get; } 39IList<SignatureHelpItem> items,
SignatureHelp\Presentation\Signature.cs (10)
57private IList<TaggedText> _displayParts; 58internal IList<TaggedText> DisplayParts => InitializedThis._displayParts; 98private IList<TaggedText> _prettyPrintedDisplayParts; 99internal IList<TaggedText> PrettyPrintedDisplayParts => InitializedThis._prettyPrintedDisplayParts; 131var parameterPrefixParts = sigHelpParameter.PrefixDisplayParts; 134var parameterParts = AddOptionalBrackets( 138var parameterSuffixParts = sigHelpParameter.SuffixDisplayParts; 202private static void AddRange(IList<TaggedText> values, List<TaggedText> parts, List<TaggedText> prettyPrintedParts) 214private static IList<TaggedText> AddOptionalBrackets(bool isOptional, IList<TaggedText> list)
SignatureHelp\Presentation\SignatureHelpClassifier.cs (2)
32public IList<ClassificationSpan> GetClassificationSpans(SnapshotSpan span) 47var displayParts = usePrettyPrintedContent
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpPresenterSession.cs (3)
38private IList<SignatureHelpItem> _signatureHelpItems; 48IList<SignatureHelpItem> signatureHelpItems, 198internal void AugmentSignatureHelpSession(IList<ISignature> signatures)
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpSource.cs (1)
18public void AugmentSignatureHelpSession(ISignatureHelpSession session, IList<ISignature> signatures)
SignatureHelp\SignatureHelpControllerProvider.cs (1)
41private readonly IList<Lazy<ISignatureHelpProvider, OrderableLanguageMetadata>> _signatureHelpProviders = ExtensionOrderer.Order(signatureHelpProviders);
Suggestions\SuggestedActions\EditorSuggestedAction.CaretPositionRestorer.cs (2)
25private readonly IList<Tuple<ITextView, IMappingPoint>> _caretPositions; 41private IList<Tuple<ITextView, IMappingPoint>> GetCaretPositions()
WpfClassificationExtensions.cs (3)
34public static IList<Inline> ToInlines( 55public static IList<Inline> ToInlines( 72var inlines = parts.ToInlines(formatMap, typeMap);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (29)
Classification\ClassificationTestHelper.cs (1)
64IList<TaggedText> actualContent)
Diagnostics\GenerateType\TestGenerateTypeOptionsService.cs (2)
27public IList<string> Folders = null; 79IList<string> folders = null,
Diagnostics\GenerateType\TestProjectManagementService.cs (1)
26public IList<string> GetFolders(ProjectId projectId, Workspace workspace)
Formatting\CoreFormatterTestsBase.cs (2)
161private static string ApplyResultAndGetFormattedText(ITextBuffer buffer, IList<TextChange> changes) 227var result = Formatter.GetFormattedTextChanges(root, spans, workspace.Services.SolutionServices, options, rules, CancellationToken.None);
KeywordHighlighting\AbstractKeywordHighlighterTests.cs (1)
68private static void CheckSpans(SyntaxTree tree, IList<TextSpan> expectedHighlightSpans, List<TextSpan> highlightSpans)
SignatureHelp\AbstractSignatureHelpProviderTests.cs (4)
352IList<TextSpan> textSpans = null; 354var selectedSpans = testWorkspace.Documents.First(d => d.Name == "SourceDocument").SelectedSpans; 470IList<TextSpan> textSpans = null; 472var selectedSpans = testWorkspace.Documents.Single(d => d.Name == "SourceDocument").SelectedSpans;
TaskList\AbstractTaskListTests.cs (1)
42var expectedLists = hostDocument.SelectedSpans;
Workspaces\EditorTestHostProject.cs (5)
20IList<MetadataReference>? references, 21IList<EditorTestHostDocument> documents, 22IList<EditorTestHostDocument>? additionalDocuments = null, 23IList<EditorTestHostDocument>? analyzerConfigDocuments = null, 27IList<AnalyzerReference>? analyzerReferences = null,
Workspaces\EditorTestWorkspace.cs (11)
91IList<MetadataReference>? references, 92IList<EditorTestHostDocument> documents, 93IList<EditorTestHostDocument>? additionalDocuments = null, 94IList<EditorTestHostDocument>? analyzerConfigDocuments = null, 98IList<AnalyzerReference>? analyzerReferences = null, 278IList<EditorTestHostDocument> baseDocuments, 284out var projectionBufferSpans, out var mappedSpans, out var mappedCaretLocation); 341string markup, IList<EditorTestHostDocument> baseDocuments, 342out IList<object> projectionBufferSpans, 440IList<object> projectionBufferSpans, IList<int> projectionBufferSpanStartingPositions)
Workspaces\TestFormattingRuleFactoryServiceFactory.cs (1)
54public IEnumerable<TextChange> FilterFormattedChanges(DocumentId document, TextSpan span, IList<TextChange> changes)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
CodeGeneration\CodeGenerationTests.cs (2)
40IList<ISymbol> imports = null, 41IList<INamespaceOrTypeSymbol> members = null,
LanguageServer\VSTypeScriptHandlerTests.cs (1)
86public VSTypeScriptTestLspServer(LspTestWorkspace testWorkspace, Dictionary<string, IList<Roslyn.LanguageServer.Protocol.Location>> locations, InitializationOptions options, AbstractLspLogger logger) : base(testWorkspace, locations, options, logger)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
src\Compilers\Core\Portable\SpecialType.cs (1)
156/// Indicates that the type is <see cref="IList{T}"/>.
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (5)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (1)
353var attributes = lmrType.GetCustomAttributesData();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\AttributeHelpers.cs (3)
16internal static DkmClrCustomTypeInfo GetCustomTypeInfo(this IList<CustomAttributeData> attributes) 46var arguments = attribute.ConstructorArguments; 74var arguments = attribute.ConstructorArguments;
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\InlineArrayHelpers.cs (1)
33IList<CustomAttributeData> customAttributes = t.GetCustomAttributesData();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (16)
Debugger\Engine\DkmClrObjectFavoritesInfo.cs (1)
19public DkmClrObjectFavoritesInfo(IList<string> favorites, string displayString = null, string simpleDisplayString = null)
Debugger\MemberInfo\AssemblyImpl.cs (1)
46public override IList<CustomAttributeData> GetCustomAttributesData()
Debugger\MemberInfo\ConstructorInfoImpl.cs (1)
122public override IList<Microsoft.VisualStudio.Debugger.Metadata.CustomAttributeData> GetCustomAttributesData()
Debugger\MemberInfo\CustomAttributeDataImpl.cs (1)
33public override IList<CustomAttributeTypedArgument> ConstructorArguments
Debugger\MemberInfo\EventInfoImpl.cs (1)
101public override IList<CustomAttributeData> GetCustomAttributesData()
Debugger\MemberInfo\FieldInfoImpl.cs (1)
87public override IList<CustomAttributeData> GetCustomAttributesData()
Debugger\MemberInfo\MethodInfoImpl.cs (1)
106public override IList<CustomAttributeData> GetCustomAttributesData()
Debugger\MemberInfo\ModuleImpl.cs (1)
30public override IList<CustomAttributeData> GetCustomAttributesData()
Debugger\MemberInfo\ParameterInfoImpl.cs (1)
51public override IList<CustomAttributeData> GetCustomAttributesData()
Debugger\MemberInfo\PropertyInfoImpl.cs (1)
105public override IList<CustomAttributeData> GetCustomAttributesData()
Debugger\MemberInfo\TypeImpl.cs (1)
146public override IList<CustomAttributeData> GetCustomAttributesData()
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (1)
353var attributes = lmrType.GetCustomAttributesData();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\AttributeHelpers.cs (3)
16internal static DkmClrCustomTypeInfo GetCustomTypeInfo(this IList<CustomAttributeData> attributes) 46var arguments = attribute.ConstructorArguments; 74var arguments = attribute.ConstructorArguments;
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\InlineArrayHelpers.cs (1)
33IList<CustomAttributeData> customAttributes = t.GetCustomAttributesData();
Microsoft.CodeAnalysis.Extensions.Package (20)
Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (30)
Editor\FSharpNavigationBarItem.cs (5)
21public IList<FSharpNavigationBarItem> ChildItems { get; } 23public IList<TextSpan> Spans { get; internal set; } 24internal IList<ITrackingSpan> TrackingSpans { get; set; } 29IList<TextSpan> spans, 30IList<FSharpNavigationBarItem> childItems = null,
Editor\IFSharpEditorFormattingService.cs (4)
29Task<IList<TextChange>> GetFormattingChangesAsync(Document document, TextSpan? textSpan, CancellationToken cancellationToken); 34Task<IList<TextChange>> GetFormattingChangesOnPasteAsync(Document document, TextSpan textSpan, CancellationToken cancellationToken); 41Task<IList<TextChange>?> GetFormattingChangesAsync(Document document, char typedChar, int position, CancellationToken cancellationToken); 46Task<IList<TextChange>?> GetFormattingChangesOnReturnAsync(Document document, int position, CancellationToken cancellationToken);
Editor\IFSharpEditorInlineRenameService.cs (1)
48IList<FSharpInlineRenameLocation> Locations { get; }
Editor\IFSharpNavigationBarItemService.cs (1)
15Task<IList<FSharpNavigationBarItem>> GetItemsAsync(Document document, CancellationToken cancellationToken);
Editor\InlineRename\FSharpInlineRenameLocationSet.cs (2)
23public abstract IList<FSharpInlineRenameLocation> Locations { get; } 25IList<InlineRenameLocation> IInlineRenameLocationSet.Locations
Internal\Editor\FSharpEditorFormattingService.cs (8)
44public Task<IList<TextChange>> GetFormattingChangesAsync(Document document, TextSpan? textSpan, CancellationToken cancellationToken) 49public Task<IList<TextChange>?> GetFormattingChangesAsync(Document document, char typedChar, int position, CancellationToken cancellationToken) 54public Task<IList<TextChange>> GetFormattingChangesOnPasteAsync(Document document, TextSpan textSpan, CancellationToken cancellationToken) 59public Task<IList<TextChange>?> GetFormattingChangesOnReturnAsync(Document document, int position, CancellationToken cancellationToken) 81var changes = await GetFormattingChangesAsync(document, textSpan, cancellationToken).ConfigureAwait(false); 87var changes = await GetFormattingChangesAsync(document, typedChar, position, cancellationToken).ConfigureAwait(false); 93var changes = await GetFormattingChangesOnPasteAsync(document, textSpan, cancellationToken).ConfigureAwait(false); 99var changes = await GetFormattingChangesOnReturnAsync(document, position, cancellationToken).ConfigureAwait(false);
Internal\Editor\FSharpEditorInlineRenameService.cs (1)
96public IList<InlineRenameLocation> Locations { get; }
Internal\Editor\FSharpNavigationBarItemService.cs (2)
55var items = await _service.GetItemsAsync(document, cancellationToken).ConfigureAwait(false); 61private static ImmutableArray<NavigationBarItem> ConvertItems(IList<FSharpNavigationBarItem> items, ITextVersion textVersion)
SignatureHelp\FSharpSignatureHelpItems.cs (2)
21public IList<FSharpSignatureHelpItem> Items { get; } 60IList<FSharpSignatureHelpItem> items,
SignatureHelp\FSharpSignatureHelpParameter.cs (4)
31public IList<TaggedText> PrefixDisplayParts { get; } 36public IList<TaggedText> SuffixDisplayParts { get; } 42public IList<TaggedText> DisplayParts { get; } 54public IList<TaggedText> SelectedDisplayParts { get; }
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
RazorCSharpFormattingInteractionService.cs (1)
67public static IList<TextChange> GetFormattedTextChanges(
RazorCSharpProximityExpressionResolverService.cs (1)
13public static IList<string> GetProximityExpressions(SyntaxTree syntaxTree, int absoluteIndex, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (130)
CodeFixes\Service\CodeFixService.cs (2)
957var orderedLanguageKindAndFixers = ExtensionOrderer.Order(languageKindAndFixers); 975var fixers = ExtensionOrderer.Order(lazyFixers);
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (1)
156var textChanges = Formatter.GetFormattedTextChanges(
Common\TaggedText.cs (27)
230public static void AddAliasName(this IList<TaggedText> parts, string text) 233public static void AddAssemblyName(this IList<TaggedText> parts, string text) 236public static void AddClassName(this IList<TaggedText> parts, string text) 239public static void AddDelegateName(this IList<TaggedText> parts, string text) 242public static void AddEnumName(this IList<TaggedText> parts, string text) 245public static void AddErrorTypeName(this IList<TaggedText> parts, string text) 248public static void AddEventName(this IList<TaggedText> parts, string text) 251public static void AddFieldName(this IList<TaggedText> parts, string text) 254public static void AddInterfaceName(this IList<TaggedText> parts, string text) 257public static void AddKeyword(this IList<TaggedText> parts, string text) 260public static void AddLabelName(this IList<TaggedText> parts, string text) 263public static void AddLineBreak(this IList<TaggedText> parts, string text = "\r\n") 266public static void AddNumericLiteral(this IList<TaggedText> parts, string text) 269public static void AddStringLiteral(this IList<TaggedText> parts, string text) 272public static void AddLocalName(this IList<TaggedText> parts, string text) 275public static void AddMethodName(this IList<TaggedText> parts, string text) 278public static void AddModuleName(this IList<TaggedText> parts, string text) 281public static void AddNamespaceName(this IList<TaggedText> parts, string text) 284public static void AddOperator(this IList<TaggedText> parts, string text) 287public static void AddParameterName(this IList<TaggedText> parts, string text) 290public static void AddPropertyName(this IList<TaggedText> parts, string text) 293public static void AddPunctuation(this IList<TaggedText> parts, string text) 296public static void AddRangeVariableName(this IList<TaggedText> parts, string text) 299public static void AddStructName(this IList<TaggedText> parts, string text) 302public static void AddSpace(this IList<TaggedText> parts, string text = " ") 305public static void AddText(this IList<TaggedText> parts, string text) 308public static void AddTypeParameterName(this IList<TaggedText> parts, string text)
Completion\CommonCompletionService.cs (1)
47IList<MatchResult> builder)
Completion\CompletionService.cs (2)
303IList<MatchResult> builder) 322IList<MatchResult> builder)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
38[typeof(IList<>).FullName!, typeof(IReadOnlyList<>).FullName!, typeof(IList).FullName!];
Debugging\AbstractBreakpointResolver.cs (3)
74protected abstract void ParseText(out IList<NameAndArity> nameParts, out int? parameterCount); 93ParseText(out var nameParts, out var parameterCount); 123IList<NameAndArity> nameParts, CancellationToken cancellationToken)
Debugging\IProximityExpressionsService.cs (1)
14Task<IList<string>> GetProximityExpressionsAsync(Document document, int position, CancellationToken cancellationToken);
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (1)
230private static void AddLineBreaks(IList<string> lines, string newLine)
ExternalAccess\VSTypeScript\Api\VSTypeScriptCompletionServiceWithProviders.cs (2)
33IList<MatchResult> builder) 40IList<MatchResult> builder)
ExtractMethod\MethodExtractor.Analyzer.cs (2)
223IList<ISymbol> failedVariables, 268private OperationStatus CheckAsyncMethodRefOutParameters(IList<VariableInfo> parameters)
GenerateType\AbstractGenerateTypeService.cs (5)
37protected abstract bool TryGetArgumentList(TObjectCreationExpressionSyntax objectCreationExpression, out IList<TArgumentSyntax> argumentList); 42protected abstract IList<ParameterName> GenerateParameterNames(SemanticModel semanticModel, IList<TArgumentSyntax> arguments, CancellationToken cancellationToken); 60protected abstract bool TryGetNameParts(TExpressionSyntax expression, out IList<string> nameParts); 258protected IList<ITypeParameterSymbol> GetAvailableTypeParameters(
GenerateType\AbstractGenerateTypeService.Editor.cs (7)
249private static void AddFoldersToNamespaceContainers(List<string> container, IList<string> folders) 263IList<string> folders, 305var adjustedContainer = isDialog 342IList<string> containers, 466IList<string> folders, 562private ImmutableArray<ITypeSymbol> GetArgumentTypes(IList<TArgumentSyntax> argumentList) 568private ImmutableArray<TExpressionSyntax> GetArgumentExpressions(IList<TArgumentSyntax> argumentList)
GenerateType\AbstractGenerateTypeService.GenerateNamedType.cs (5)
118if (!_service.TryGetArgumentList(_state.ObjectCreationExpressionOpt, out var argumentList)) 186IList<TArgumentSyntax> argumentList, ArrayBuilder<ISymbol> members, GenerateTypeOptionsResult options = null) 190var availableTypeParameters = _service.GetAvailableTypeParameters(_state, _semanticDocument.SemanticModel, _intoNamespace, _cancellationToken); 192var parameterNames = _service.GenerateParameterNames(_semanticDocument.SemanticModel, argumentList, _cancellationToken); 320private IList<ITypeParameterSymbol> GetAvailableTypeParameters()
GenerateType\AbstractGenerateTypeService.State.cs (1)
418if (service.TryGetNameParts(leftSide, out var nameParts))
GenerateType\GenerateTypeOptionsResult.cs (2)
19public IList<string> Folders { get; } 35IList<string> folders,
IntroduceVariable\AbstractIntroduceVariableService.cs (3)
45protected abstract IList<bool> GetInsertionIndices(TTypeDeclarationSyntax destination, CancellationToken cancellationToken); 214var legalInsertionIndices = GetInsertionIndices(oldType, cancellationToken); 243var insertionIndices = GetInsertionIndices(typeDecl, cancellationToken);
LanguageServices\AnonymousTypeDisplayService\AbstractStructuralTypeDisplayService.cs (2)
78IList<SymbolDisplayPart> typeParts = []; 122IList<INamedTypeSymbol> anonymousTypes)
LanguageServices\AnonymousTypeDisplayService\StructuralTypeDisplayInfo.cs (7)
11IList<SymbolDisplayPart> typesParts) 14public IList<SymbolDisplayPart> TypesParts { get; } = typesParts; 16public IList<SymbolDisplayPart> ReplaceStructuralTypes(IList<SymbolDisplayPart> parts, SemanticModel semanticModel, int position) 19public static IList<SymbolDisplayPart> ReplaceStructuralTypes( 20IList<SymbolDisplayPart> parts, 36IList<SymbolDisplayPart> parts,
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (3)
83private readonly Dictionary<SymbolDescriptionGroups, IList<SymbolDisplayPart>> _groupMap = []; 476var parts = _groupMap[group]; 846if (!_groupMap.TryGetValue(group, out var existingParts))
ProjectManagement\IProjectManagementService.cs (1)
16IList<string> GetFolders(ProjectId projectId, Workspace workspace);
RQName\Nodes\RQConstructedType.cs (1)
12internal sealed class RQConstructedType(RQUnconstructedType definingType, IList<RQType> typeArguments) : RQType
RQName\Nodes\RQConstructor.cs (1)
13IList<RQParameter> parameters) : RQMethodBase(containingType, memberName, typeParameterCount, parameters)
RQName\Nodes\RQIndexer.cs (1)
13IList<RQParameter> parameters) : RQPropertyBase(containingType, memberName, typeParameterCount, parameters)
RQName\Nodes\RQMethod.cs (1)
13IList<RQParameter> parameters) : RQMethodBase(containingType, memberName, typeParameterCount, parameters)
RQName\Nodes\RQMethodBase.cs (1)
13IList<RQParameter> parameters) : RQMethodOrProperty(containingType, memberName, typeParameterCount, parameters)
RQName\Nodes\RQMethodOrProperty.cs (1)
16IList<RQParameter> parameters) : RQMethodPropertyOrEvent(containingType, memberName)
RQName\Nodes\RQNamespace.cs (1)
9internal sealed class RQNamespace(IList<string> namespaceNames) : RQTypeOrNamespace(namespaceNames)
RQName\Nodes\RQProperty.cs (1)
13IList<RQParameter> parameters) : RQPropertyBase(containingType, memberName, typeParameterCount, parameters)
RQName\Nodes\RQPropertyBase.cs (1)
13IList<RQParameter> parameters) : RQMethodOrProperty(containingType, memberName, typeParameterCount, parameters)
RQName\Nodes\RQTypeOrNamespace.cs (1)
16protected RQTypeOrNamespace(IList<string> namespaceNames)
RQName\Nodes\RQUnconstructedType.cs (2)
12internal sealed class RQUnconstructedType(IList<string> namespaceNames, IList<RQUnconstructedTypeInfo> typeInfos) : RQTypeOrNamespace(namespaceNames)
RQName\RQNodeBuilder.cs (5)
34private static IList<string> GetNameParts(INamespaceSymbol @namespace) 76var namespaceNames = RQNodeBuilder.GetNameParts(@type.ContainingNamespace); 129var parameterList = BuildParameterList(symbol.Parameters); 139private static IList<RQParameter>? BuildParameterList(ImmutableArray<IParameterSymbol> parameters) 248var parameterList = BuildParameterList(symbol.Parameters);
RQName\SimpleTree\SimpleGroupNode.cs (2)
10internal sealed class SimpleGroupNode(string text, IList<SimpleTreeNode> children) : SimpleTreeNode(text) 16public IList<SimpleTreeNode> Children { get; } = children;
Shared\Utilities\SupportedPlatformData.cs (1)
22public IList<SymbolDisplayPart> ToDisplayParts()
SignatureHelp\AbstractSignatureHelpProvider.cs (19)
37IList<SignatureHelpItem> items, TextSpan applicableSpan, SignatureHelpState? state, int? selectedItemIndex, int parameterIndexOverride) 69IList<SignatureHelpItem> items, TextSpan applicableSpan, SignatureHelpState? state) 93private static (IList<SignatureHelpItem> items, int? selectedItem) Filter(IList<SignatureHelpItem> items, ImmutableArray<string> parameterNames, int? selectedItem) 137IList<SymbolDisplayPart> prefixParts, 138IList<SymbolDisplayPart> separatorParts, 139IList<SymbolDisplayPart> suffixParts, 140IList<SignatureHelpSymbolParameter> parameters, 141IList<SymbolDisplayPart>? descriptionParts = null) 154IList<SymbolDisplayPart> prefixParts, 155IList<SymbolDisplayPart> separatorParts, 156IList<SymbolDisplayPart> suffixParts, 157IList<SignatureHelpSymbolParameter> parameters, 158IList<SymbolDisplayPart>? descriptionParts = null) 171IList<SymbolDisplayPart> prefixParts, 172IList<SymbolDisplayPart> separatorParts, 173IList<SymbolDisplayPart> suffixParts, 174IList<SignatureHelpSymbolParameter> parameters, 175IList<SymbolDisplayPart>? descriptionParts,
SignatureHelp\SignatureHelpItems.cs (2)
19public IList<SignatureHelpItem> Items { get; } 62IList<SignatureHelpItem> items,
SignatureHelp\SignatureHelpParameter.cs (8)
43public IList<SymbolDisplayPart> PrefixDisplayParts { get; } = prefixDisplayParts.ToImmutableArrayOrEmpty(); 48public IList<SymbolDisplayPart> SuffixDisplayParts { get; } = suffixDisplayParts.ToImmutableArrayOrEmpty(); 54public IList<SymbolDisplayPart> DisplayParts { get; } = displayParts.ToImmutableArrayOrEmpty(); 66public IList<SymbolDisplayPart> SelectedDisplayParts { get; } = selectedDisplayParts.ToImmutableArrayOrEmpty(); 111public IList<TaggedText> PrefixDisplayParts { get; } = prefixDisplayParts.ToImmutableArrayOrEmpty(); 116public IList<TaggedText> SuffixDisplayParts { get; } = suffixDisplayParts.ToImmutableArrayOrEmpty(); 122public IList<TaggedText> DisplayParts { get; } = displayParts.ToImmutableArrayOrEmpty(); 134public IList<TaggedText> SelectedDisplayParts { get; } = selectedDisplayParts.ToImmutableArrayOrEmpty();
src\Analyzers\Core\Analyzers\Formatting\AbstractFormattingAnalyzer.cs (1)
54var formattingChanges = SyntaxFormatting.GetFormattingResult(root, spans, formattingOptions, rules: default, cancellationToken).GetTextChanges(cancellationToken);
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.cs (1)
171SemanticDocument document, IEnumerable<Argument<TExpressionSyntax>> arguments, IList<string> reservedNames, NamingRule parameterNamingRule, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.InteractiveHost (18)
Interactive\Core\InteractiveHost.Service.cs (2)
271var referencePaths = serviceState.Globals.ReferencePaths; 275var sourcePaths = serviceState.Globals.SourcePaths;
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
Features\Suggestions\UnifiedSuggestedActionsSource.cs (8)
69var map = ImmutableDictionary.CreateBuilder<CodeFixGroupKey, IList<SuggestedAction>>(); 86IDictionary<CodeFixGroupKey, IList<SuggestedAction>> map, 96IDictionary<CodeFixGroupKey, IList<SuggestedAction>> map, 123IDictionary<CodeFixGroupKey, IList<SuggestedAction>> map, 172IDictionary<CodeFixGroupKey, IList<SuggestedAction>> map, 176if (!map.TryGetValue(groupKey, out var suggestedActions)) 265ImmutableDictionary<CodeFixGroupKey, IList<SuggestedAction>> map, 274var actions = map[groupKey];
Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
43var formattingChanges = Formatter.GetFormattedTextChanges(root, SpecializedCollections.SingletonEnumerable(formattingSpan), services, formattingOptions, cancellationToken);
Protocol\Extensions\Converters\VSExtensionUtilities.cs (1)
29private static void AddConverters(IList<JsonConverter> converters)
Protocol\Internal\Converters\VSInternalExtensionUtilities.cs (1)
28private static void AddConverters(IList<JsonConverter> converters)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (6)
CodeActions\CodeActionResolveTests.cs (2)
531IList<LSP.Location> locations, 548private static WorkspaceEdit GenerateRenameFileEdit(IList<(DocumentUri oldUri, DocumentUri newUri)> renameLocations)
Highlights\DocumentHighlightTests.cs (3)
68var expectedLocations = testLspServer.GetLocations("text"); 113var expectedLocations = testLspServer.GetLocations("text"); 141var expectedLocations = testLspServer.GetLocations("text");
InlayHint\AbstractInlayHintTests.cs (1)
42var locations = kvp.Value;
Microsoft.CodeAnalysis.LanguageServer.UnitTests (7)
Utilities\AbstractLanguageServerClientTests.cs (3)
106private protected static Dictionary<string, IList<LSP.Location>> GetAnnotatedLocations(DocumentUri codeUri, SourceText text, ImmutableDictionary<string, ImmutableArray<TextSpan>> spanMap) 108var locations = new Dictionary<string, IList<LSP.Location>>(); 111var locationsForName = locations.GetValueOrDefault(name, []);
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (4)
27private readonly Dictionary<string, IList<LSP.Location>> _locations; 41Dictionary<string, IList<LSP.Location>>? locations = null) 126private TestLspClient(Process process, string pipeName, Dictionary<DocumentUri, SourceText> documents, Dictionary<string, IList<LSP.Location>> locations, ILoggerFactory loggerFactory) 246public IList<LSP.Location> GetLocations(string locationName) => _locations[locationName];
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (105)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (12)
115public TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 123protected abstract TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 124protected abstract TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 125protected abstract TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 126protected abstract TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 127protected abstract TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 128protected abstract TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 140public abstract TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, TCodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 232Func<SyntaxNode, TCodeGenerationContextInfo, IList<bool>?, CancellationToken, SyntaxNode> declarationTransform, 272IList<bool>? availableIndices, 326IList<bool>? availableIndices, 355IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService_FindDeclaration.cs (8)
20protected abstract IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken); 22private IList<bool>? GetAvailableInsertionIndices<TDeclarationNode>(TDeclarationNode destination, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 62out IList<bool>? availableIndices, 141private (SyntaxNode? declaration, IList<bool>? availableIndices) FindMostRelevantDeclaration( 163if (TryAddToRelatedDeclaration(declarations.Where(d => d is not ICompilationUnitSyntax), checkGeneratedCode: false, out var declaration1, out var availableIndices1) || 171if (TryAddToWorker(declarations, checkGeneratedCode: true, out var declaration2, out var availableIndices2, predicate: node => true)) 180out IList<bool>? availableIndices) 220out IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
86public static int GetPreferredIndex(int index, IList<bool>? availableIndices, bool forward) 192IList<bool>? availableIndices, 300IList<bool>? availableIndices, 325IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (2)
503public static INamespaceSymbol CreateNamespaceSymbol(string name, IList<ISymbol>? imports = null, IList<INamespaceOrTypeSymbol>? members = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
123TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
17private readonly IList<ISymbol> _imports; 19private CodeGenerationNamespaceInfo(IList<ISymbol> imports) 24IList<ISymbol> imports) 36public static IList<ISymbol> GetImports(INamespaceSymbol @namespace) 39private static IList<ISymbol> GetImports(CodeGenerationNamespaceInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceSymbol.cs (2)
14internal sealed class CodeGenerationNamespaceSymbol(string name, IList<INamespaceOrTypeSymbol> members) : CodeGenerationNamespaceOrTypeSymbol(null, null, default, Accessibility.NotApplicable, default, name), INamespaceSymbol 16private readonly IList<INamespaceOrTypeSymbol> _members = members ?? SpecializedCollections.EmptyList<INamespaceOrTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
170public static async Task<ImmutableArray<Diagnostic>> GetErrorsAsync(this Document document, CancellationToken cancellationToken, IList<string>? ignoreErrorCode = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
13public static ImmutableArray<IParameterSymbol> RenameParameters(this IList<IParameterSymbol> parameters, ImmutableArray<string> parameterNames)
Microsoft.CodeAnalysis.PublicApiAnalyzers (69)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
src\VisualStudio\Core\Def\Watson\FaultReporter.cs (2)
267private static IList<string> CollectLogHubFilePaths() 283private static IList<string> CollectServiceHubLogFilePaths()
Microsoft.CodeAnalysis.Remote.Workspaces (1)
RemoteSerializationOptions.cs (1)
73var converters = stjFormatter.JsonSerializerOptions.Converters;
Microsoft.CodeAnalysis.ResxSourceGenerator (69)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
Microsoft.CodeAnalysis.Scripting (6)
Hosting\CommandLine\CommandLineScriptGlobals.cs (1)
30public IList<string> Args { get; }
Hosting\InteractiveScriptGlobals.cs (3)
32public IList<string> Args { get; } 42public IList<string> ReferencePaths { get; } 43public IList<string> SourcePaths { get; }
Utilities\IListExtensions.cs (2)
14public static void AddRange<T>(this IList<T> list, ImmutableArray<T> items) 22public static void AddRange<T>(this IList<T> list, T[] items)
Microsoft.CodeAnalysis.Test.Utilities (16)
Assert\DiffUtil.cs (9)
39private class LCS<T> : LongestCommonSubsequence<IList<T>> 50protected override bool ItemsEqual(IList<T> sequenceA, int indexA, IList<T> sequenceB, int indexB) 55public IEnumerable<string> CalculateDiff(IList<T> sequenceA, IList<T> sequenceB, Func<T, string> toString) 82IList<T> expectedList = expected as IList<T> ?? new List<T>(expected); 83IList<T> actualList = actual as IList<T> ?? new List<T>(actual);
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2118IList<ISymbol> containersToVerify = new List<ISymbol>();
Diagnostics\SuppressMessageAttributeTests.DiagnosticAnalyzers.cs (2)
224private readonly IList<TextSpan> _spans; 226public WarningOnTokenAnalyzer(IList<TextSpan> spans)
Syntax\TokenUtilities.cs (4)
21var expectedTokens = GetTokens(expected, language); 22var actualTokens = GetTokens(actual, language); 72public static IList<SyntaxToken> GetTokens(string text, string language) 84public static IList<SyntaxToken> GetTokens(SyntaxNode node)
Microsoft.CodeAnalysis.Threading.Package (16)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
Microsoft.CodeAnalysis.UnitTests (64)
Collections\ImmutableSegmentedListTest.cs (2)
482Assert.Equal(3, ((IList<int>)list)[2]); 759IList<int> list = ImmutableSegmentedList.Create<int>();
Collections\ImmutablesTestBase.cs (1)
145protected static void ManuallyEnumerateTest<T>(IList<T> expectedResults, IEnumerator<T> enumerator)
Collections\List\IList.Generic.Tests.cs (44)
31protected abstract IList<T> GenericIListFactory(); 38protected virtual IList<T> GenericIListFactory(int count) 40IList<T> collection = GenericIListFactory(); 57IList<T> casted = ((IList<T>)enumerable); 70IList<T> casted = ((IList<T>)enumerable); 83IList<T> casted = ((IList<T>)enumerable); 114IList<T> list = GenericIListFactory(count); 123IList<T> list = GenericIListFactory(count); 132IList<T> list = GenericIListFactory(count); 147IList<T> list = GenericIListFactory(count); 161IList<T> list = GenericIListFactory(count); 175IList<T> list = GenericIListFactory(count); 188IList<T> list = GenericIListFactory(count); 201IList<T> list = GenericIListFactory(count); 221IList<T> list = GenericIListFactory(count); 235IList<T> list = GenericIListFactory(count); 256IList<T> list = GenericIListFactory(count); 273IList<T> list = GenericIListFactory(count); 289IList<T?> list = GenericIListFactory(count)!; 301IList<T> list = GenericIListFactory(count); 312IList<T?> list = GenericIListFactory(count)!; 328IList<T> list = GenericIListFactory(count); 343IList<T> list = GenericIListFactory(count); 356IList<T> list = GenericIListFactory(count); 371IList<T> list = GenericIListFactory(count); 383IList<T> list = GenericIListFactory(count); 404IList<T> list = GenericIListFactory(count); 418IList<T> list = GenericIListFactory(count); 432IList<T> list = GenericIListFactory(count); 444IList<T> list = GenericIListFactory(count); 458IList<T?> list = GenericIListFactory(count)!; 472IList<T> list = GenericIListFactory(count); 487IList<T?> list = GenericIListFactory(count)!; 502IList<T> list = GenericIListFactory(count); 527IList<T> list = GenericIListFactory(count); 543IList<T> list = GenericIListFactory(count); 557IList<T> list = GenericIListFactory(count); 571IList<T> list = GenericIListFactory(count); 583IList<T> list = GenericIListFactory(count); 599IList<T> list = GenericIListFactory(count); 619IList<T> collection = GenericIListFactory(count);
Collections\List\SegmentedList.Generic.cs (4)
52protected override IList<string> GenericIListFactory(int setLength) 57protected override IList<string> GenericIListFactory() 77protected override IList<int> GenericIListFactory(int setLength) 82protected override IList<int> GenericIListFactory()
Collections\List\SegmentedList.Generic.Tests.Constructor.cs (3)
30Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly" 45Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly" 71Assert.False(((IList<T>)list).IsReadOnly); //"List should not be readonly"
Collections\List\SegmentedList.Generic.Tests.cs (2)
29protected override IList<T> GenericIListFactory() 34protected override IList<T> GenericIListFactory(int count)
Collections\SegmentedArrayTests.cs (8)
54Assert.Throws<NullReferenceException>(() => ((IList<IntPtr>)data)[0]); 55Assert.Throws<NullReferenceException>(() => ((IList<IntPtr>)data)[0] = IntPtr.Zero); 80Assert.Throws<NotSupportedException>(() => ((IList<IntPtr>)data).Insert(0, IntPtr.Zero)); 84Assert.Throws<NotSupportedException>(() => ((IList<IntPtr>)data).RemoveAt(0)); 90Assert.Throws<NullReferenceException>(() => ((IList<IntPtr>)data).IndexOf(IntPtr.Zero)); 174Assert.Equal((IntPtr)i, ((IList<IntPtr>)data)[i]); 175((IList<IntPtr>)data)[i] = IntPtr.Add(data[i], 1); 176Assert.Equal((IntPtr)(i + 1), ((IList<IntPtr>)data)[i]);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
59Public Shared ReadOnly Property EmptyTypeSymbolsList As IList(Of TypeSymbol)
Microsoft.CodeAnalysis.Workspaces (118)
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (1)
159Solution solution, IList<SerializableSymbolAndProjectId> array, CancellationToken cancellationToken)
FindSymbols\FindReferences\Finders\ConstructorSymbolReferenceFinder.cs (1)
98symbol.ContainingType.GetBaseTypesAndThis().Any(t => t.GetMembers(nameof(IList<>.Add)).Any(m => m is IMethodSymbol { IsStatic: false, Parameters.Length: 1 }));
Formatting\Formatter.cs (8)
267public static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, Workspace workspace, OptionSet? options = null, CancellationToken cancellationToken = default) 270internal static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, SolutionServices services, SyntaxFormattingOptions options, CancellationToken cancellationToken) 282public static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, TextSpan span, Workspace workspace, OptionSet? options = null, CancellationToken cancellationToken = default) 285internal static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, TextSpan span, SolutionServices services, SyntaxFormattingOptions options, CancellationToken cancellationToken = default) 297public static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, IEnumerable<TextSpan>? spans, Workspace workspace, OptionSet? options = null, CancellationToken cancellationToken = default) 300internal static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, IEnumerable<TextSpan>? spans, SolutionServices services, SyntaxFormattingOptions options, CancellationToken cancellationToken = default) 303private static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, IEnumerable<TextSpan>? spans, Workspace workspace, OptionSet? options, ImmutableArray<AbstractFormattingRule> rules, CancellationToken cancellationToken) 311internal static IList<TextChange> GetFormattedTextChanges(SyntaxNode node, IEnumerable<TextSpan>? spans, SolutionServices services, SyntaxFormattingOptions options, ImmutableArray<AbstractFormattingRule> rules, CancellationToken cancellationToken = default)
Formatting\Rules\DefaultFormattingRuleFactoryServiceFactory.cs (1)
31public IEnumerable<TextChange> FilterFormattedChanges(DocumentId document, TextSpan span, IList<TextChange> changes)
Formatting\Rules\IHostDependentFormattingRuleFactoryService.cs (1)
16IEnumerable<TextChange> FilterFormattedChanges(DocumentId documentId, TextSpan span, IList<TextChange> changes);
Shared\Utilities\ExtensionOrderer.cs (1)
13internal static IList<Lazy<TExtension, TMetadata>> Order<TExtension, TMetadata>(
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (12)
115public TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 123protected abstract TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 124protected abstract TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 125protected abstract TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 126protected abstract TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 127protected abstract TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 128protected abstract TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 140public abstract TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, TCodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 232Func<SyntaxNode, TCodeGenerationContextInfo, IList<bool>?, CancellationToken, SyntaxNode> declarationTransform, 272IList<bool>? availableIndices, 326IList<bool>? availableIndices, 355IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService_FindDeclaration.cs (8)
20protected abstract IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken); 22private IList<bool>? GetAvailableInsertionIndices<TDeclarationNode>(TDeclarationNode destination, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 62out IList<bool>? availableIndices, 141private (SyntaxNode? declaration, IList<bool>? availableIndices) FindMostRelevantDeclaration( 163if (TryAddToRelatedDeclaration(declarations.Where(d => d is not ICompilationUnitSyntax), checkGeneratedCode: false, out var declaration1, out var availableIndices1) || 171if (TryAddToWorker(declarations, checkGeneratedCode: true, out var declaration2, out var availableIndices2, predicate: node => true)) 180out IList<bool>? availableIndices) 220out IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
86public static int GetPreferredIndex(int index, IList<bool>? availableIndices, bool forward) 192IList<bool>? availableIndices, 300IList<bool>? availableIndices, 325IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (2)
503public static INamespaceSymbol CreateNamespaceSymbol(string name, IList<ISymbol>? imports = null, IList<INamespaceOrTypeSymbol>? members = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
123TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
17private readonly IList<ISymbol> _imports; 19private CodeGenerationNamespaceInfo(IList<ISymbol> imports) 24IList<ISymbol> imports) 36public static IList<ISymbol> GetImports(INamespaceSymbol @namespace) 39private static IList<ISymbol> GetImports(CodeGenerationNamespaceInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceSymbol.cs (2)
14internal sealed class CodeGenerationNamespaceSymbol(string name, IList<INamespaceOrTypeSymbol> members) : CodeGenerationNamespaceOrTypeSymbol(null, null, default, Accessibility.NotApplicable, default, name), INamespaceSymbol 16private readonly IList<INamespaceOrTypeSymbol> _members = members ?? SpecializedCollections.EmptyList<INamespaceOrTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
170public static async Task<ImmutableArray<Diagnostic>> GetErrorsAsync(this Document document, CancellationToken cancellationToken, IList<string>? ignoreErrorCode = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
13public static ImmutableArray<IParameterSymbol> RenameParameters(this IList<IParameterSymbol> parameters, ImmutableArray<string> parameterNames)
Workspace\CommandLineProject.cs (3)
145IList<DocumentInfo> CreateDocuments(ImmutableArray<CommandLineSourceFile> files) 159var folders = isWithinProject ? GetFolders(relativePath) : null; 191private static IList<string> GetFolders(string path)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (17)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (39)
Formatting\FormattingTestBase.cs (4)
86var result = Formatter.GetFormattedTextChanges(root, spans, services, options); 94var idempotentResult = Formatter.GetFormattedTextChanges(resultRoot, adjustedSpans, services, options); 99private static bool TryAdjustSpans(SourceText inputText, IList<TextChange> changes, SourceText outputText, ImmutableArray<TextSpan> inputSpans, out ImmutableArray<TextSpan> outputSpans) 127protected static void AssertResult(string expected, SourceText sourceText, IList<TextChange> result)
Workspaces\TestHostDocument.cs (1)
68public IList<TextSpan> SelectedSpans { get; } = [];
Workspaces\TestHostProject.cs (5)
63IList<MetadataReference> references, 64IList<TestHostDocument> documents, 65IList<TestHostDocument> additionalDocuments = null, 66IList<TestHostDocument> analyzerConfigDocuments = null, 70IList<AnalyzerReference> analyzerReferences = null,
Workspaces\TestHostProject`1.cs (5)
96IList<MetadataReference> references, 97IList<TDocument> documents, 98IList<TDocument> additionalDocuments = null, 99IList<TDocument> analyzerConfigDocuments = null, 103IList<AnalyzerReference> analyzerReferences = null,
Workspaces\TestWorkspace.cs (5)
83IList<MetadataReference>? references, 84IList<TestHostDocument> documents, 85IList<TestHostDocument>? additionalDocuments = null, 86IList<TestHostDocument>? analyzerConfigDocuments = null, 90IList<AnalyzerReference>? analyzerReferences = null,
Workspaces\TestWorkspace_XmlConsumption.cs (6)
162var references = CreateReferenceList(projectElement); 163var analyzers = CreateAnalyzerList(projectElement); 800private IList<MetadataReference> CreateReferenceList(XElement element) 802var references = CreateCommonReferences(element); 821private static IList<AnalyzerReference> CreateAnalyzerList(XElement projectElement) 836private IList<MetadataReference> CreateCommonReferences(XElement element)
Workspaces\TestWorkspace`1.cs (13)
45public IList<TProject> Projects { get; } 46public IList<TDocument> Documents { get; } 47public IList<TDocument> AdditionalDocuments { get; } 48public IList<TDocument> AnalyzerConfigDocuments { get; } 49public IList<TDocument> ProjectionDocuments { get; } 204IList<MetadataReference>? references, 205IList<TDocument> documents, 206IList<TDocument>? additionalDocuments = null, 207IList<TDocument>? analyzerConfigDocuments = null, 211IList<AnalyzerReference>? analyzerReferences = null, 646var submissions = CreateSubmissions(workspaceElement.Elements(SubmissionElementName), ExportProvider); 706private IList<TProject> CreateSubmissions( 756var references = CreateCommonReferences(submissionElement);
Microsoft.CodeAnalysis.Workspaces.UnitTests (17)
ExtensionOrdererTests.cs (11)
30var order = ExtensionOrderer.Order(extensions); 47var order = ExtensionOrderer.Order(extensions); 64var order = ExtensionOrderer.Order(extensions); 81var order = ExtensionOrderer.Order(extensions); 98var order = ExtensionOrderer.Order(extensions); 113var order = ExtensionOrderer.Order(extensions); 128var order = ExtensionOrderer.Order(extensions); 147var order = ExtensionOrderer.Order(extensions); 166var order = ExtensionOrderer.Order(extensions); 184var order = ExtensionOrderer.Order(extensions); 202var order = ExtensionOrderer.Order(extensions);
UtilityTest\IntervalTreeTests.cs (6)
190var spans = List( 201var spans = List( 212var spans = List( 228var spans = List( 310private void TestOverlapsAndIntersects(IList<Tuple<int, int, string>> spans) 345private static IList<T> List<T>(params T[] values)
Microsoft.CSharp (4)
Microsoft\CSharp\RuntimeBinder\DynamicDebuggerProxy.cs (2)
77private IList<KeyValuePair<string, object>> results = null; 449private static IList<KeyValuePair<string, object>> QueryDynamicObject(object obj)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
167return genType == typeof(IList<>)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
159new PredefinedTypeInfo(PredefinedType.PT_G_ILIST, typeof(IList<>), "System.Collections.Generic.IList`1"),
Microsoft.Data.Analysis (17)
DataFrame.cs (3)
419var buffers = filter.ColumnContainer.Buffers; 439var buffers = filter.ColumnContainer.Buffers; 481public DataFrame FillNulls(IList<object> values, bool inPlace = false)
DataFrame.IO.cs (3)
121public static DataFrame LoadFrom(IEnumerable<IList<object>> vals, IList<(string, Type)> columnInfos) 134foreach (var items in vals)
DataFrame.Join.cs (1)
264var crossing = DataFrameJoinExtensions.GetSortedListsIntersection(list1, list2);
DataFrame.Join.Extrensions.cs (1)
12public static IList<long> GetSortedListsIntersection(IReadOnlyList<long> sortedList1, IReadOnlyList<long> sortedList2)
DataFrameColumns\ArrowStringDataFrameColumn.cs (3)
23private readonly IList<ReadOnlyDataFrameBuffer<byte>> _dataBuffers; 24private readonly IList<ReadOnlyDataFrameBuffer<int>> _offsetsBuffers; 25private readonly IList<ReadOnlyDataFrameBuffer<byte>> _nullBitMapBuffers;
PrimitiveColumnContainer.cs (2)
22public IList<ReadOnlyDataFrameBuffer<T>> Buffers = new List<ReadOnlyDataFrameBuffer<T>>(); 26public IList<ReadOnlyDataFrameBuffer<byte>> NullBitMapBuffers = new List<ReadOnlyDataFrameBuffer<byte>>();
PrimitiveColumnContainerHelpers.cs (1)
11internal static DataFrameBuffer<T> GetOrCreateMutable<T>(this IList<ReadOnlyDataFrameBuffer<T>> bufferList, int index)
PrimitiveDataFrameColumn.Sort.cs (1)
82IList<ReadOnlyDataFrameBuffer<T>> buffers = _columnContainer.Buffers;
StringDataFrameColumn.BinaryOperations.cs (2)
45IList<string> buffer = ret._stringBuffers[i]; 60IList<string> buffer = ret._stringBuffers[i];
Microsoft.Data.Analysis.Tests (5)
DataFrameJoinExtensionsTests.cs (5)
29var intersection = DataFrameJoinExtensions.GetSortedListsIntersection(collection1, collection2); 52var intersection = DataFrameJoinExtensions.GetSortedListsIntersection(collection1, collection2); 75var intersection = DataFrameJoinExtensions.GetSortedListsIntersection(collection1, collection2); 106var intersection = DataFrameJoinExtensions.GetSortedListsIntersection(collection1, collection2); 147var intersection = DataFrameJoinExtensions.GetSortedListsIntersection(collection1, collection2);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\model\BuildArtifacts.cs (1)
36public IList<Value> value { get; set; }
Microsoft.DotNet.Build.Tasks.Workloads (2)
Msi\WorkloadManifestMsi.wix.cs (1)
79string jsonAsString = JsonSerializer.Serialize(WorkloadPackGroups, typeof(IList<WorkloadPackGroupJson>), new JsonSerializerOptions() { WriteIndented = true });
Swix\SwixPackageBase.cs (1)
14public IList<SwixDependency> Dependencies
Microsoft.DotNet.GenFacades (8)
GenPartialFacadeSourceGenerator.cs (5)
50IReadOnlyDictionary<string, IList<string>> seedTypes = GenerateTypeTable(distinctSeeds); 143private static IReadOnlyDictionary<string, IList<string>> GenerateTypeTable(IEnumerable<string> seedAssemblies) 145var typeTable = new Dictionary<string, IList<string>>(); 157private static void AddTypeToTable(Dictionary<string, IList<string>> typeTable, string type, string assemblyName) 161IList<string> assemblyListForTypes;
SourceGenerator.cs (3)
17private readonly IReadOnlyDictionary<string, IList<string>> _seedTypes; 24IReadOnlyDictionary<string, IList<string>> seedTypes, 60IList<string> seedTypes;
Microsoft.DotNet.Helix.JobSender (2)
IJobDefinition.cs (1)
121IJobDefinition WithCorrelationPayloadFiles(IList<string> files, string destination);
JobDefinition.cs (1)
105public IJobDefinition WithCorrelationPayloadFiles(IList<string> files, string destination)
Microsoft.DotNet.NuGetRepack.Tests (9)
TestHelpers\DiffUtil.cs (9)
36private class LCS<T> : LongestCommonSubsequence<IList<T>> 47protected override bool ItemsEqual(IList<T> sequenceA, int indexA, IList<T> sequenceB, int indexB) 52public IEnumerable<string> CalculateDiff(IList<T> sequenceA, IList<T> sequenceB, Func<T, string> toString) 79IList<T> expectedList = expected as IList<T> ?? new List<T>(expected); 80IList<T> actualList = actual as IList<T> ?? new List<T>(actual);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (4)
Modeler\MethodGroupModel.cs (1)
11public MethodGroupModel(string name, string ns, IList<MethodModel> methods)
Modeler\ServiceClientModelFactory.cs (3)
163IList<ParameterModel> parameters = (operation.Parameters ?? Array.Empty<OpenApiParameter>()) 274IList<string> enumeration = schema.Enum.OfType<OpenApiString>().Select(s => s.Value).ToList(); 371private TypeModel ResolveEnumTypeModel(IList<string> enumeration, string enumName)
Microsoft.DotNet.XliffTasks (2)
Model\UnstructuredDocument.cs (2)
79private IList<string> _fragments; 82public UnstructuredTranslatableNode(IList<string> fragments, int fragmentIndex, string id, string source)
Microsoft.Extensions.AI (43)
ChatCompletion\FunctionInvocationContext.cs (1)
47public IList<ChatMessage> Messages
ChatCompletion\FunctionInvokingChatClient.cs (25)
229public IList<AITool>? AdditionalTools { get; set; } 299(IList<ChatMessage>? invokedApprovedFunctionApprovalResponses, bool shouldTerminate, consecutiveErrorCount) = 468(IList<ChatMessage>? invokedApprovedFunctionApprovalResponses, bool shouldTerminate, consecutiveErrorCount) = 525IList<AIContent> contents = update.Contents; 745private static bool AnyToolsRequireApproval(params ReadOnlySpan<IList<AITool>?> toolLists) 747foreach (var toolList in toolLists) 768private static AIFunctionDeclaration? FindTool(string name, params ReadOnlySpan<IList<AITool>?> toolLists) 770foreach (var toolList in toolLists) 790private static bool HasAnyTools(params ReadOnlySpan<IList<AITool>?> toolLists) 792foreach (var toolList in toolLists) 811IList<ChatMessage> messages, [NotNullWhen(true)] ref List<FunctionCallContent>? functionCalls) 825IList<AIContent> content, [NotNullWhen(true)] ref List<FunctionCallContent>? functionCalls) 992private async Task<(bool ShouldTerminate, int NewConsecutiveErrorCount, IList<ChatMessage> MessagesAdded)> ProcessFunctionCallsAsync( 1011IList<ChatMessage> addedMessages = CreateResponseMessages([result]); 1056IList<ChatMessage> addedMessages = CreateResponseMessages(results.ToArray()); 1071private void UpdateConsecutiveErrorCountOrThrow(IList<ChatMessage> added, ref int consecutiveErrorCount) 1103private void ThrowIfNoFunctionResultsAdded(IList<ChatMessage>? messages) 1196protected virtual IList<ChatMessage> CreateResponseMessages( 1703private static bool TryReplaceFunctionCallsWithApprovalRequests(IList<AIContent> content, out List<AIContent>? updatedContent) 1726private IList<ChatMessage> ReplaceFunctionCallsWithApprovalRequests( 1727IList<ChatMessage> messages, 1728params ReadOnlySpan<IList<AITool>?> toolLists) 1730var outputMessages = messages; 1739var content = messages[i].Contents; 1790private async Task<(IList<ChatMessage>? FunctionResultContentMessages, bool ShouldTerminate, int ConsecutiveErrorCount)> InvokeApprovedFunctionApprovalResponsesAsync(
ChatCompletion\ImageGeneratingChatClient.cs (6)
109var newContents = requestState.ReplaceImageGenerationFunctionResults(update.Contents); 253var tools = options.Tools; 282List<AITool> InitializeTools(IList<AITool> existingTools, int toOffsetExclusive) 318public IList<AIContent> ReplaceImageGenerationFunctionResults(IList<AIContent> contents) 475private static List<T> CopyList<T>(IList<T> original, int toOffsetExclusive, int additionalCapacity = 0)
ChatCompletion\OpenTelemetryChatClient.cs (5)
439return JsonSerializer.Serialize(output, _defaultOptions.GetTypeInfo(typeof(IList<object>))); 466private static string? ExtractCodeFromInputs(IList<AIContent>? inputs) 548if (options.StopSequences is IList<string> { Count: > 0 } stopSequences) 745JsonSerializer.Serialize(new object[1] { new OtelGenericPart { Content = options!.Instructions } }, _defaultOptions.GetTypeInfo(typeof(IList<object>)))); 911[JsonSerializable(typeof(IList<object>))]
ChatReduction\SummarizingChatReducer.cs (1)
93private readonly struct SummarizedConversation(string? summary, ChatMessage? systemMessage, IList<ChatMessage> unsummarizedMessages)
Embeddings\CachingEmbeddingGenerator.cs (1)
34if (values is IList<TInput> valuesList)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
ToolReduction\EmbeddingToolReductionStrategy.cs (2)
55var contents = message.Contents; 243Memory<AIToolRankingInfo> toolRankingInfo, IList<AITool> tools, ChatToolMode? toolMode)
ToolReduction\ToolReducingChatClient.cs (1)
80if (reduced is not IList<AITool> reducedList)
Microsoft.Extensions.AI.Abstractions (63)
ChatCompletion\ChatMessage.cs (3)
17private IList<AIContent>? _contents; 38public ChatMessage(ChatRole role, IList<AIContent>? contents) 84public IList<AIContent> Contents
ChatCompletion\ChatOptions.cs (2)
140public IList<string>? StopSequences { get; set; } 166public IList<AITool>? Tools { get; set; }
ChatCompletion\ChatResponse.cs (3)
24private IList<ChatMessage>? _messages; 43public ChatResponse(IList<ChatMessage>? messages) 50public IList<ChatMessage> Messages
ChatCompletion\ChatResponseExtensions.cs (12)
30public static void AddMessages(this IList<ChatMessage> list, ChatResponse response) 59public static void AddMessages(this IList<ChatMessage> list, IEnumerable<ChatResponseUpdate> updates) 82public static void AddMessages(this IList<ChatMessage> list, ChatResponseUpdate update, Func<AIContent, bool>? filter = null) 87var contentsList = filter is null ? update.Contents : update.Contents.Where(filter).ToList(); 114this IList<ChatMessage> list, IAsyncEnumerable<ChatResponseUpdate> updates, CancellationToken cancellationToken = default) 122IList<ChatMessage> list, IAsyncEnumerable<ChatResponseUpdate> updates, CancellationToken cancellationToken) => 192private static void CoalesceImageResultContent(IList<AIContent> contents) 229internal static void CoalesceContent(IList<AIContent> contents) 369static string MergeText(IList<AIContent> contents, int start, int end) 383IList<AIContent> contents, 386Func<IList<AIContent>, int, int, TContent> merge) 444private static void RemoveNullContents<T>(IList<T> contents)
ChatCompletion\ChatResponseUpdate.cs (3)
37private IList<AIContent>? _contents; 56public ChatResponseUpdate(ChatRole? role, IList<AIContent>? contents) 104public IList<AIContent> Contents
Contents\AIAnnotation.cs (1)
28public IList<AnnotatedRegion>? AnnotatedRegions { get; set; }
Contents\AIContent.cs (1)
48public IList<AIAnnotation>? Annotations { get; set; }
Contents\AIContentExtensions.cs (2)
21if (contents is IList<AIContent> list) 64public static string ConcatText(this IList<ChatMessage> messages)
Contents\CodeInterpreterToolCallContent.cs (1)
41public IList<AIContent>? Inputs { get; set; }
Contents\CodeInterpreterToolResultContent.cs (1)
36public IList<AIContent>? Outputs { get; set; }
Contents\ImageGenerationToolResultContent.cs (1)
39public IList<AIContent>? Outputs { get; set; }
Contents\McpServerToolResultContent.cs (1)
41public IList<AIContent>? Output { get; set; }
Embeddings\EmbeddingGeneratorExtensions.cs (2)
185IList<TInput> inputs = values as IList<TInput> ?? values.ToList();
HostedMcpServerToolApprovalMode.cs (4)
16/// To specify approval behavior for individual tool names, use <see cref="RequireSpecific(IList{string}, IList{string})"/>. 47public static HostedMcpServerToolRequireSpecificApprovalMode RequireSpecific(IList<string>? alwaysRequireApprovalToolNames, IList<string>? neverRequireApprovalToolNames)
HostedMcpServerToolRequireSpecificApprovalMode.cs (7)
23public HostedMcpServerToolRequireSpecificApprovalMode(IList<string>? alwaysRequireApprovalToolNames, IList<string>? neverRequireApprovalToolNames) 32public IList<string>? AlwaysRequireApprovalToolNames { get; set; } 37public IList<string>? NeverRequireApprovalToolNames { get; set; } 48private static bool ListEquals(IList<string>? list1, IList<string>? list2) => 52private static int GetListHashCode(IList<string>? list)
Image\ImageGenerationResponse.cs (2)
23public ImageGenerationResponse(IList<AIContent>? contents) 45public IList<AIContent> Contents
SpeechToText\SpeechToTextResponse.cs (4)
18private IList<AIContent>? _contents; 28public SpeechToTextResponse(IList<AIContent> contents) 78IList<AIContent> contents = Contents; 101public IList<AIContent> Contents
SpeechToText\SpeechToTextResponseUpdate.cs (3)
35private IList<AIContent>? _contents; 45public SpeechToTextResponseUpdate(IList<AIContent> contents) 93public IList<AIContent> Contents
src\LegacySupport\NullabilityInfoContext\NullabilityInfoContext.cs (5)
75IList<CustomAttributeData> attributes = parameterInfo.GetCustomAttributesData(); 144private static void CheckNullabilityAttributes(NullabilityInfo nullability, IList<CustomAttributeData> attributes) 261IList<CustomAttributeData> attributes = fieldInfo.GetCustomAttributesData(); 301private static NotAnnotatedStatus PopulateAnnotationInfo(IList<CustomAttributeData> customAttributes) 393private static NullableAttributeStateParser CreateParser(IList<CustomAttributeData> customAttributes)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Tools\HostedCodeInterpreterTool.cs (1)
42public IList<AIContent>? Inputs { get; set; }
Tools\HostedFileSearchTool.cs (1)
43public IList<AIContent>? Inputs { get; set; }
Tools\HostedMcpServerTool.cs (1)
154public IList<string>? AllowedTools { get; set; }
Utilities\AIJsonUtilities.Defaults.cs (1)
113[JsonSerializable(typeof(IList<ChatMessage>))]
Microsoft.Extensions.AI.Abstractions.Tests (10)
ChatCompletion\ChatMessageTests.cs (2)
72message = new(ChatRole.User, (IList<AIContent>?)null); 253IList<AIContent> items =
ChatCompletion\ChatResponseTests.cs (1)
23response = new((IList<ChatMessage>?)null);
ChatCompletion\ChatResponseUpdateTests.cs (1)
48IList<AIContent> newList = [new TextContent("text")];
Contents\CodeInterpreterToolCallContentTests.cs (1)
32IList<AIContent> inputs = [new TextContent("print('hello')")];
Contents\CodeInterpreterToolResultContentTests.cs (1)
32IList<AIContent> output = [new TextContent("Hello, World!")];
Contents\ImageGenerationToolResultContentTests.cs (1)
32IList<AIContent> outputs = [new DataContent(new byte[] { 1, 2, 3 }, "image/png")];
Contents\McpServerToolResultContentTests.cs (1)
41IList<AIContent> output = [];
SpeechToText\SpeechToTextResponseTests.cs (2)
17Assert.Throws<ArgumentNullException>("contents", () => new SpeechToTextResponse((IList<AIContent>)null!)); 64Assert.Throws<ArgumentNullException>("contents", () => new SpeechToTextResponse((IList<AIContent>)null!));
Microsoft.Extensions.AI.Evaluation (2)
EvaluationContext.cs (1)
92public IList<AIContent> Contents { get; set; }
EvaluationMetric.cs (1)
51public IList<EvaluationDiagnostic>? Diagnostics { get; set; }
Microsoft.Extensions.AI.Evaluation.Console (1)
Commands\ReportCommand.cs (1)
173if (result.ChatDetails?.TurnDetails is IList<ChatTurnDetails> turns)
Microsoft.Extensions.AI.Evaluation.Reporting (8)
ChatDetails.cs (2)
20public IList<ChatTurnDetails> TurnDetails { get; set; } 29public ChatDetails(IList<ChatTurnDetails> turnDetails)
Formats\Dataset.cs (2)
12IList<ScenarioRunResult> scenarioRunResults, 16public IList<ScenarioRunResult> ScenarioRunResults { get; } = scenarioRunResults;
ScenarioRunResult.cs (4)
51IList<ChatMessage> messages, 55IList<string>? tags = null, 128public IList<ChatMessage> Messages { get; set; } = messages; 160public IList<string>? Tags { get; set; } = tags;
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
ScenarioRunResultTests.cs (2)
344if (x?.Contents is IList<AIContent> xContents && y?.Contents is IList<AIContent> yContents)
Microsoft.Extensions.AI.Integration.Tests (10)
ChatClientIntegrationTests.cs (7)
110IList<ChatMessage> chatHistory = 1444IList<AITool>? firstTurnTools = null; 1445IList<AITool>? secondTurnTools = null; 1520IList<AITool>? captured = null; 1574IList<AITool>? firstTurnTools = null; 1575IList<AITool>? secondTurnTools = null; 1690IList<AITool>? selectedTools = null;
PromptBasedFunctionCallingChatClient.cs (1)
167private static ChatMessage CreateToolPrompt(IList<AITool> tools)
ToolReductionTests.cs (2)
367IList<AITool>? observedTools = null; 397IList<AITool>? observedTools = null;
Microsoft.Extensions.AI.OpenAI (5)
MicrosoftExtensionsAIResponsesExtensions.cs (1)
128public static void Add(this IList<AITool> tools, ResponseTool tool)
OpenAIChatClient.cs (1)
724internal static void ConvertContentParts(ChatMessageContent content, IList<AIContent> results)
OpenAIResponsesChatClient.cs (3)
1366private static void AddMcpToolCallContent(McpToolCallItem mtci, IList<AIContent> contents) 1387private static void AddAllMcpFilters(IList<string> toolNames, McpToolFilter filter) 1410private static void AddImageGenerationContents(ImageGenerationCallResponseItem outputItem, CreateResponseOptions? options, IList<AIContent> contents)
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIConversionTests.cs (1)
1702Assert.Throws<ArgumentNullException>("tools", () => ((IList<AITool>)null!).Add(ResponseTool.CreateWebSearchTool()));
OpenAIResponseClientTests.cs (1)
5630var contents = response.Messages[0].Contents;
Microsoft.Extensions.AI.Tests (13)
ChatCompletion\FunctionInvokingChatClientTests.cs (4)
73IList<AITool> additionalTools = [AIFunctionFactory.Create(() => "Additional Tool")]; 2253private static List<AIContent> CloneContents(IList<AIContent> contents) 2495var tools = context.Options!.Tools!; 3083var tools = context.Options!.Tools!;
ChatCompletion\UseDelegateChatClientTests.cs (4)
28IList<ChatMessage> expectedMessages = []; 78IList<ChatMessage> expectedMessages = []; 120IList<ChatMessage> expectedMessages = []; 171IList<ChatMessage> expectedMessages = [];
Embeddings\UseDelegateEmbeddingGeneratorTests.cs (1)
28IList<string> expectedValues = ["hello"];
Functions\AIFunctionFactoryTest.cs (3)
969AIFunctionFactory.Create(() => (IList<AIContent>)[new TextContent("text"), new DataContent(new byte[] { 1, 2, 3 }, "application/octet-stream")]), 970AIFunctionFactory.Create(async () => (IList<AIContent>)[new TextContent("text"), new DataContent(new byte[] { 1, 2, 3 }, "application/octet-stream")]), 971AIFunctionFactory.Create(async ValueTask<IList<AIContent>> () => (List<AIContent>)[new TextContent("text"), new DataContent(new byte[] { 1, 2, 3 }, "application/octet-stream")]),
TestJsonSerializerContext.cs (1)
14[JsonSerializable(typeof(IList<ChatMessage>))]
Microsoft.Extensions.ApiDescription.Client.Tests (1)
MockBuildEngine.cs (1)
62IList<string>[] undefineProperties,
Microsoft.Extensions.Caching.Abstractions (4)
ICacheEntry.cs (2)
45IList<IChangeToken> ExpirationTokens { get; } 50IList<PostEvictionCallbackRegistration> PostEvictionCallbacks { get; }
MemoryCacheEntryOptions.cs (2)
86public IList<IChangeToken> ExpirationTokens => _expirationTokens ??= []; 93public IList<PostEvictionCallbackRegistration> PostEvictionCallbacks => _postEvictionCallbacks ??= [];
Microsoft.Extensions.Caching.Hybrid (1)
Internal\TagSet.cs (1)
110case 1 when collection is IList<string> list:
Microsoft.Extensions.Caching.Memory (2)
CacheEntry.cs (2)
143public IList<IChangeToken> ExpirationTokens => GetOrCreateTokens().ExpirationTokens; 149public IList<PostEvictionCallbackRegistration> PostEvictionCallbacks => GetOrCreateTokens().PostEvictionCallbacks;
Microsoft.Extensions.Configuration (8)
ConfigurationBuilder.cs (1)
19public IList<IConfigurationSource> Sources => _sources;
ConfigurationManager.cs (1)
76public IList<IConfigurationSource> Sources => _sources;
ConfigurationRoot.cs (4)
19private readonly IList<IConfigurationProvider> _providers; 27public ConfigurationRoot(IList<IConfigurationProvider> providers) 114internal static string? GetConfiguration(IList<IConfigurationProvider> providers, string key) 129internal static void SetConfiguration(IList<IConfigurationProvider> providers, string key, string? value)
InternalConfigurationRootExtensions.cs (2)
46IList<IConfigurationProvider> providers = root.Providers is IList<IConfigurationProvider> list
Microsoft.Extensions.Configuration.Abstractions (1)
IConfigurationBuilder.cs (1)
22IList<IConfigurationSource> Sources { get; }
Microsoft.Extensions.Configuration.Binder (1)
ConfigurationBinder.cs (1)
455(interfaceGenericType == typeof(ICollection<>) || interfaceGenericType == typeof(IList<>)))
Microsoft.Extensions.Configuration.KeyPerFile.Tests (1)
ConfigurationProviderTestBase.cs (1)
358IList<KeyValuePair<string, string>> values)
Microsoft.Extensions.DataIngestion (2)
IngestionPipeline.cs (2)
65public IList<IngestionDocumentProcessor> DocumentProcessors { get; } = []; 70public IList<IngestionChunkProcessor<T>> ChunkProcessors { get; } = [];
Microsoft.Extensions.DataIngestion.Abstractions (2)
IngestionDocument.cs (1)
33public IList<IngestionDocumentSection> Sections { get; } = [];
IngestionDocumentElement.cs (1)
92public IList<IngestionDocumentElement> Elements { get; } = [];
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\ServiceProviderEngineScope.cs (2)
19internal IList<object> Disposables => _disposables ?? (IList<object>)Array.Empty<object>();
Microsoft.Extensions.Diagnostics (6)
Metrics\DefaultMeterFactory.cs (1)
41if (meter.Version == options.Version && DiagnosticsHelper.CompareTags(meter.Tags as IList<KeyValuePair<string, object?>>, options.Tags))
Metrics\ListenerSubscription.cs (2)
17private IList<InstrumentRule> _rules = Array.Empty<InstrumentRule>(); 83internal void UpdateRules(IList<InstrumentRule> rules)
Metrics\MetricsSubscriptionManager.cs (1)
44var rules = options.Rules;
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (2)
22internal static bool CompareTags(IList<KeyValuePair<string, object?>>? sortedTags, IEnumerable<KeyValuePair<string, object?>>? tags2) 45if (tagsCol is IList<KeyValuePair<string, object?>> secondList)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Metrics\MetricsOptions.cs (1)
16public IList<InstrumentRule> Rules { get; } = new List<InstrumentRule>();
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
TelemetryHealthChecksPublisherTests.cs (1)
79IList<HealthStatus> healthStatuses,
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Logging\FakeLoggerTests.cs (1)
317IList<(string message, LogLevel level, string prefix)> expectationsInOrder = useErrorLevelFilter
Microsoft.Extensions.FileProviders.Composite (2)
CompositeDirectoryContents.cs (2)
17private readonly IList<IFileProvider> _fileProviders; 29public CompositeDirectoryContents(IList<IFileProvider> fileProviders, string subpath)
Microsoft.Extensions.FileSystemGlobbing (23)
Internal\ILinearPattern.cs (1)
14IList<IPathSegment> Segments { get; }
Internal\IRaggedPattern.cs (5)
14IList<IPathSegment> Segments { get; } 16IList<IPathSegment> StartsWith { get; } 18IList<IList<IPathSegment>> Contains { get; } 20IList<IPathSegment> EndsWith { get; }
Internal\PatternContexts\PatternContextLinear.cs (2)
72private IList<string>? _stemItems; 74public IList<string> StemItems => _stemItems ??= new List<string>();
Internal\PatternContexts\PatternContextRagged.cs (3)
119public IList<IPathSegment> SegmentGroup; 127private IList<string>? _stemItems; 129public IList<string> StemItems => _stemItems ??= new List<string>();
Internal\Patterns\PatternBuilder.cs (12)
45List<IList<IPathSegment>>? segmentsPatternContains = null; 177segmentsPatternContains = new List<IList<IPathSegment>>(); 224public IList<IPathSegment> Segments { get; } 239public RaggedPattern(List<IPathSegment> allSegments, IList<IPathSegment> segmentsPatternStartsWith, IList<IPathSegment> segmentsPatternEndsWith, IList<IList<IPathSegment>> segmentsPatternContains) 247public IList<IList<IPathSegment>> Contains { get; } 249public IList<IPathSegment> EndsWith { get; } 251public IList<IPathSegment> Segments { get; } 253public IList<IPathSegment> StartsWith { get; }
Microsoft.Extensions.Http (5)
DefaultHttpMessageHandlerBuilder.cs (1)
40public override IList<DelegatingHandler> AdditionalHandlers { get; } = new List<DelegatingHandler>();
DependencyInjection\HttpClientBuilderExtensions.cs (1)
636public static IHttpClientBuilder ConfigureAdditionalHttpMessageHandlers(this IHttpClientBuilder builder, Action<IList<DelegatingHandler>, IServiceProvider> configureAdditionalHandlers)
HttpClientFactoryOptions.cs (2)
28public IList<Action<HttpMessageHandlerBuilder>> HttpMessageHandlerBuilderActions { get; } = new List<Action<HttpMessageHandlerBuilder>>(); 33public IList<Action<HttpClient>> HttpClientActions { get; } = new List<Action<HttpClient>>();
HttpMessageHandlerBuilder.cs (1)
42public abstract IList<DelegatingHandler> AdditionalHandlers { get; }
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\TestHttpMessageHandlerBuilder.cs (1)
27public override IList<DelegatingHandler> AdditionalHandlers { get; } = new List<DelegatingHandler>();
Microsoft.Extensions.Http.Polly.Tests (9)
DependencyInjection\PollyHttpClientBuilderExtensionsTest.cs (9)
43IList<DelegatingHandler> additionalHandlers = null; 78IList<DelegatingHandler> additionalHandlers = null; 116IList<DelegatingHandler> additionalHandlers = null; 157IList<DelegatingHandler> additionalHandlers = null; 196IList<DelegatingHandler> additionalHandlers = null; 254IList<DelegatingHandler> additionalHandlers = null; 299IList<DelegatingHandler> additionalHandlers = null; 334IList<DelegatingHandler> additionalHandlers = null; 413IList<DelegatingHandler> additionalHandlers = null;
Microsoft.Extensions.Http.Resilience (6)
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategy.cs (2)
17private IList<UriEndpointGroup>? _groups; 25public void Initialize(IList<UriEndpointGroup> groups)
Routing\Internal\RoutingHelper.cs (1)
12public static T SelectByWeight<T>(this IList<T> endpoints, Func<T, double> weightProvider, Randomizer randomizer)
Routing\OrderedGroupsRoutingOptions.cs (1)
29public IList<UriEndpointGroup> Groups { get; set; } = new List<UriEndpointGroup>();
Routing\UriEndpointGroup.cs (1)
29public IList<WeightedUriEndpoint> Endpoints { get; set; } = new List<WeightedUriEndpoint>();
Routing\WeightedGroupsRoutingOptions.cs (1)
35public IList<WeightedUriEndpointGroup> Groups { get; set; } = new List<WeightedUriEndpointGroup>();
Microsoft.Extensions.Identity.Core (19)
IRoleClaimStore.cs (1)
25Task<IList<Claim>> GetClaimsAsync(TRole role, CancellationToken cancellationToken = default(CancellationToken));
IUserClaimStore.cs (2)
25Task<IList<Claim>> GetClaimsAsync(TUser user, CancellationToken cancellationToken); 64Task<IList<TUser>> GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken);
IUserLoginStore.cs (1)
45Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken);
IUserPasskeyStore.cs (1)
33Task<IList<UserPasskeyInfo>> GetPasskeysAsync(TUser user, CancellationToken cancellationToken);
IUserRoleStore.cs (2)
40Task<IList<string>> GetRolesAsync(TUser user, CancellationToken cancellationToken); 62Task<IList<TUser>> GetUsersInRoleAsync(string roleName, CancellationToken cancellationToken);
RoleManager.cs (2)
77public IList<IRoleValidator<TRole>> RoleValidators { get; } = new List<IRoleValidator<TRole>>(); 361public virtual Task<IList<Claim>> GetClaimsAsync(TRole role)
UserClaimsPrincipalFactory.cs (1)
141var roles = await UserManager.GetRolesAsync(user).ConfigureAwait(false);
UserManager.cs (9)
161public IList<IUserValidator<TUser>> UserValidators { get; } = new List<IUserValidator<TUser>>(); 166public IList<IPasswordValidator<TUser>> PasswordValidators { get; } = new List<IPasswordValidator<TUser>>(); 1158public virtual async Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user) 1290public virtual async Task<IList<Claim>> GetClaimsAsync(TUser user) 1478public virtual async Task<IList<string>> GetRolesAsync(TUser user) 1955public virtual async Task<IList<string>> GetValidTwoFactorProvidersAsync(TUser user) 2294public virtual Task<IList<TUser>> GetUsersForClaimAsync(Claim claim) 2310public virtual Task<IList<TUser>> GetUsersInRoleAsync(string roleName) 2642public virtual Task<IList<UserPasskeyInfo>> GetPasskeysAsync(TUser user)
Microsoft.Extensions.Identity.Stores (6)
RoleStoreBase.cs (1)
212public abstract Task<IList<Claim>> GetClaimsAsync(TRole role, CancellationToken cancellationToken = default(CancellationToken));
UserStoreBase.cs (5)
358public abstract Task<IList<Claim>> GetClaimsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)); 415public abstract Task<IList<UserLoginInfo>> GetLoginsAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken)); 793public abstract Task<IList<TUser>> GetUsersForClaimAsync(Claim claim, CancellationToken cancellationToken = default(CancellationToken)); 1038public abstract Task<IList<TUser>> GetUsersInRoleAsync(string normalizedRoleName, CancellationToken cancellationToken = default(CancellationToken)); 1064public abstract Task<IList<string>> GetRolesAsync(TUser user, CancellationToken cancellationToken = default(CancellationToken));
Microsoft.Extensions.Localization (9)
Internal\IResourceStringProvider.cs (1)
15IList<string>? GetAllResourceStrings(CultureInfo culture, bool throwOnMissing);
Internal\ResourceManagerStringProvider.cs (1)
56public IList<string>? GetAllResourceStrings(CultureInfo culture, bool throwOnMissing)
IResourceNamesCache.cs (2)
20IList<string>? GetOrAdd(string name, Func<string, IList<string>?> valueFactory);
ResourceManagerStringLocalizer.cs (1)
192var cultureResourceNames = _resourceStringProvider.GetAllResourceStrings(currentCulture, false);
ResourceNamesCache.cs (4)
15private readonly ConcurrentDictionary<string, IList<string>?> _cache = new ConcurrentDictionary<string, IList<string>?>(); 25public IList<string>? GetOrAdd(string name, Func<string, IList<string>?> valueFactory)
Microsoft.Extensions.Logging (2)
LoggerFilterOptions.cs (1)
36public IList<LoggerFilterRule> Rules => RulesInternal;
src\libraries\Common\src\Extensions\ProviderAliasUtilities\ProviderAliasUtilities.cs (1)
17IList<CustomAttributeData> attributes = CustomAttributeData.GetCustomAttributes(providerType);
Microsoft.Extensions.Logging.Configuration (1)
src\libraries\Common\src\Extensions\ProviderAliasUtilities\ProviderAliasUtilities.cs (1)
17IList<CustomAttributeData> attributes = CustomAttributeData.GetCustomAttributes(providerType);
Microsoft.Extensions.Options.SourceGeneration (2)
Emitter.cs (1)
38private sealed record StaticFieldInfo(string FieldTypeFQN, int FieldOrder, string FieldName, IList<string> InstantiationLines);
Model\ValidatorType.cs (1)
15IList<ValidatedModel> ModelsToValidate);
Microsoft.Extensions.Primitives (4)
StringValues.cs (4)
122string? IList<string?>.this[int index] 306int IList<string?>.IndexOf(string? item) 390void IList<string?>.Insert(int index, string? item) => throw new NotSupportedException(); 394void IList<string?>.RemoveAt(int index) => throw new NotSupportedException();
Microsoft.Extensions.ServiceDiscovery (3)
Configuration\ConfigurationServiceEndpointProvider.Log.cs (1)
25internal static void ConfiguredEndpoints(ILogger logger, string serviceName, string path, IList<ServiceEndpoint> endpoints, int added)
ServiceDiscoveryOptions.cs (1)
32public IList<string> AllowedSchemes { get; set; } = new List<string>();
ServiceEndpointBuilder.cs (1)
35public IList<ServiceEndpoint> Endpoints => _endpoints;
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
IServiceEndpointBuilder.cs (1)
17IList<ServiceEndpoint> Endpoints { get; }
Microsoft.Extensions.ServiceDiscovery.Dns (4)
DnsResolverOptions.cs (1)
16public IList<IPEndPoint> Servers { get; set; } = new List<IPEndPoint>();
Resolver\NetworkInfo.cs (1)
12public static IList<IPEndPoint> GetServers()
Resolver\ResolvConf.cs (2)
13public static IList<IPEndPoint> GetServers() 18public static IList<IPEndPoint> GetServers(TextReader reader)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Resolver\ResolvConfTests.cs (1)
21var servers = ResolvConf.GetServers(reader);
Microsoft.Extensions.Telemetry (7)
Buffering\GlobalLogBufferingOptions.cs (1)
70public IList<LogBufferingFilterRule> Rules { get; set; } = [];
Buffering\LogBufferingFilterRuleSelector.cs (2)
31public static LogBufferingFilterRule[] SelectByCategory(IList<LogBufferingFilterRule> rules, string category) 64IList<LogBufferingFilterRule> rules,
Logging\Import\ProviderAliasUtilities.cs (1)
19IList<CustomAttributeData> attributes = CustomAttributeData.GetCustomAttributes(providerType);
Sampling\LogSamplingRuleSelector.cs (1)
110public T? Select(IList<T> rules, string category, LogLevel logLevel, EventId eventId)
Sampling\LogSamplingRuleSelectorExtensions.cs (1)
11public static T? GetBestMatchFor<T>(this IList<T> rules, string category, LogLevel logLevel, EventId eventId)
Sampling\RandomProbabilisticSamplerOptions.cs (1)
20public IList<RandomProbabilisticSamplerFilterRule> Rules { get; set; } = [];
Microsoft.Extensions.Validation (2)
TypeExtensions.cs (1)
24type.GetGenericTypeDefinition() == typeof(IList<>)))
ValidationOptions.cs (1)
23public IList<IValidatableInfoResolver> Resolvers { get; } = [];
Microsoft.Gen.BuildMetadata.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.Gen.Logging.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.Gen.Metrics.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Microsoft.Maui (13)
Core\IPicker.cs (1)
15 IList<string> Items { get; }
Core\ITitleBar.cs (1)
14 IList<IView> PassthroughElements { get; }
Core\WindowOverlayTappedEventArgs.cs (4)
9 public WindowOverlayTappedEventArgs(Point point, IList<IVisualTreeElement> elements, IList<IWindowOverlayElement> overlayElements) 16 public IList<IVisualTreeElement> VisualTreeElements { get; } 18 public IList<IWindowOverlayElement> WindowOverlayElements { get; }
Extensions\EnumerableExtensions.cs (3)
70 if (enumerable is IList<T> list) 177 /// Retrieves the last item from a <see cref="IList{T}"/> instance. 182 public static T Last<T>(this IList<T> self) => self[self.Count - 1];
Extensions\ListExtensions.cs (3)
8 /// Attempts to remove an item from a <see cref="IList{T}"/> instance. 11 /// <param name="list">The <see cref="IList{T}"/> instance to remove the item from.</param> 14 public static bool TryRemove<T>(this IList<T> list, T item)
Primitives\LockableObservableListWrapper.cs (1)
53 get { return ((IList<string>)_list).IsReadOnly; }
Microsoft.Maui.Controls (171)
Cells\Cell.cs (1)
87 public IList<MenuItem> ContextActions
CheckBox\CheckBox.cs (1)
51 var visualStates = VisualStateManager.GetVisualStateGroups(this);
Element\Element.cs (8)
59 IList<BindableObject> _bindableResources; 77 IList<Element> _internalChildren; 105 public IList<Effect> Effects 171 private protected virtual IList<Element> LogicalChildrenInternalBackingStore 1084 Element IList<Element>.this[int index] { get => _inner[index]; set => throw new NotSupportedException(); } 1102 int IList<Element>.IndexOf(Element item) => _inner.IndexOf(item); 1104 void IList<Element>.Insert(int index, Element item) => throw new NotSupportedException(); 1108 void IList<Element>.RemoveAt(int index) => throw new NotSupportedException();
Element\Element_StyleSheets.cs (1)
15 IList<string> IStyleSelectable.Classes => null;
FormattedString.cs (1)
30 public IList<Span> Spans => _spans;
GestureElement.cs (1)
61 public IList<IGestureRecognizer> GestureRecognizers
IControlTemplated.cs (1)
10 IList<Element> InternalChildren { get; }
IGestureController.cs (2)
9 IList<GestureElement> GetChildElements(Point point); 11 IList<IGestureRecognizer> CompositeGestureRecognizers { get; }
IGestureRecognizers.cs (1)
8 IList<IGestureRecognizer> GestureRecognizers { get; }
Interactivity\AttachedCollection.cs (1)
20 public AttachedCollection(IList<T> list) : base(list)
Interactivity\DataTrigger.cs (1)
34 public new IList<Setter> Setters
Interactivity\EventTrigger.cs (1)
30 public IList<TriggerAction> Actions { get; }
Interactivity\MultiCondition.cs (1)
16 public IList<Condition> Conditions { get; }
Interactivity\MultiTrigger.cs (2)
17 public IList<Condition> Conditions 23 public new IList<Setter> Setters
Interactivity\Trigger.cs (1)
34 public new IList<Setter> Setters
Interactivity\TriggerBase.cs (4)
29 public IList<TriggerAction> EnterActions { get; } 32 public IList<TriggerAction> ExitActions { get; } 55 internal IList<Setter> Setters { get; } 133 readonly IList<T> _actual;
Internals\NotifyCollectionChangedEventArgsExtensions.cs (2)
14 public static void Apply<TFrom>(this NotifyCollectionChangedEventArgs self, IList<TFrom> from, IList<object> to)
Items\SelectableItemsView.cs (14)
24 BindableProperty.Create(nameof(SelectedItems), typeof(IList<object>), typeof(SelectableItemsView), null, 39 static readonly IList<object> s_empty = new List<object>(0); 56 public IList<object> SelectedItems 58 get => (IList<object>)GetValue(SelectedItemsProperty); 86 public void UpdateSelectedItems(IList<object> newSelection) 123 return new SelectionList((SelectableItemsView)bindable, value as IList<object>); 134 var oldSelection = (IList<object>)oldValue ?? s_empty; 135 var newSelection = (IList<object>)newValue ?? s_empty; 140 internal void SelectedItemsPropertyChanged(IList<object> oldSelection, IList<object> newSelection) 186 IList<object> previousSelection = new List<object>(); 187 IList<object> newSelection = new List<object>();
Items\SelectionChangedEventArgs.cs (2)
23 internal SelectionChangedEventArgs(IList<object> previousSelection, IList<object> currentSelection)
Items\SelectionList.cs (4)
12 static readonly IList<object> s_empty = new List<object>(0); 14 readonly IList<object> _internal; 15 IList<object> _shadow; 18 public SelectionList(SelectableItemsView selectableItemsView, IList<object> items = null)
IViewContainer.cs (1)
8 IList<T> Children { get; }
Label\Label.cs (1)
392 public override IList<GestureElement> GetChildElements(Point point)
Layout\Layout.cs (1)
43 public IList<IView> Children => this;
LegacyLayouts\Layout.cs (2)
30 public new IList<T> Children => _children; 171 private protected override IList<Element> LogicalChildrenInternalBackingStore
LegacyLayouts\LayoutOfT.cs (3)
36 int IList<IView>.IndexOf(IView child) 41 void IList<IView>.Insert(int index, IView child) 49 void IList<IView>.RemoveAt(int index)
Menu\MenuBar.cs (1)
44 internal void SyncMenuBarItemsFromPages(IList<MenuBarItem> menuBarItems)
Menu\MenuBarItem.cs (1)
45 private protected override IList<Element> LogicalChildrenInternalBackingStore { get; }
Menu\MenuBarTracker.cs (2)
49 var menuBarItems = ToolbarItems; 60 protected override IList<MenuBarItem> GetMenuItems(Page page) =>
Menu\MenuFlyout.cs (1)
18 private protected override IList<Element> LogicalChildrenInternalBackingStore
Menu\MenuFlyoutItem.cs (1)
24 public IList<KeyboardAccelerator> KeyboardAccelerators { get; }
Menu\MenuItemTracker.cs (2)
21 protected abstract IList<TMenuItem> GetMenuItems(Page page); 73 public IList<TMenuItem> ToolbarItems
MergedStyle.cs (10)
15 static readonly IList<Type> s_stopAtTypes = new List<Type> { typeof(View), 21 IList<BindableProperty> _classStyleProperties; 25 IList<Style> _classStyles; 31 IList<string> _styleClass; 54 public IList<string> StyleClass 73 var classStyleProperty = BindableProperty.Create("ClassStyle", typeof(IList<Style>), typeof(Element), default(IList<Style>), 88 IList<Style> ClassStyles 130 ClassStyles = _classStyleProperties.Select(p => (Target.GetValue(p) as IList<Style>)?.FirstOrDefault(s => s.CanBeAppliedTo(TargetType))).ToList(); 187 void SetStyle(IStyle implicitStyle, IList<Style> classStyles, IStyle style)
MultiBinding.cs (2)
16 IList<BindingBase> _bindings; 46 public IList<BindingBase> Bindings
MultiPage.cs (1)
105 public IList<T> Children
ObservableWrapper.cs (2)
312 get => (this as IList<TRestrict>)[index]; 313 set => (this as IList<TRestrict>)[index] = (TRestrict)value;
OnPlatform.cs (2)
16 public IList<On> Platforms { get; private set; } 79 public IList<string> Platform { get; set; }
OrderedDictionary.cs (3)
250 int IList<KeyValuePair<TKey, TValue>>.IndexOf(KeyValuePair<TKey, TValue> item) 255 void IList<KeyValuePair<TKey, TValue>>.Insert(int index, KeyValuePair<TKey, TValue> item) 260 KeyValuePair<TKey, TValue> IList<KeyValuePair<TKey, TValue>>.this[int index]
Page\Page.cs (3)
169 public IList<ToolbarItem> ToolbarItems { get; internal set; } 174 public IList<MenuBarItem> MenuBarItems { get; internal set; } 435 IList<Element> elements = this.InternalChildren;
Picker\Picker.cs (2)
139 public IList<string> Items { get; } = new LockableObservableListWrapper(); 435 IList<string> IPicker.Items => Items;
PlatformBindingHelpers.cs (2)
191 public IList<KeyValuePair<BindableProperty, BindingBase>> BindingsBackpack { get; } = new List<KeyValuePair<BindableProperty, BindingBase>>(); 192 public IList<KeyValuePair<BindableProperty, object>> ValuesBackpack { get; } = new List<KeyValuePair<BindableProperty, object>>();
ReadOnlyCastingList.cs (4)
11 readonly IList<TFrom> _list; 13 public ReadOnlyCastingList(IList<TFrom> list) 73 readonly IList<TFrom> _list; 75 public CastingList(IList<TFrom> list)
Region.cs (2)
20 Region(IList<Rect> positions) : this() 25 Region(IList<Rect> positions, Thickness inflation) : this(positions)
Registrar.cs (6)
314 internal static Dictionary<string, IList<StylePropertyAttribute>> StyleProperties => LazyStyleProperties.Value; 317 static readonly Lazy<Dictionary<string, IList<StylePropertyAttribute>>> LazyStyleProperties = new Lazy<Dictionary<string, IList<StylePropertyAttribute>>>(LoadStyleSheets); 357 static Dictionary<string, IList<StylePropertyAttribute>> LoadStyleSheets() 359 var properties = new Dictionary<string, IList<StylePropertyAttribute>>(StringComparer.Ordinal); 368 if (properties.TryGetValue(attribute.CssPropertyName, out var attrList))
ResourceDictionary.cs (4)
95 internal IList<StyleSheets.StyleSheet> StyleSheets { get; set; } 106 IList<ResourceDictionary> _collectionTrack; 349 IList<Style> classes; 351 if (!TryGetValue(Style.StyleClassPrefix + style.Class, out outclasses) || (classes = outclasses as IList<Style>) == null)
Setter.cs (1)
81 else if (Value is IList<VisualStateGroup> visualStateGroupCollection)
SettersExtensions.cs (3)
12 public static void Add(this IList<Setter> setters, BindableProperty property, object value) 18 public static void AddBinding(this IList<Setter> setters, BindableProperty property, Binding binding) 27 public static void AddDynamicResource(this IList<Setter> setters, BindableProperty property, string key)
Shell\MenuItemCollection.cs (1)
24 public bool IsReadOnly => ((IList<MenuItem>)_inner).IsReadOnly;
Shell\MenuShellItem.cs (1)
26 IList<string> IStyleSelectable.Classes => ((IStyleSelectable)MenuItem).Classes;
Shell\Shell.cs (2)
1449 public IList<ShellItem> Items => (IList<ShellItem>)GetValue(ItemsProperty);
Shell\ShellElementCollection.cs (3)
296 internal new IList<TBaseShellItem> Inner 298 get => (IList<TBaseShellItem>)base.Inner; 303 TBaseShellItem IList<TBaseShellItem>.this[int index]
Shell\ShellItem.cs (3)
190 public IList<ShellSection> Items => (IList<ShellSection>)GetValue(ItemsProperty); 382 public IList<ShellSection> Items => shellItem.Items;
Shell\ShellSection.cs (3)
253 public IList<ShellContent> Items => (IList<ShellContent>)GetValue(ItemsProperty); 1284 public IList<ShellContent> Items => section.Items;
Style.cs (5)
25 IList<Behavior> _behaviors; 27 IList<TriggerBase> _triggers; 79 public IList<Behavior> Behaviors => _behaviors ??= new AttachedCollection<Behavior>(); 88 public IList<Setter> Setters { get; } 91 public IList<TriggerBase> Triggers => _triggers ??= new AttachedCollection<TriggerBase>();
StyleableElement\StyleableElement.cs (3)
36 public IList<string> StyleClass 49 public IList<string> @class 55 IList<string> IStyleSelectable.Classes => StyleClass;
StyleSheets\IStyleSelectable.cs (1)
12 IList<string> Classes { get; }
TemplatedPage.cs (1)
22 IList<Element> IControlTemplated.InternalChildren => InternalChildren;
TemplatedView\TemplatedView.cs (1)
26 IList<Element> IControlTemplated.InternalChildren => InternalChildren;
TitleBar\TitleBar.cs (1)
240 public IList<IView> PassthroughElements { get; private set; }
Toolbar\ToolbarTracker.cs (1)
14 protected override IList<ToolbarItem> GetMenuItems(Page page) =>
View\View.cs (3)
177 public IList<IGestureRecognizer> GestureRecognizers 183 IList<IGestureRecognizer> IGestureController.CompositeGestureRecognizers 216 public virtual IList<GestureElement> GetChildElements(Point point)
ViewExtensions.cs (1)
359 internal static IList<IGestureRecognizer>? GetCompositeGestureRecognizers(this Element element)
VisualElement\VisualElement.cs (12)
395 internal static readonly BindablePropertyKey BehaviorsPropertyKey = BindableProperty.CreateReadOnly(nameof(Behaviors), typeof(IList<Behavior>), typeof(VisualElement), default(IList<Behavior>), 406 internal static readonly BindablePropertyKey TriggersPropertyKey = BindableProperty.CreateReadOnly(nameof(Triggers), typeof(IList<TriggerBase>), typeof(VisualElement), default(IList<TriggerBase>), 575 public IList<Behavior> Behaviors 577 get { return (IList<Behavior>)GetValue(BehaviorsProperty); } 900 public IList<TriggerBase> Triggers => (IList<TriggerBase>)GetValue(TriggersProperty); 1489 var groups = (IList<VisualStateGroup>)GetValue(VisualStateManager.VisualStateGroupsProperty); 1573 var groups = (IList<VisualStateGroup>)GetValue(VisualStateManager.VisualStateGroupsProperty);
VisualElement\VisualElement_StyleSheet.cs (1)
17 if (!Internals.Registrar.StyleProperties.TryGetValue(key, out var attrList))
VisualStateManager.cs (15)
57 public static IList<VisualStateGroup> GetVisualStateGroups(VisualElement visualElement) 58 => (IList<VisualStateGroup>)visualElement.GetValue(VisualStateGroupsProperty); 138 var groups = (IList<VisualStateGroup>)visualElement.GetValue(VisualStateGroupsProperty); 151 readonly IList<VisualStateGroup> _internalList; 158 void Validate(IList<VisualStateGroup> groups) 221 void ValidateAndNotify(IList<VisualStateGroup> groups) 395 public IList<VisualState> States { get; } 552 void OnStatesChanged(IList<VisualState> states) 613 public IList<Setter> Setters { get; } 615 public IList<StateTriggerBase> StateTriggers { get; } 641 void OnStateTriggersChanged(IList<StateTriggerBase> stateTriggers) 692 internal static IList<VisualStateGroup> Clone(this IList<VisualStateGroup> groups) 710 IList<VisualStateGroup> list = VisualStateManager.GetVisualStateGroups(element);
Microsoft.Maui.Controls.Build.Tasks (31)
DebugXamlCTask.cs (1)
16 public override bool Execute(out IList<Exception> thrownExceptions)
ExpandMarkupsVisitor.cs (2)
11 readonly IList<XmlName> _skips = new List<XmlName> 138 IList<XmlType> typeArguments = null;
ILContext.cs (2)
18 Scopes = new Dictionary<INode, Tuple<VariableDefinition, IList<string>>>(); 32 public Dictionary<INode, Tuple<VariableDefinition, IList<string>>> Scopes { get; private set; }
SetNamescopesAndRegisterNamesVisitor.cs (5)
47 IList<string> namesInNamescope; 74 Context.Scopes[node] = new Tuple<VariableDefinition, IList<string>>(namescopeVarDef, namesInNamescope); 80 IList<string> namesInNamescope = new List<string>(); 83 Context.Scopes[node] = new System.Tuple<VariableDefinition, IList<string>>(namescopeVarDef, namesInNamescope); 152 void RegisterName(string str, VariableDefinition namescopeVarDef, IList<string> namesInNamescope, VariableDefinition element, INode node)
SetPropertiesVisitor.cs (8)
18 static readonly IList<XmlName> skips = 258 IList<TypeReference> genericArguments; 585 if (!TryParsePath(context, path, tSourceRef, node as IXmlLineInfo, module, out var properties)) 672 static bool TryParsePath(ILContext context, string path, TypeReference tSourceRef, IXmlLineInfo lineInfo, ModuleDefinition module, out IList<(PropertyDefinition property, TypeReference propDeclTypeRef, string indexArg)> pathProperties) 821 static IEnumerable<Instruction> CompiledBindingGetGetter(TypeReference tSourceRef, TypeReference tPropertyRef, IList<(PropertyDefinition property, TypeReference propDeclTypeRef, string indexArg)> properties, ElementNode node, ILContext context) 915 static IEnumerable<Instruction> CompiledBindingGetSetter(TypeReference tSourceRef, TypeReference tPropertyRef, IList<(PropertyDefinition property, TypeReference propDeclTypeRef, string indexArg)> properties, ElementNode node, ILContext context) 1040 static IEnumerable<Instruction> CompiledBindingGetHandlers(TypeReference tSourceRef, TypeReference tPropertyRef, IList<(PropertyDefinition property, TypeReference propDeclTypeRef, string indexArg)> properties, ElementNode node, ILContext context) 1900 templateContext.Scopes[kvp.Key] = new Tuple<VariableDefinition, IList<string>>(varDefScope, kvp.Value.Item2);
TypeReferenceExtensions.cs (1)
150 out GenericInstanceType interfaceReference, out IList<TypeReference> genericArguments)
XamlCache.cs (3)
14 readonly Dictionary<ModuleDefinition, IList<XmlnsDefinitionAttribute>> _xmlnsDefinitions = new(); 32 public IList<XmlnsDefinitionAttribute> GetXmlsDefinitions(ModuleDefinition module, Func<ModuleDefinition, IList<XmlnsDefinitionAttribute>> valueFactory) =>
XamlCTask.cs (4)
26 public IList<int> WarningsAsErrors { get; set; } 27 public IList<int> WarningsNotAsErrors { get; set; } 28 public IList<int> NoWarn { get; set; } 156 public override bool Execute(out IList<Exception> thrownExceptions)
XamlTask.cs (2)
37 IList<Exception> _; 41 public abstract bool Execute(out IList<Exception> thrownExceptions);
XmlTypeExtensions.cs (3)
13 static IList<XmlnsDefinitionAttribute> GatherXmlnsDefinitionAttributes(ModuleDefinition module) 73 IList<XmlnsDefinitionAttribute> xmlnsDefinitions = cache.GetXmlsDefinitions(module, GatherXmlnsDefinitionAttributes); 75 var typeArguments = xmlType.TypeArguments;
Microsoft.Maui.Controls.Maps (6)
HandlerImpl\Map.Impl.cs (2)
10 IList<IMapElement> IMap.Elements => _mapElements.Cast<IMapElement>().ToList(); 12 IList<IMapPin> IMap.Pins => _pins.Cast<IMapPin>().ToList();
Map.cs (2)
127 public IList<Pin> Pins 165 public IList<MapElement> MapElements => _mapElements;
Polygon.cs (1)
32 public IList<Location> Geopath { get; }
Polyline.cs (1)
15 public IList<Location> Geopath { get; }
Microsoft.Maui.Controls.SourceGen (7)
CodeBehindGenerator.cs (1)
548 IList<INamedTypeSymbol> types = compilation.GetTypesByMetadataName(fullName);
src\Controls\src\Xaml\TypeArgumentsParser.cs (2)
10 public static IList<XmlType> ParseExpression(string expression, IXmlNamespaceResolver resolver, IXmlLineInfo lineInfo) 57 IList<XmlType> typeArguments = null;
src\Controls\src\Xaml\XamlNode.cs (3)
47 public XmlType(string namespaceUri, string name, IList<XmlType> typeArguments) 56 public IList<XmlType> TypeArguments { get; } 252 public ListNode(IList<INode> nodes, IXmlNamespaceResolver namespaceResolver, int linenumber = -1, int lineposition = -1)
src\Controls\src\Xaml\XmlTypeXamlExtensions.cs (1)
47 var typeArguments = xmlType.TypeArguments;
Microsoft.Maui.Controls.Xaml (27)
ApplyPropertiesVisitor.cs (1)
24 public static readonly IList<XmlName> Skips = new List<XmlName> {
ExpandMarkupsVisitor.cs (2)
17 public static readonly IList<XmlName> Skips = new List<XmlName> 136 IList<XmlType> typeArguments = null;
TypeArgumentsParser.cs (2)
10 public static IList<XmlType> ParseExpression(string expression, IXmlNamespaceResolver resolver, IXmlLineInfo lineInfo) 57 IList<XmlType> typeArguments = null;
XamlLoader.cs (1)
120 var typeArguments = XamlParser.GetTypeArguments(reader);
XamlNode.cs (3)
47 public XmlType(string namespaceUri, string name, IList<XmlType> typeArguments) 56 public IList<XmlType> TypeArguments { get; } 252 public ListNode(IList<INode> nodes, IXmlNamespaceResolver namespaceResolver, int linenumber = -1, int lineposition = -1)
XamlParser.cs (17)
45 var attributes = ParseXamlAttributes(reader, out IList<KeyValuePair<string, string>> xmlns); 46 var prefixes = PrefixesToIgnore(xmlns); 163 IList<KeyValuePair<string, string>> xmlns; 165 var attributes = ParseXamlAttributes(reader, out xmlns); 166 var prefixes = PrefixesToIgnore(xmlns); 167 var typeArguments = GetTypeArguments(attributes); 195 internal static IList<XmlType> GetTypeArguments(XmlReader reader) => GetTypeArguments(ParseXamlAttributes(reader, out _)); 197 static IList<XmlType> GetTypeArguments(IList<KeyValuePair<XmlName, INode>> attributes) 200 ? ((ValueNode)attributes.First(kvp => kvp.Key == XmlName.xTypeArguments).Value).Value as IList<XmlType> 204 static IList<KeyValuePair<XmlName, INode>> ParseXamlAttributes(XmlReader reader, out IList<KeyValuePair<string, string>> xmlns) 287 static IList<string> PrefixesToIgnore(IList<KeyValuePair<string, string>> xmlns) 334 static IList<XmlnsDefinitionAttribute> s_xmlnsDefinitions; 385 var typeArguments = xmlType.TypeArguments;
XmlTypeXamlExtensions.cs (1)
47 var typeArguments = xmlType.TypeArguments;
Microsoft.Maui.Graphics (4)
Text\AttributedTextExtensions.cs (2)
87 IList<IAttributedTextRun> runs, 154 public static IList<AttributedTextBlock> CreateBlocks(this IAttributedText text)
Text\AttributedTextRunExtensions.cs (2)
66 public static IList<IAttributedTextRun> CalculatedIntersections( 194 var intersections = previous.CalculatedIntersections(run);
Microsoft.Maui.Maps (2)
Core\IMap.cs (2)
44 IList<IMapPin> Pins { get; } 49 IList<IMapElement> Elements { get; }
Microsoft.ML.AutoML (6)
API\ExperimentBase.cs (2)
316var runDetails = experiment.Execute(); 351var runDetails = experiment.Execute();
Experiment\Experiment.cs (2)
28private readonly IList<SuggestedPipelineRunDetail> _history; 115public IList<TRunDetail> Execute()
Experiment\SuggestedPipeline.cs (2)
18public readonly IList<SuggestedTransform> Transforms; 20public readonly IList<SuggestedTransform> TransformsPostTrainer;
Microsoft.ML.CodeGenerator (16)
CodeGenerator\CSharp\CodeGenerator.cs (6)
166var classLabels = GenerateClassLabels(); 205var preTrainerTransformsAndUsings = GenerateTransformsAndUsings(nodes); 211var postTrainerTransformsAndUsings = GenerateTransformsAndUsings(nodes); 238internal IList<(string, string[])> GenerateTransformsAndUsings(IEnumerable<PipelineNode> nodes) 266internal IList<string> GenerateClassLabels(IDictionary<string, CodeGeneratorSettings.ColumnMapping> columnMapping = default) 307private string GenerateModelInputCSFileContent(string namespaceValue, IList<string> classLabels)
CodeGenerator\CSharp\PipelineExtension.cs (3)
23var preTrainerTransformsAndUsings = GenerateTransformsAndUsings(nodes); 29var postTrainerTransformsAndUsings = GenerateTransformsAndUsings(nodes); 56internal static IList<(string, string[])> GenerateTransformsAndUsings(IEnumerable<PipelineNode> nodes)
Templates\Azure\Console\AzureModelBuilder.cs (1)
127public IList<string> PreTrainerTransforms {get;set;}
Templates\Console\ModelBuilder.cs (2)
436public IList<string> PreTrainerTransforms {get;set;} 446public IList<string> PostTrainerTransforms {get;set;}
Templates\Console\ModelInputClass.cs (1)
45public IList<string> ClassLabels {get;set;}
Templates\Console\PredictProgram.cs (1)
104public IList<string> Features {get;set;}
Utils.cs (2)
261internal static IList<string> GenerateClassLabels(ColumnInferenceResults columnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping> columnMapping = default) 263IList<string> result = new List<string>();
Microsoft.ML.CodeGenerator.Tests (17)
ApprovalTests\ConsoleCodeGeneratorTests.cs (1)
343var columnMappingStringList = Utils.GenerateClassLabels(columnInference);
CodeGenTests.cs (3)
72var actual = codeGenerator.GenerateTransformsAndUsings(new List<PipelineNode>() { node }); 86var actual = codeGenerator.GenerateTransformsAndUsings(new List<PipelineNode>() { node }); 113var actualLabels = codeGenerator.GenerateClassLabels();
TransformGeneratorTests.cs (13)
29var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 43var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 57var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 71var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 85var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 99var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 113var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 127var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 141var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 155var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 169var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 183var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node }); 197var actual = codeGenerator.GenerateTransformsAndUsings(new PipelineNode[] { node });
Microsoft.ML.Core (15)
Utilities\BinFinder.cs (3)
28public Single[] FindBins(int cbin, IList<Single> values, int numZeroes = 0) 106public Double[] FindBins(int cbin, IList<Double> values, int numZeroes = 0) 183public void FindBinsWithCounts(IList<int> counts, int numValues, int cbin, int[] path)
Utilities\SupervisedBinFinder.cs (4)
62public Single[] FindBins(int maxBins, int minBinSize, int nLabels, IList<Single> values, IList<int> labels) 140public Double[] FindBins(int maxBins, int minBinSize, int nLabels, IList<Double> values, IList<int> labels)
Utilities\Utils.cs (8)
78public static int Size<T>(IList<T> x) 206public static int FindIndexSorted(this IList<int> input, int value) 218public static int FindIndexSorted(this IList<float> input, float value) 285public static int FindIndexSorted(this IList<int> input, int min, int lim, int value) 319public static int FindIndexSorted(this IList<float> input, int min, int lim, float value) 599public static bool IsMonotonicallyIncreasing(IList<float> values) 625public static bool IsMonotonicallyIncreasing(IList<int> values) 651public static bool IsMonotonicallyIncreasing(IList<double> values)
Microsoft.ML.Core.Tests (3)
UnitTests\TestEntryPoints.cs (3)
2244var kvps = summaryKvps.GetSummaryInKeyValuePairs(null); 2248var list = kvp.Value as IList<KeyValuePair<string, object>>;
Microsoft.ML.Data (11)
DataLoadSave\LegacyCompositeDataLoader.cs (1)
520public static void SavePipe(IHostEnvironment env, ModelSaveContext ctx, Action<ModelSaveContext> loaderSaveAction, IList<IDataTransform> transforms)
DataView\DataViewConstructionUtils.cs (4)
25public static IDataView CreateFromList<TRow>(IHostEnvironment env, IList<TRow> data, 604private readonly IList<TRow> _data; 606public ListDataView(IHostEnvironment env, IList<TRow> data, InternalSchemaDefinition schemaDefn) 629private readonly IList<TRow> _data;
Dirty\PredictorInterfaces.cs (3)
19IParameterMixer CombineParameters(IList<IParameterMixer> models); 28IParameterMixer<TOutput> CombineParameters(IList<IParameterMixer<TOutput>> models); 113IList<KeyValuePair<string, object>> GetSummaryInKeyValuePairs(RoleMappedSchema schema);
Prediction\Calibrator.cs (3)
257IList<KeyValuePair<string, object>> ICanGetSummaryInKeyValuePairs.GetSummaryInKeyValuePairs(RoleMappedSchema schema) 617IParameterMixer<float> IParameterMixer<float>.CombineParameters(IList<IParameterMixer<float>> models) 1820IParameterMixer IParameterMixer.CombineParameters(IList<IParameterMixer> calibrators)
Microsoft.ML.Ensemble (17)
PipelineEnsemble.cs (2)
701IList<KeyValuePair<string, object>> ICanGetSummaryInKeyValuePairs.GetSummaryInKeyValuePairs(RoleMappedSchema schema) 732var listCur = summaryKvps.GetSummaryInKeyValuePairs(rmd.Schema);
Selector\DiversityMeasure\BaseDisagreementDiversityMeasure.cs (1)
14public List<ModelDiversityMetric<TOutput>> CalculateDiversityMeasure(IList<FeatureSubsetModel<TOutput>> models,
Selector\IDiversityMeasure.cs (1)
16List<ModelDiversityMetric<TOutput>> CalculateDiversityMeasure(IList<FeatureSubsetModel<TOutput>> models,
Selector\ISubModelSelector.cs (2)
15IList<FeatureSubsetModel<TOutput>> Prune(IList<FeatureSubsetModel<TOutput>> models);
Selector\SubModelSelector\BaseBestPerformanceSelector.cs (2)
31public override IList<FeatureSubsetModel<TOutput>> Prune(IList<FeatureSubsetModel<TOutput>> models)
Selector\SubModelSelector\BaseDiverseSelector.cs (3)
69public override IList<FeatureSubsetModel<TOutput>> Prune(IList<FeatureSubsetModel<TOutput>> models) 115public abstract List<ModelDiversityMetric<TOutput>> CalculateDiversityMeasure(IList<FeatureSubsetModel<TOutput>> models,
Selector\SubModelSelector\BaseSubModelSelector.cs (3)
28protected void Print(IChannel ch, IList<FeatureSubsetModel<TOutput>> models, string metricName) 52public virtual IList<FeatureSubsetModel<TOutput>> Prune(IList<FeatureSubsetModel<TOutput>> models)
Selector\SubModelSelector\BestDiverseSelectorBinary.cs (1)
41public override List<ModelDiversityMetric<Single>> CalculateDiversityMeasure(IList<FeatureSubsetModel<float>> models,
Selector\SubModelSelector\BestDiverseSelectorMulticlass.cs (1)
42public override List<ModelDiversityMetric<VBuffer<Single>>> CalculateDiversityMeasure(IList<FeatureSubsetModel<VBuffer<float>>> models,
Selector\SubModelSelector\BestDiverseSelectorRegression.cs (1)
39public override List<ModelDiversityMetric<Single>> CalculateDiversityMeasure(IList<FeatureSubsetModel<float>> models,
Microsoft.ML.FastTree (6)
FastTree.cs (1)
3165IList<KeyValuePair<string, object>> ICanGetSummaryInKeyValuePairs.GetSummaryInKeyValuePairs(RoleMappedSchema schema)
Training\Test.cs (3)
201protected IList<TestResult[]> History; 355IList<TestResult> result = new List<TestResult>(); 483IList<TestResult> result = new List<TestResult>()
TreeEnsemble\InternalTreeEnsemble.cs (2)
399public FeatureToGainMap(IList<InternalRegressionTree> trees, bool normalize) 404IList<int> combinedKeys = null;
Microsoft.ML.GenAI.Core (2)
CausalLMPipelineChatClient.cs (2)
39var stopSequences = options?.StopSequences ?? Array.Empty<string>(); 64var stopSequences = options?.StopSequences ?? Array.Empty<string>();
Microsoft.ML.GenAI.Mistral (2)
Mistral_7B_0_3ChatTemplateBuilder.cs (2)
114var toolCalls = message.ToolCalls; 137var toolCallResults = message.ToolCalls;
Microsoft.ML.IntegrationTests (4)
Common.cs (2)
331public static void AssertFiniteNumbers(IList<float> array, int ignoreElementAt = -1) 346public static void AssertFiniteNumbers(IList<double> array, int ignoreElementAt = -1)
IntrospectiveTraining.cs (2)
161Common.AssertFiniteNumbers(shapeFunctionBins as IList<double>, shapeFunctionBins.Count - 1); 162Common.AssertFiniteNumbers(shapeFunctionValues as IList<double>);
Microsoft.ML.Predictor.Tests (32)
TestPredictors.cs (32)
52public IList<TestDataset> GetDatasetsForBinaryClassifierBaseTest() 61public IList<TestDataset> GetDatasetsForMulticlassClassificationTest() 72public IList<TestDataset> GetDatasetsForRegressorTest() 80public IList<TestDataset> GetDatasetsForRankingTest() 88public IList<TestDataset> GetDatasetsForBinaryClassifierMoreTest() 101public IList<TestDataset> GetDatasetsForClassificationWeightingPredictorsTest() 114var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest(); 183var datasets = GetDatasetsForMulticlassClassificationTest(); 263var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest(); 310var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest(); 336var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest(); 355var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest(); 395var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest(); 415var regressionDatasets = GetDatasetsForRegressorTest(); 1054var rankingDatasets = GetDatasetsForRankingTest(); 1075var datasets = GetDatasetsForRegressorTest(); 1092var datasets = GetDatasetsForRegressorTest(); 1111var datasets = GetDatasetsForBinaryClassifierBaseTest(); 1146var binaryClassificationDatasets = GetDatasetsForBinaryClassifierMoreTest(); 1162var regressionDatasets = GetDatasetsForRegressorTest(); 1176var regressionDatasets = GetDatasetsForRegressorTest(); 1189var regressionDatasets = GetDatasetsForRegressorTest(); 1541var rankingDatasets = GetDatasetsForRankingTest(); 1596public IList<TestDataset> GetDatasetsForCalibratorTest() 1608var datasets = GetDatasetsForCalibratorTest(); 1620var datasets = GetDatasetsForCalibratorTest(); 1632var datasets = GetDatasetsForCalibratorTest(); 1644var datasets = GetDatasetsForCalibratorTest(); 1656var datasets = GetDatasetsForCalibratorTest(); 2152var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest(); 2166var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest(); 2180var binaryClassificationDatasets = GetDatasetsForBinaryClassifierBaseTest();
Microsoft.ML.ResultProcessor (2)
ResultProcessor.cs (2)
888protected static Dictionary<string, ResultMetric> GetPerFoldResults(IList<string> lines) 961protected static KeyValuePair<int, Dictionary<string, float>> AddFoldResults(IList<string> lines)
Microsoft.ML.Samples (1)
Dynamic\SimpleDataViewImplementation.cs (1)
210/// <see cref="IList{T}"/> or some other such structure, and shuffling
Microsoft.ML.StandardTrainers (8)
Optimizer\DifferentiableFunction.cs (1)
288public static void TestCoords(DifferentiableFunction f, in VBuffer<float> x, IList<int> coords)
Standard\LinearModelParameters.cs (6)
327private protected void CombineParameters(IList<IParameterMixer<float>> models, out VBuffer<float> weights, out float bias) 515IParameterMixer<float> IParameterMixer<float>.CombineParameters(IList<IParameterMixer<float>> models) 536IList<KeyValuePair<string, object>> ICanGetSummaryInKeyValuePairs.GetSummaryInKeyValuePairs(RoleMappedSchema schema) 672IParameterMixer<float> IParameterMixer<float>.CombineParameters(IList<IParameterMixer<float>> models) 681IList<KeyValuePair<string, object>> ICanGetSummaryInKeyValuePairs.GetSummaryInKeyValuePairs(RoleMappedSchema schema) 773IParameterMixer<float> IParameterMixer<float>.CombineParameters(IList<IParameterMixer<float>> models)
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
832IList<KeyValuePair<string, object>> ICanGetSummaryInKeyValuePairs.GetSummaryInKeyValuePairs(RoleMappedSchema schema)
Microsoft.ML.TestFramework (2)
BaseTestPredictorsMaml.cs (2)
342IList<PredictorAndArgs> predictors, IList<TestDataset> datasets,
Microsoft.ML.Tokenizers (21)
Model\BPETokenizer.cs (3)
1374internal int WordToIds(ref Word word, IList<int>? accumulatedIds, out int charsConsumed, int fullTextLength, int maxTokens) 1395internal int WordToIdsFromEnd(ref Word word, IList<int>? accumulatedIds, out int textIndex, int fullTextLength, int maxTokens) 1496internal int EncodeToIdsFromEndWithCache(ReadOnlySpan<char> text, IList<int>? accumulatedIds, int maxTokens, out int textIndex, ref PriorityQueue<Merge>? priorityQueue)
Model\CodeGenTokenizer.cs (4)
1013private int EncodeToIdsResult(List<EncodedToken> tokens, IList<int>? accumulatedIds, int maxTokens, int fullTextLength, out int charsConsumed) 1069private int EncodeToIdsFromEndResult(List<EncodedToken> tokens, IList<int>? accumulatedIds, int maxTokens, int fullTextLength, out int textIndex) 1104private int EncodeToIdsInternal(string? text, scoped ReadOnlySpan<char> textSpan, IList<int>? accumulatedIds, PriorityQueue<SymbolPair> agenda, out int charsConsumed, int maxTokens) 1168private int EncodeToIdsFromEndInternal(string? text, scoped ReadOnlySpan<char> textSpan, IList<int>? accumulatedIds, PriorityQueue<SymbolPair> agenda, out int textIndex, int maxTokens)
Model\EnglishRobertaTokenizer.cs (4)
588private int EncodeToIdsResult(List<EncodedToken> tokens, IList<int>? accumulatedIds, int maxTokens, int fullTextLength, out int charsConsumed) 625private int EncodeToIdsFromEndResult(List<EncodedToken> tokens, IList<int>? accumulatedIds, int maxTokens, int fullTextLength, out int textIndex) 662private int EncodeToIdsInternal(ReadOnlySpan<char> text, IList<int>? accumulatedIds, out int charsConsumed, int maxTokens) 707private int EncodeToIdsFromEndInternal(ReadOnlySpan<char> text, IList<int>? accumulatedIds, out int textIndex, int maxTokens)
Model\SentencePieceBpeModel.cs (2)
357private int EncodeToIdsWithAddedToken(ReadOnlySpan<char> text, bool addBeginOfSentence, bool addEndOfSentence, IList<int> accumulatedIds, out int charsConsumed, int maxTokens = int.MaxValue) 419private int EncodeToIds(ReadOnlySpan<char> text, bool addBeginOfSentence, bool addEndOfSentence, IList<int> accumulatedIds, out int charsConsumed, int maxTokens = int.MaxValue)
Model\TiktokenTokenizer.cs (3)
418private int EncodeToIds(ReadOnlySpan<char> text, IList<int> accumulatedIds, out int charsConsumed, int maxTokenCount = int.MaxValue) 464private int EncodeToIdsResult((int Id, int TokenIndex, int TokenLength)[] tokens, IList<int>? accumulatedIds, int maxTokens, int fullTextLength, out int charsConsumed) 755private int EncodeToIdsFromEndResult((int Id, int TokenIndex, int TokenLength)[] tokens, IList<int>? accumulatedIds, int maxTokens, int fullTextLength, out int textIndex)
Model\Word.cs (3)
197public void PopulateIds(IList<int> accumulatedIds) 205public int PopulateIdsUpToMax(IList<int> accumulatedIds, int maxTokens, out int charsConsumed) 220public int PopulateIdsUpToMaxFromEnd(IList<int> accumulatedIds, int maxTokens, int fullTextLength, out int textIndex)
Utils\IListExtensions.cs (2)
11public static void AddRange<T>(this IList<T> list, IEnumerable<T> items) 17else if (items is IList<T> listToAdd)
Microsoft.ML.TorchSharp (6)
NasBert\Models\NasBertEncoder.cs (1)
63IList<int> arches = null,
NasBert\NasBertTrainer.cs (2)
582private IList<int> PrepInputTokens(ref ReadOnlyMemory<char> sentence1, ref ReadOnlyMemory<char> sentence2, ref ValueGetter<ReadOnlyMemory<char>> getSentence1, ref ValueGetter<ReadOnlyMemory<char>> getSentence2, Tokenizer tokenizer) 600private Tensor PrepAndRunModel(IList<int> tokens)
Roberta\QATrainer.cs (1)
920var topKSpans = MetricUtils.ComputeTopKSpansWithScore(logits, _parent.Options.TopKAnswers, questionLength, contextLength);
Utils\DataUtils.cs (1)
17public static torch.Tensor CollateTokens(IList<torch.Tensor> values, int padIndex, int? eosIndex = null,
Utils\MetricUtils.cs (1)
23public static IList<(int start, int end, float score)> ComputeTopKSpansWithScore(torch.Tensor logits, int k, int input0Len, int input1Len)
Microsoft.Net.Http.Headers (79)
CacheControlHeaderValue.cs (2)
102private IList<NameValueHeaderValue>? _extensions; 316public IList<NameValueHeaderValue> Extensions
ContentDispositionHeaderValue.cs (1)
81public IList<NameValueHeaderValue> Parameters
CookieHeaderValue.cs (8)
128public static IList<CookieHeaderValue> ParseList(IList<string>? inputs) 138public static IList<CookieHeaderValue> ParseStrictList(IList<string>? inputs) 149public static bool TryParseList(IList<string>? inputs, [NotNullWhen(true)] out IList<CookieHeaderValue>? parsedValues) 160public static bool TryParseStrictList(IList<string>? inputs, [NotNullWhen(true)] out IList<CookieHeaderValue>? parsedValues)
EntityTagHeaderValue.cs (8)
173public static IList<EntityTagHeaderValue> ParseList(IList<string>? inputs) 183public static IList<EntityTagHeaderValue> ParseStrictList(IList<string>? inputs) 194public static bool TryParseList(IList<string>? inputs, [NotNullWhen(true)] out IList<EntityTagHeaderValue>? parsedValues) 205public static bool TryParseStrictList(IList<string>? inputs, [NotNullWhen(true)] out IList<EntityTagHeaderValue>? parsedValues)
HeaderUtilities.cs (2)
21internal static void SetQuality(IList<NameValueHeaderValue> parameters, double? value) 56internal static double? GetQuality(IList<NameValueHeaderValue>? parameters)
HttpHeaderParser.cs (12)
47public virtual bool TryParseValues(IList<string>? values, [NotNullWhen(true)] out IList<T>? parsedValues) 52public virtual bool TryParseStrictValues(IList<string>? values, [NotNullWhen(true)] out IList<T>? parsedValues) 57protected virtual bool TryParseValues(IList<string>? values, bool strict, [NotNullWhen(true)] out IList<T>? parsedValues) 106public virtual IList<T> ParseValues(IList<string>? values) 111public virtual IList<T> ParseStrictValues(IList<string>? values) 116protected virtual IList<T> ParseValues(IList<string>? values, bool strict)
MediaTypeHeaderValue.cs (15)
181/// Gets or sets the media type's parameters. Returns an empty <see cref="IList{T}"/> 184public IList<NameValueHeaderValue> Parameters 318/// Get a <see cref="IList{T}"/> of facets of the <see cref="MediaTypeHeaderValue"/>. Facets are a 518/// Takes an <see cref="IList{T}"/> of <see cref="string"/> and parses it into the <see cref="MediaTypeHeaderValue"></see> and its associated parameters. 522public static IList<MediaTypeHeaderValue> ParseList(IList<string>? inputs) 528/// Takes an <see cref="IList{T}"/> of <see cref="string"/> and parses it into the <see cref="MediaTypeHeaderValue"></see> and its associated parameters. 533public static IList<MediaTypeHeaderValue> ParseStrictList(IList<string>? inputs) 539/// Takes an <see cref="IList{T}"/> of <see cref="string"/> and parses it into the <see cref="MediaTypeHeaderValue"></see> and its associated parameters. 544public static bool TryParseList(IList<string>? inputs, [NotNullWhen(true)] out IList<MediaTypeHeaderValue>? parsedValues) 550/// Takes an <see cref="IList{T}"/> of <see cref="string"/> and parses it into the <see cref="MediaTypeHeaderValue"></see> and its associated parameters. 555public static bool TryParseStrictList(IList<string>? inputs, [NotNullWhen(true)] out IList<MediaTypeHeaderValue>? parsedValues)
NameValueHeaderValue.cs (13)
231public static IList<NameValueHeaderValue> ParseList(IList<string>? input) 241public static IList<NameValueHeaderValue> ParseStrictList(IList<string>? input) 252public static bool TryParseList(IList<string>? input, [NotNullWhen(true)] out IList<NameValueHeaderValue>? parsedValues) 263public static bool TryParseStrictList(IList<string>? input, [NotNullWhen(true)] out IList<NameValueHeaderValue>? parsedValues) 279IList<NameValueHeaderValue>? values, 307internal static string? ToString(IList<NameValueHeaderValue>? values, char separator, bool leadingSeparator) 321internal static int GetHashCode(IList<NameValueHeaderValue>? values) 392IList<NameValueHeaderValue> nameValueCollection) 434public static NameValueHeaderValue? Find(IList<NameValueHeaderValue>? values, StringSegment name)
ObjectCollection.cs (1)
22private static IList<T> CreateInnerList(bool isReadOnly, IEnumerable<T>? other = null)
SetCookieHeaderValue.cs (9)
182public IList<StringSegment> Extensions 435public static IList<SetCookieHeaderValue> ParseList(IList<string>? inputs) 445public static IList<SetCookieHeaderValue> ParseStrictList(IList<string>? inputs) 456public static bool TryParseList(IList<string>? inputs, [NotNullWhen(true)] out IList<SetCookieHeaderValue>? parsedValues) 467public static bool TryParseStrictList(IList<string>? inputs, [NotNullWhen(true)] out IList<SetCookieHeaderValue>? parsedValues)
StringWithQualityHeaderValue.cs (8)
148public static IList<StringWithQualityHeaderValue> ParseList(IList<string>? input) 158public static IList<StringWithQualityHeaderValue> ParseStrictList(IList<string>? input) 169public static bool TryParseList(IList<string>? input, [NotNullWhen(true)] out IList<StringWithQualityHeaderValue>? parsedValues) 180public static bool TryParseStrictList(IList<string>? input, [NotNullWhen(true)] out IList<StringWithQualityHeaderValue>? parsedValues)
Microsoft.Net.Http.Headers.Tests (76)
CookieHeaderValueTest.cs (21)
78public static TheoryData<IList<CookieHeaderValue>, string?[]> ListOfStrictCookieHeaderDataSet 82var dataset = new TheoryData<IList<CookieHeaderValue>, string?[]>(); 107public static TheoryData<IList<CookieHeaderValue>, string?[]> ListOfCookieHeaderDataSet 114var dataset = new TheoryData<IList<CookieHeaderValue>, string?[]>(); 121public static TheoryData<IList<CookieHeaderValue>?, string?[]> ListWithInvalidCookieHeaderDataSet 125var dataset = new TheoryData<IList<CookieHeaderValue>?, string?[]>(); 255public void CookieHeaderValue_ParseList_AcceptsValidValues(IList<CookieHeaderValue> cookies, string[] input) 257var results = CookieHeaderValue.ParseList(input); 264public void CookieHeaderValue_ParseStrictList_AcceptsValidValues(IList<CookieHeaderValue> cookies, string[] input) 266var results = CookieHeaderValue.ParseStrictList(input); 273public void CookieHeaderValue_TryParseList_AcceptsValidValues(IList<CookieHeaderValue> cookies, string[] input) 275var result = CookieHeaderValue.TryParseList(input, out var results); 283public void CookieHeaderValue_TryParseStrictList_AcceptsValidValues(IList<CookieHeaderValue> cookies, string[] input) 285var result = CookieHeaderValue.TryParseStrictList(input, out var results); 293public void CookieHeaderValue_ParseList_ExcludesInvalidValues(IList<CookieHeaderValue>? cookies, string[] input) 295var results = CookieHeaderValue.ParseList(input); 302public void CookieHeaderValue_TryParseList_ExcludesInvalidValues(IList<CookieHeaderValue>? cookies, string[] input) 304var result = CookieHeaderValue.TryParseList(input, out var results); 313IList<CookieHeaderValue>? cookies, 324IList<CookieHeaderValue>? cookies, 328var result = CookieHeaderValue.TryParseStrictList(input, out var results);
EntityTagHeaderValueTest.cs (9)
246var result = EntityTagHeaderValue.ParseList(null); 262Assert.False(EntityTagHeaderValue.TryParseList(null, out var results)); 282IList<EntityTagHeaderValue> results = EntityTagHeaderValue.ParseList(inputs); 315IList<EntityTagHeaderValue> results = EntityTagHeaderValue.ParseStrictList(inputs); 348Assert.True(EntityTagHeaderValue.TryParseList(inputs, out var results)); 380Assert.True(EntityTagHeaderValue.TryParseStrictList(inputs, out var results)); 412var results = EntityTagHeaderValue.ParseList(inputs); 460Assert.True(EntityTagHeaderValue.TryParseList(inputs, out var results)); 490Assert.False(EntityTagHeaderValue.TryParseStrictList(inputs, out var results));
MediaTypeHeaderValueComparerTests.cs (2)
63var unsortedValues = MediaTypeHeaderValue.ParseList(unsorted.ToList()); 64var expectedSortedValues = MediaTypeHeaderValue.ParseList(expectedSorted.ToList());
MediaTypeHeaderValueTest.cs (9)
519var results = MediaTypeHeaderValue.ParseList(null); 535Assert.False(MediaTypeHeaderValue.TryParseList(null, out var results)); 544var results = MediaTypeHeaderValue.ParseList(inputs); 562var results = MediaTypeHeaderValue.ParseStrictList(inputs); 580Assert.True(MediaTypeHeaderValue.TryParseList(inputs, out var results)); 598Assert.True(MediaTypeHeaderValue.TryParseStrictList(inputs, out var results)); 620var results = MediaTypeHeaderValue.ParseList(inputs); 655Assert.True(MediaTypeHeaderValue.TryParseList(inputs, out var results)); 679Assert.False(MediaTypeHeaderValue.TryParseStrictList(inputs, out var results));
NameValueHeaderValueTest.cs (7)
344var results = NameValueHeaderValue.ParseList(inputs); 377var results = NameValueHeaderValue.ParseStrictList(inputs); 410Assert.True(NameValueHeaderValue.TryParseList(inputs, out var results)); 443Assert.True(NameValueHeaderValue.TryParseStrictList(inputs, out var results)); 476var results = NameValueHeaderValue.ParseList(inputs); 530Assert.True(NameValueHeaderValue.TryParseList(inputs, out var results)); 566Assert.False(NameValueHeaderValue.TryParseStrictList(inputs, out var results));
SetCookieHeaderValueTest.cs (19)
127public static TheoryData<IList<SetCookieHeaderValue>, string?[]> ListOfSetCookieHeaderDataSet 131var dataset = new TheoryData<IList<SetCookieHeaderValue>, string?[]>(); 230public static TheoryData<IList<SetCookieHeaderValue>?, string?[]> ListWithInvalidSetCookieHeaderDataSet 234var dataset = new TheoryData<IList<SetCookieHeaderValue>?, string?[]>(); 400public void SetCookieHeaderValue_ParseList_AcceptsValidValues(IList<SetCookieHeaderValue> cookies, string[] input) 402var results = SetCookieHeaderValue.ParseList(input); 409public void SetCookieHeaderValue_TryParseList_AcceptsValidValues(IList<SetCookieHeaderValue> cookies, string[] input) 411bool result = SetCookieHeaderValue.TryParseList(input, out var results); 431public void SetCookieHeaderValue_ParseStrictList_AcceptsValidValues(IList<SetCookieHeaderValue> cookies, string[] input) 433var results = SetCookieHeaderValue.ParseStrictList(input); 440public void SetCookieHeaderValue_TryParseStrictList_AcceptsValidValues(IList<SetCookieHeaderValue> cookies, string[] input) 442bool result = SetCookieHeaderValue.TryParseStrictList(input, out var results); 450public void SetCookieHeaderValue_ParseList_ExcludesInvalidValues(IList<SetCookieHeaderValue>? cookies, string[] input) 452var results = SetCookieHeaderValue.ParseList(input); 459public void SetCookieHeaderValue_TryParseList_ExcludesInvalidValues(IList<SetCookieHeaderValue>? cookies, string[] input) 461bool result = SetCookieHeaderValue.TryParseList(input, out var results); 470IList<SetCookieHeaderValue>? cookies, 481IList<SetCookieHeaderValue>? cookies, 485bool result = SetCookieHeaderValue.TryParseStrictList(input, out var results);
StringWithQualityHeaderValueComparerTest.cs (2)
52var unsortedValues = StringWithQualityHeaderValue.ParseList(unsorted.ToList()); 53var expectedSortedValues = StringWithQualityHeaderValue.ParseList(expectedSorted.ToList());
StringWithQualityHeaderValueTest.cs (7)
217IList<StringWithQualityHeaderValue> results = StringWithQualityHeaderValue.ParseList(inputs); 254IList<StringWithQualityHeaderValue> results = StringWithQualityHeaderValue.ParseStrictList(inputs); 291Assert.True(StringWithQualityHeaderValue.TryParseList(inputs, out var results)); 328Assert.True(StringWithQualityHeaderValue.TryParseStrictList(inputs, out var results)); 366var results = StringWithQualityHeaderValue.ParseList(inputs); 424Assert.True(StringWithQualityHeaderValue.TryParseList(inputs, out var results)); 462Assert.False(StringWithQualityHeaderValue.TryParseStrictList(inputs, out var results));
Microsoft.VisualStudio.LanguageServices (36)
Extensions\DocumentExtensions.cs (1)
19public static IList<Tuple<TextSpan, uint>> GetVisibleCodeBlocks(this Document document, CancellationToken cancellationToken)
FindReferences\Entries\AbstractItemEntry.cs (2)
30var inlines = CreateLineTextInlines(); 41protected abstract IList<Inline> CreateLineTextInlines();
FindReferences\Entries\DefinitionItemEntry.cs (1)
38protected override IList<Inline> CreateLineTextInlines()
FindReferences\Entries\DocumentSpanEntry.cs (2)
105protected override IList<System.Windows.Documents.Inline> CreateLineTextInlines() 126var inlines = classifiedTexts.ToInlines(
FindReferences\Entries\MetadataDefinitionItemEntry.cs (1)
49protected override IList<Inline> CreateLineTextInlines()
FindReferences\Entries\NonNavigableEntry.cs (1)
26protected override IList<Inline> CreateLineTextInlines()
GenerateType\GenerateTypeDialogViewModel.cs (1)
629public IList<string> ProjectFolders { get; private set; }
InheritanceMargin\InheritanceGlyphManager.cs (3)
130public void SetSnapshotAndUpdate(ITextSnapshot snapshot, IList<ITextViewLine> newOrReformattedLines, IList<ITextViewLine> translatedLines) 163private static ITextViewLine? GetStartingLine(IList<ITextViewLine> lines, Span span)
InheritanceMargin\InheritanceMarginViewMargin.cs (1)
115IList<ITextViewLine> lines = _refreshAllGlyphs ? _textView.TextViewLines : e.NewOrReformattedLines;
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (1)
56var inlines = member.DisplayTexts.ToInlines(_classificationFormatMap, _classificationTypeMap);
LanguageService\AbstractLanguageService`2.IVsLanguageTextOps.cs (1)
75var originalChanges = formatter.GetFormattingResult(
LanguageService\AbstractLanguageService`2.VsLanguageDebugInfo.cs (1)
157var proximityExpressions = await _proximityExpressionsService.GetProximityExpressionsAsync(
NavigationBar\NavigationBarClient.cs (2)
37private IList<NavigationBarProjectItem> _projectItems; 38private IList<NavigationBarItem> _currentTypeItems;
ProjectSystem\VisualStudioProjectManagementService.cs (1)
58public IList<string> GetFolders(ProjectId projectId, Workspace workspace)
Utilities\BindableTextBlock.cs (4)
17public IList<Inline> InlineCollection 24DependencyProperty.Register(nameof(InlineCollection), typeof(IList<Inline>), typeof(BindableTextBlock), new UIPropertyMetadata(null, OnPropertyChanged)); 29var newList = (IList<Inline>)e.NewValue;
Utilities\VsEnumBSTR.cs (2)
12private readonly IList<string> _values; 15public VsEnumBSTR(IList<string> values)
Utilities\VsEnumDebugName.cs (2)
12private readonly IList<IVsDebugName> _values; 15public VsEnumDebugName(IList<IVsDebugName> values)
Venus\CodeBlockEnumerator.cs (2)
17private readonly IList<TextSpanAndCookie> _codeBlocks; 20public CodeBlockEnumerator(IList<TextSpanAndCookie> codeBlocks)
Venus\ContainedDocument.cs (2)
721IList<TextSpan> visibleSpansInOriginal, 809var changes = formatter.GetFormattingResult(
Venus\ContainedLanguage.IVsContainedCode.cs (2)
33IList<TextSpanAndCookie> result = null; 47private IList<TextSpanAndCookie> EnumOriginalCodeBlocksWorker(CancellationToken cancellationToken)
Watson\FaultReporter.cs (2)
267private static IList<string> CollectLogHubFilePaths() 283private static IList<string> CollectServiceHubLogFilePaths()
Workspace\VisualStudioFormattingRuleFactoryServiceFactory.cs (1)
90public IEnumerable<TextChange> FilterFormattedChanges(DocumentId documentId, TextSpan span, IList<TextChange> changes)
Microsoft.VisualStudio.LanguageServices.CSharp (4)
CodeModel\CSharpCodeModelService.cs (4)
1221private static IList<SyntaxTrivia> CollectComments(IList<SyntaxTrivia> triviaList) 1247var commentList = CollectComments(firstToken.LeadingTrivia.ToArray()); 1297var commentList = CollectComments(leadingTriviaList);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
102private EditorTestLspServer(EditorTestWorkspace testWorkspace, Dictionary<string, IList<LanguageServer.Protocol.Location>> locations, InitializationOptions options, AbstractLspLogger logger) : base(testWorkspace, locations, options, logger)
Microsoft.VisualStudio.LanguageServices.Implementation (4)
CodeModel\AbstractCodeModelService.cs (1)
1256public virtual IList<string> GetHandledEventNames(SyntaxNode method, SemanticModel semanticModel)
CodeModel\ICodeModelService.cs (1)
354IList<string> GetHandledEventNames(SyntaxNode method, SemanticModel semanticModel);
CodeModel\InternalElements\CodeFunctionWithEventHandler.cs (1)
88var handledEvents = CodeModelService.GetHandledEventNames(node, semanticModel);
Options\Style\NamingPreferences\NamingStyles\NamingStyleViewModel.cs (1)
44public IList<CapitalizationDisplay> CapitalizationSchemes { get; set; }
Microsoft.VisualStudio.LanguageServices.Xaml (5)
Features\Formatting\IXamlFormattingService.cs (2)
18Task<IList<TextChange>> GetFormattingChangesAsync(TextDocument document, XamlFormattingOptions options, TextSpan? textSpan, CancellationToken cancellationToken); 19Task<IList<TextChange>> GetFormattingChangesAsync(TextDocument document, XamlFormattingOptions options, char typedChar, int position, CancellationToken cancellationToken);
Features\InlineRename\IXamlRenameInfo.cs (1)
54Task<IList<DocumentSpan>> FindRenameLocationsAsync(bool renameInStrings, bool renameInComments, CancellationToken cancellationToken);
Features\InlineRename\XamlEditorInlineRenameService.cs (2)
81var renameLocations = await _renameInfo.FindRenameLocationsAsync( 157public IList<InlineRenameLocation> Locations { get; }
MilvusPlayground.ApiService (1)
Program.cs (1)
86IList<MilvusIndexInfo> indexInfos = await collection.DescribeIndexAsync("book_intro");
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
96[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IList<>))]
Mvc.Api.Analyzers.Test (16)
ActualApiResponseMetadataFactoryTest.cs (2)
362private async Task<(bool result, IList<ActualApiResponseMetadata> responseMetadatas, TestSource testSource)> TryGetActualResponseMetadata(string typeName, string methodName) 377var result = ActualApiResponseMetadataFactory.TryGetActualResponseMetadata(symbolCache, methodOperation, out var responseMetadatas);
SymbolApiResponseMetadataProviderTest.cs (14)
23var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 41var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 59var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 77var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 100var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 123var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 146var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 169var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 191var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 222var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 244var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 277var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 300var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method); 322var result = SymbolApiResponseMetadataProvider.GetDeclaredResponseMetadata(symbolCache, method);
netstandard (1)
netstandard.cs (1)
118[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IList<>))]
PresentationBuildTasks (19)
src\Microsoft.DotNet.Wpf\src\PresentationCore\MS\internal\Media\ParserStreamGeometryContext.cs (4)
170public override void PolyLineTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 181public override void PolyQuadraticBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 192public override void PolyBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 662private void SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes opCode, IList<Point> points, bool bool1, bool bool2)
src\Microsoft.DotNet.Wpf\src\PresentationCore\System\Windows\Media\StreamGeometryContext.cs (3)
105public abstract void PolyLineTo(IList<Point> points, bool isStroked, bool isSmoothJoin); 110public abstract void PolyQuadraticBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin); 115public abstract void PolyBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (1)
851IList<CustomAttributeData> customAttributes = CustomAttributeData.GetCustomAttributes(property);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
4923IList<CustomAttributeData> attributes = CustomAttributeData.GetCustomAttributes(collectionType); 5707IList<CustomAttributeData> list = CustomAttributeData.GetCustomAttributes(baseType);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (3)
214IList<CustomAttributeData> allAttributes = CustomAttributeData.GetCustomAttributes(asm); 236IList<CustomAttributeTypedArgument> constructorArguments = data.ConstructorArguments; 256IList<CustomAttributeTypedArgument> constructorArguments = data.ConstructorArguments;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (6)
229IList<CustomAttributeData> list = CustomAttributeData.GetCustomAttributes(mi); 241IList<CustomAttributeData> list = CustomAttributeData.GetCustomAttributes(t); 250private static string GetCustomAttributeData(IList<CustomAttributeData> list, Type attrType, out Type typeValue, bool allowTypeAlso, bool allowZeroArgs) 285IList<CustomAttributeData> list = CustomAttributeData.GetCustomAttributes(currentType); 330IList<CustomAttributeTypedArgument> constructorArguments = cad.ConstructorArguments; 488IList<CustomAttributeData> list = CustomAttributeData.GetCustomAttributes(sourceAssembly);
PresentationCore (179)
MS\Internal\FontCache\FamilyCollection.cs (1)
72private IList<CompositeFontFamily> UserCompositeFonts
MS\Internal\FontCache\FontSourceCollection.cs (1)
186private volatile IList<Text.TextInterface.IFontSource> _fontSources;
MS\Internal\IListConverters.cs (10)
109IList<double> list = value as IList<double>; 151IList<ushort> list = value as IList<ushort>; 192IList<bool> list = value as IList<bool>; 234IList<Point> list = value as IList<Point>; 272IList<char> list = value as IList<char>;
MS\Internal\Media\ParserStreamGeometryContext.cs (9)
170public override void PolyLineTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 181public override void PolyQuadraticBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 192public override void PolyBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 447IList<Point> points; 458IList<Point> points; 469IList<Point> points; 531private static IList<Point> DeserializeListOfPointsAndTwoBools(BinaryReader br, Byte firstByte, out bool bool1, out bool bool2) 534IList<Point> points; 662private void SerializeListOfPointsAndTwoBools(ParserGeometryContextOpCodes opCode, IList<Point> points, bool bool1, bool bool2)
MS\Internal\Shaping\GlyphingCache.cs (1)
46IList<TextShapeableSymbols> shapeableList,
MS\Internal\Shaping\IShapeableTextCollector.cs (1)
35IList<TextShapeableSymbols> shapeableList,
MS\Internal\Shaping\TypefaceMap.cs (3)
37private IList<ScaledShapeTypeface> _cachedScaledTypefaces = new List<ScaledShapeTypeface>(InitialScaledGlyphableTypefaceCount); 74IList<TextShapeableSymbols> shapeableList, 89IList<Span> spans;
MS\Internal\TextFormatting\Bidi.cs (7)
665IList<DirectionClass> characterClass, // [IN / OUT] 720IList<DirectionClass> characterClass, // [IN / OUT] 742IList<DirectionClass> characterClass, // [IN / OUT] 1642IList<DirectionClass> characterClass, // [IN / OUT] 1646IList<byte> levels, // [IN / OUT] 1738IList<byte> levels, // [IN/OUT] resolved level per char 1739IList<DirectionClass> characterClass, // [IN/OUT] direction class of each char
MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
51IList<TextShapeableSymbols> shapeables = symbols.GetTextShapeableSymbols( 291private IList<Point> _glyphOffsets;
MS\Internal\TextFormatting\FullTextBreakpoint.cs (1)
33internal static IList<TextBreakpoint> CreateMultiple(
MS\Internal\TextFormatting\FullTextLine.cs (5)
810public override IList<TextCollapsedRange> GetTextCollapsedRanges() 1477public override IList<TextBounds> GetTextBounds( 1964private IList<TextRunBounds> CalculateTextRunBounds(int lscpFirst, int lscpEnd) 1981IList<TextRunBounds> boundsList = new List<TextRunBounds>(2); 2049public override IList<TextSpan<TextRun>> GetTextRunSpans()
MS\Internal\TextFormatting\ITextSymbols.cs (1)
40IList<TextShapeableSymbols> GetTextShapeableSymbols(
MS\Internal\TextFormatting\LineServicesCallbacks.cs (4)
2854out IList<double> adjustedAdvanceWidths 3059IList<double> glyphAdvances; 3060IList<Point> glyphOffsets; 3203IList<double> charWidths;
MS\Internal\TextFormatting\LineServicesRun.cs (3)
29private IList<TextEffect> _textEffects; // TextEffects that should be applied for this run 37IList<TextEffect> textEffects, 70IList<TextEffect> textEffects,
MS\Internal\TextFormatting\SimpleTextLine.cs (6)
789public override IList<TextBounds> GetTextBounds( 822IList<TextRunBounds> boundsList = null; 880public override IList<TextSpan<TextRun>> GetTextRunSpans() 908IList<double> displayGlyphAdvances; 983public override IList<TextCollapsedRange> GetTextCollapsedRanges() 1755IList<double> displayGlyphAdvances;
MS\Internal\TextFormatting\TextProperties.cs (1)
97internal IList<TextTabProperties> Tabs
MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
308internal IList<TextSpan<TextRun>> GetTextRunSpans()
MS\Internal\TextFormatting\TextShapeableCharacters.cs (3)
121IList<double> glyphAdvances, 122IList<Point> glyphOffsets, 215IList<double> characterAdvances
MS\Internal\TextFormatting\TextShapeableSymbols.cs (3)
43IList<double> glyphAdvances, 44IList<Point> glyphOffsets, 131IList<double> characterAdvances
MS\Internal\TextFormatting\TextStore.cs (6)
522IList<TextEffect> activeEffects = new TextEffect[currentEffectsCount]; 1298IList<TextEffect> textEffects = (IList<TextEffect>)textEffectsSpanRider.CurrentElement; 1491IList<TextEffect> textEffects, 1649IList<TextEffect> textEffects, 1659IList<TextShapeableSymbols> shapeables = null;
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
38IList<double> realValues
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
33IList<Point> pointValues
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (2)
28private IList<T> _list; 32public PartialList(IList<T> list, int initialIndex, int count)
System\Windows\Input\InputScope.cs (2)
89private IList<InputScopeName> _scopeNames = new List<InputScopeName>(); 90private IList<InputScopePhrase> _phraseList = new List<InputScopePhrase>();
System\Windows\Input\ManipulationLogic.cs (1)
381IList<ManipulationParameters2D> parameters = startingArgs.Parameters;
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
134internal IList<ManipulationParameters2D> Parameters
System\Windows\Media\Animation\AnimationLayer.cs (4)
9private IList<AnimationClock> _animationClocks; 23IList<AnimationClock> newAnimationClocks, 116IList<AnimationClock> animationClocks) 183IList<AnimationClock> newAnimationClocks)
System\Windows\Media\Animation\AnimationStorage.cs (4)
585IList<AnimationClock> animationClocks, 691IList<AnimationClock> animationClocks, 748IList<Int64> keys = propertyTriggerLayers.Keys; 940IList<AnimationLayer> layers = storage._propertyTriggerLayers.Values;
System\Windows\Media\ByteStreamGeometryContext.cs (4)
152public override void PolyLineTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 167public override void PolyQuadraticBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 182public override void PolyBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 618private void GenericPolyTo(IList<Point> points,
System\Windows\Media\ColorContext.cs (1)
340internal static IList<ColorContext> GetColorContextsHelper(GetColorContextsDelegate getColorContexts)
System\Windows\Media\FormattedText.cs (1)
1608IList<TextBounds> highlightBounds = currentLine.GetTextBounds(
System\Windows\Media\GlyphRun.cs (49)
116IList<ushort> glyphIndices, 118IList<double> advanceWidths, 119IList<Point> glyphOffsets, 120IList<char> characters, 122IList<ushort> clusterMap, 123IList<bool> caretStops, 207IList<ushort> glyphIndices, 209IList<double> advanceWidths, 210IList<Point> glyphOffsets, 211IList<char> characters, 213IList<ushort> clusterMap, 214IList<bool> caretStops, 261IList<ushort> glyphIndices, 263IList<double> advanceWidths, 264IList<Point> glyphOffsets, 265IList<char> characters, 267IList<ushort> clusterMap, 268IList<bool> caretStops, 308IList<ushort> glyphIndices, 310IList<double> advanceWidths, 311IList<Point> glyphOffsets, 312IList<char> characters, 314IList<ushort> clusterMap, 315IList<bool> caretStops, 480IList<bool> caretStops = CaretStops != null && CaretStops.Count != 0 ? CaretStops : new DefaultCaretStopList(CodepointCount); 508IList<ushort> clusterMap = ClusterMap; 515IList<double> advances = AdvanceWidths; 571IList<double> advances = AdvanceWidths; 572IList<bool> caretStops = CaretStops != null && CaretStops.Count != 0 ? CaretStops : new DefaultCaretStopList(CodepointCount); 573IList<ushort> clusterMap = ClusterMap; 706IList<bool> caretStops = CaretStops != null && CaretStops.Count != 0 ? CaretStops : new DefaultCaretStopList(CodepointCount); 753IList<bool> caretStops = CaretStops != null && CaretStops.Count != 0 ? CaretStops : new DefaultCaretStopList(CodepointCount); 970public IList<bool> CaretStops 1025public IList<ushort> ClusterMap 1047public IList<char> Characters 1068public IList<ushort> GlyphIndices 1098public IList<double> AdvanceWidths 1127public IList<Point> GlyphOffsets 2024IList<bool> caretStops, 2325(_advanceWidths == null ? null : ((_textFormattingMode != TextFormattingMode.Ideal) ? (IList<double>)(new List<double>()) : (IList<double>)(new ThousandthOfEmRealDoubles(_renderingEmSize, _advanceWidths)))), 2326(_glyphOffsets == null ? null : ((_textFormattingMode != TextFormattingMode.Ideal) ? (IList<Point>)(new List<Point>()) : (IList<Point>)(new ThousandthOfEmRealPoints(_renderingEmSize, _glyphOffsets)))), 2456private IList<ushort> _glyphIndices; 2457private IList<double> _advanceWidths; 2458private IList<Point> _glyphOffsets; 2461private IList<char> _characters; 2462private IList<ushort> _clusterMap; 2463private IList<bool> _caretStops;
System\Windows\Media\GlyphsSerializer.cs (6)
315private IList<char> _characters; 327private IList<ushort> _clusters; 329private IList<ushort> _indices; 331private IList<double> _advances; 333private IList<Point> _offsets; 335private IList<bool> _caretStops;
System\Windows\Media\GlyphTypeface.cs (1)
1373IList<double> charWidths,
System\Windows\Media\Imaging\BitmapDecoder.cs (1)
956IList<ColorContext> colorContextList = ColorContext.GetColorContextsHelper(GetColorContexts);
System\Windows\Media\Imaging\BitmapEncoder.cs (5)
282public virtual IList<BitmapFrame> Frames 656IList<ColorContext> colorContexts = frame.ColorContexts; 825private IList<BitmapFrame> _frames; 834private IList<SafeMILHandle> _frameHandles = new List<SafeMILHandle>(0); 835private IList<SafeMILHandle> _writeSourceHandles = new List<SafeMILHandle>(0);
System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
239IList<ColorContext> colorContextList = ColorContext.GetColorContextsHelper(GetColorContexts);
System\Windows\Media\Imaging\BitmapPalette.cs (3)
29public BitmapPalette(IList<Color> colors) 198public IList<Color> Colors 368private IList<Color> _colors = ReadOnlyCollection<Color>.Empty;
System\Windows\Media\PathStreamGeometryContext.cs (4)
195public override void PolyLineTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 206public override void PolyQuadraticBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 217public override void PolyBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 305private void GenericPolyTo(IList<Point> points,
System\Windows\Media\PixelFormat.cs (2)
61public IList<byte> Mask 332public readonly IList<PixelFormatChannelMask> Masks
System\Windows\Media\StreamGeometryContext.cs (3)
105public abstract void PolyLineTo(IList<Point> points, bool isStroked, bool isSmoothJoin); 110public abstract void PolyQuadraticBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin); 115public abstract void PolyBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin);
System\Windows\Media\textformatting\TextBounds.cs (3)
26IList<TextRunBounds> runBounds 48public IList<TextRunBounds> TextRunBounds 65private IList<TextRunBounds> _runBounds;
System\Windows\Media\textformatting\TextCharacters.cs (3)
172IList<TextShapeableSymbols> ITextSymbols.GetTextShapeableSymbols( 246IList<TextShapeableSymbols> shapeables = new List<TextShapeableSymbols>(2); 272IList<TextShapeableSymbols> shapeables,
System\Windows\Media\textformatting\TextLine.cs (3)
67public abstract IList<TextCollapsedRange> GetTextCollapsedRanges(); 173public abstract IList<TextBounds> GetTextBounds( 182public abstract IList<TextSpan<TextRun>> GetTextRunSpans();
System\Windows\Media\textformatting\TextParagraphCache.cs (1)
122internal IList<TextBreakpoint> FormatBreakpoints(
System\Windows\Media\textformatting\TextParagraphProperties.cs (1)
120public virtual IList<TextTabProperties> Tabs
System\Windows\Media\textformatting\TextRunCache.cs (1)
78internal IList<TextSpan<TextRun>> GetTextRunSpans()
System\Windows\ReverseInheritProperty.cs (1)
41IList<DependencyObject> otherOrigins,
PresentationFramework (222)
Microsoft\Win32\CommonItemDialog.cs (2)
250public IList<FileDialogCustomPlace> CustomPlaces { get; set; } 414IList<FileDialogCustomPlace> places = CustomPlaces;
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
59public override IList<IAttachedAnnotation> PreProcessNode(DependencyObject node, out bool calledProcessAnnotations) 98public override IList<IAttachedAnnotation> PostProcessNode(DependencyObject node, bool childrenCalledProcessAnnotations, out bool calledProcessAnnotations)
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
73public override IList<IAttachedAnnotation> PreProcessNode(DependencyObject node, out bool calledProcessAnnotations)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (8)
84public override IList<DependencyObject> GetSelectedNodes(Object selection) 86IList<TextSegment> textSegments = CheckSelection(selection); 88IList<DependencyObject> pageEl = new List<DependencyObject>(); 182public override IList<ContentLocatorPart> 426private IList<TextSegment> CheckSelection(object selection) 430IList<TextSegment> textSegments = null; 649public IList<PointSegment> Segments 658private IList<PointSegment> _segments = new List<PointSegment>(1);
MS\Internal\Annotations\Anchoring\LocatorManager.cs (16)
258public IList<IAttachedAnnotation> ProcessAnnotations(DependencyObject node) 263IList<IAttachedAnnotation> attachedAnnotations = new List<IAttachedAnnotation>(); 264IList<ContentLocatorBase> locators = GenerateLocators(node); 286IList<Annotation> annotations = store.GetAnnotations(lists[0]); 334public IList<ContentLocatorBase> GenerateLocators(Object selection) 351IList<ContentLocatorBase> returnLocators = null; 492internal IList<IAttachedAnnotation> ProcessSubTree(DependencyObject subTree) 632private IList<ContentLocatorBase> GenerateLocators(SubTreeProcessor processor, PathNode startNode, Object selection) 643IList<ContentLocatorBase> newLocators = null; 711IList<ContentLocatorPart> locatorParts = selProcessor.GenerateLocatorParts(selection, startNode.Node); 749IList<ContentLocatorBase> tempLocators = null; 820IList<IAttachedAnnotation> attachedAnnotations = processor.PreProcessNode(dependencyObject, out calledProcessAnnotations); 847IList<IAttachedAnnotation> attachedAnnotations = processor.PostProcessNode(dependencyObject, childrenCalledProcessAnnotations, out calledProcessAnnotations); 909IList<ContentLocator> locators = null; 1205private IList<ContentLocatorBase> Merge(ContentLocatorBase initialLocator, IList<ContentLocatorBase> additionalLocators)
MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (2)
74public abstract IList<DependencyObject> GetSelectedNodes(Object selection); 106public abstract IList<ContentLocatorPart> GenerateLocatorParts(Object selection, DependencyObject startNode);
MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (2)
72public abstract IList<IAttachedAnnotation> PreProcessNode(DependencyObject node, out bool calledProcessAnnotations); 87public virtual IList<IAttachedAnnotation> PostProcessNode(DependencyObject node, bool childrenCalledProcessAnnotations, out bool calledProcessAnnotations)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (5)
103public static IList<DependencyObject> GetSelectedNodes(Object selection) 107IList<TextSegment> segments; 113IList<DependencyObject> list = new List<DependencyObject>(); 153IList<TextSegment> segments; 356internal static void CheckSelection(object selection, out ITextPointer start, out ITextPointer end, out IList<TextSegment> segments)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
81public override IList<DependencyObject> GetSelectedNodes(Object selection) 123public override IList<ContentLocatorPart> 131IList<TextSegment> textSegments = null;
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (3)
69public override IList<DependencyObject> GetSelectedNodes(Object selection) 121public override IList<ContentLocatorPart> 229IList<TextSegment> segments = textView.TextSegments;
MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (2)
78public override IList<DependencyObject> GetSelectedNodes(Object selection) 137public override IList<ContentLocatorPart> GenerateLocatorParts(Object selection, DependencyObject startNode)
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (5)
79IList<IAnnotationComponent> currentList = _attachedAnnotations[attachedAnnotation]; 228IList<IAnnotationComponent> currentList = _attachedAnnotations[attachedAnnotation]; //save the current list 266IList<IAnnotationComponent> currentList; 285private Dictionary<IAttachedAnnotation, IList<IAnnotationComponent>> _attachedAnnotations = new Dictionary<IAttachedAnnotation, IList<IAnnotationComponent>>();
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (10)
362IList<HighlightSegment> res = highlightSegment.Split(rangeSegment.Start, rangeSegment.End, highlightRange); 560internal override IList<TextSegment> Ranges 618internal HighlightSegment(ITextPointer start, ITextPointer end, IList<IHighlightRange> owners) 633private void Init(ITextPointer start, ITextPointer end, IList<IHighlightRange> owners) 759internal IList<HighlightSegment> Split(ITextPointer ps, LogicalDirection side) 761IList<HighlightSegment> res = null; 789internal IList<HighlightSegment> Split(ITextPointer ps1, ITextPointer ps2, IHighlightRange newOwner) 793IList<HighlightSegment> res = new List<HighlightSegment>(); 822IList<HighlightSegment> r1 = Split(ps1, LogicalDirection.Forward); 827IList<HighlightSegment> r2 = r1[i].Split(ps2, LogicalDirection.Backward);
MS\Internal\Data\DifferencingCollection.cs (1)
47IList<object> list = Items;
MS\Internal\Data\PropertyPathWorker.cs (1)
1814private static readonly IList<Type> IListIndexerAllowlist = new Type[]
MS\Internal\Documents\TextBoxLine.cs (4)
259IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 370IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 496IList<TextBounds> textBounds = _line.GetTextBounds(cp, cch); 499IList<TextRunBounds> runBounds = textBounds[0].TextRunBounds;
MS\Internal\Documents\TextBoxView.cs (2)
1998IList<Rect> bounds; 2084IList<Rect> bounds;
MS\Internal\Globalization\BamlTreeUpdater.cs (6)
241IList<BamlTreeNode> nodes = SplitXmlContent( 255IList<BamlTreeNode> newChildren 397private static IList<BamlTreeNode> SplitXmlContent( 409IList<BamlTreeNode> list = new List<BamlTreeNode>(4); 456IList<BamlTreeNode> newChildrenList // list of new children 594IList<BamlTreeNode> newChildrenList // list of new children
MS\Internal\Ink\InkCanvasSelection.cs (5)
192internal void Select(StrokeCollection strokes, IList<UIElement> elements, bool raiseSelectionChanged) 538IList<UIElement> elements, 718IList<UIElement> elements = SelectedElements; 1008private static bool FrameworkElementArraysAreEqual(IList<UIElement> elements1, IList<UIElement> elements2)
MS\Internal\ListOfObject.cs (4)
23int IList<object>.IndexOf(object item) 28void IList<object>.Insert(int index, object item) 33void IList<object>.RemoveAt(int index) 38object IList<object>.this[int index]
MS\Internal\PtsHost\Line.cs (7)
375IList<TextSpan<TextRun>> runs = _runs; 493IList<TextBounds> textBounds; 630IList<TextCollapsedRange> collapsedRanges = collapsedLine.GetTextCollapsedRanges(); 661IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 987IList<TextBounds> textBounds; 1002IList<TextRunBounds> runBounds = textBounds[0].TextRunBounds; 1250private IList<TextSpan<TextRun>> _runs;
MS\Internal\PtsHost\PtsHost.cs (1)
1497IList<TextBreakpoint> textBreakpoints;
MS\Internal\PtsHost\TextParaClient.cs (2)
1890IList<Rect> rectangles = RectanglesFromDcpRangeOfSimpleLine( 2000IList<Rect> rectangles = RectanglesFromDcpRangeOfCompositeLineElement(
MS\Internal\PtsHost\TextParagraph.cs (2)
358internal System.Collections.Generic.IList<TextBreakpoint> 379System.Collections.Generic.IList<TextBreakpoint> textBreakpoints = textParagraphCache.FormatBreakpoints(
MS\Internal\Text\ComplexLine.cs (2)
150IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 225IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans();
MS\Internal\Text\Line.cs (5)
160IList<TextBounds> textBounds; 306IList<TextCollapsedRange> collapsedRanges = collapsedLine.GetTextCollapsedRanges(); 414IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 454IList<TextBounds> textBounds; 469IList<TextRunBounds> runBounds = textBounds[0].TextRunBounds;
System\Windows\Annotations\AnnotationDocumentPaginator.cs (5)
336IList<IAttachedAnnotation> attachedAnnotations = ProcessAnnotations(dpv); 362private IList<IAttachedAnnotation> ProcessAnnotations(DocumentPageView dpv) 366IList<IAttachedAnnotation> attachedAnnotations = new List<IAttachedAnnotation>(); 367IList<ContentLocatorBase> locators = _locatorManager.GenerateLocators(dpv); 374IList<Annotation> annotations = _annotationStore.GetAnnotations(lists[0]);
System\Windows\Annotations\AnnotationHelper.cs (14)
197IList<IAttachedAnnotation> attachedAnnotations = null; 558private static IList<IAttachedAnnotation> GetSpannedAnnotations(AnnotationService service) 602IList<IAttachedAnnotation> attachedAnnotations = null; 623IList<TextSegment> textSegments = selection.TextSegments; 665private static IList<IAttachedAnnotation> GetSpannedAnnotationsForFlow(AnnotationService service, ITextSelection selection) 677IList<ContentLocatorBase> locators = service.LocatorManager.GenerateLocators(textRange); 685IList<IAttachedAnnotation> attachedAnnotations = null; 686IList<Annotation> annotations = null; 715private static IList<IAttachedAnnotation> GetSpannedAnnotationsForFixed(AnnotationService service, int startPage, int endPage) 753private static void AddRange(List<Annotation> annotations, IList<Annotation> newAnnotations) 773private static List<IAttachedAnnotation> ResolveAnnotations(AnnotationService service, IList<Annotation> annotations) 815IList<IAttachedAnnotation> attachedAnnotations = GetSpannedAnnotations(service); 966IList<IAttachedAnnotation> spannedAnnots = GetSpannedAnnotations(service); 1056IList<ContentLocatorBase> locators = service.LocatorManager.GenerateLocators(selection);
System\Windows\Annotations\AnnotationService.cs (12)
357IList<IAttachedAnnotation> attachedAnnotations = LocatorManager.ProcessSubTree(element); 416internal IList<IAttachedAnnotation> GetAttachedAnnotations() 767IList<IAttachedAnnotation> attachedAnnotations = LocatorManager.ProcessSubTree(_root); 851private void LoadAnnotationsFromList(IList<IAttachedAnnotation> attachedAnnotations) 951IList<IAttachedAnnotation> attachedAnnotations = null; 952IList<IAttachedAnnotation> dirtyAnnotations = new List<IAttachedAnnotation>(); 980IList<UIElement> processedElements = new List<UIElement>(); 1135private IAttachedAnnotation FindAnnotationInList(IAttachedAnnotation attachedAnnotation, IList<IAttachedAnnotation> list) 1296IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotationId); 1360IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.Id); 1401IList<IAttachedAnnotation> annotations = _annotationMap.GetAttachedAnnotations(annotation.Id); 1713private static readonly DependencyProperty AttachedAnnotationsProperty = DependencyProperty.RegisterAttached("AttachedAnnotations", typeof(IList<IAttachedAnnotation>), typeof(AnnotationService));
System\Windows\Annotations\LocatorPartList.cs (2)
347internal IList<ContentLocatorBase> DotProduct(IList<ContentLocatorPart> additionalLocatorParts)
System\Windows\Annotations\Storage\AnnotationStore.cs (2)
83public abstract IList<Annotation> GetAnnotations(ContentLocator anchorLocator); 90public abstract IList <Annotation> GetAnnotations();
System\Windows\Annotations\Storage\XmlStreamStore.cs (20)
47_predefinedNamespaces = new Dictionary<Uri, IList<Uri>>(6); 89public XmlStreamStore(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces) 226public override IList<Annotation> GetAnnotations(ContentLocator anchorLocator) 236IList<Annotation> annotations = null; 285public override IList<Annotation> GetAnnotations() 287IList<Annotation> annotations = null; 387public static IList<Uri> GetWellKnownCompatibleNamespaces(Uri name) 452public IList<Uri> IgnoredNamespaces 463public static IList<Uri> WellKnownNamespaces 645private IList<Annotation> MergeAndCacheAnnotations(Dictionary<Guid, Annotation> mapAnnotations, List<Guid> storeAnnotationsId) 679private IList<Annotation> InternalGetAnnotations(string query, ContentLocator anchorLocator) 719private void LoadStream(IDictionary<Uri, IList<Uri>> knownNamespaces) 764private void CheckKnownNamespaces(IDictionary<Uri, IList<Uri>> knownNamespaces) 769IList<Uri> allNamespaces = new List<Uri>(); 792foreach (KeyValuePair<Uri, IList<Uri>> item in knownNamespaces) 818private XmlCompatibilityReader SetupReader(IDictionary<Uri, IList<Uri>> knownNamespaces) 820IList<string> supportedNamespaces = new List<string>(); 846foreach (KeyValuePair<Uri, IList<Uri>> item in knownNamespaces) 989private void SetStream(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces) 1044private static readonly Dictionary<Uri, IList<Uri>> _predefinedNamespaces;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (2)
140IList<DataGridColumn> columns = OwningDataGrid.Columns; 528IList<DataGridColumn> columns = OwningDataGrid.Columns;
System\Windows\Controls\CustomDictionarySources.cs (11)
75int IList<Uri>.IndexOf(Uri item) 88void IList<Uri>.Insert(int index, Uri item) 101void IList<Uri>.RemoveAt(int index) 116Uri IList<Uri>.this[int index] 205((IList<Uri>)this).Add((Uri)value); 211((IList<Uri>)this).Clear(); 226((IList<Uri>)this).Insert(index, (Uri)value); 247((IList<Uri>)this).Remove((Uri)value); 252((IList<Uri>)this).RemoveAt(index); 263((IList<Uri>)this)[index] = (Uri)value; 278get { return ((IList<Uri>)this).Count; }
System\Windows\Controls\DataGrid.cs (1)
4088public IList<DataGridCellInfo> SelectedCells
System\Windows\Controls\InkCanvas.cs (2)
2419private void CoreChangeSelection(StrokeCollection validStrokes, IList<UIElement> validElements, bool raiseSelectionChanged) 2670IList<UIElement> elements = GetSelectedElements();
System\Windows\Controls\SelectedCellsChangedEventArgs.cs (4)
54public IList<DataGridCellInfo> AddedCells 62public IList<DataGridCellInfo> RemovedCells 67private IList<DataGridCellInfo> _addedCells; 68private IList<DataGridCellInfo> _removedCells;
System\Windows\Controls\TextBlock.cs (1)
2314IList<Rect> aryTextBounds = line.GetRangeBounds(dcpStart, dcpEnd - dcpStart, contentOffset.X, contentOffset.Y + lineOffset);
System\Windows\Controls\Validation.cs (2)
346IList<VisualStateGroup> groups = VisualStateManager.GetVisualStateGroupsInternal(fe); 364private static bool HasValidationGroup(IList<VisualStateGroup> groups)
System\Windows\Data\BindingGroup.cs (5)
796IList<WeakReference> newItems = new Collection<WeakReference>(); 1253private static int FindIndexOf(WeakReference wr, IList<WeakReference> list) 1261private static int FindIndexOf(object item, IList<WeakReference> list) 1640public void AddUniqueItems(IList<WeakReference> list) 1850public void AddUniqueItems(IList<WeakReference> list)
System\Windows\Documents\DocumentReferenceCollection.cs (1)
135private IList<DocumentReference> _InternalList
System\Windows\Documents\DocumentSequence.cs (1)
945private IList<RequestedPage> _pendingPages; // pending request to child page
System\Windows\Documents\DocumentSequenceHighlightLayer.cs (4)
71internal void RaiseHighlightChangedEvent(IList<TextSegment> ranges) 142internal DocumentSequenceHighlightChangedEventArgs(IList<TextSegment> ranges) 148internal override IList<TextSegment> Ranges 166private readonly IList<TextSegment> _ranges;
System\Windows\Documents\FixedDocument.cs (2)
1135IList<TextSegment> ranges = args.Ranges; 1285private IList<PageContent> _pendingPages;
System\Windows\Documents\FixedSOMPageConstructor.cs (3)
148public override void PolyLineTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 172public override void PolyQuadraticBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 178public override void PolyBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin)
System\Windows\Documents\Glyphs.cs (1)
1043public IList<bool> caretStops;
System\Windows\Documents\HighlightChangedEventArgs.cs (1)
21internal abstract IList<TextSegment> Ranges { get; }
System\Windows\Documents\Highlights.cs (1)
416internal override IList<TextSegment> Ranges
System\Windows\Documents\PageContentCollection.cs (1)
151private IList<PageContent> InternalList
System\Windows\Documents\SpellerHighlightLayer.cs (1)
211internal override IList<TextSegment> Ranges
System\windows\Documents\TextSelectionHighlightLayer.cs (1)
353internal override IList<TextSegment> Ranges
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2033IList<string> xamlNamespaces = type.GetXamlNamespaces();
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
327protected override IList<XamlType> LookupPositionalParameters(int paramCount)
System\Windows\Markup\ParserContext.cs (1)
851IList<CustomAttributeData> customAttributes = CustomAttributeData.GetCustomAttributes(property);
System\Windows\PropertyPath.cs (1)
985IList<object> items = Items;
System\Windows\ResourceDictionary.cs (3)
1161IList<KeyRecord> keys = reader.ReadKeys(); 1253private void SetKeys(IList<KeyRecord> keyCollection, IServiceProvider serviceProvider) 1322private void SetOptimizedStaticResources(IList<object> staticResources, IServiceProvider serviceProvider, StaticResourceExtension staticResourceWorker)
System\Windows\Shell\JumpList.cs (6)
55public JumpItemsRejectedEventArgs(IList<JumpItem> rejectedItems, IList<JumpItemRejectionReason> reasons) 79public IList<JumpItem> RejectedItems { get; private set; } 80public IList<JumpItemRejectionReason> RejectionReasons { get; private set; } 92public JumpItemsRemovedEventArgs(IList<JumpItem> removedItems) 104public IList<JumpItem> RemovedItems { get; private set; }
System\Windows\Standard\Utilities.cs (2)
104public static BitmapFrame GetBestMatch(IList<BitmapFrame> frames, int width, int height) 133private static BitmapFrame _GetBestMatch(IList<BitmapFrame> frames, int bitDepth, int width, int height)
System\Windows\VisualStateManager.cs (4)
35IList<VisualStateGroup> groups = VisualStateManager.GetVisualStateGroupsInternal(stateGroupsRoot); 166internal static bool TryGetState(IList<VisualStateGroup> groups, string stateName, out VisualStateGroup group, out VisualState state) 537IList<VisualTransition> transitions = (IList<VisualTransition>)group.Transitions;
PresentationFramework.Fluent.Tests (2)
ResourceTests\FluentResourceDictionaryTests.cs (2)
122public static readonly IList<object[]> s_themeDictionarySourceList 131public static readonly IList<string> s_colorDictionarySourceList
PresentationUI (39)
MS\Internal\Documents\CredentialManagerDialog.cs (2)
29internal CredentialManagerDialog( IList<string> accountList, 56IList<string> accountList,
MS\Internal\Documents\DigitalSignatureProvider.cs (7)
311IList<X509Certificate2> IDigitalSignatureProvider.GetAllCertificates() 332IList<X509Certificate2> certificates) 383private IList<DigitalSignature> GetSignaturesFromPackage() 385IList<DigitalSignature> signatureList = new List<DigitalSignature>(); 396IList<XpsSignatureDefinition> requestedSignatureList = 751private IList<DigitalSignature> DigitalSignatureList 790private IList<DigitalSignature> _digitalSignatureList;
MS\Internal\Documents\DocumentSignatureManager.cs (7)
226IList<X509Certificate2> certificateList = 238IList<SignatureResources> sigResList = GetSignatureResourceList(false /*requestsOnly*/); 270IList<SignatureResources> sigResList = GetSignatureResourceList(true /*requestsOnly*/); 520internal IList<SignatureResources> GetSignatureResourceList(bool requestsOnly) 525IList<SignatureResources> signResourcesList = new List<SignatureResources>(); 994private void StartCertificateStatusCheck(IList<X509Certificate2> certificateList) 1373internal IList<X509Certificate2> CertificateList;
MS\Internal\Documents\IDigitalSignatureProvider.cs (2)
36IList<X509Certificate2> GetAllCertificates(); 44IDictionary<X509Certificate2, CertificatePriorityStatus> GetCertificateStatus(IList<X509Certificate2> certificates);
MS\Internal\Documents\IRightsManagementProvider.cs (1)
139void GenerateUnsignedPublishLicense(IList<RightsManagementLicense> licenses);
MS\Internal\Documents\RightsManagementManager.cs (5)
256IList<string> accountList = GetCredentialManagementResourceList(); 646internal IList<string> GetCredentialManagementResourceList() 651IList<string> accountList = new List<string>(); 1070private bool HasPublishLicenseChanged(IList<RightsManagementLicense> newGrants) 1264IList<RightsManagementLicense> licenses,
MS\Internal\Documents\RightsManagementProvider.cs (9)
501IDictionary<RightsManagementUser, IList<ContentGrant>> grantDictionary = 502new Dictionary<RightsManagementUser, IList<ContentGrant>>(); 637IList<RightsManagementLicense> licenses) 693IList<ContentGrant> grantList = GetGrantsFromLicense(rmLicense); 717IList<ContentGrant> grantList = new List<ContentGrant>(); 1017IList<CryptoProvider> cryptoProviders = new List<CryptoProvider>(); 1064IList<ContentGrant> grantList) 1171private IList<ContentGrant> GetGrantsFromLicense( 1517private IList<CryptoProvider> _cryptoProviders;
MS\Internal\Documents\RMPermissions.cs (1)
95IList<string> rightsStrings = new List<string>();
MS\Internal\Documents\RMPublishingDialog.cs (3)
152internal IList<RightsManagementLicense> Licenses 236private IList<RightsManagementLicense> CreateRightsManagementLicenses() 841private IList<RightsManagementLicense> _rmLicenses;
MS\Internal\Documents\SignatureSummaryDialog.cs (2)
33internal SignatureSummaryDialog(IList<SignatureResources> signatureResourcesList, 455IList<SignatureResources> signatureResourcesList = _documentSignatureManager.GetSignatureResourceList(requestOnly /*requestsOnly*/);
ReachFramework (44)
AlphaFlattener\ImageProxy.cs (1)
330IList<System.Windows.Media.Color> palColor = palette.Colors;
AlphaFlattener\PrimitiveList.cs (1)
168IList<char> chars = gp.GlyphRun.Characters;
AlphaFlattener\Utility.cs (3)
2722public override void PolyLineTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 2737public override void PolyQuadraticBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin) 2745public override void PolyBezierTo(IList<Point> points, bool isStroked, bool isSmoothJoin)
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (11)
179public IList<short> Bins 187public IList<string> BinNames 196public IList<uint> NUp 204public IList<short> Papers 212public IList<string> PaperNames 224public IList<DC_PAPER_SIZE> PaperSizes 232public IList<uint> MediaTypes 240public IList<string> MediaTypeNames 260public IList<DC_RESOLUTION> Resolutions 298public bool GetDefaultPaperSize(DevMode defaultDevMode, IList<short> paperSizeCodes, IList<DC_PAPER_SIZE> paperSizes, out DC_PAPER_SIZE defaultPaperSize)
Packaging\XpsFixedDocumentReaderWriter.cs (2)
845IList<String> linkTargetStream 1148private IList<String> _linkTargetStream;
Packaging\XpsFixedPageReaderWriter.cs (4)
397IList<String> LinkTargetStream { get; } 443IList<String> linkTargetStream, 553public IList<String> LinkTargetStream 1935private IList<String> _linkTargetStream;
PrintConfig\PrintCapabilitesWriter.cs (9)
162public void WriteJobNUpAllDocumentsContiguously(IList<uint> nUps) 253public void WriteJobInputBinFeature(IList<short> bins, IList<string> binDisplayNames) 320IList<short> paperSizeCodes, 321IList<string> paperSizeDisplayNames, 322IList<DC_PAPER_SIZE> paperSizes) 380public void WritePageMediaTypeFeature(IList<uint> mediaTypes, IList<string> mediaTypeDisplayNames) 488public void WritePageResolutionFeature(IList<DC_RESOLUTION> resolutions)
PrintConfig\PrintSchemaShim.cs (5)
409IList<short> bins = capabilities.Bins; 423IList<uint> mediaTypes = capabilities.MediaTypes; 437IList<short> papers = capabilities.Papers; 467public static IList<DC_PAPER_SIZE> TenthOfMillimeterToMicrons(IList<DC_PAPER_SIZE> points)
Serialization\Manager\NullPackagingPolicy.cs (2)
833IList<String> 978IList<String> _linkTargetStream;
Serialization\Manager\ReachSerializationUtils.cs (2)
1065IList<String> 1086private IList<String> _linkTargetList;
Serialization\Manager\XpsOMPackagingPolicy.cs (2)
363IList<string> 950private IList<String> _currentFixedPageLinkTargetStream;
Serialization\Manager\XpsPackagingPolicy.cs (2)
330IList<String> 1326IList<String>
Replay (1)
src\Compilers\Shared\BuildProtocol.cs (1)
77IList<string> args,
RepoTasks (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
Roslyn.Diagnostics.Analyzers (105)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (12)
115public TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 123protected abstract TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 124protected abstract TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 125protected abstract TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 126protected abstract TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 127protected abstract TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 128protected abstract TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 140public abstract TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, TCodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 232Func<SyntaxNode, TCodeGenerationContextInfo, IList<bool>?, CancellationToken, SyntaxNode> declarationTransform, 272IList<bool>? availableIndices, 326IList<bool>? availableIndices, 355IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService_FindDeclaration.cs (8)
20protected abstract IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken); 22private IList<bool>? GetAvailableInsertionIndices<TDeclarationNode>(TDeclarationNode destination, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 62out IList<bool>? availableIndices, 141private (SyntaxNode? declaration, IList<bool>? availableIndices) FindMostRelevantDeclaration( 163if (TryAddToRelatedDeclaration(declarations.Where(d => d is not ICompilationUnitSyntax), checkGeneratedCode: false, out var declaration1, out var availableIndices1) || 171if (TryAddToWorker(declarations, checkGeneratedCode: true, out var declaration2, out var availableIndices2, predicate: node => true)) 180out IList<bool>? availableIndices) 220out IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
86public static int GetPreferredIndex(int index, IList<bool>? availableIndices, bool forward) 192IList<bool>? availableIndices, 300IList<bool>? availableIndices, 325IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (2)
503public static INamespaceSymbol CreateNamespaceSymbol(string name, IList<ISymbol>? imports = null, IList<INamespaceOrTypeSymbol>? members = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
123TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
17private readonly IList<ISymbol> _imports; 19private CodeGenerationNamespaceInfo(IList<ISymbol> imports) 24IList<ISymbol> imports) 36public static IList<ISymbol> GetImports(INamespaceSymbol @namespace) 39private static IList<ISymbol> GetImports(CodeGenerationNamespaceInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceSymbol.cs (2)
14internal sealed class CodeGenerationNamespaceSymbol(string name, IList<INamespaceOrTypeSymbol> members) : CodeGenerationNamespaceOrTypeSymbol(null, null, default, Accessibility.NotApplicable, default, name), INamespaceSymbol 16private readonly IList<INamespaceOrTypeSymbol> _members = members ?? SpecializedCollections.EmptyList<INamespaceOrTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
170public static async Task<ImmutableArray<Diagnostic>> GetErrorsAsync(this Document document, CancellationToken cancellationToken, IList<string>? ignoreErrorCode = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
13public static ImmutableArray<IParameterSymbol> RenameParameters(this IList<IParameterSymbol> parameters, ImmutableArray<string> parameterNames)
Roslyn.Diagnostics.CSharp.Analyzers (62)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
115public static bool TryGetNameParts(this ExpressionSyntax expression, [NotNullWhen(true)] out IList<string>? parts)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (3)
594public static IList<IList<TSyntaxNode>> SplitNodesOnPreprocessorBoundaries<TSyntaxNode>( 599var result = new List<IList<TSyntaxNode>>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormatting.cs (1)
45protected override IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\AggregatedFormattingResult.cs (1)
15public AggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.FormattedComplexTrivia.cs (1)
18private readonly IList<TextChange> _textChanges;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Indentation\CSharpSmartTokenFormatter.cs (2)
44public IList<TextChange> FormatRange( 76public IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\NameSyntaxComparer.cs (3)
57var xNameParts = DecomposeNameParts(x); 58var yNameParts = DecomposeNameParts(y); 73private static IList<SimpleNameSyntax> DecomposeNameParts(NameSyntax name)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (1)
161private static void EnsureNewLines(IList<SyntaxNode> list, SyntaxTrivia newLineTrivia)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (2)
23public static ArgumentListSyntax GenerateArgumentList(IList<SyntaxNode> arguments) 26public static BracketedArgumentListSyntax GenerateBracketedArgumentList(IList<SyntaxNode> arguments)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
30IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (1)
26IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
173IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (9)
46protected override IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken) 59private static IList<bool> GetInsertionIndices(TypeDeclarationSyntax destination, CancellationToken cancellationToken) 90protected override TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 97protected override TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 115protected override TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 189protected override TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 247protected override TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 267protected override TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, CSharpCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) 907public override TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CSharpCodeGenerationContextInfo info, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\DestructorGenerator.cs (1)
28IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (2)
66IList<bool> availableIndices, 82IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (2)
57IList<bool>? availableIndices, 73IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (3)
34IList<bool>? availableIndices, 47IList<bool>? availableIndices, 62IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (4)
29IList<bool>? availableIndices, 43IList<bool>? availableIndices, 58IList<bool>? availableIndices, 144IList<ISymbol> newMembers,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamespaceGenerator.cs (3)
29IList<bool>? availableIndices, 49IList<bool>? availableIndices, 88IList<ISymbol> newMembers,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
27IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (2)
40IList<bool>? availableIndices, 56IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BaseNamespaceDeclarationSyntaxExtensions.cs (1)
15IList<UsingDirectiveSyntax> usingDirectives,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CompilationUnitSyntaxExtensions.cs (3)
78IList<UsingDirectiveSyntax> usingDirectives, 102IList<UsingDirectiveSyntax> usingDirectives, 141CompilationUnitSyntax root, IList<UsingDirectiveSyntax> usingDirectives)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\NameSyntaxExtensions.cs (2)
15public static IList<NameSyntax> GetNameParts(this NameSyntax nameSyntax) 20var parts = nameSyntax.GetNameParts();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\QueryExpressionSyntaxExtensions.cs (3)
13public static IList<SyntaxNode> GetAllClauses(this QueryExpressionSyntax query) 18public static IList<SyntaxNode> GetAllClauses(this QueryBodySyntax body) 23IList<SyntaxNode> allClauses)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SemanticModelExtensions.cs (3)
56IList<string> reservedNames, 71public static ImmutableArray<ParameterName> GenerateNames(IList<string> reservedNames, ImmutableArray<bool> isFixed, ImmutableArray<string> parameterNames) 79IList<string> reservedNames,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (1)
20public static IList<bool> GetInsertionIndices(this TypeDeclarationSyntax destination, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Formatting\CSharpSyntaxFormattingService.cs (3)
88var tokenEdits = FormatToken(document, indentationOptions, token, formattingRules, cancellationToken); 185private static IList<TextChange> FormatToken( 211var changes = formatter.FormatRange(tokenRange.Value.Item1, tokenRange.Value.Item2, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
620private static IMethodSymbol Instantiate(IMethodSymbol method, IList<ITypeSymbol> invocationTypes)
Sample (2)
artifacts\obj\Sample\Release\net11.0\generated\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Microsoft.AspNetCore.Http.RequestDelegateGenerator.RequestDelegateGenerator\GeneratedRouteBuilderExtensions.g.cs (1)
5803var routeHandlerFilters = builder.FilterFactories;
src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Shared\SharedTypes.cs (1)
200public IList<ProjectBoardItem>? Items { get; set; }
Shared (1)
EmptyCollections\EmptyCollectionExtensions.cs (1)
77public static IEnumerable<T> EmptyIfNull<T>(this IList<T>? list)
Shared.Tests (3)
EmptyCollections\EmptyCollectionExtensionsTests.cs (3)
21EmptyCollectionExtensions.EmptyIfNull((IList<T>?)null).Should().BeEmpty(); 30EmptyCollectionExtensions.EmptyIfNull((IList<T>)input).Should().BeEmpty().And.NotBeSameAs(input); 40EmptyCollectionExtensions.EmptyIfNull((IList<T>)nonempty).Should().BeSameAs(nonempty);
System.Collections (14)
System\Collections\Generic\OrderedDictionary.cs (12)
344KeyValuePair<TKey, TValue> IList<KeyValuePair<TKey, TValue>>.this[int index] 1170int IList<KeyValuePair<TKey, TValue>>.IndexOf(KeyValuePair<TKey, TValue> item) 1188void IList<KeyValuePair<TKey, TValue>>.Insert(int index, KeyValuePair<TKey, TValue> item) => Insert(index, item.Key, item.Value); 1348return ((IList<KeyValuePair<TKey, TValue>>)this).IndexOf(pair); 1569TKey IList<TKey>.this[int index] 1598int IList<TKey>.IndexOf(TKey item) => _dictionary.IndexOf(item); 1607void IList<TKey>.Insert(int index, TKey item) => throw new NotSupportedException(); 1613void IList<TKey>.RemoveAt(int index) => throw new NotSupportedException(); 1715TValue IList<TValue>.this[int index] 1743int IList<TValue>.IndexOf(TValue item) 1768void IList<TValue>.Insert(int index, TValue item) => throw new NotSupportedException(); 1774void IList<TValue>.RemoveAt(int index) => throw new NotSupportedException();
System\Collections\Generic\SortedList.cs (2)
293public IList<TKey> Keys 329public IList<TValue> Values
System.Collections.Concurrent (21)
System\Collections\Concurrent\OrderablePartitioner.cs (3)
99public abstract IList<IEnumerator<KeyValuePair<long, TSource>>> GetOrderablePartitions(int partitionCount); 165public override IList<IEnumerator<TSource>> GetPartitions(int partitionCount) 167IList<IEnumerator<KeyValuePair<long, TSource>>> orderablePartitions = GetOrderablePartitions(partitionCount);
System\Collections\Concurrent\Partitioner.cs (1)
52public abstract IList<IEnumerator<TSource>> GetPartitions(int partitionCount);
System\Collections\Concurrent\PartitionerStatic.cs (17)
76/// Creates an orderable partitioner from an <see cref="System.Collections.Generic.IList{T}"/> 88public static OrderablePartitioner<TSource> Create<TSource>(IList<TSource> list, bool loadBalance) 501public override IList<IEnumerator<KeyValuePair<long, TSource>>> GetOrderablePartitions(int partitionCount) 1010public override IList<IEnumerator<KeyValuePair<long, TSource>>> GetOrderablePartitions(int partitionCount) 1151private sealed class DynamicPartitionerForIList<TSource> : DynamicPartitionerForIndexRange_Abstract<TSource, IList<TSource>> 1154internal DynamicPartitionerForIList(IList<TSource> source) 1159protected override IEnumerable<KeyValuePair<long, TSource>> GetOrderableDynamicPartitions_Factory(IList<TSource> _data) 1172private readonly IList<TSource> _sharedReader; 1175internal InternalPartitionEnumerable(IList<TSource> sharedReader) 1196private sealed class InternalPartitionEnumerator : DynamicPartitionEnumeratorForIndexRange_Abstract<TSource, IList<TSource>> 1199internal InternalPartitionEnumerator(IList<TSource> sharedReader, SharedLong sharedIndex) 1366public override IList<IEnumerator<KeyValuePair<long, TSource>>> GetOrderablePartitions(int partitionCount) 1482private sealed class StaticIndexRangePartitionerForIList<TSource> : StaticIndexRangePartitioner<TSource, IList<TSource>> 1484private readonly IList<TSource> _list; 1485internal StaticIndexRangePartitionerForIList(IList<TSource> list) 1509private readonly IList<TSource> _list; 1511internal StaticIndexRangePartitionForIList(IList<TSource> list, int startIndex, int endIndex)
System.Collections.Immutable (39)
System\Collections\Frozen\FrozenDictionary.cs (1)
635Count == 0 ? ((IList<KeyValuePair<TKey, TValue>>)Array.Empty<KeyValuePair<TKey, TValue>>()).GetEnumerator() :
System\Collections\Frozen\FrozenSet.cs (1)
392Count == 0 ? ((IList<T>)Array.Empty<T>()).GetEnumerator() :
System\Collections\Immutable\ImmutableArray_1.Builder.cs (5)
249/// Inserts an item to the <see cref="IList{T}"/> at the specified index. 252/// <param name="item">The object to insert into the <see cref="IList{T}"/>.</param> 560/// Removes the <see cref="IList{T}"/> item at the specified index. 747/// Determines the index of a specific item in the <see cref="IList{T}"/>. 749/// <param name="item">The object to locate in the <see cref="IList{T}"/>.</param>
System\Collections\Immutable\ImmutableArray_1.cs (4)
24T IList<T>.this[int index] 1043void IList<T>.Insert(int index, T item) 1048void IList<T>.RemoveAt(int index) 1336/// Removes the <see cref="IList{T}"/> item at the specified index.
System\Collections\Immutable\ImmutableExtensions.cs (5)
53if (sequence is IList<T> listOfT) 105/// Wraps a <see cref="IList{T}"/> as an ordered collection. 113private readonly IList<T> _collection; 119internal ListOfTWrapper(IList<T> collection) 179private IList<T>? _collection;
System\Collections\Immutable\ImmutableExtensions.Minimal.cs (1)
106if (sequence is IList<T>)
System\Collections\Immutable\ImmutableHashSet_1.cs (2)
505/// See the <see cref="IList{T}"/> interface. 521/// See the <see cref="IList{T}"/> interface.
System\Collections\Immutable\ImmutableList_1.Builder.cs (7)
151/// See <see cref="IList{T}"/> 159/// See <see cref="IList{T}"/> 167/// See <see cref="IList{T}"/> 175/// See <see cref="IList{T}"/> 183/// See <see cref="IList{T}"/> 191/// See <see cref="IList{T}"/> 199/// See <see cref="IList{T}"/>
System\Collections\Immutable\ImmutableList_1.cs (3)
926void IList<T>.Insert(int index, T item) => throw new NotSupportedException(); 933void IList<T>.RemoveAt(int index) => throw new NotSupportedException(); 940T IList<T>.this[int index]
System\Collections\Immutable\ImmutableSortedSet_1.cs (10)
18/// We implement <see cref="IList{T}"/> because it gives us <see cref="IList{T}.IndexOf"/>, which is important for some folks. 722/// See the <see cref="IList{T}"/> interface. 738/// See the <see cref="IList{T}"/> interface. 750/// See the <see cref="IList{T}"/> interface. 752T IList<T>.this[int index] 759/// See the <see cref="IList{T}"/> interface. 761void IList<T>.Insert(int index, T item) 767/// See the <see cref="IList{T}"/> interface. 769void IList<T>.RemoveAt(int index)
System.ComponentModel.Composition (4)
Microsoft\Internal\Collections\CollectionServices.cs (2)
245public static bool IsCollectionEqual<T>(this IList<T> thisList, IList<T> thatList)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
82var memberGenericParameters = memberType.GetPureGenericParameters();
System\ComponentModel\Composition\ReflectionModel\GenericServices.cs (1)
14internal static IList<Type> GetPureGenericParameters(this Type type)
System.ComponentModel.TypeConverter (1)
System\ComponentModel\BindingList.cs (1)
51public BindingList(IList<T> list) : base(list)
System.Composition.Convention (1)
System\Composition\Convention\ImportConventionBuilder.cs (1)
15private static readonly Type[] s_supportedImportManyTypes = new[] { typeof(IList<>), typeof(ICollection<>), typeof(IEnumerable<>) };
System.Composition.Hosting (1)
System\Composition\Hosting\Providers\ImportMany\ImportManyExportDescriptorProvider.cs (1)
15private static readonly Type[] s_supportedContractTypes = new[] { typeof(IList<>), typeof(ICollection<>), typeof(IEnumerable<>) };
System.Diagnostics.DiagnosticSource (2)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (2)
22internal static bool CompareTags(IList<KeyValuePair<string, object?>>? sortedTags, IEnumerable<KeyValuePair<string, object?>>? tags2) 45if (tagsCol is IList<KeyValuePair<string, object?>> secondList)
System.Diagnostics.EventLog (9)
artifacts\obj\System.Diagnostics.EventLog\Debug\net11.0\System.Diagnostics.EventLog.notsupported.cs (9)
329public System.Collections.Generic.IList<System.Diagnostics.Eventing.Reader.EventLogStatus> LogStatus { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } 367public override System.Collections.Generic.IList<System.Diagnostics.Eventing.Reader.EventProperty> Properties { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } 382public System.Collections.Generic.IList<object> GetPropertyValues(System.Diagnostics.Eventing.Reader.EventLogPropertySelector propertySelector) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } 468public abstract System.Collections.Generic.IList<System.Diagnostics.Eventing.Reader.EventProperty> Properties { get; } 513public System.Collections.Generic.IList<System.Diagnostics.Eventing.Reader.EventKeyword> Keywords { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } 514public System.Collections.Generic.IList<System.Diagnostics.Eventing.Reader.EventLevel> Levels { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } 515public System.Collections.Generic.IList<System.Diagnostics.Eventing.Reader.EventLogLink> LogLinks { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } 518public System.Collections.Generic.IList<System.Diagnostics.Eventing.Reader.EventOpcode> Opcodes { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } 521public System.Collections.Generic.IList<System.Diagnostics.Eventing.Reader.EventTask> Tasks { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } }
System.Linq (52)
System\Linq\ElementAt.cs (4)
19if (source is IList<TSource> list) 45/// <para>If the type of <paramref name="source" /> implements <see cref="IList{T}" />, that implementation is used to obtain the element at the specified index. Otherwise, this method obtains the specified element.</para> 90/// <para>If the type of <paramref name="source" /> implements <see cref="IList{T}" />, that implementation is used to obtain the element at the specified index. Otherwise, this method obtains the specified element.</para> 116if (source is IList<TSource> list)
System\Linq\First.cs (1)
79if (source is IList<TSource> list)
System\Linq\Grouping.cs (4)
414int IList<TElement>.IndexOf(TElement item) => Array.IndexOf(_elements, item, 0, _count); 416void IList<TElement>.Insert(int index, TElement item) => ThrowHelper.ThrowNotSupportedException(); 418void IList<TElement>.RemoveAt(int index) => ThrowHelper.ThrowNotSupportedException(); 420TElement IList<TElement>.this[int index]
System\Linq\Last.cs (2)
78if (source is IList<TSource> list) 125if (source is IList<TSource> list)
System\Linq\Range.SpeedOpt.cs (2)
106void IList<T>.Insert(int index, T item) => ThrowHelper.ThrowNotSupportedException(); 108void IList<T>.RemoveAt(int index) => ThrowHelper.ThrowNotSupportedException();
System\Linq\Repeat.SpeedOpt.cs (2)
113void IList<TResult>.Insert(int index, TResult item) => ThrowHelper.ThrowNotSupportedException(); 115void IList<TResult>.RemoveAt(int index) => ThrowHelper.ThrowNotSupportedException();
System\Linq\Reverse.SpeedOpt.cs (3)
33if (_source is IList<TSource> list) 62else if (_source is IList<TSource> list) 98else if (_source is IList<TSource> list)
System\Linq\Select.cs (5)
35return source is IList<TSource> il 45if (source is IList<TSource> ilist) 261/// An iterator that maps each item of an <see cref="IList{TSource}"/>. 268private readonly IList<TSource> _source; 272public IListSelectIterator(IList<TSource> source, Func<TSource, TResult> selector)
System\Linq\Select.SizeOpt.cs (1)
12private sealed class SizeOptIListSelectIterator<TSource, TResult>(IList<TSource> _source, Func<TSource, TResult> _selector)
System\Linq\Select.SpeedOpt.cs (6)
529IList<TSource> source = _source; 538private static void Fill(IList<TSource> source, Span<TResult> results, Func<TSource, TResult> func) 841/// An iterator that maps each item of part of an <see cref="IList{TSource}"/>. 848private readonly IList<TSource> _source; 853public IListSkipTakeSelectIterator(IList<TSource> source, Func<TSource, TResult> selector, int minIndexInclusive, int maxIndexInclusive) 981private static void Fill(IList<TSource> source, Span<TResult> destination, Func<TSource, TResult> func, int sourceIndex)
System\Linq\SequenceEqual.cs (2)
37if (firstCol is IList<TSource> firstList && secondCol is IList<TSource> secondList)
System\Linq\Shuffle.SpeedOpt.cs (4)
50else if (_source is IList<TSource> list) 175else if (_source is IList<TSource> list) 206if (source is IList<TSource> list) 292if (_source is IList<TSource> list)
System\Linq\Single.cs (1)
72if (source is IList<TSource> list)
System\Linq\Skip.SpeedOpt.cs (1)
11source is IList<TSource> sourceList ?
System\Linq\SkipTake.SpeedOpt.cs (9)
12/// An iterator that yields the items of part of an <see cref="IList{TSource}"/>. 18private readonly IList<TSource> _source; 22public IListSkipTakeIterator(IList<TSource> source, int minIndexInclusive, int maxIndexInclusive) 147private static void Fill(IList<TSource> source, Span<TSource> destination, int sourceIndex) 169IList<TSource> source = _source; 212void IList<TSource>.Insert(int index, TSource item) => ThrowHelper.ThrowNotSupportedException(); 214void IList<TSource>.RemoveAt(int index) => ThrowHelper.ThrowNotSupportedException(); 232Debug.Assert(!(source is IList<TSource>), $"The caller needs to check for {nameof(IList<TSource>)}.");
System\Linq\Take.SpeedOpt.cs (2)
18source is IList<TSource> sourceList ? new IListSkipTakeIterator<TSource>(sourceList, 0, count - 1) : 29source is IList<TSource> sourceList ? new IListSkipTakeIterator<TSource>(sourceList, startIndex, endIndex - 1) :
System\Linq\Where.cs (1)
30if (IsSizeOptimized && source is IList<TSource> sourceList)
System\Linq\Where.SizeOpt.cs (2)
13private readonly IList<TSource> _source; 17public SizeOptIListWhereIterator(IList<TSource> source, Func<TSource, bool> predicate)
System.Linq.AsyncEnumerable (8)
System\Linq\ElementAtAsync.cs (2)
59/// <para>If the type of <paramref name="source" /> implements <see cref="IList{T}" />, that implementation is used to obtain the element at the specified index. Otherwise, this method obtains the specified element.</para> 87/// <para>If the type of <paramref name="source" /> implements <see cref="IList{T}" />, that implementation is used to obtain the element at the specified index. Otherwise, this method obtains the specified element.</para>
System\Linq\GroupBy.cs (4)
452int IList<TElement>.IndexOf(TElement item) => Array.IndexOf(_elements, item, 0, _count); 454void IList<TElement>.Insert(int index, TElement item) => throw new NotSupportedException(); 456void IList<TElement>.RemoveAt(int index) => throw new NotSupportedException(); 458TElement IList<TElement>.this[int index]
System\Linq\ToAsyncEnumerable.cs (2)
27IList<TSource> list => FromIList(list), 54static async IAsyncEnumerable<TSource> FromIList(IList<TSource> source)
System.Linq.Expressions (9)
System\Dynamic\BindingRestrictions.cs (1)
122public static BindingRestrictions Combine(IList<DynamicMetaObject>? contributingObjects)
System\Dynamic\Utils\ContractUtils.cs (2)
108public static void RequiresNotNullItems<T>(IList<T> array, string arrayName) 135public static void RequiresArrayRange<T>(IList<T> array, int offset, int count, string offsetName, string countName)
System\Linq\Expressions\Compiler\TypeInfoExtensions.cs (2)
15return info.MakeDelegateType(retType, (IList<Expression>)args); 19public static Type MakeDelegateType(this DelegateHelpers.TypeInfo info, Type retType, IList<Expression> args)
System\Linq\Expressions\IArgumentProvider.cs (2)
13/// the nodes to hold onto an <see cref="Collections.Generic.IList{T}"/> instead of a 25/// For the array case the collection is typed to <see cref="Collections.Generic.IList{T}"/> instead
System\Linq\Expressions\RuntimeVariablesExpression.cs (1)
15/// Evaluates to an instance of <see cref="IList{IStrongBox}"/> when executed.
System\Runtime\CompilerServices\DynamicAttribute.cs (1)
57public IList<bool> TransformFlags
System.Linq.Parallel (15)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (6)
56source is IList<T> ? OrdinalIndexState.Indexable : OrdinalIndexState.Correct) 85if (source is IList<T> sourceAsList) 385private readonly IList<T> _data; // The elements to iterate over. 407internal ListIndexRangeEnumerator(IList<T> data, int partitionCount, int partitionIndex, int maxChunkSize) 504private readonly IList<T> _data; // The elements to iterate over. 509internal ListContiguousIndexRangeEnumerator(IList<T> data, int partitionCount, int partitionIndex)
System\Linq\Parallel\QueryOperators\ListQueryResults.cs (2)
20private readonly IList<T> _source; 24internal ListQueryResults(IList<T> source, int partitionCount, bool useStriping)
System\Linq\Parallel\QueryOperators\PartitionerQueryOperator.cs (2)
148IList<IEnumerator<KeyValuePair<long, TElement>>> partitionerPartitions = 174IList<IEnumerator<TElement>> partitionerPartitions =
System\Linq\Parallel\QueryOperators\QueryResults.cs (3)
87int IList<T>.IndexOf(T item) 92void IList<T>.Insert(int index, T item) 97void IList<T>.RemoveAt(int index)
System\Linq\Parallel\QueryOperators\ScanQueryOperator.cs (2)
61if (_data is IList<TElement> dataAsList) 100return _data is IList<TElement>
System.Net.Http (2)
System\Net\Http\Headers\HttpHeaders.cs (2)
115if (values is IList<string?> { Count: 1 } valuesList) 202if (values is IList<string?> valuesList)
System.Net.Quic (1)
System\Net\Quic\Internal\MsQuicBuffers.cs (1)
68public void Initialize<T>(IList<T> inputs, Func<T, ReadOnlyMemory<byte>> toBuffer)
System.Net.Sockets (42)
System\Net\Sockets\Socket.cs (10)
1117public int Send(IList<ArraySegment<byte>> buffers) 1124public int Send(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags) 1137public int Send(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode) 1611public int Receive(IList<ArraySegment<byte>> buffers) 1618public int Receive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags) 1631public int Receive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode) 2523public IAsyncResult BeginSend(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, AsyncCallback? callback, object? state) 2532public IAsyncResult? BeginSend(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state) 2620public IAsyncResult BeginReceive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, AsyncCallback? callback, object? state) 2628public IAsyncResult? BeginReceive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state)
System\Net\Sockets\Socket.Tasks.cs (5)
309public Task<int> ReceiveAsync(IList<ArraySegment<byte>> buffers) => 318public Task<int> ReceiveAsync(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags) 573public Task<int> SendAsync(IList<ArraySegment<byte>> buffers) => 582public Task<int> SendAsync(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags) 809private static void ValidateBuffersList(IList<ArraySegment<byte>> buffers)
System\Net\Sockets\SocketAsyncContext.Unix.cs (12)
395public IList<ArraySegment<byte>>? Buffers; 507public IList<ArraySegment<byte>>? Buffers; 562public IList<ArraySegment<byte>>? Buffers; 1739public SocketError Receive(IList<ArraySegment<byte>> buffers, SocketFlags flags, int timeout, out int bytesReceived) 1744public SocketError ReceiveAsync(IList<ArraySegment<byte>> buffers, SocketFlags flags, out int bytesReceived, out SocketFlags receivedFlags, Action<int, Memory<byte>, SocketFlags, SocketError> callback) 1749public SocketError ReceiveFrom(IList<ArraySegment<byte>> buffers, ref SocketFlags flags, Memory<byte> socketAddress, out int socketAddressLen, int timeout, out int bytesReceived) 1781public SocketError ReceiveFromAsync(IList<ArraySegment<byte>> buffers, SocketFlags flags, Memory<byte> socketAddress, out int socketAddressLen, out int bytesReceived, out SocketFlags receivedFlags, Action<int, Memory<byte>, SocketFlags, SocketError> callback) 1894public SocketError ReceiveMessageFromAsync(Memory<byte> buffer, IList<ArraySegment<byte>>? buffers, SocketFlags flags, Memory<byte> socketAddress, out int socketAddressLen, bool isIPv4, bool isIPv6, out int bytesReceived, out SocketFlags receivedFlags, out IPPacketInformation ipPacketInformation, Action<int, Memory<byte>, SocketFlags, IPPacketInformation, SocketError> callback, CancellationToken cancellationToken = default) 2048public SocketError Send(IList<ArraySegment<byte>> buffers, SocketFlags flags, int timeout, out int bytesSent) 2053public SocketError SendAsync(IList<ArraySegment<byte>> buffers, SocketFlags flags, out int bytesSent, Action<int, Memory<byte>, SocketFlags, SocketError> callback) 2058public SocketError SendTo(IList<ArraySegment<byte>> buffers, SocketFlags flags, Memory<byte> socketAddress, int timeout, out int bytesSent) 2092public SocketError SendToAsync(IList<ArraySegment<byte>> buffers, SocketFlags flags, Memory<byte> socketAddress, out int bytesSent, Action<int, Memory<byte>, SocketFlags, SocketError> callback)
System\Net\Sockets\SocketAsyncEventArgs.cs (2)
27private IList<ArraySegment<byte>>? _bufferList; 147public IList<ArraySegment<byte>>? BufferList
System\Net\Sockets\SocketPal.Unix.cs (11)
285private static unsafe int SysSend(SafeSocketHandle socket, SocketFlags flags, IList<ArraySegment<byte>> buffers, ref int bufferIndex, ref int offset, ReadOnlySpan<byte> socketAddress, out Interop.Error errno) 380private static unsafe int SysReceive(SafeSocketHandle socket, SocketFlags flags, IList<ArraySegment<byte>> buffers, Span<byte> socketAddress, out int socketAddressLen, out SocketFlags receivedFlags, out Interop.Error errno) 539SafeSocketHandle socket, SocketFlags flags, IList<ArraySegment<byte>> buffers, 770public static bool TryCompleteReceiveFrom(SafeSocketHandle socket, IList<ArraySegment<byte>> buffers, SocketFlags flags, Span<byte> socketAddress, out int socketAddressLen, out int bytesReceived, out SocketFlags receivedFlags, out SocketError errorCode) => 832public static unsafe bool TryCompleteReceiveFrom(SafeSocketHandle socket, Span<byte> buffer, IList<ArraySegment<byte>>? buffers, SocketFlags flags, Span<byte> socketAddress, out int receivedSocketAddressLength, out int bytesReceived, out SocketFlags receivedFlags, out SocketError errorCode) 903public static bool TryCompleteReceiveMessageFrom(SafeSocketHandle socket, Span<byte> buffer, IList<ArraySegment<byte>>? buffers, SocketFlags flags, Memory<byte> socketAddress, out int receivedSocketAddressLength, bool isIPv4, bool isIPv6, out int bytesReceived, out SocketFlags receivedFlags, out IPPacketInformation ipPacketInformation, out SocketError errorCode) 961public static bool TryCompleteSendTo(SafeSocketHandle socket, IList<ArraySegment<byte>> buffers, ref int bufferIndex, ref int offset, SocketFlags flags, ReadOnlySpan<byte> socketAddress, ref int bytesSent, out SocketError errorCode) 967public static bool TryCompleteSendTo(SafeSocketHandle socket, ReadOnlySpan<byte> buffer, IList<ArraySegment<byte>>? buffers, ref int bufferIndex, ref int offset, ref int count, SocketFlags flags, ReadOnlySpan<byte> socketAddress, ref int bytesSent, out SocketError errorCode) 1178public static SocketError Send(SafeSocketHandle handle, IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out int bytesTransferred) 1180var bufferList = buffers; 1262public static SocketError Receive(SafeSocketHandle handle, IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out int bytesTransferred)
System\Net\Sockets\SocketTaskExtensions.cs (2)
53public static Task<int> ReceiveAsync(this Socket socket, IList<ArraySegment<byte>> buffers, SocketFlags socketFlags) => 69public static Task<int> SendAsync(this Socket socket, IList<ArraySegment<byte>> buffers, SocketFlags socketFlags) =>
System.Private.CoreLib (83)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (4)
176T IList<T>.this[int index] 197int IList<T>.IndexOf(T item) 209void IList<T>.Insert(int index, T item) => ThrowHelper.ThrowNotSupportedException(); 211void IList<T>.RemoveAt(int index) => ThrowHelper.ThrowNotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\CollectionExtensions.cs (2)
63/// <returns>An object that acts as a read-only wrapper around the current <see cref="IList{T}"/>.</returns> 65public static ReadOnlyCollection<T> AsReadOnly<T>(this IList<T> list) =>
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (3)
16private readonly IList<T> items; // Do not rename (binary serialization) 23public Collection(IList<T> list) 34protected IList<T> Items => items;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (6)
17private readonly IList<T> list; // Do not rename (binary serialization) 19public ReadOnlyCollection(IList<T> list) 56protected IList<T> Items => list; 60T IList<T>.this[int index] 76void IList<T>.Insert(int index, T value) 87void IList<T>.RemoveAt(int index)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
5632public IList<string> Errors => errors;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (2)
712eventCallbackArgs.Payload = new ReadOnlyCollection<object?>((IList<object?>)payload.Values); 713eventCallbackArgs.PayloadNames = new ReadOnlyCollection<string>((IList<string>)payload.Keys);
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
114public virtual IList<CustomAttributeData> GetCustomAttributesData() { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeData.cs (8)
13public static IList<CustomAttributeData> GetCustomAttributes(MemberInfo target) 20public static IList<CustomAttributeData> GetCustomAttributes(Module target) 27public static IList<CustomAttributeData> GetCustomAttributes(Assembly target) 34public static IList<CustomAttributeData> GetCustomAttributes(ParameterInfo target) 57IList<CustomAttributeTypedArgument> constructorArguments = ConstructorArguments; 66IList<CustomAttributeNamedArgument> namedArguments = NamedArguments; 86public virtual IList<CustomAttributeTypedArgument> ConstructorArguments => null!; 87public virtual IList<CustomAttributeNamedArgument> NamedArguments => null!;
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeTypedArgument.cs (2)
59IList<CustomAttributeTypedArgument> array = (IList<CustomAttributeTypedArgument>)Value!;
src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
39public virtual IList<CustomAttributeData> GetCustomAttributesData() { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBody.cs (2)
12public virtual IList<LocalVariableInfo> LocalVariables => throw new ArgumentNullException("array"); 16public virtual IList<ExceptionHandlingClause> ExceptionHandlingClauses => throw new ArgumentNullException("array");
src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
34public virtual IList<CustomAttributeData> GetCustomAttributesData() { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (5)
72IList<CustomAttributeData> attributes = parameterInfo.GetCustomAttributesData(); 140private static void CheckNullabilityAttributes(NullabilityInfo nullability, IList<CustomAttributeData> attributes) 263IList<CustomAttributeData> attributes = fieldInfo.GetCustomAttributesData(); 303private static NotAnnotatedStatus PopulateAnnotationInfo(IList<CustomAttributeData> customAttributes) 395private static NullableAttributeStateParser CreateParser(IList<CustomAttributeData> customAttributes)
src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (1)
42public virtual IList<CustomAttributeData> GetCustomAttributesData() { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeMethodBody.cs (2)
21public override IList<LocalVariableInfo> LocalVariables => Array.AsReadOnly(_localVariables); 25public override IList<ExceptionHandlingClause> ExceptionHandlingClauses => Array.AsReadOnly(_exceptionHandlingClauses);
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
174public sealed override IList<CustomAttributeData> GetCustomAttributesData() => throw new NotSupportedException(SR.NotSupported_SignatureType);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TupleElementNamesAttribute.cs (1)
51public IList<string?> TransformNames => _transformNames;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
68public override IList<CustomAttributeData> GetCustomAttributesData()
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (4)
2269private IList<TTask>? _tasks; // must track this for cleanup 2272public CompleteOnInvokePromise(IList<TTask> tasks, bool isSyncBlocking) 2316IList<TTask>? tasks = _tasks; 2336internal static Task<TTask> CommonCWAnyLogic<TTask>(IList<TTask> tasks, bool isSyncBlocking = false) where TTask : Task
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadLocal.cs (1)
421public IList<T> Values
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (1)
223public override IList<CustomAttributeData> GetCustomAttributesData() =>
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
499public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\Reflection\RuntimeAssembly.cs (1)
341public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
154public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\Reflection\RuntimeCustomAttributeData.cs (20)
18internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeType target) 22IList<CustomAttributeData> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken); 28internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeFieldInfo target) 32IList<CustomAttributeData> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken); 38internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeMethodInfo target) 42IList<CustomAttributeData> cad = GetCustomAttributes(target.GetRuntimeModule(), target.MetadataToken); 48internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeConstructorInfo target) 55internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeEventInfo target) 62internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimePropertyInfo target) 69internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeModule target) 79internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeAssembly target) 88internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeParameterInfo target) 93IList<CustomAttributeData> cad = GetCustomAttributes(target.GetRuntimeModule()!, target.MetadataToken); 98private static ReadOnlyCollection<CustomAttributeData> GetCombinedList(IList<CustomAttributeData> customAttributes, ref RuntimeType.ListBuilder<Attribute> pseudoAttributes) 183private static IList<CustomAttributeData> GetCustomAttributes(RuntimeModule module, int tkTarget) 223internal static CustomAttributeTypedArgument Filter(IList<CustomAttributeData> attrs, Type? caType, int parameter) 241private IList<CustomAttributeTypedArgument> m_typedCtorArgs = null!; 242private IList<CustomAttributeNamedArgument> m_namedArgs = null!; 417public override IList<CustomAttributeTypedArgument> ConstructorArguments 446public override IList<CustomAttributeNamedArgument> NamedArguments
src\System\Reflection\RuntimeEventInfo.cs (1)
114public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\Reflection\RuntimeFieldInfo.cs (1)
85public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
199public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\Reflection\RuntimeModule.cs (1)
378public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\Reflection\RuntimeParameterInfo.cs (3)
377IList<CustomAttributeTypedArgument> args = attr.ConstructorArguments; 387static int GetConstructorArgument(IList<CustomAttributeTypedArgument> args, int index) 485public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\Reflection\RuntimePropertyInfo.cs (1)
162public override IList<CustomAttributeData> GetCustomAttributesData()
src\System\RuntimeType.CoreCLR.cs (2)
1048AddSpecialInterface(ref list, filter, (RuntimeType)typeof(IList<>).MakeGenericType(arrayType), true); 1614IList<CustomAttributeData> attrs = CustomAttributeData.GetCustomAttributes(t);
System.Private.DataContractSerialization (37)
System\Runtime\Serialization\CollectionDataContract.cs (1)
929return ((IList<Type>)KnownInterfaces).Contains(type);
System\Runtime\Serialization\DataContract.cs (6)
1908IList<int> nestedParameterCounts = genericNameProvider.GetNestedParameterCounts(); 2281IList<int> GetNestedParameterCounts(); 2301private readonly IList<int> _nestedParamCounts; 2322public IList<int> GetNestedParameterCounts() 2411public IList<GenericInfo>? Parameters => _paramGenericInfos; 2442IList<int> IGenericNameProvider.GetNestedParameterCounts()
System\Runtime\Serialization\DataContractSerializer.cs (1)
27internal IList<Type>? _knownTypeList;
System\Runtime\Serialization\ExtensionDataObject.cs (12)
13private IList<ExtensionDataMember>? _members; 19internal IList<ExtensionDataMember>? Members 196private IList<ExtensionDataMember>? _members; 203internal IList<ExtensionDataMember>? Members 218private IList<XmlAttribute>? _xmlAttributes; 219private IList<XmlNode>? _xmlChildNodes; 227internal IList<XmlAttribute>? XmlAttributes 233internal IList<XmlNode>? XmlChildNodes 256private IList<IDataNode?>? _items; 266internal IList<IDataNode?>? Items 309private IList<ISerializableDataMember>? _members; 328internal IList<ISerializableDataMember>? Members
System\Runtime\Serialization\Globals.cs (1)
84internal static Type TypeOfIListGeneric => field ??= typeof(IList<>);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
24internal IList<Type>? knownTypeList;
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
62private static List<Type> GetKnownTypesFromContext(XmlObjectSerializerContext? context, IList<Type>? serializerKnownTypeList)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
74internal IList<Type>? SerializerKnownTypeList
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
39internal IList<Type>? SerializerKnownTypeList
System\Runtime\Serialization\XmlObjectSerializerContext.cs (2)
24protected IList<Type>? serializerKnownTypeList; 190internal static DataContractDictionary? GetDataContractsForKnownTypes(IList<Type> knownTypeList)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (4)
1038internal XmlReaderDelegator CreateReaderOverChildNodes(IList<XmlAttribute>? xmlAttributes, IList<XmlNode> xmlChildNodes) 1047internal static XmlElement CreateWrapperXmlElement(XmlDocument document, IList<XmlAttribute>? xmlAttributes, IList<XmlNode>? xmlChildNodes, string? prefix, string? localName, string? ns)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (6)
662IList<ExtensionDataMember>? members = extensionData.Members; 760IList<ExtensionDataMember>? members = dataNode.Members; 781IList<IDataNode?>? items = dataNode.Items; 805IList<ISerializableDataMember>? members = dataNode.Members; 825IList<XmlAttribute>? xmlAttributes = dataNode.XmlAttributes; 833IList<XmlNode>? xmlChildNodes = dataNode.XmlChildNodes;
System.Private.Xml (201)
System\Xml\Schema\SchemaElementDecl.cs (1)
217internal IList<IDtdDefaultAttributeInfo>? DefaultAttDefs
System\Xml\Serialization\XmlSerializerNamespaces.cs (1)
52internal XmlSerializerNamespaces(IList<XmlQualifiedName> namespaces)
System\Xml\XPath\Internal\FunctionQuery.cs (1)
15private readonly IList<Query> _args;
System\Xml\XPath\Internal\StringFunctions.cs (2)
18private readonly IList<Query> _argList; 20public StringFunctions(Function.FunctionType funcType, IList<Query> argList)
System\Xml\Xsl\IlGen\GenerateHelper.cs (8)
124Type listType = typeof(IList<>).MakeGenericType(storageType); 294public static readonly MethodInfo SeqMatchesCode = typeof(XmlQueryRuntime).GetMethod("MatchesXmlType", new[] { typeof(IList<XPathItem>), typeof(XmlTypeCode) })!; 295public static readonly MethodInfo SeqMatchesType = typeof(XmlQueryRuntime).GetMethod("MatchesXmlType", new[] { typeof(IList<XPathItem>), typeof(int) })!; 418public static readonly MethodInfo ItemsToBool = typeof(XsltConvert).GetMethod("ToBoolean", new[] { typeof(IList<XPathItem>) })!; 419public static readonly MethodInfo ItemsToDbl = typeof(XsltConvert).GetMethod("ToDouble", new[] { typeof(IList<XPathItem>) })!; 420public static readonly MethodInfo ItemsToNode = typeof(XsltConvert).GetMethod("ToNode", new[] { typeof(IList<XPathItem>) })!; 421public static readonly MethodInfo ItemsToNodes = typeof(XsltConvert).GetMethod("ToNodeSet", new[] { typeof(IList<XPathItem>) })!; 422public static readonly MethodInfo ItemsToStr = typeof(XsltConvert).GetMethod("ToString", new[] { typeof(IList<XPathItem>) })!;
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (3)
101typeof(IList<>).MakeGenericType(itemStorageType).IsAssignableFrom(loc.LocalType), 134typeof(IList<>).MakeGenericType(itemStorageType).IsAssignableFrom(methGlobal.ReturnType), 601EnsureLocal(_helper.DeclareLocal(locName, typeof(IList<>).MakeGenericType(_storage.ItemStorageType)));
System\Xml\Xsl\IlGen\StaticDataManager.cs (1)
109public int DeclarePrefixMappings(IList<QilNode> list)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (1)
806local1.Add((IList<QilNode>)nd);
System\Xml\Xsl\IlGen\XmlIlTypeHelper.cs (57)
41if (!qyTyp.IsStrict && storageType != typeof(IList<XPathNavigator>)) 42return typeof(IList<XPathItem>); 107typeof(IList<XPathItem>), // XmlTypeCode.None 108typeof(IList<XPathItem>), // XmlTypeCode.Item 109typeof(IList<XPathNavigator>), // XmlTypeCode.Node 110typeof(IList<XPathNavigator>), // XmlTypeCode.Document 111typeof(IList<XPathNavigator>), // XmlTypeCode.Element 112typeof(IList<XPathNavigator>), // XmlTypeCode.Attribute 113typeof(IList<XPathNavigator>), // XmlTypeCode.Namespace 114typeof(IList<XPathNavigator>), // XmlTypeCode.ProcessingInstruction 115typeof(IList<XPathNavigator>), // XmlTypeCode.Comment 116typeof(IList<XPathNavigator>), // XmlTypeCode.Text 117typeof(IList<XPathItem>), // XmlTypeCode.AnyAtomicType 118typeof(IList<string>), // XmlTypeCode.UntypedAtomic 119typeof(IList<string>), // XmlTypeCode.String 120typeof(IList<bool>), // XmlTypeCode.Boolean 121typeof(IList<decimal>), // XmlTypeCode.Decimal 122typeof(IList<float>), // XmlTypeCode.Float 123typeof(IList<double>), // XmlTypeCode.Double 124typeof(IList<string>), // XmlTypeCode.Duration 125typeof(IList<DateTime>), // XmlTypeCode.DateTime 126typeof(IList<DateTime>), // XmlTypeCode.Time 127typeof(IList<DateTime>), // XmlTypeCode.Date 128typeof(IList<DateTime>), // XmlTypeCode.GYearMonth 129typeof(IList<DateTime>), // XmlTypeCode.GYear 130typeof(IList<DateTime>), // XmlTypeCode.GMonthDay 131typeof(IList<DateTime>), // XmlTypeCode.GDay 132typeof(IList<DateTime>), // XmlTypeCode.GMonth 133typeof(IList<byte[]>), // XmlTypeCode.HexBinary 134typeof(IList<byte[]>), // XmlTypeCode.Base64Binary 135typeof(IList<string>), // XmlTypeCode.AnyUri 136typeof(IList<XmlQualifiedName>), // XmlTypeCode.QName 137typeof(IList<XmlQualifiedName>), // XmlTypeCode.Notation 138typeof(IList<string>), // XmlTypeCode.NormalizedString 139typeof(IList<string>), // XmlTypeCode.Token 140typeof(IList<string>), // XmlTypeCode.Language 141typeof(IList<string>), // XmlTypeCode.NmToken 142typeof(IList<string>), // XmlTypeCode.Name 143typeof(IList<string>), // XmlTypeCode.NCName 144typeof(IList<string>), // XmlTypeCode.Id 145typeof(IList<string>), // XmlTypeCode.Idref 146typeof(IList<string>), // XmlTypeCode.Entity 147typeof(IList<long>), // XmlTypeCode.Integer 148typeof(IList<decimal>), // XmlTypeCode.NonPositiveInteger 149typeof(IList<decimal>), // XmlTypeCode.NegativeInteger 150typeof(IList<long>), // XmlTypeCode.Long 151typeof(IList<int>), // XmlTypeCode.Int 152typeof(IList<int>), // XmlTypeCode.Short 153typeof(IList<int>), // XmlTypeCode.Byte 154typeof(IList<decimal>), // XmlTypeCode.NonNegativeInteger 155typeof(IList<decimal>), // XmlTypeCode.UnsignedLong 156typeof(IList<long>), // XmlTypeCode.UnsignedInt 157typeof(IList<int>), // XmlTypeCode.UnsignedShort 158typeof(IList<int>), // XmlTypeCode.UnsignedByte 159typeof(IList<decimal>), // XmlTypeCode.PositiveInteger 160typeof(IList<TimeSpan>), // XmlTypeCode.YearMonthDuration 161typeof(IList<TimeSpan>), // XmlTypeCode.DayTimeDuration
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (4)
3560LocalBuilder locArgs = _helper.DeclareLocal("$$$args", typeof(IList<XPathItem>[])); 3571_helper.Emit(OpCodes.Newarr, typeof(IList<XPathItem>)); 3583_helper.Emit(OpCodes.Ldelema, typeof(IList<XPathItem>)); 3588_helper.Emit(OpCodes.Stobj, typeof(IList<XPathItem>));
System\Xml\Xsl\ListBase.cs (2)
208private readonly IList<T> _sequence; 215public IListEnumerator(IList<T> sequence)
System\Xml\Xsl\QIL\QilExpression.cs (4)
133public IList<WhitespaceRule> WhitespaceRules 135get { return (IList<WhitespaceRule>)((QilLiteral)_wsRules).Value!; } 160public IList<EarlyBoundInfo> EarlyBoundTypes 162get { return (IList<EarlyBoundInfo>)((QilLiteral)_earlBnd).Value!; }
System\Xml\Xsl\QIL\QilFactory.cs (4)
32public QilList ActualParameterList(IList<QilNode> values) 39public QilList FormalParameterList(IList<QilNode> values) 46public QilList BranchList(IList<QilNode> values) 53public QilList Sequence(IList<QilNode> values)
System\Xml\Xsl\QIL\QilNode.cs (1)
160public virtual void Add(IList<QilNode> list)
System\Xml\Xsl\QIL\QilPatternFactory.cs (4)
454return StrConcat((IList<QilNode>)args); 457public QilNode StrConcat(IList<QilNode> args) 816public QilNode XsltInvokeEarlyBound(QilNode name, MethodInfo d, XmlQueryType t, IList<QilNode> args) 823public QilNode XsltInvokeLateBound(QilNode name, IList<QilNode> args)
System\Xml\Xsl\QIL\QilTypeChecker.cs (2)
168CheckLiteralValue(node[2], typeof(IList<WhitespaceRule>)); 171CheckLiteralValue(node[5], typeof(IList<EarlyBoundInfo>));
System\Xml\Xsl\QIL\QilXmlWriter.cs (3)
110else if (ann is IList<object> list) 202IList<QilNode> fdecls = new ForwardRefFinder().Find(qil); 320public IList<QilNode> Find(QilExpression qil)
System\Xml\Xsl\Runtime\DodSequenceMerge.cs (3)
19private IList<XPathNavigator>? _firstSequence; 38public void AddSequence(IList<XPathNavigator> sequence) 65public IList<XPathNavigator> MergeSequences()
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
35public WhitespaceRuleLookup(IList<WhitespaceRule> rules) : this()
System\Xml\Xsl\Runtime\XmlILStorageConverter.cs (8)
84public static IList<XPathItem> NavigatorsToItems(IList<XPathNavigator> listNavigators) 87IList<XPathItem>? listItems = listNavigators as IList<XPathItem>; 95public static IList<XPathNavigator> ItemsToNavigators(IList<XPathItem> listItems) 98IList<XPathNavigator>? listNavs = listItems as IList<XPathNavigator>;
System\Xml\Xsl\Runtime\XmlQueryContext.cs (3)
255public IList<XPathItem> InvokeXsltLateBoundFunction(string name, string namespaceUri, IList<XPathItem>[] args) 318return (IList<XPathItem>)_runtime.ChangeTypeXsltResult(XmlQueryTypeFactory.ItemS, objRet);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (13)
175Debug.Assert(_globalValues![idx] is IList<XPathItem>, "Only debugger should call this method, and all global values should have type item* in debugging scenarios."); 192Debug.Assert(_globalValues![idx] is IList<XPathItem>, "Only debugger should call this method, and all global values should have type item* in debugging scenarios."); 195_globalValues[idx] = (IList<XPathItem>)XmlAnyListConverter.ItemList.ChangeType(value, typeof(XPathItem[]), null); 509IList<XPathNavigator> seq = (IList<XPathNavigator>)value; 529IList<XPathItem> seq = (IList<XPathItem>)value; 701public bool MatchesXmlType(IList<XPathItem> seq, int indexType) 736public bool MatchesXmlType(IList<XPathItem> seq, XmlTypeCode code) 858public IList<XPathNavigator> DocOrderDistinct(IList<XPathNavigator> seq) 987public IList<XPathItem> EndSequenceConstruction(out XmlQueryOutput output) 989IList<XPathItem> seq = ((XmlCachedSequenceWriter)_output.SequenceWriter!).ResultSequence;
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (7)
342void IList<T>.Insert(int index, T value) 350void IList<T>.RemoveAt(int index) 545public XmlQueryNodeSequence(IList<XPathNavigator> list) : base(list.Count) 723XPathItem IList<XPathItem>.this[int index] 737int IList<XPathItem>.IndexOf(XPathItem value) 745void IList<XPathItem>.Insert(int index, XPathItem value) 753void IList<XPathItem>.RemoveAt(int index)
System\Xml\Xsl\Runtime\XmlQueryStaticData.cs (3)
26private readonly IList<WhitespaceRule>? _whitespaceRules; 39public XmlQueryStaticData(XmlWriterSettings defaultWriterSettings, IList<WhitespaceRule> whitespaceRules, StaticDataManager staticData) 339public IList<WhitespaceRule>? WhitespaceRules
System\Xml\Xsl\Runtime\XslNumber.cs (1)
181public string FormatSequence(IList<XPathItem> val)
System\Xml\Xsl\Runtime\XsltConvert.cs (9)
54public static bool ToBoolean(IList<XPathItem> listItems) 98public static double ToDouble(IList<XPathItem> listItems) 134public static XPathNavigator ToNode(IList<XPathItem> listItems) 149public static IList<XPathNavigator> ToNodeSet(XPathItem item) 154public static IList<XPathNavigator> ToNodeSet(IList<XPathItem> listItems) 185public static string ToString(IList<XPathItem> listItems) 323public static IList<XPathNavigator> EnsureNodeSet(IList<XPathItem> listItems)
System\Xml\Xsl\Runtime\XsltFunctions.cs (2)
268public static string EXslObjectType(IList<XPathItem> value) 312public static double MSNumber(IList<XPathItem> value)
System\Xml\Xsl\Runtime\XsltLibrary.cs (14)
23public static readonly MethodInfo EnsureNodeSet = typeof(XsltConvert).GetMethod("EnsureNodeSet", new[] { typeof(IList<XPathItem>) })!; 90public string FormatMessage(string res, IList<string> args) 212public string NumberFormat(IList<XPathItem> value, string formatString, 397private static bool CompareNodeSetAndValue(ComparisonOperator op, IList<XPathNavigator> nodeset, XPathItem val, TypeCode compType) 419private static bool CompareNodeSetAndNodeSet(ComparisonOperator op, IList<XPathNavigator> left, IList<XPathNavigator> right, TypeCode compType) 436public bool EqualityOperator(double opCode, IList<XPathItem> left, IList<XPathItem> right) 484public bool RelationalOperator(double opCode, IList<XPathItem> left, IList<XPathItem> right) 555internal static void CheckXsltValue(IList<XPathItem> val) 584private static bool IsNodeSetOrRtf(IList<XPathItem> val) 594private static IList<XPathNavigator> ToNodeSetOrRtf(IList<XPathItem> val)
System\Xml\Xsl\XmlIlGenerator.cs (3)
193private void CreateFunctionMetadata(IList<QilNode> funcList) 250private void CreateGlobalValueMetadata(IList<QilNode> globalList) 330private void EvaluateGlobalValues(IList<QilNode> iterList)
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
251private static List<XmlQueryType> PrimeChoice(List<XmlQueryType> accumulator, IList<XmlQueryType> types)
System\Xml\Xsl\XPath\IXpathBuilder.cs (1)
36Node Function(string prefix, string name, IList<Node> args);
System\Xml\Xsl\XPath\IXPathEnvironment.cs (1)
29QilNode ResolveFunction(string prefix, string name, IList<QilNode> args, IFocus env);
System\Xml\Xsl\XPath\XPathBuilder.cs (3)
44QilNode IXPathEnvironment.ResolveFunction(string prefix, string name, IList<QilNode> args, IFocus env) 559public virtual QilNode Function(string prefix, string name, IList<QilNode> args) 1031public void CastArguments(IList<QilNode> args, string name, XPathQilFactory f)
System\Xml\Xsl\Xslt\Focus.cs (1)
102public void StartFocus(IList<QilNode> args, XslFlags flags)
System\Xml\Xsl\Xslt\InvokeGenerator.cs (2)
40public QilNode GenerateInvoke(QilFunction func, IList<XslNode> actualArgs) 101private static QilNode? FindActualArg(QilParameter formalArg, IList<XslNode> actualArgs)
System\Xml\Xsl\Xslt\MatcherBuilder.cs (1)
491public QilNode BuildMatcher(QilIterator it, IList<XslNode> actualArgs, QilNode otherwise)
System\Xml\Xsl\Xslt\QilGenerator.cs (15)
687private QilNode CompileInstructions(IList<XslNode> instructions) 692private QilNode CompileInstructions(IList<XslNode> instructions, int from) 697private QilNode CompileInstructions(IList<XslNode> instructions, QilList content) 702private QilNode CompileInstructions(IList<XslNode> instructions, int from, QilList content) 1144IList<XslNode> content = node.Content; 1168IList<XslNode> content = node.Content; 1230IList<XslNode> content = node.Content; 1414IList<XslNode> cases = node.Content; 1478IList<XslNode> content = node.Content; 1523private QilList? CompileSorts(IList<XslNode> content, ref LoopFocus parentLoop) 2531private static void SetArg(IList<XslNode> args, int pos, QilName name, QilNode value) 2545private IList<XslNode>? AddRemoveImplicitArgs(IList<XslNode>? args, XslFlags flags) 2570private static bool FillupInvokeArgs(QilList formalArgs, IList<XslNode> actualArgs, QilList invokeArgs) 2619private QilNode InvokeApplyFunction(StylesheetLevel sheet, QilName mode, IList<XslNode>? actualArgs)
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (2)
101QilNode IXPathEnvironment.ResolveFunction(string prefix, string name, IList<QilNode> args, IFocus env) 239private QilNode GenerateScriptCall(QilName name, XmlExtensionFunction scrFunc, IList<QilNode> args)
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (2)
289public QilNode Function(string prefix, string name, IList<QilNode> args) 410public QilNode ResolveFunction(string prefix, string name, IList<QilNode> args, IFocus env)
System\Xml\Xsl\Xslt\XslAst.cs (2)
105private static readonly IList<XslNode> s_emptyList = new List<XslNode>().AsReadOnly(); 107public IList<XslNode> Content
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (3)
57private static readonly IList<V> s_empty = (new List<V>()).AsReadOnly(); 1059public XslFlags Function(string prefix, string name, IList<XslFlags> args) 1353var content = node.Content;
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
799private void CheckUseAttrubuteSetInList(IList<XslNode> list)
System.Reflection.Context (34)
System\Reflection\Context\Delegation\DelegatingAssembly.cs (1)
55public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
101public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingCustomAttributeData.cs (2)
25public override IList<CustomAttributeTypedArgument> ConstructorArguments 30public override IList<CustomAttributeNamedArgument> NamedArguments
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
95public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingFieldInfo.cs (1)
86public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingMethodBody.cs (2)
20public override IList<ExceptionHandlingClause> ExceptionHandlingClauses 35public override IList<LocalVariableInfo> LocalVariables
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
123public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingModule.cs (1)
79public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingParameterInfo.cs (1)
70public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
116public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Delegation\DelegatingType.cs (1)
210public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingAssembly.cs (1)
37public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingConstructorInfo.cs (1)
45public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingCustomAttributeData.cs (2)
28public override IList<CustomAttributeTypedArgument> ConstructorArguments 33public override IList<CustomAttributeNamedArgument> NamedArguments
System\Reflection\Context\Projection\ProjectingEventInfo.cs (1)
70public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingFieldInfo.cs (1)
51public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingMethodBody.cs (2)
23public override IList<ExceptionHandlingClause> ExceptionHandlingClauses 28public override IList<LocalVariableInfo> LocalVariables
System\Reflection\Context\Projection\ProjectingMethodInfo.cs (1)
75public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingModule.cs (1)
36public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingParameterInfo.cs (1)
41public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingPropertyInfo.cs (1)
71public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\ProjectingType.cs (1)
76public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Projection\Projector.cs (3)
13public IList<T>? Project<T>(IList<T>? values, Func<T, T> project) 123private T[] ProjectAll<T>(IList<T> values, Func<T, T> project)
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
107public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (1)
166public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Virtual\VirtualPropertyInfo.cs (1)
68public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Virtual\VirtualPropertyInfo.PropertyGetter.cs (1)
50public override IList<CustomAttributeData> GetCustomAttributesData()
System\Reflection\Context\Virtual\VirtualPropertyInfo.PropertySetter.cs (1)
67public override IList<CustomAttributeData> GetCustomAttributesData()
System.Reflection.MetadataLoadContext (43)
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (1)
59public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
34public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\CustomAttributes\CustomAttributeArguments.cs (4)
14public CustomAttributeArguments(IList<CustomAttributeTypedArgument> fixedArguments, IList<CustomAttributeNamedArgument> namedArguments) 20public IList<CustomAttributeTypedArgument> FixedArguments { get; } 21public IList<CustomAttributeNamedArgument> NamedArguments { get; }
System\Reflection\TypeLoading\CustomAttributes\CustomAttributeHelpers.cs (3)
29public static ReadOnlyCollection<CustomAttributeTypedArgument> CloneForApiReturn(this IList<CustomAttributeTypedArgument> cats) 43public static ReadOnlyCollection<CustomAttributeNamedArgument> CloneForApiReturn(this IList<CustomAttributeNamedArgument> cans) 62if (!(value is IList<CustomAttributeTypedArgument> cats))
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeData.cs (4)
16private volatile IList<CustomAttributeTypedArgument<RoType>>? _lazyFixedArguments; 17private volatile IList<CustomAttributeNamedArgument<RoType>>? _lazyNamedArguments; 26public sealed override IList<CustomAttributeTypedArgument> ConstructorArguments 37public sealed override IList<CustomAttributeNamedArgument> NamedArguments
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (5)
106public static IList<CustomAttributeTypedArgument> ToApiForm(this IList<CustomAttributeTypedArgument<RoType>> catgs) 125if (!(value is IList<CustomAttributeTypedArgument<RoType>> catgs)) 137public static IList<CustomAttributeNamedArgument> ToApiForm(this IList<CustomAttributeNamedArgument<RoType>> cangs, Type attributeType)
System\Reflection\TypeLoading\CustomAttributes\RoCustomAttributeData.cs (2)
21public abstract override IList<CustomAttributeTypedArgument> ConstructorArguments { get; } 22public abstract override IList<CustomAttributeNamedArgument> NamedArguments { get; }
System\Reflection\TypeLoading\CustomAttributes\RoPseudoCustomAttributeData.cs (8)
13private volatile IList<CustomAttributeTypedArgument>? _lazyFixedArguments; 14private volatile IList<CustomAttributeNamedArgument>? _lazyNamedArguments; 25internal RoPseudoCustomAttributeData(ConstructorInfo constructor, IList<CustomAttributeTypedArgument>? fixedArguments = null, IList<CustomAttributeNamedArgument>? namedArguments = null) 32public sealed override IList<CustomAttributeTypedArgument> ConstructorArguments => GetLatchedFixedArguments().CloneForApiReturn(); 33public sealed override IList<CustomAttributeNamedArgument> NamedArguments => GetLatchedNamedArguments().CloneForApiReturn(); 35private IList<CustomAttributeTypedArgument> GetLatchedFixedArguments() => _lazyFixedArguments ?? LazilyComputeArguments().FixedArguments; 36private IList<CustomAttributeNamedArgument> GetLatchedNamedArguments() => _lazyNamedArguments ?? LazilyComputeArguments().NamedArguments;
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
44public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Fields\RoField.cs (1)
46public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (2)
93IList<CustomAttributeTypedArgument> cats = cad.ConstructorArguments; 109IList<CustomAttributeTypedArgument> cats = cad.ConstructorArguments;
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodBody.cs (2)
29public sealed override IList<LocalVariableInfo> LocalVariables 58public sealed override IList<ExceptionHandlingClause> ExceptionHandlingClauses
System\Reflection\TypeLoading\MethodBase\RoMethodBody.cs (2)
23public abstract override IList<LocalVariableInfo> LocalVariables { get; } 24public abstract override IList<ExceptionHandlingClause> ExceptionHandlingClauses { get; }
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
42public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Modules\RoModule.cs (1)
63public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Parameters\RoParameter.cs (1)
32public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Properties\RoProperty.cs (1)
45public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection();
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
134IList<CustomAttributeTypedArgument> ctas = cad.ConstructorArguments;
System\Reflection\TypeLoading\Types\RoType.cs (2)
147public sealed override IList<CustomAttributeData> GetCustomAttributesData() => CustomAttributes.ToReadOnlyCollection(); 301IList<CustomAttributeTypedArgument> fixedArguments = attribute.ConstructorArguments;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net11.0\System.Runtime.Forwards.cs (1)
85[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IList<>))]
System.Runtime.Caching (2)
System\Runtime\Caching\HostFileChangeMonitor.cs (2)
160public HostFileChangeMonitor(IList<string> filePaths) 175private static ReadOnlyCollection<string> SanitizeFilePathsList(IList<string> filePaths)
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
86public override IList<CustomAttributeData> GetCustomAttributesData() => _innerEventInfo.GetCustomAttributesData();
System.Runtime.Serialization.Schema (5)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1231expectedTypeName, expectedTypeNs, GetClrTypeFullName(typeof(IList<>)), GetClrTypeFullName(typeof(ICollection<>)))));
System\Runtime\Serialization\Schema\ImportOptions.cs (1)
64/// Gets a <see cref="IList{T}"/> containing types referenced in generated code.
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (3)
139IList<XmlQualifiedName>? elementNames = InternalImport(schemas, s_emptyTypeNameArray, SingleElementArray); 300private IList<XmlQualifiedName>? InternalImport(XmlSchemaSet schemas, ICollection<XmlQualifiedName>? typeNames, ICollection<XmlSchemaElement>? elements) 303IList<XmlQualifiedName>? elementTypeNames = null;
System.Security.Cryptography.Xml (4)
System\Security\Cryptography\Xml\SignedXml.cs (4)
37private static IList<string>? s_knownCanonicalizationMethods; 39private static IList<string>? s_defaultSafeTransformMethods; 729private static IList<string> KnownCanonicalizationMethods 751private static IList<string> DefaultSafeTransformMethods
System.Security.Permissions (3)
System\Security\Policy\ApplicationTrust.cs (2)
22public IList<StrongName> FullTrustAssemblies { get { return default(IList<StrongName>); } }
System\Xaml\Permissions\XamlLoadPermission.cs (1)
26public IList<XamlAccessLevel> AllowedAccess { get; } = new ReadOnlyCollection<XamlAccessLevel>(Array.Empty<XamlAccessLevel>());
System.ServiceModel.Primitives (119)
Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
75IList<Tuple<string, string>> exceptionInfo = new List<Tuple<string, string>>()
Internals\System\Xml\XmlMtomWriter.cs (3)
53private IList<MtomBinaryData> _binaryDataChunks; 1062internal IList<MtomBinaryData> binaryData; 1068internal MimePart(IList<MtomBinaryData> binaryData, string contentID, string contentType, string contentTransferEncoding, int sizeOfBufferedBinaryData, int maxSizeInBytes)
System\IdentityModel\Claims\DefaultClaimSet.cs (4)
18private IList<Claim> _claims; 25public DefaultClaimSet(IList<Claim> claims) 35public DefaultClaimSet(ClaimSet issuer, IList<Claim> claims) 94protected void Initialize(ClaimSet issuer, IList<Claim> claims)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
22private IList<Claim> _claims; 175private IList<Claim> InitializeClaimsCore()
System\IdentityModel\Policy\AuthorizationContext.cs (1)
19public static AuthorizationContext CreateDefaultAuthorizationContext(IList<IAuthorizationPolicy> authorizationPolicies)
System\IdentityModel\Policy\UnconditionalPolicy.cs (2)
213IList<IIdentity> identities; 223identities = obj as IList<IIdentity>;
System\IdentityModel\Security\WSTrust.cs (2)
27public override void PopulateTokenEntries(IList<SecurityTokenSerializer.TokenEntry> tokenEntryList) 32public override void PopulateKeyIdentifierClauseEntries(IList<KeyIdentifierClauseEntry> keyIdentifierClauseEntries)
System\IdentityModel\SecurityUtils.cs (2)
134internal static AuthorizationContext CreateDefaultAuthorizationContext(IList<IAuthorizationPolicy> authorizationPolicies) 331public SimpleAuthorizationContext(IList<IAuthorizationPolicy> authorizationPolicies)
System\IdentityModel\Selectors\SecurityTokenSerializer.cs (4)
188public virtual void PopulateTokenEntries(IList<TokenEntry> tokenEntries) { } 189public virtual void PopulateKeyIdentifierEntries(IList<KeyIdentifierEntry> keyIdentifierEntries) { } 190public virtual void PopulateKeyIdentifierClauseEntries(IList<KeyIdentifierClauseEntry> keyIdentifierClauseEntries) { } 191public virtual void PopulateStrEntries(IList<StrEntry> strEntries) { }
System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
322internal void PopulateStrEntries(IList<StrEntry> strEntries)
System\IdentityModel\Tokens\WSSecurityJan2004.cs (7)
28public override void PopulateKeyIdentifierClauseEntries(IList<KeyIdentifierClauseEntry> clauseEntries) 36protected void PopulateJan2004StrEntries(IList<StrEntry> strEntries) 44public override void PopulateStrEntries(IList<StrEntry> strEntries) 49protected void PopulateJan2004TokenEntries(IList<TokenEntry> tokenEntryList) 56public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 144public SecurityTokenReferenceJan2004ClauseEntry(bool emitBspRequiredAttributes, IList<StrEntry> strEntries) 150protected IList<StrEntry> StrEntries { get; }
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (4)
21public override void PopulateStrEntries(IList<StrEntry> strEntries) 27public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 32public override void PopulateKeyIdentifierClauseEntries(IList<KeyIdentifierClauseEntry> clauseEntries) 42public SecurityTokenReferenceXXX2005ClauseEntry(bool emitBspRequiredAttributes, IList<StrEntry> strEntries)
System\IdentityModel\Tokens\XmlDsigSep2000.cs (2)
23public override void PopulateKeyIdentifierEntries(IList<KeyIdentifierEntry> keyIdentifierEntries) 28public override void PopulateKeyIdentifierClauseEntries(IList<SecurityTokenSerializer.KeyIdentifierClauseEntry> keyIdentifierClauseEntries)
System\ServiceModel\Channels\AddressHeaderCollection.cs (2)
24IList<AddressHeader> collection = addressHeaders as IList<AddressHeader>;
System\ServiceModel\Channels\BinaryMessageEncoder.cs (2)
378IList<XmlDictionaryString> newStrings = _writerSession.GetNewStrings(); 929public IList<XmlDictionaryString> GetNewStrings()
System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (1)
19public CloseCollectionAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, IList<ICommunicationObject> collection)
System\ServiceModel\Channels\MessageHeaders.cs (1)
864IList<MessageHeaderInfo> list = new ReadOnlyCollection<MessageHeaderInfo>(headers);
System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (1)
20public OpenCollectionAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, IList<ICommunicationObject> collection)
System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (2)
75public virtual XmlObjectSerializer CreateSerializer(Type type, string name, string ns, IList<Type> knownTypes) 89public virtual XmlObjectSerializer CreateSerializer(Type type, XmlDictionaryString name, XmlDictionaryString ns, IList<Type> knownTypes)
System\ServiceModel\Dispatcher\ClientOperation.cs (1)
20public IList<IParameterInspector> ParameterInspectors
System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
26public IList<IClientMessageInspector> MessageInspectors
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (6)
26internal static DataContractSerializer CreateSerializer(Type type, IList<Type> knownTypes, int maxItems) 38internal static DataContractSerializer CreateSerializer(Type type, IList<Type> knownTypes, string rootName, string rootNs, int maxItems) 52internal static DataContractSerializer CreateSerializer(Type type, IList<Type> knownTypes, XmlDictionaryString rootName, XmlDictionaryString rootNs, int maxItems) 71private IList<Type> _knownTypes; 609private IList<Type> _knownTypes; 614IList<Type> knownTypes, DataContractSerializerOperationBehavior behavior)
System\ServiceModel\Dispatcher\FaultContractInfo.cs (2)
21internal FaultContractInfo(string action, Type detail, XmlName elementName, string ns, IList<Type> knownTypes) 42internal IList<Type> KnownTypes { get; }
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
106IList<FaultContractInfo> faultInfos;
System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
67IList<XmlSerializerOperationBehavior.Reflector.XmlSerializerFaultContractInfo> faultInfos;
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
597IList<MessageHeader<object>> messageHeaderOfTAttributes = (IList<MessageHeader<object>>)_attributes[headerDescription.Index];
System\ServiceModel\EmptyArray.cs (2)
24internal static T[] ToArray(IList<T> collection) 42return EmptyArray<T>.ToArray((IList<T>)collection);
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (2)
111IList<SupportingTokenSpecification> supportingTokens) 131IList<SupportingTokenSpecification> supportingTokens;
System\ServiceModel\Security\ReceiveSecurityHeader.cs (3)
34private IList<SecurityToken> _outOfBandPrimaryTokenCollection; 41private IList<SupportingTokenAuthenticatorSpecification> _supportingTokenAuthenticators; 757private SecurityToken ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver, IList<SecurityTokenAuthenticator> allowedTokenAuthenticators, out SecurityTokenAuthenticator usedTokenAuthenticator)
System\ServiceModel\Security\RequestSecurityToken.cs (1)
27private IList<XmlElement> _requestProperties;
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
631public virtual GenericXmlSecurityToken GetIssuedToken(SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy, string expectedTokenType,
System\ServiceModel\Security\SecurityProtocol.cs (16)
100internal IList<SupportingTokenProviderSpecification> GetSupportingTokenProviders(string action) 115return (ChannelSupportingTokenProviderSpecification == EmptyTokenProviders) ? null : (IList<SupportingTokenProviderSpecification>)ChannelSupportingTokenProviderSpecification; 143private void AddSupportingTokenProviders(SupportingTokenParameters supportingTokenParameters, bool isOptional, IList<SupportingTokenProviderSpecification> providerSpecList) 303AddSupportingTokenProviders(SecurityProtocolFactory.SecurityBindingElement.EndpointSupportingTokenParameters, false, (IList<SupportingTokenProviderSpecification>)ChannelSupportingTokenProviderSpecification); 304AddSupportingTokenProviders(SecurityProtocolFactory.SecurityBindingElement.OptionalEndpointSupportingTokenParameters, true, (IList<SupportingTokenProviderSpecification>)ChannelSupportingTokenProviderSpecification); 420private void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> tokens, SecurityTokenAttachmentMode attachmentMode, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 433protected void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> basicTokens, IList<SecurityToken> endorsingTokens, IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 470internal void AddMessageSupportingTokens(Message message, ref IList<SupportingTokenSpecification> supportingTokens) 492internal async Task<IList<SupportingTokenSpecification>> TryGetSupportingTokensAsync(SecurityProtocolFactory factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout) 494IList<SupportingTokenSpecification> supportingTokens = null; 506IList<SupportingTokenProviderSpecification> supportingTokenProviders = GetSupportingTokenProviders(message.Headers.Action); 525protected ReadOnlyCollection<SecurityTokenResolver> MergeOutOfBandResolvers(IList<SupportingTokenAuthenticatorSpecification> supportingAuthenticators, ReadOnlyCollection<SecurityTokenResolver> primaryResolvers) 557protected void AddSupportingTokens(SendSecurityHeader securityHeader, IList<SupportingTokenSpecification> supportingTokens)
System\ServiceModel\Security\SecurityProtocolFactory.cs (2)
458internal IList<SupportingTokenAuthenticatorSpecification> GetSupportingTokenAuthenticators(string action, out bool expectSignedTokens, out bool expectBasicTokens, out bool expectEndorsingTokens) 464return (Object.ReferenceEquals(_channelSupportingTokenAuthenticatorSpecification, EmptyTokenAuthenticators)) ? null : (IList<SupportingTokenAuthenticatorSpecification>)_channelSupportingTokenAuthenticatorSpecification;
System\ServiceModel\Security\TransportSecurityProtocol.cs (7)
54IList<SupportingTokenSpecification> supportingTokens = await TryGetSupportingTokensAsync(SecurityProtocolFactory, Target, Via, message, timeout); 60IList<SupportingTokenSpecification> supportingTokens) 96protected void AttachRecipientSecurityProperty(Message message, IList<SecurityToken> basicTokens, IList<SecurityToken> endorsingTokens, 97IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, Dictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 114IList<SupportingTokenAuthenticatorSpecification> supportingAuthenticators = factory.GetSupportingTokenAuthenticators(message.Headers.Action,
System\ServiceModel\Security\TrustDriver.cs (1)
132public abstract GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy,
System\ServiceModel\Security\WSKeyInfoSerializer.cs (3)
78public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 246public override void PopulateStrEntries(IList<StrEntry> strEntries) 294public override void PopulateStrEntries(IList<StrEntry> strEntries)
System\ServiceModel\Security\WSSecureConversation.cs (2)
32public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 306public SecurityContextTokenEntry(WSSecureConversation parent, SecurityStateEncoder securityStateEncoder, IList<Type> knownClaimTypes)
System\ServiceModel\Security\WSSecureConversationDec2005.cs (3)
17IList<Type> _knownClaimTypes; 49public override void PopulateTokenEntries(IList<WSSecurityTokenSerializer.TokenEntry> tokenEntryList) 65public SecurityContextTokenEntryDec2005(WSSecureConversationDec2005 parent, SecurityStateEncoder securityStateEncoder, IList<Type> knownClaimTypes)
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (3)
15IList<Type> _knownClaimTypes; 42public override void PopulateTokenEntries(IList<WSSecurityTokenSerializer.TokenEntry> tokenEntryList) 50public SecurityContextTokenEntryFeb2005(WSSecureConversationFeb2005 parent, SecurityStateEncoder securityStateEncoder, IList<Type> knownClaimTypes)
System\ServiceModel\Security\WSSecurityJan2004.cs (2)
33protected void PopulateJan2004TokenEntries(IList<TokenEntry> tokenEntryList) 40public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (1)
507public virtual void PopulateTokenEntries(IList<TokenEntry> tokenEntries) { }
System\ServiceModel\Security\WSSecurityXXX2005.cs (1)
18public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList)
System\ServiceModel\Security\WSTrust.cs (2)
37public override void PopulateTokenEntries(IList<TokenEntry> tokenEntryList) 595public override GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy, string expectedTokenType,
System\ServiceModel\ServiceSecurityContext.cs (3)
80IList<IIdentity> identities = GetIdentities(); 107private IList<IIdentity> GetIdentities() 113return identities as IList<IIdentity>;
System\ServiceModel\SynchronizedReadOnlyCollection.cs (6)
78protected IList<T> Items { get; } 127T IList<T>.this[int index] 155void IList<T>.Insert(int index, T value) 160void IList<T>.RemoveAt(int index) 279private IList<T> _list; 282public EnumeratorAdapter(IList<T> list)
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
88if (source._items is IList<SyndicationItem> srcList)
System.Text.Json (15)
System\Text\Json\Nodes\JsonObject.IList.cs (5)
86KeyValuePair<string, JsonNode?> IList<KeyValuePair<string, JsonNode?>>.this[int index] 93int IList<KeyValuePair<string, JsonNode?>>.IndexOf(KeyValuePair<string, JsonNode?> item) => ((IList<KeyValuePair<string, JsonNode?>>)Dictionary).IndexOf(item); 96void IList<KeyValuePair<string, JsonNode?>>.Insert(int index, KeyValuePair<string, JsonNode?> item) => Insert(index, item.Key, item.Value); 99void IList<KeyValuePair<string, JsonNode?>>.RemoveAt(int index) => RemoveAt(index);
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverterFactory.cs (1)
100else if ((actualTypeToConvert = typeToConvert.GetCompatibleGenericInterface(typeof(IList<>))) != null)
System\Text\Json\Serialization\Converters\Collection\IListOfTConverter.cs (1)
15where TCollection : IList<TElement>
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
23public IList<JsonConverter> Converters => _converters ??= new(this);
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
268public IList<IJsonTypeInfoResolver> TypeInfoResolverChain => _typeInfoResolverChain ??= new(this); 1115public ConverterList(JsonSerializerOptions options, IList<JsonConverter>? source = null)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.cs (1)
93public IList<Action<JsonTypeInfo>> Modifiers => _modifiers ??= new ModifierCollection(this);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Collections.cs (2)
179/// Creates serialization metadata for types assignable to <see cref="IList{T}"/>. 190where TCollection : IList<TElement>
System\Text\Json\Serialization\Metadata\JsonPolymorphismOptions.cs (1)
30public IList<JsonDerivedType> DerivedTypes => _derivedTypes ??= new(this);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
247public IList<JsonPropertyInfo> Properties => PropertyList;
System.Text.Json.SourceGeneration (1)
Helpers\KnownTypeSymbols.cs (1)
25public INamedTypeSymbol? IListOfTType => GetOrResolveType(typeof(IList<>), ref _IListOfTType);
System.Text.RegularExpressions (18)
System\Text\RegularExpressions\CaptureCollection.cs (6)
114int IList<Capture>.IndexOf(Capture item) 127void IList<Capture>.Insert(int index, Capture item) => 130void IList<Capture>.RemoveAt(int index) => 133Capture IList<Capture>.this[int index] 146((IList<Capture>)this).IndexOf(item) >= 0; 161value is Capture other ? ((IList<Capture>)this).IndexOf(other) : -1;
System\Text\RegularExpressions\GroupCollection.cs (6)
128int IList<Group>.IndexOf(Group item) 141void IList<Group>.Insert(int index, Group item) => 144void IList<Group>.RemoveAt(int index) => 147Group IList<Group>.this[int index] 160((IList<Group>)this).IndexOf(item) >= 0; 175value is Group other ? ((IList<Group>)this).IndexOf(other) : -1;
System\Text\RegularExpressions\MatchCollection.cs (5)
131int IList<Match>.IndexOf(Match item) 137void IList<Match>.Insert(int index, Match item) => 140void IList<Match>.RemoveAt(int index) => 143Match IList<Match>.this[int index] 174value is Match other ? ((IList<Match>)this).IndexOf(other) : -1;
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (1)
172static T Choose<T>(Random random, IList<T> elems) => elems[random.Next(elems.Count)];
System.Threading.Tasks.Dataflow (116)
Base\DataflowBlock.cs (2)
1572public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) 1577items = default(IList<TOutput>);
Base\IReceivableSourceBlock.cs (1)
30bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items);
Blocks\BatchBlock.cs (3)
58Func<ISourceBlock<T[]>, T[], IList<T[]>?, int>? itemCountingFunc = null; 133public bool TryReceiveAll([NotNullWhen(true)] out IList<T[]>? items) { return _source.TryReceiveAll(out items); } 1138internal static int CountItems(T[] singleOutputItem, IList<T[]>? multipleOutputItems)
Blocks\BatchedJoinBlock.cs (93)
29public sealed class BatchedJoinBlock<T1, T2> : IReceivableSourceBlock<Tuple<IList<T1>, IList<T2>>>, IDebuggerDisplay 40private readonly SourceCore<Tuple<IList<T1>, IList<T2>>> _source; 67_source = new SourceCore<Tuple<IList<T1>, IList<T2>>>( 126public IDisposable LinkTo(ITargetBlock<Tuple<IList<T1>, IList<T2>>> target, DataflowLinkOptions linkOptions) 132public bool TryReceive(Predicate<Tuple<IList<T1>, IList<T2>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>>? item) 138public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<IList<T1>, IList<T2>>>? items) { return _source.TryReceiveAll(out items); } 173Tuple<IList<T1>, IList<T2>>? ISourceBlock<Tuple<IList<T1>, IList<T2>>>.ConsumeMessage( 174DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>>> target, out bool messageConsumed) 180bool ISourceBlock<Tuple<IList<T1>, IList<T2>>>.ReserveMessage( 181DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>>> target) 187void ISourceBlock<Tuple<IList<T1>, IList<T2>>>.ReleaseReservation( 188DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>>> target) 221private readonly SourceCore<Tuple<IList<T1>, IList<T2>>>.DebuggingInformation _sourceDebuggingInformation; 233public IEnumerable<Tuple<IList<T1>, IList<T2>>> OutputQueue { get { return _sourceDebuggingInformation.OutputQueue; } } 257public TargetRegistry<Tuple<IList<T1>, IList<T2>>> LinkedTargets { get { return _sourceDebuggingInformation.LinkedTargets; } } 259public ITargetBlock<Tuple<IList<T1>, IList<T2>>>? NextMessageReservedFor { get { return _sourceDebuggingInformation.NextMessageReservedFor; } } 272public sealed class BatchedJoinBlock<T1, T2, T3> : IReceivableSourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>, IDebuggerDisplay 285private readonly SourceCore<Tuple<IList<T1>, IList<T2>, IList<T3>>> _source; 315_source = new SourceCore<Tuple<IList<T1>, IList<T2>, IList<T3>>>( 378public IDisposable LinkTo(ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>> target, DataflowLinkOptions linkOptions) 384public bool TryReceive(Predicate<Tuple<IList<T1>, IList<T2>, IList<T3>>>? filter, [NotNullWhen(true)] out Tuple<IList<T1>, IList<T2>, IList<T3>>? item) 390public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<IList<T1>, IList<T2>, IList<T3>>>? items) { return _source.TryReceiveAll(out items); } 427Tuple<IList<T1>, IList<T2>, IList<T3>>? ISourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>.ConsumeMessage( 428DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>> target, out bool messageConsumed) 434bool ISourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>.ReserveMessage( 435DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>> target) 441void ISourceBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>.ReleaseReservation( 442DataflowMessageHeader messageHeader, ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>> target) 476private readonly SourceCore<Tuple<IList<T1>, IList<T2>, IList<T3>>>.DebuggingInformation _sourceDebuggingInformation; 488public IEnumerable<Tuple<IList<T1>, IList<T2>, IList<T3>>> OutputQueue { get { return _sourceDebuggingInformation.OutputQueue; } } 514public TargetRegistry<Tuple<IList<T1>, IList<T2>, IList<T3>>> LinkedTargets { get { return _sourceDebuggingInformation.LinkedTargets; } } 516public ITargetBlock<Tuple<IList<T1>, IList<T2>, IList<T3>>>? NextMessageReservedFor { get { return _sourceDebuggingInformation.NextMessageReservedFor; } } 554internal IList<T> GetAndEmptyMessages()
Blocks\BroadcastBlock.cs (2)
154bool IReceivableSourceBlock<T>.TryReceiveAll([NotNullWhen(true)] out IList<T>? items) { return _source.TryReceiveAll(out items); } 593internal bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items)
Blocks\BufferBlock.cs (1)
189public bool TryReceiveAll([NotNullWhen(true)] out IList<T>? items) { return _source.TryReceiveAll(out items); }
Blocks\JoinBlock.cs (2)
122public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<T1, T2>>? items) { return _source.TryReceiveAll(out items); } 341public bool TryReceiveAll([NotNullWhen(true)] out IList<Tuple<T1, T2, T3>>? items) { return _source.TryReceiveAll(out items); }
Blocks\TransformBlock.cs (1)
353public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) { return _source.TryReceiveAll(out items); }
Blocks\TransformManyBlock.cs (3)
369IList<TOutput>? itemAsTrustedList = (IList<TOutput>?)(item as TOutput[]) ?? item as List<TOutput>; 562public bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items) { return _source.TryReceiveAll(out items); }
Blocks\WriteOnceBlock.cs (5)
109private void CompleteBlockAsync(IList<Exception>? exceptions) 139Tuple<WriteOnceBlock<T>, IList<Exception>> blockAndList = (Tuple<WriteOnceBlock<T>, IList<Exception>>)state!; 164private void CompleteBlock(IList<Exception>? exceptions) 278bool IReceivableSourceBlock<T>.TryReceiveAll([NotNullWhen(true)] out IList<T>? items)
Internal\SourceCore.cs (3)
74private readonly Func<ISourceBlock<TOutput>, TOutput, IList<TOutput>?, int>? _itemCountingFunc; 106Func<ISourceBlock<TOutput>, TOutput, IList<TOutput>?, int>? itemCountingFunc = null) 322internal bool TryReceiveAll([NotNullWhen(true)] out IList<TOutput>? items)
System.Threading.Tasks.Parallel (2)
System\Threading\Tasks\Parallel.cs (2)
1669if (source is IList<TSource> sourceAsList) 1758IList<TSource> list,
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (3)
5593private protected virtual IList<Rectangle> GetNeighboringToolsRectangles() 12823IList<Rectangle> IKeyboardToolTip.GetNeighboringToolsRectangles() => GetNeighboringToolsRectangles(); 12850private IList<Rectangle> GetOwnNeighboringToolsRectangles()
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
294IList<Rectangle> IKeyboardToolTip.GetNeighboringToolsRectangles()
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
22IList<Rectangle> IKeyboardToolTip.GetNeighboringToolsRectangles()
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
164private protected override IList<Rectangle> GetNeighboringToolsRectangles()
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3546IList<Rectangle> IKeyboardToolTip.GetNeighboringToolsRectangles()
System\Windows\Forms\Controls\TreeView\TreeNode.IKeyboardToolTip.cs (1)
20IList<Rectangle> IKeyboardToolTip.GetNeighboringToolsRectangles()
System\Windows\Forms\DataBinding\ListBindingHelper.cs (2)
504if (typeof(IList<>).IsAssignableFrom(type.GetGenericTypeDefinition())) 515if (typeof(IList<>).IsAssignableFrom(curInterface.GetGenericTypeDefinition()))
System\Windows\Forms\ToolTip\IKeyboardToolTip.cs (1)
25IList<Rectangle> GetNeighboringToolsRectangles();
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1562IList<Rectangle> neighboringToolsRectangles = tool.GetNeighboringToolsRectangles();
System.Windows.Forms.Design (31)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ObjectData.cs (1)
61internal IList<MemberData> Members => _members ??= [];
System\Windows\Forms\Design\AdapterHelpers.cs (10)
15/// from a wrapped <see cref="IList&lt;T&gt;"/> when available. 17/// <typeparam name="T">The type of elements in the <see cref="IList&lt;T&gt;"/>.</typeparam> 20/// The underlying non-generic <see cref="IList"/> if available; otherwise, the original <see cref="IList&lt;T&gt;"/>. 22internal static IList Unwrap<T>(this IList<T> list) => list is IWrapper<IList> wrapper ? wrapper.Unwrap() : (IList)list; 25/// Provides an extension method to adapt a non-generic IList to a generic <see cref="IList&lt;T&gt;"/> by creating 28/// <typeparam name="T">The desired type of elements in the resulting <see cref="IList&lt;T&gt;"/>.</typeparam> 31/// A generic <see cref="IList&lt;T&gt;"/> if the input IList can be cast to <see cref="IList&lt;T&gt;"/> otherwise, 34internal static IList<T> Adapt<T>(this IList list) => list is IList<T> iList ? iList : new ListAdapter<T>(list);
System\Windows\Forms\Design\ButtonBaseDesigner.cs (1)
45IList<SnapLine> snapLines = SnapLinesInternal;
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
30IList<SnapLine> snapLines = SnapLinesInternal;
System\Windows\Forms\Design\ControlDesigner.cs (3)
341internal IList<SnapLine> SnapLinesInternal => EdgeAndMarginSnapLines(); 343internal IList<SnapLine> EdgeAndMarginSnapLines() => EdgeAndMarginSnapLines(Control.Margin); 345internal IList<SnapLine> EdgeAndMarginSnapLines(Padding margin)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
728if (typeof(IList<object>).IsAssignableFrom(propertyDescriptor.PropertyType))
System\Windows\Forms\Design\DateTimePickerDesigner.cs (1)
24IList<SnapLine> snapLines = SnapLinesInternal;
System\Windows\Forms\Design\FlowPanelDesigner.cs (1)
17IList<SnapLine> snapLines = SnapLinesInternal;
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
189IList<SnapLine> snapLines = null;
System\Windows\Forms\Design\LabelDesigner.cs (1)
30IList<SnapLine> snapLines = SnapLinesInternal;
System\Windows\Forms\Design\ListAdapter.cs (5)
10/// It implements both the generic <see cref="IList&lt;T&gt;"/> and the non-generic 20T IList<T>.this[int index] 35int IList<T>.IndexOf(T item) => _list.IndexOf(item); 36void IList<T>.Insert(int index, T item) => _list.Insert(index, item.OrThrowIfNull()); 37void IList<T>.RemoveAt(int index) => _list.RemoveAt(index);
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
300internal void AddPaddingSnapLines(ref IList<SnapLine> snapLines) 303private void AddPaddingSnapLinesCommon(IList<SnapLine> snapLines) 335IList<SnapLine> snapLines = SnapLinesInternal;
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
55IList<SnapLine> snapLines = SnapLinesInternal;
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
42IList<SnapLine> snapLines = SnapLinesInternal;
System.Windows.Forms.Design.Tests (13)
System\ComponentModel\Design\ArrayEditorTests.cs (1)
33[InlineData(typeof(IList<int>))]
System\ComponentModel\Design\CollectionEditorTests.cs (3)
22[InlineData(typeof(IList<int>), typeof(int))] 108[InlineData(typeof(IList<int>), typeof(int))] 349[InlineData(typeof(IList<int>), new Type[] { typeof(int) })]
System\Windows\Forms\Design\ContextMenuStripGroupTests.cs (3)
13IList<ToolStripItem> items = contextMenuStripGroup.Items; 24IList<ToolStripItem> items1 = contextMenuStripGroup.Items; 25IList<ToolStripItem> items2 = contextMenuStripGroup.Items;
System\Windows\Forms\Design\FlowPanelDesignerTests.cs (4)
41var snapLines = designer.SnapLines as IList<SnapLine>; 52var snapLines = designer.SnapLines as IList<SnapLine>;
System\Windows\Forms\Design\ParentControlDesignerTests.cs (1)
33IList<SnapLine> snapLines = _designer.SnapLines.Cast<SnapLine>().ToList();
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
29IList<SnapLine> snapLines = _toolStripContentPanelDesigner.SnapLines.Cast<SnapLine>().ToList();
System.Windows.Forms.Primitives.Tests (2)
Interop\Ole32\CADWORDTests.cs (1)
33private static unsafe CADWORD CreateIntVector(IList<IntPtr>? allocations, params uint[] values)
Interop\Ole32\CALPOLESTRTests.cs (1)
33private static unsafe CALPOLESTR CreateStringVector(IList<IntPtr>? allocations, params string[] values)
System.Windows.Forms.Tests (47)
System\Windows\Forms\BindingSourceTests.cs (1)
839public IList<int> List { get; set; }
System\Windows\Forms\DataGridViewCellTests.cs (3)
4810IList<Rectangle> neighbors00 = ((IKeyboardToolTip)control.Rows[0].Cells[0]).GetNeighboringToolsRectangles(); 4815IList<Rectangle> neighbors21 = ((IKeyboardToolTip)control.Rows[2].Cells[1]).GetNeighboringToolsRectangles(); 4822IList<Rectangle> neighbors33 = ((IKeyboardToolTip)control.Rows[3].Cells[3]).GetNeighboringToolsRectangles();
System\Windows\Forms\DataGridViewComboBoxCellTests.cs (1)
36IList<string> list = ["a", "b"];
System\Windows\Forms\ListBindingHelperTests.cs (5)
130yield return new object[] { typeof(IList<int>), typeof(int) }; 250yield return new object[] { typeof(IList<DataClass>), new string[] { "Property" } }; 253yield return new object[] { typeof(IList<ICustomTypeDescriptor>), new string[] { nameof(ICustomTypeDescriptor.RequireRegisteredTypes) } }; 490yield return new object[] { typeof(IList<int>), null, "IList`1" }; 577int IList<int>.this[int index] { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (21)
248IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[0]).GetNeighboringToolsRectangles(); 266IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[1]).GetNeighboringToolsRectangles(); 285IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[2]).GetNeighboringToolsRectangles(); 303IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[3]).GetNeighboringToolsRectangles(); 322IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[4]).GetNeighboringToolsRectangles(); 342IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[5]).GetNeighboringToolsRectangles(); 361IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[6]).GetNeighboringToolsRectangles(); 379IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[7]).GetNeighboringToolsRectangles(); 398IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[8]).GetNeighboringToolsRectangles(); 417IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[0]).GetNeighboringToolsRectangles(); 436IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[1]).GetNeighboringToolsRectangles(); 457IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[2]).GetNeighboringToolsRectangles(); 477IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[3]).GetNeighboringToolsRectangles(); 498IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[4]).GetNeighboringToolsRectangles(); 520IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[5]).GetNeighboringToolsRectangles(); 541IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[6]).GetNeighboringToolsRectangles(); 561IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[7]).GetNeighboringToolsRectangles(); 581IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[8]).GetNeighboringToolsRectangles(); 597IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[0]).GetNeighboringToolsRectangles(); 614IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[1]).GetNeighboringToolsRectangles(); 632IList<Rectangle> neighboringToolsRectangles = ((IKeyboardToolTip)listView.Items[2]).GetNeighboringToolsRectangles();
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (3)
157dataObject.TryGetData(format, out IList<int>? list).Should().BeFalse(); 173Action tryGetData = () => dataObject.TryGetData(format, out IList<int>? _); 188Action tryGetData = () => dataObject.TryGetData(format, out IList<int>? _);
System\Windows\Forms\ScrollBarTests.cs (1)
2473public void ScrollBar_OnMouseWheel_InvokeWithScroll_CallsScroll(RightToLeft rightToLeft, int originalValue, int delta, IList<ScrollEventArgs> expected, int expectedValue)
System\Windows\Forms\TabPageTests.cs (2)
4948IList<Rectangle> actual = ((IKeyboardToolTip)control).GetNeighboringToolsRectangles(); 4970IList<Rectangle> neighborsRectangles = ((IKeyboardToolTip)testedTab).GetNeighboringToolsRectangles();
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (10)
126IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)firstTreeNode).GetNeighboringToolsRectangles(); 142IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)middleTreeNode).GetNeighboringToolsRectangles(); 159IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)lastTreeNode).GetNeighboringToolsRectangles(); 177IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)firstSubNode).GetNeighboringToolsRectangles(); 196IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)middleSubNode).GetNeighboringToolsRectangles(); 215IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)lastSubNode).GetNeighboringToolsRectangles(); 236IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)subSubNode).GetNeighboringToolsRectangles(); 255IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)middleNode).GetNeighboringToolsRectangles(); 276IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)middleNode).GetNeighboringToolsRectangles(); 296IList<Rectangle> neighboringRectangles = ((IKeyboardToolTip)lastSubNode).GetNeighboringToolsRectangles();
System.Xaml (105)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (1)
2000if (collection is IList<T> list)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (4)
229IList<CustomAttributeData> list = CustomAttributeData.GetCustomAttributes(mi); 250private static string GetCustomAttributeData(IList<CustomAttributeData> list, Type attrType, out Type typeValue, bool allowTypeAlso, bool allowZeroArgs) 285IList<CustomAttributeData> list = CustomAttributeData.GetCustomAttributes(currentType); 330IList<CustomAttributeTypedArgument> constructorArguments = cad.ConstructorArguments;
System\Windows\Markup\PropertyDefinition.cs (2)
14private IList<Attribute> _attributes; 24public IList<Attribute> Attributes => _attributes ??= new List<Attribute>();
System\Xaml\Context\XamlContext.cs (1)
383private XamlType GetXamlType(string ns, string name, IList<XamlType> typeArguments)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1240IList<XamlType> paramTypes = meType.GetPositionalParameters(rawArgs.Count);
System\Xaml\MS\Impl\XmlNsInfo.cs (14)
28private IList<XmlNsDefinition> _nsDefs; 29internal IList<XmlNsDefinition> NsDefs 43private ConcurrentDictionary<string, IList<string>> _clrToXmlNs; 44internal ConcurrentDictionary<string, IList<string>> ClrToXmlNs 114private IList<CustomAttributeData> _attributeData; 153private IList<XmlNsDefinition> LoadNsDefs() 155IList<XmlNsDefinition> result = new List<XmlNsDefinition>(); 194private void LoadNsDefHelper(IList<XmlNsDefinition> result, string xmlns, string clrns, Assembly assembly) 204private ConcurrentDictionary<string, IList<string>> LoadClrToXmlNs() 206ConcurrentDictionary<string, IList<string>> result = 207XamlSchemaContext.CreateDictionary<string, IList<string>>(); 217IList<string> xmlNamespaceList; 228foreach (KeyValuePair<string, IList<string>> clrToXmlNs in result) 437private void MakeListsImmutable(IDictionary<string, IList<string>> dict)
System\Xaml\Parser\GenericTypeNameParser.cs (3)
97public IList<XamlTypeName> ParseList(string text, out string error) 118IList<XamlTypeName> typeNameList = null; 311private IList<XamlTypeName> CollectNameListFromStack()
System\Xaml\Parser\XamlScanner.cs (1)
375IList<XamlTypeName> typeArgs = null;
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
349public override IList<object> GetCollectionItems(object collection, XamlType collectionType)
System\Xaml\Runtime\PartialTrustTolerantRuntime.cs (1)
400public override IList<object> GetCollectionItems(object collection, XamlType collectionType)
System\Xaml\Schema\MemberReflector.cs (1)
149internal IList<XamlMember> DependsOn { get; set; }
System\Xaml\Schema\Reflector.cs (3)
23protected IList<CustomAttributeData> _attributeData; 424IList<CustomAttributeData> attrDataList = new List<CustomAttributeData>(); 530private void GetAttributes(Type attributeType, IList<CustomAttributeData> cads)
System\Xaml\Schema\TypeReflector.cs (11)
39private ThreadSafeDictionary<int, IList<XamlType>> _positionalParameterTypes; 171internal IList<XamlType> AllowedContentTypes { get; set; } 214internal IList<XamlType> ContentWrappers { get; set; } 259internal Dictionary<int, IList<XamlType>> ReflectedPositionalParameters { get; set; } 295internal bool TryGetPositionalParameters(int paramCount, out IList<XamlType> result) 306new ThreadSafeDictionary<int, IList<XamlType>>(), null); 312internal IList<XamlType> TryAddPositionalParameters(int paramCount, IList<XamlType> paramList) 478internal IList<PropertyInfo> LookupRemainingProperties() 486private IList<PropertyInfo> FilterProperties(PropertyInfo[] propList, List<XamlMember> knownMembers, bool skipKnownNegatives) 984internal IList<XamlMember> LookupAllAttachableMembers(XamlSchemaContext schemaContext)
System\Xaml\Schema\XamlDirective.cs (2)
88public override IList<string> GetXamlNamespaces() 128protected sealed override IList<XamlMember> LookupDependsOn()
System\Xaml\XamlLanguage.cs (2)
185public static IList<string> XamlNamespaces { get { return s_xamlNamespaces; } } 186public static IList<string> XmlNamespaces { get { return s_xmlNamespaces; } }
System\Xaml\XamlMember.cs (4)
212IList<string> namespaces = GetXamlNamespaces(); 343public virtual IList<string> GetXamlNamespaces() 354public IList<XamlMember> DependsOn 565protected virtual IList<XamlMember> LookupDependsOn()
System\Xaml\XamlObjectReader.cs (2)
726IList<object> itemsList = context.Runtime.GetCollectionItems(propertyValue, xamlType); 1178private void FindNamespaceForTypeArguments(IList<XamlType> types, SerializerContext context)
System\Xaml\XamlRuntime.cs (1)
66public abstract IList<object> GetCollectionItems(object collection, XamlType collectionType);
System\Xaml\XamlSchemaContext.cs (12)
94private IList<string> _nonClrNamespaces; 106IList<string> result = _nonClrNamespaces; 698public IList<Assembly> ReferenceAssemblies 717private IList<Assembly> _unexaminedAssemblies; 933IList<string> clrBoundNamespaces = GetXmlNsMappings(clrType.Assembly, clrType.Namespace); 1038ConcurrentDictionary<string, IList<string>> assemblyMappings = nsInfo.ClrToXmlNs; 1039IList<string> result; 1114IList<Assembly> unexaminedAssembliesCopy; 1186IList<XmlNsInfo.XmlNsDefinition> xmlnsDefs = nsInfo.NsDefs; 1417int IList<T>.IndexOf(T item) 1422void IList<T>.Insert(int index, T item) 1427T IList<T>.this[int index]
System\Xaml\XamlType.cs (24)
23private readonly IList<XamlType> _typeArguments; 38protected XamlType(string typeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 45public XamlType(string unknownTypeNamespace, string unknownTypeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 134IList<string> namespaces = GetXamlNamespaces(); 144public IList<XamlType> TypeArguments 230public IList<XamlType> AllowedContentTypes 252public IList<XamlType> ContentWrappers 468public IList<XamlType> GetPositionalParameters(int parameterCount) 471IList<XamlType> result; 481public virtual IList<string> GetXamlNamespaces() 725protected virtual IList<XamlType> LookupAllowedContentTypes() 727IList<XamlType> contentWrappers = ContentWrappers ?? ReadOnlyCollection<XamlType>.Empty; 819protected virtual IList<XamlType> LookupContentWrappers() 838IList<XamlType> baseWrappers = BaseType.ContentWrappers; 1161protected virtual IList<XamlType> LookupPositionalParameters(int parameterCount) 1178IList<XamlType> result; 1561internal static ReadOnlyCollection<T> GetReadOnly<T>(IList<T> list) 1576private static ReadOnlyCollection<XamlType> GetTypeArguments(IList<XamlType> typeArguments) 1657IList<PropertyInfo> excludedMembers = _reflector.LookupRemainingProperties(); 1680private Dictionary<int, IList<XamlType>> LookupAllPositionalParameters() 1687Dictionary<int, IList<XamlType>> result = new Dictionary<int, IList<XamlType>>(); 1694Dictionary<int, IList<XamlType>> ctorDict = new Dictionary<int, IList<XamlType>>();
System\Xaml\XamlTypeName.cs (9)
53public IList<XamlTypeName> TypeArguments 85public static string ToString(IList<XamlTypeName> typeNameList, INamespacePrefixLookup prefixLookup) 107public static IList<XamlTypeName> ParseList(string typeNameList, IXamlNamespaceResolver namespaceResolver) 113IList<XamlTypeName> result = ParseListInternal(typeNameList, namespaceResolver.GetNamespace, out error); 133out IList<XamlTypeName> result) 150internal static string ConvertListToStringInternal(IList<XamlTypeName> typeNameList, Func<string, string> prefixGenerator) 157internal static void ConvertListToStringInternal(StringBuilder result, IList<XamlTypeName> typeNameList, Func<string, string> prefixGenerator) 188internal static IList<XamlTypeName> ParseListInternal(string typeNameList, Func<string, string> prefixResolver, out string error) 191IList<XamlTypeName> xamlTypeName = nameParser.ParseList(typeNameList, out error);
System\Xaml\XamlXmlWriter.cs (5)
407private string FindPrefix(IList<string> namespaces, out string chosenNamespace) 432internal string LookupPrefix(IList<string> namespaces, out string chosenNamespace) 556var namespaces = type.GetXamlNamespaces(); 607private string BuildTypeArgumentsString(IList<XamlType> typeArguments) 1961IList<XamlType> paramXamlTypes = objectXamlType.GetPositionalParameters(numOfParameters);
System.Xaml.Tests (44)
Common\CustomAssembly.cs (2)
28public Optional<IList<CustomAttributeData>> GetCustomAttributesDataResult { get; set; } 29public override IList<CustomAttributeData> GetCustomAttributesData()
Common\CustomType.cs (2)
19public Optional<IList<CustomAttributeData>> GetCustomAttributesDataResult { get; set; } 20public override IList<CustomAttributeData> GetCustomAttributesData()
Common\CustomXamlType.cs (10)
15public CustomXamlType(string unknownTypeNamespace, string unknownTypeName, IList<XamlType?>? typeArguments, XamlSchemaContext schemaContext) : base(unknownTypeNamespace, unknownTypeName, typeArguments, schemaContext) { } 19public CustomXamlType(string typeName, IList<XamlType?>? typeArguments, XamlSchemaContext schemaContext) : base(typeName, typeArguments, schemaContext) { } 39public Optional<IList<XamlType>?> LookupAllowedContentTypesResult { get; set; } 40protected override IList<XamlType> LookupAllowedContentTypes() 82public Optional<IList<XamlType>?> LookupContentWrappersResult { get; set; } 83protected override IList<XamlType> LookupContentWrappers() 178public Optional<IList<XamlType>?> LookupPositionalParametersResult { get; set; } 179protected override IList<XamlType> LookupPositionalParameters(int parameterCount) 226public Optional<IList<string>?> GetXamlNamespacesResult { get; set; } 227public override IList<string> GetXamlNamespaces()
Common\SubXamlType.cs (5)
15public SubXamlType(string? unknownTypeNamespace, string? unknownTypeName, IList<XamlType?>? typeArguments, XamlSchemaContext schemaContext) : base(unknownTypeNamespace, unknownTypeName, typeArguments, schemaContext) { } 19public SubXamlType(string? typeName, IList<XamlType?>? typeArguments, XamlSchemaContext? schemaContext) : base(typeName, typeArguments, schemaContext) { } 27public IList<XamlType> LookupAllowedContentTypesEntry() => LookupAllowedContentTypes(); 39public IList<XamlType> LookupContentWrappersEntry() => LookupContentWrappers(); 73public IList<XamlType> LookupPositionalParametersEntry(int parameterCount) => LookupPositionalParameters(parameterCount);
System\Xaml\Schema\XamlTypeNameTests.cs (5)
204public void ToString_ListInvoke_ReturnsExpected(IList<XamlTypeName> typeNameList, string expected) 413Assert.True(XamlTypeName.TryParseList(typeNameList, namespaceResolver, out IList<XamlTypeName> typeNames)); 433Assert.False(XamlTypeName.TryParseList(typeNameList, namespaceResolver, out IList<XamlTypeName> result)); 442IList<XamlTypeName>? result = null; 452IList<XamlTypeName>? result = null;
System\Xaml\XamlDirectiveTests.cs (1)
293public IList<XamlMember> LookupDependsOnEntry() => LookupDependsOn();
System\Xaml\XamlMemberTests.cs (1)
622public void LookupDependsOn_Invoke_ReturnsExpected(SubXamlMember member, IList<XamlMember> expected)
System\Xaml\XamlMemberTests.Mocks.cs (5)
40public IList<XamlMember> LookupDependsOnEntry() => LookupDependsOn(); 101public Optional<IList<XamlMember>?> LookupDependsOnResult { get; set; } 102protected override IList<XamlMember> LookupDependsOn() 209public Optional<IList<string>?> GetXamlNamespacesResult { get; set; } 210public override IList<string> GetXamlNamespaces()
System\Xaml\XamlSchemaContextTests.cs (2)
1044public IList<CustomAttributeTypedArgument>? ConstructorArgumentsResult { get; set; } 1045public override IList<CustomAttributeTypedArgument> ConstructorArguments => ConstructorArgumentsResult!;
System\Xaml\XamlTypeTests.cs (11)
32public void Ctor_String_String_XamlTypeNames_XamlSchemaContext(string unknownTypeNamespace, string unknownTypeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext) 62public void Ctor_String_XamlTypeNames_XamlSchemaContext(string typeName, IList<XamlType?>? typeArguments, XamlSchemaContext schemaContext) 1427public void LookupAllowedContentTypes_Invoke_ReturnsExpected(SubXamlType type, IList<XamlType> expected) 1752yield return new object?[] { new SubXamlType(typeof(IList<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 2215public void LookupContentWrappers_Invoke_ReturnsExpected(SubXamlType type, IList<XamlType> expected) 3705public void LookupPositionalParameters_Invoke_ReturnsExpected(SubXamlType type, int parameterCount, IList<XamlType> expected) 5205public override IList<CustomAttributeData> GetCustomAttributesData() 5207IList<CustomAttributeData> baseData = typeImpl.GetCustomAttributesData(); 5228public override IList<CustomAttributeData> GetCustomAttributesData() 5308public IList<CustomAttributeTypedArgument>? ConstructorArgumentsResult { get; set; } 5309public override IList<CustomAttributeTypedArgument> ConstructorArguments => ConstructorArgumentsResult!;
Templates.Blazor.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
Templates.Blazor.WebAssembly.Auth.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
Templates.Blazor.WebAssembly.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
Templates.Mvc.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
Templates.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
133public IList<X509Certificate2> ListCertificates( 197return (IList<X509Certificate2>)matchingCertificates; 253public IList<X509Certificate2> GetHttpsCertificates() => 289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 641protected abstract IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation); 896var certificates = GetCertificatesToRemove(storeName, storeLocation);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
376protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
535protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
127protected override IList<X509Certificate2> GetCertificatesToRemove(StoreName storeName, StoreLocation storeLocation)
Test.Utilities (69)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
Text.Analyzers (105)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (1)
16public static IList<string> ParseFeatureFromMSBuild(string? features)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (6)
42if (source is IList<T> list) 609IList<T> list => list.IndexOf(value), 710internal static IList<IList<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> data) 719private static IEnumerable<IList<T>> TransposeInternal<T>(this IEnumerable<IEnumerable<T>> data) 788if (source is IList<TSource> list)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (3)
102T IList<T>.this[int index] 645void IList<T>.Insert(int index, T item) 648void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (5)
132T IList<T>.this[int index] 254int IList<T>.IndexOf(T value) 258IList<T> list = _items[i]; 274void IList<T>.Insert(int index, T value) 294void IList<T>.RemoveAt(int index)
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (2)
28public static IList<T> EmptyList<T>() 85public static IList<T> SingletonList<T>(T value)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\INamedTypeSymbolExtensions.cs (3)
35/// Similarly, if <paramref name="parentType"/> is the interface <see cref="IList{T}"/>, 37/// or any other class that extends <see cref="IList{T}"/> or an class that implements it, 38/// because <c>IList&gt;int></c> is constructed from <see cref="IList{T}"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (5)
546private static IList<TextSpan> ListFromSpan(TextSpan span) 548IList<TextSpan> list = 564private static void UpdateSpanUnion(TextSpan span, IList<TextSpan> spans, ref int start, ref int end) 585private static IList<TextSpan> NormalizeSpans(IEnumerable<TextSpan> spans) 601IList<TextSpan> normalized = new List<TextSpan>(sorted.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (3)
87public static bool TryRemoveFirst<T, TArg>(this IList<T> list, Func<T, TArg, bool> selector, TArg arg, [NotNullWhen(true)] out T? removedItem) 105public static int IndexOf<T>(this IList<T> list, Func<T, bool> predicate) 116public static int IndexOf<T, TArg>(this IList<T> list, Func<T, TArg, bool> predicate, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StackExtensions.cs (1)
45internal static void PushReverse<T, U>(this Stack<T> stack, IList<U> range)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
15public static void AddLineBreak(this IList<SymbolDisplayPart> parts, string text = "\r\n") 18public static void AddMethodName(this IList<SymbolDisplayPart> parts, string text) 21public static void AddPunctuation(this IList<SymbolDisplayPart> parts, string text) 24public static void AddSpace(this IList<SymbolDisplayPart> parts, string text = " ") 27public static void AddText(this IList<SymbolDisplayPart> parts, string text)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, TextSpanMutableIntervalTree? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (8)
20private readonly IList<AbstractFormattingResult> _formattingResults; 23private readonly CancellableLazy<IList<TextChange>> _lazyTextChanges; 28IList<AbstractFormattingResult> formattingResults, 38_lazyTextChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 60public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 66private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken) 71var changes = CreateTextChangesWorker(cancellationToken); 80private IList<TextChange> CreateTextChangesWorker(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.OperationApplier.cs (6)
222[NotNullWhen(true)] out IList<TokenData>? tokenData) 247[NotNullWhen(true)] out IList<TokenData>? tokenData, 264IList<TokenData>? tokenData; 295IList<TokenData> list, 354private IList<TokenData> GetTokenWithIndices(IEnumerable<SyntaxToken> tokens) 380IList<TokenData> tokenWithIndices, Dictionary<SyntaxToken, int> newChangesMap, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (4)
20private readonly CancellableLazy<IList<TextChange>> _lazyChanges; 37_lazyChanges = new CancellableLazy<IList<TextChange>>(CreateTextChanges); 48public IList<TextChange> GetTextChanges(CancellationToken cancellationToken) 54private IList<TextChange> CreateTextChanges(CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\IFormattingResult.cs (1)
17IList<TextChange> GetTextChanges(CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
170var changes = SmartTokenFormatter.FormatToken(token, CancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\ISmartTokenFormatter.cs (1)
13IList<TextChange> FormatToken(SyntaxToken token, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (2)
12public static IReadOnlyList<T> ToReadOnlyList<T>(this IList<T> list) 38private sealed class ReadOnlyList<T>(IList<T> list) : IReadOnlyList<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.ChoiceMatcher.cs (1)
15public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.RepeatMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SequenceMatcher.cs (1)
13public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher.SingleMatcher.cs (1)
14public override bool TryMatch(IList<T> sequence, ref int index)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\Matcher`1.cs (1)
20public abstract bool TryMatch(IList<T> sequence, ref int index);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (2)
42public static Task<IList<T>> EmptyList<T>() 103public static readonly Task<IList<T>> EmptyList = Task.FromResult(SpecializedCollections.EmptyList<T>());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (3)
466public static bool? AreMoreSpecificThan(this IList<ITypeSymbol> t1, IList<ITypeSymbol> t2) 859public static IList<ITypeParameterSymbol> GetReferencedTypeParameters(this ITypeSymbol? type)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (12)
115public TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 123protected abstract TDeclarationNode AddEvent<TDeclarationNode>(TDeclarationNode destination, IEventSymbol @event, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 124protected abstract TDeclarationNode AddField<TDeclarationNode>(TDeclarationNode destination, IFieldSymbol field, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 125protected abstract TDeclarationNode AddMethod<TDeclarationNode>(TDeclarationNode destination, IMethodSymbol method, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 126protected abstract TDeclarationNode AddProperty<TDeclarationNode>(TDeclarationNode destination, IPropertySymbol property, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 127protected abstract TDeclarationNode AddNamedType<TDeclarationNode>(TDeclarationNode destination, INamedTypeSymbol namedType, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 128protected abstract TDeclarationNode AddNamespace<TDeclarationNode>(TDeclarationNode destination, INamespaceSymbol @namespace, TCodeGenerationContextInfo info, IList<bool>? availableIndices, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 140public abstract TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, TCodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode; 232Func<SyntaxNode, TCodeGenerationContextInfo, IList<bool>?, CancellationToken, SyntaxNode> declarationTransform, 272IList<bool>? availableIndices, 326IList<bool>? availableIndices, 355IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService_FindDeclaration.cs (8)
20protected abstract IList<bool>? GetAvailableInsertionIndices(SyntaxNode destination, CancellationToken cancellationToken); 22private IList<bool>? GetAvailableInsertionIndices<TDeclarationNode>(TDeclarationNode destination, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode 62out IList<bool>? availableIndices, 141private (SyntaxNode? declaration, IList<bool>? availableIndices) FindMostRelevantDeclaration( 163if (TryAddToRelatedDeclaration(declarations.Where(d => d is not ICompilationUnitSyntax), checkGeneratedCode: false, out var declaration1, out var availableIndices1) || 171if (TryAddToWorker(declarations, checkGeneratedCode: true, out var declaration2, out var availableIndices2, predicate: node => true)) 180out IList<bool>? availableIndices) 220out IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (4)
86public static int GetPreferredIndex(int index, IList<bool>? availableIndices, bool forward) 192IList<bool>? availableIndices, 300IList<bool>? availableIndices, 325IList<bool>? availableIndices,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (2)
503public static INamespaceSymbol CreateNamespaceSymbol(string name, IList<ISymbol>? imports = null, IList<INamespaceOrTypeSymbol>? members = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
123TDeclarationNode UpdateDeclarationMembers<TDeclarationNode>(TDeclarationNode declaration, IList<ISymbol> newMembers, CodeGenerationContextInfo info, CancellationToken cancellationToken) where TDeclarationNode : SyntaxNode;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceInfo.cs (5)
17private readonly IList<ISymbol> _imports; 19private CodeGenerationNamespaceInfo(IList<ISymbol> imports) 24IList<ISymbol> imports) 36public static IList<ISymbol> GetImports(INamespaceSymbol @namespace) 39private static IList<ISymbol> GetImports(CodeGenerationNamespaceInfo info)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamespaceSymbol.cs (2)
14internal sealed class CodeGenerationNamespaceSymbol(string name, IList<INamespaceOrTypeSymbol> members) : CodeGenerationNamespaceOrTypeSymbol(null, null, default, Accessibility.NotApplicable, default, name), INamespaceSymbol 16private readonly IList<INamespaceOrTypeSymbol> _members = members ?? SpecializedCollections.EmptyList<INamespaceOrTypeSymbol>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
170public static async Task<ImmutableArray<Diagnostic>> GetErrorsAsync(this Document document, CancellationToken cancellationToken, IList<string>? ignoreErrorCode = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IParameterSymbolExtensions.cs (1)
13public static ImmutableArray<IParameterSymbol> RenameParameters(this IList<IParameterSymbol> parameters, ImmutableArray<string> parameterNames)
vbc (1)
src\Compilers\Shared\BuildProtocol.cs (1)
77IList<string> args,
VBCSCompiler (1)
src\Compilers\Shared\BuildProtocol.cs (1)
77IList<string> args,
WinFormsControlsTest (2)
UserControls\UserControlWithObjectCollectionEditor.cs (2)
24public IList<int> AAAAAFirstCollection 35if (destinationType is not null && destinationType.IsAssignableFrom(typeof(string)) && value is IList<int> list)