diff --git a/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/Microsoft.Bcl.AsyncInterfaces.9.0.0.csproj b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/Microsoft.Bcl.AsyncInterfaces.9.0.0.csproj new file mode 100644 index 0000000000..563b095743 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/Microsoft.Bcl.AsyncInterfaces.9.0.0.csproj @@ -0,0 +1,14 @@ + + + + netstandard2.0;netstandard2.1 + 9.0.0 + Microsoft.Bcl.AsyncInterfaces + Open + + + + + + + diff --git a/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.cs b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.cs new file mode 100644 index 0000000000..55c3426cb2 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.cs @@ -0,0 +1,149 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides the IAsyncEnumerable and IAsyncDisposable interfaces and helper types for .NET Standard 2.0. This package is not required starting with .NET Standard 2.1 and .NET Core 3.0.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System +{ + public partial interface IAsyncDisposable + { + Threading.Tasks.ValueTask DisposeAsync(); + } +} + +namespace System.Collections.Generic +{ + public partial interface IAsyncEnumerable + { + IAsyncEnumerator GetAsyncEnumerator(Threading.CancellationToken cancellationToken = default); + } + + public partial interface IAsyncEnumerator : IAsyncDisposable + { + T Current { get; } + + Threading.Tasks.ValueTask MoveNextAsync(); + } +} + +namespace System.Runtime.CompilerServices +{ + public partial struct AsyncIteratorMethodBuilder + { + private object _dummy; + private int _dummyPrimitive; + public void AwaitOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) + where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine { } + + public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) + where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine { } + + public void Complete() { } + + public static AsyncIteratorMethodBuilder Create() { throw null; } + + public void MoveNext(ref TStateMachine stateMachine) + where TStateMachine : IAsyncStateMachine { } + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)] + public sealed partial class AsyncIteratorStateMachineAttribute : StateMachineAttribute + { + public AsyncIteratorStateMachineAttribute(Type stateMachineType) : base(default!) { } + } + + public readonly partial struct ConfiguredAsyncDisposable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly ConfiguredValueTaskAwaitable DisposeAsync() { throw null; } + } + + public readonly partial struct ConfiguredCancelableAsyncEnumerable + { + private readonly Collections.Generic.IAsyncEnumerable _enumerable; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly ConfiguredCancelableAsyncEnumerable ConfigureAwait(bool continueOnCapturedContext) { throw null; } + + public readonly Enumerator GetAsyncEnumerator() { throw null; } + + public readonly ConfiguredCancelableAsyncEnumerable WithCancellation(Threading.CancellationToken cancellationToken) { throw null; } + + public readonly partial struct Enumerator + { + private readonly Collections.Generic.IAsyncEnumerator _enumerator; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public T Current { get { throw null; } } + + public readonly ConfiguredValueTaskAwaitable DisposeAsync() { throw null; } + + public readonly ConfiguredValueTaskAwaitable MoveNextAsync() { throw null; } + } + } + + [AttributeUsage(AttributeTargets.Parameter, Inherited = false)] + public sealed partial class EnumeratorCancellationAttribute : Attribute + { + } +} + +namespace System.Threading.Tasks +{ + public static partial class TaskAsyncEnumerableExtensions + { + public static Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this IAsyncDisposable source, bool continueOnCapturedContext) { throw null; } + + public static Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(this Collections.Generic.IAsyncEnumerable source, bool continueOnCapturedContext) { throw null; } + + public static Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this Collections.Generic.IAsyncEnumerable source, CancellationToken cancellationToken) { throw null; } + } +} + +namespace System.Threading.Tasks.Sources +{ + public partial struct ManualResetValueTaskSourceCore + { + private TResult _result; + private object _dummy; + private int _dummyPrimitive; + public bool RunContinuationsAsynchronously { get { throw null; } set { } } + + public short Version { get { throw null; } } + + public TResult GetResult(short token) { throw null; } + + public ValueTaskSourceStatus GetStatus(short token) { throw null; } + + public void OnCompleted(Action continuation, object? state, short token, ValueTaskSourceOnCompletedFlags flags) { } + + public void Reset() { } + + public void SetException(Exception error) { } + + public void SetResult(TResult result) { } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.cs b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.cs new file mode 100644 index 0000000000..315c830eb4 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.cs @@ -0,0 +1,37 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides the IAsyncEnumerable and IAsyncDisposable interfaces and helper types for .NET Standard 2.0. This package is not required starting with .NET Standard 2.1 and .NET Core 3.0.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.AsyncInterfaces")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IAsyncEnumerable<>))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IAsyncEnumerator<>))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IAsyncDisposable))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.AsyncIteratorMethodBuilder))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ConfiguredAsyncDisposable))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<>))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.EnumeratorCancellationAttribute))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore<>))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.Tasks.TaskAsyncEnumerableExtensions))] \ No newline at end of file diff --git a/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/microsoft.bcl.asyncinterfaces.nuspec b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/microsoft.bcl.asyncinterfaces.nuspec new file mode 100644 index 0000000000..5921240841 --- /dev/null +++ b/src/referencePackages/src/microsoft.bcl.asyncinterfaces/9.0.0/microsoft.bcl.asyncinterfaces.nuspec @@ -0,0 +1,22 @@ + + + + Microsoft.Bcl.AsyncInterfaces + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides the IAsyncEnumerable<T> and IAsyncDisposable interfaces and helper types for .NET Standard 2.0. This package is not required starting with .NET Standard 2.1 and .NET Core 3.0. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.collections.immutable/9.0.0/System.Collections.Immutable.9.0.0.csproj b/src/referencePackages/src/system.collections.immutable/9.0.0/System.Collections.Immutable.9.0.0.csproj new file mode 100644 index 0000000000..44da48a501 --- /dev/null +++ b/src/referencePackages/src/system.collections.immutable/9.0.0/System.Collections.Immutable.9.0.0.csproj @@ -0,0 +1,14 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Collections.Immutable + + + + + + + + diff --git a/src/referencePackages/src/system.collections.immutable/9.0.0/lib/net8.0/System.Collections.Immutable.cs b/src/referencePackages/src/system.collections.immutable/9.0.0/lib/net8.0/System.Collections.Immutable.cs new file mode 100644 index 0000000000..a6cf7c8a7c --- /dev/null +++ b/src/referencePackages/src/system.collections.immutable/9.0.0/lib/net8.0/System.Collections.Immutable.cs @@ -0,0 +1,2317 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Collections.Immutable.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Collections.Immutable")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity.\r\n\r\nThe System.Collections.Immutable library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Collections.Immutable")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Collections.Frozen +{ + public static partial class FrozenDictionary + { + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable source, Func keySelector, Generic.IEqualityComparer? comparer = null) { throw null; } + + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? comparer = null) { throw null; } + + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? comparer = null) { throw null; } + } + + public abstract partial class FrozenDictionary : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal FrozenDictionary() { } + + public Generic.IEqualityComparer Comparer { get { throw null; } } + + public int Count { get { throw null; } } + + public static FrozenDictionary Empty { get { throw null; } } + + public ref readonly TValue this[TKey key] { get { throw null; } } + + public Immutable.ImmutableArray Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + TValue Generic.IReadOnlyDictionary.this[TKey key] { get { throw null; } } + + Generic.IEnumerable Generic.IReadOnlyDictionary.Keys { get { throw null; } } + + Generic.IEnumerable Generic.IReadOnlyDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Immutable.ImmutableArray Values { get { throw null; } } + + public bool ContainsKey(TKey key) { throw null; } + + public void CopyTo(Generic.KeyValuePair[] destination, int destinationIndex) { } + + public void CopyTo(Span> destination) { } + + public Enumerator GetEnumerator() { throw null; } + + public ref readonly TValue GetValueRefOrNullRef(TKey key) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + bool Generic.ICollection>.Contains(Generic.KeyValuePair item) { throw null; } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public static partial class FrozenSet + { + public static FrozenSet Create(Generic.IEqualityComparer? equalityComparer, params scoped ReadOnlySpan source) { throw null; } + + public static FrozenSet Create(params scoped ReadOnlySpan source) { throw null; } + + public static FrozenSet ToFrozenSet(this Generic.IEnumerable source, Generic.IEqualityComparer? comparer = null) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(FrozenSet), "Create")] + public abstract partial class FrozenSet : Generic.ISet, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlySet, Generic.IReadOnlyCollection, ICollection + { + internal FrozenSet() { } + + public Generic.IEqualityComparer Comparer { get { throw null; } } + + public int Count { get { throw null; } } + + public static FrozenSet Empty { get { throw null; } } + + public Immutable.ImmutableArray Items { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public bool Contains(T item) { throw null; } + + public void CopyTo(T[] destination, int destinationIndex) { } + + public void CopyTo(Span destination) { } + + public Enumerator GetEnumerator() { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int index) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } +} + +namespace System.Collections.Immutable +{ + public partial interface IImmutableDictionary : Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection> + { + IImmutableDictionary Add(TKey key, TValue value); + IImmutableDictionary AddRange(Generic.IEnumerable> pairs); + IImmutableDictionary Clear(); + bool Contains(Generic.KeyValuePair pair); + IImmutableDictionary Remove(TKey key); + IImmutableDictionary RemoveRange(Generic.IEnumerable keys); + IImmutableDictionary SetItem(TKey key, TValue value); + IImmutableDictionary SetItems(Generic.IEnumerable> items); + bool TryGetKey(TKey equalKey, out TKey actualKey); + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableList), "Create")] + public partial interface IImmutableList : Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection + { + IImmutableList Add(T value); + IImmutableList AddRange(Generic.IEnumerable items); + IImmutableList Clear(); + int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer); + IImmutableList Insert(int index, T element); + IImmutableList InsertRange(int index, Generic.IEnumerable items); + int LastIndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer); + IImmutableList Remove(T value, Generic.IEqualityComparer? equalityComparer); + IImmutableList RemoveAll(Predicate match); + IImmutableList RemoveAt(int index); + IImmutableList RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer); + IImmutableList RemoveRange(int index, int count); + IImmutableList Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer); + IImmutableList SetItem(int index, T value); + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableQueue), "Create")] + public partial interface IImmutableQueue : Generic.IEnumerable, IEnumerable + { + bool IsEmpty { get; } + + IImmutableQueue Clear(); + IImmutableQueue Dequeue(); + IImmutableQueue Enqueue(T value); + T Peek(); + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableHashSet), "Create")] + public partial interface IImmutableSet : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable + { + IImmutableSet Add(T value); + IImmutableSet Clear(); + bool Contains(T value); + IImmutableSet Except(Generic.IEnumerable other); + IImmutableSet Intersect(Generic.IEnumerable other); + bool IsProperSubsetOf(Generic.IEnumerable other); + bool IsProperSupersetOf(Generic.IEnumerable other); + bool IsSubsetOf(Generic.IEnumerable other); + bool IsSupersetOf(Generic.IEnumerable other); + bool Overlaps(Generic.IEnumerable other); + IImmutableSet Remove(T value); + bool SetEquals(Generic.IEnumerable other); + IImmutableSet SymmetricExcept(Generic.IEnumerable other); + bool TryGetValue(T equalValue, out T actualValue); + IImmutableSet Union(Generic.IEnumerable other); + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableStack), "Create")] + public partial interface IImmutableStack : Generic.IEnumerable, IEnumerable + { + bool IsEmpty { get; } + + IImmutableStack Clear(); + T Peek(); + IImmutableStack Pop(); + IImmutableStack Push(T value); + } + + public static partial class ImmutableArray + { + public static int BinarySearch(this ImmutableArray array, T value, Generic.IComparer? comparer) { throw null; } + + public static int BinarySearch(this ImmutableArray array, T value) { throw null; } + + public static int BinarySearch(this ImmutableArray array, int index, int length, T value, Generic.IComparer? comparer) { throw null; } + + public static int BinarySearch(this ImmutableArray array, int index, int length, T value) { throw null; } + + public static ImmutableArray Create() { throw null; } + + public static ImmutableArray Create(T item1, T item2, T item3, T item4) { throw null; } + + public static ImmutableArray Create(T item1, T item2, T item3) { throw null; } + + public static ImmutableArray Create(T item1, T item2) { throw null; } + + public static ImmutableArray Create(T item) { throw null; } + + public static ImmutableArray Create(T[] items, int start, int length) { throw null; } + + public static ImmutableArray Create(params T[]? items) { throw null; } + + public static ImmutableArray Create(ImmutableArray items, int start, int length) { throw null; } + + public static ImmutableArray Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableArray Create(Span items) { throw null; } + + public static ImmutableArray.Builder CreateBuilder() { throw null; } + + public static ImmutableArray.Builder CreateBuilder(int initialCapacity) { throw null; } + + public static ImmutableArray CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, Func selector) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, int start, int length, Func selector) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, Func selector, TArg arg) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, int start, int length, Func selector, TArg arg) { throw null; } + + public static ImmutableArray ToImmutableArray(this Generic.IEnumerable items) { throw null; } + + public static ImmutableArray ToImmutableArray(this ImmutableArray.Builder builder) { throw null; } + + public static ImmutableArray ToImmutableArray(this ReadOnlySpan items) { throw null; } + + public static ImmutableArray ToImmutableArray(this Span items) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableArray), "Create")] + public readonly partial struct ImmutableArray : Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IEquatable>, IList, ICollection, IStructuralComparable, IStructuralEquatable, IImmutableList + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public static readonly ImmutableArray Empty; + public bool IsDefault { get { throw null; } } + + public bool IsDefaultOrEmpty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public int Length { get { throw null; } } + + int Generic.ICollection.Count { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + int Generic.IReadOnlyCollection.Count { get { throw null; } } + + T Generic.IReadOnlyList.this[int index] { get { throw null; } } + + int ICollection.Count { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public readonly ImmutableArray Add(T item) { throw null; } + + public readonly ImmutableArray AddRange(T[] items, int length) { throw null; } + + public readonly ImmutableArray AddRange(params T[] items) { throw null; } + + public readonly ImmutableArray AddRange(Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items, int length) { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items) { throw null; } + + public readonly ImmutableArray AddRange(params scoped ReadOnlySpan items) { throw null; } + + public readonly ImmutableArray AddRange(TDerived[] items) + where TDerived : T { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items) + where TDerived : T { throw null; } + + public readonly ImmutableArray As() + where TOther : class { throw null; } + + public readonly ReadOnlyMemory AsMemory() { throw null; } + + public readonly ReadOnlySpan AsSpan() { throw null; } + + public readonly ReadOnlySpan AsSpan(int start, int length) { throw null; } + + public readonly ReadOnlySpan AsSpan(Range range) { throw null; } + + public readonly ImmutableArray CastArray() + where TOther : class { throw null; } + + public static ImmutableArray CastUp(ImmutableArray items) + where TDerived : class, T { throw null; } + + public readonly ImmutableArray Clear() { throw null; } + + public readonly bool Contains(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly bool Contains(T item) { throw null; } + + public readonly void CopyTo(T[] destination, int destinationIndex) { } + + public readonly void CopyTo(T[] destination) { } + + public readonly void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length) { } + + public readonly void CopyTo(Span destination) { } + + public readonly bool Equals(ImmutableArray other) { throw null; } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly Enumerator GetEnumerator() { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public readonly int IndexOf(T item, int startIndex, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int IndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int IndexOf(T item, int startIndex, int count) { throw null; } + + public readonly int IndexOf(T item, int startIndex) { throw null; } + + public readonly int IndexOf(T item) { throw null; } + + public readonly ImmutableArray Insert(int index, T item) { throw null; } + + public readonly ImmutableArray InsertRange(int index, T[] items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, ImmutableArray items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, params scoped ReadOnlySpan items) { throw null; } + + public readonly ref readonly T ItemRef(int index) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex) { throw null; } + + public readonly int LastIndexOf(T item) { throw null; } + + public readonly Generic.IEnumerable OfType() { throw null; } + + public static bool operator ==(ImmutableArray left, ImmutableArray right) { throw null; } + + public static bool operator ==(ImmutableArray? left, ImmutableArray? right) { throw null; } + + public static bool operator !=(ImmutableArray left, ImmutableArray right) { throw null; } + + public static bool operator !=(ImmutableArray? left, ImmutableArray? right) { throw null; } + + public readonly ImmutableArray Remove(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray Remove(T item) { throw null; } + + public readonly ImmutableArray RemoveAll(Predicate match) { throw null; } + + public readonly ImmutableArray RemoveAt(int index) { throw null; } + + public readonly ImmutableArray RemoveRange(T[] items, Generic.IEqualityComparer? equalityComparer = null) { throw null; } + + public readonly ImmutableArray RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray RemoveRange(Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray RemoveRange(ImmutableArray items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray RemoveRange(ImmutableArray items) { throw null; } + + public readonly ImmutableArray RemoveRange(int index, int length) { throw null; } + + public readonly ImmutableArray RemoveRange(ReadOnlySpan items, Generic.IEqualityComparer? equalityComparer = null) { throw null; } + + public readonly ImmutableArray Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray Replace(T oldValue, T newValue) { throw null; } + + public readonly ImmutableArray SetItem(int index, T item) { throw null; } + + public readonly ImmutableArray Slice(int start, int length) { throw null; } + + public readonly ImmutableArray Sort() { throw null; } + + public readonly ImmutableArray Sort(Generic.IComparer? comparer) { throw null; } + + public readonly ImmutableArray Sort(Comparison comparison) { throw null; } + + public readonly ImmutableArray Sort(int index, int count, Generic.IComparer? comparer) { throw null; } + + readonly void Generic.ICollection.Add(T item) { } + + readonly void Generic.ICollection.Clear() { } + + readonly bool Generic.ICollection.Remove(T item) { throw null; } + + readonly Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly void Generic.IList.Insert(int index, T item) { } + + readonly void Generic.IList.RemoveAt(int index) { } + + readonly void ICollection.CopyTo(Array array, int index) { } + + readonly IEnumerator IEnumerable.GetEnumerator() { throw null; } + + readonly int IList.Add(object value) { throw null; } + + readonly void IList.Clear() { } + + readonly bool IList.Contains(object value) { throw null; } + + readonly int IList.IndexOf(object value) { throw null; } + + readonly void IList.Insert(int index, object value) { } + + readonly void IList.Remove(object value) { } + + readonly void IList.RemoveAt(int index) { } + + readonly IImmutableList IImmutableList.Add(T value) { throw null; } + + readonly IImmutableList IImmutableList.AddRange(Generic.IEnumerable items) { throw null; } + + readonly IImmutableList IImmutableList.Clear() { throw null; } + + readonly IImmutableList IImmutableList.Insert(int index, T element) { throw null; } + + readonly IImmutableList IImmutableList.InsertRange(int index, Generic.IEnumerable items) { throw null; } + + readonly IImmutableList IImmutableList.Remove(T value, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.RemoveAll(Predicate match) { throw null; } + + readonly IImmutableList IImmutableList.RemoveAt(int index) { throw null; } + + readonly IImmutableList IImmutableList.RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.RemoveRange(int index, int count) { throw null; } + + readonly IImmutableList IImmutableList.Replace(T oldValue, T newValue, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } + + readonly int IStructuralComparable.CompareTo(object other, IComparer comparer) { throw null; } + + readonly bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer) { throw null; } + + readonly int IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { throw null; } + + public readonly Builder ToBuilder() { throw null; } + + public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyList, Generic.IReadOnlyCollection + { + internal Builder() { } + + public int Capacity { get { throw null; } set { } } + + public int Count { get { throw null; } set { } } + + public T this[int index] { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + public void Add(T item) { } + + public void AddRange(T[] items, int length) { } + + public void AddRange(params T[] items) { } + + public void AddRange(Generic.IEnumerable items) { } + + public void AddRange(ImmutableArray items, int length) { } + + public void AddRange(Builder items) { } + + public void AddRange(ImmutableArray items) { } + + public void AddRange(params scoped ReadOnlySpan items) { } + + public void AddRange(TDerived[] items) + where TDerived : T { } + + public void AddRange(ImmutableArray.Builder items) + where TDerived : T { } + + public void AddRange(ImmutableArray items) + where TDerived : T { } + + public void AddRange(params scoped ReadOnlySpan items) + where TDerived : T { } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void CopyTo(T[] array, int index) { } + + public void CopyTo(T[] destination) { } + + public void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length) { } + + public void CopyTo(Span destination) { } + + public ImmutableArray DrainToImmutable() { throw null; } + + public Generic.IEnumerator GetEnumerator() { throw null; } + + public int IndexOf(T item, int startIndex, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int startIndex, int count) { throw null; } + + public int IndexOf(T item, int startIndex) { throw null; } + + public int IndexOf(T item) { throw null; } + + public void Insert(int index, T item) { } + + public void InsertRange(int index, Generic.IEnumerable items) { } + + public void InsertRange(int index, ImmutableArray items) { } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public int LastIndexOf(T item, int startIndex) { throw null; } + + public int LastIndexOf(T item) { throw null; } + + public ImmutableArray MoveToImmutable() { throw null; } + + public bool Remove(T element, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public bool Remove(T element) { throw null; } + + public void RemoveAll(Predicate match) { } + + public void RemoveAt(int index) { } + + public void RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { } + + public void RemoveRange(Generic.IEnumerable items) { } + + public void RemoveRange(int index, int length) { } + + public void Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { } + + public void Replace(T oldValue, T newValue) { } + + public void Reverse() { } + + public void Sort() { } + + public void Sort(Generic.IComparer? comparer) { } + + public void Sort(Comparison comparison) { } + + public void Sort(int index, int count, Generic.IComparer? comparer) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public T[] ToArray() { throw null; } + + public ImmutableArray ToImmutable() { throw null; } + } + + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class ImmutableDictionary + { + public static bool Contains(this IImmutableDictionary map, TKey key, TValue value) { throw null; } + + public static ImmutableDictionary Create() { throw null; } + + public static ImmutableDictionary Create(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary Create(Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder() { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder(Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEnumerable> items) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEqualityComparer? keyComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer, Generic.IEnumerable> items) { throw null; } + + public static TValue GetValueOrDefault(this IImmutableDictionary dictionary, TKey key, TValue defaultValue) { throw null; } + + public static TValue? GetValueOrDefault(this IImmutableDictionary dictionary, TKey key) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this ImmutableDictionary.Builder builder) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector) { throw null; } + } + + public sealed partial class ImmutableDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection + { + internal ImmutableDictionary() { } + + public static readonly ImmutableDictionary Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } } + + public Generic.IEnumerable Values { get { throw null; } } + + public ImmutableDictionary Add(TKey key, TValue value) { throw null; } + + public ImmutableDictionary AddRange(Generic.IEnumerable> pairs) { throw null; } + + public ImmutableDictionary Clear() { throw null; } + + public bool Contains(Generic.KeyValuePair pair) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableDictionary Remove(TKey key) { throw null; } + + public ImmutableDictionary RemoveRange(Generic.IEnumerable keys) { throw null; } + + public ImmutableDictionary SetItem(TKey key, TValue value) { throw null; } + + public ImmutableDictionary SetItems(Generic.IEnumerable> items) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableDictionary IImmutableDictionary.Add(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.AddRange(Generic.IEnumerable> pairs) { throw null; } + + IImmutableDictionary IImmutableDictionary.Clear() { throw null; } + + IImmutableDictionary IImmutableDictionary.Remove(TKey key) { throw null; } + + IImmutableDictionary IImmutableDictionary.RemoveRange(Generic.IEnumerable keys) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItem(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ImmutableDictionary WithComparers(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public ImmutableDictionary WithComparers(Generic.IEqualityComparer? keyComparer) { throw null; } + + public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } set { } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } set { } } + + public Generic.IEnumerable Values { get { throw null; } } + + public void Add(TKey key, TValue value) { } + + public void Add(Generic.KeyValuePair item) { } + + public void AddRange(Generic.IEnumerable> items) { } + + public void Clear() { } + + public bool Contains(Generic.KeyValuePair item) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } + + public TValue? GetValueOrDefault(TKey key) { throw null; } + + public bool Remove(TKey key) { throw null; } + + public bool Remove(Generic.KeyValuePair item) { throw null; } + + public void RemoveRange(Generic.IEnumerable keys) { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + void IDictionary.Add(object key, object value) { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableDictionary ToImmutable() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableHashSet + { + public static ImmutableHashSet Create() { throw null; } + + public static ImmutableHashSet Create(T item) { throw null; } + + public static ImmutableHashSet Create(params T[] items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, T item) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, params T[] items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableHashSet.Builder CreateBuilder() { throw null; } + + public static ImmutableHashSet.Builder CreateBuilder(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableHashSet CreateRange(Generic.IEqualityComparer? equalityComparer, Generic.IEnumerable items) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this Generic.IEnumerable source, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this Generic.IEnumerable source) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this ImmutableHashSet.Builder builder) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableHashSet), "Create")] + public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ICollection, Generic.ISet, ICollection, Generic.IReadOnlySet + { + internal ImmutableHashSet() { } + + public static readonly ImmutableHashSet Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public ImmutableHashSet Add(T item) { throw null; } + + public ImmutableHashSet Clear() { throw null; } + + public bool Contains(T item) { throw null; } + + public ImmutableHashSet Except(Generic.IEnumerable other) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableHashSet Intersect(Generic.IEnumerable other) { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet Remove(T item) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet SymmetricExcept(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableSet IImmutableSet.Add(T item) { throw null; } + + IImmutableSet IImmutableSet.Clear() { throw null; } + + IImmutableSet IImmutableSet.Except(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Intersect(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Remove(T item) { throw null; } + + IImmutableSet IImmutableSet.SymmetricExcept(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public ImmutableHashSet Union(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet WithComparer(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + public bool Add(T item) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void ExceptWith(Generic.IEnumerable other) { } + + public Enumerator GetEnumerator() { throw null; } + + public void IntersectWith(Generic.IEnumerable other) { } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool Remove(T item) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public void SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableHashSet ToImmutable() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public void UnionWith(Generic.IEnumerable other) { } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableInterlocked + { + public static TValue AddOrUpdate(ref ImmutableDictionary location, TKey key, TValue addValue, Func updateValueFactory) { throw null; } + + public static TValue AddOrUpdate(ref ImmutableDictionary location, TKey key, Func addValueFactory, Func updateValueFactory) { throw null; } + + public static void Enqueue(ref ImmutableQueue location, T value) { } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, TValue value) { throw null; } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, Func valueFactory) { throw null; } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, Func valueFactory, TArg factoryArgument) { throw null; } + + public static ImmutableArray InterlockedCompareExchange(ref ImmutableArray location, ImmutableArray value, ImmutableArray comparand) { throw null; } + + public static ImmutableArray InterlockedExchange(ref ImmutableArray location, ImmutableArray value) { throw null; } + + public static bool InterlockedInitialize(ref ImmutableArray location, ImmutableArray value) { throw null; } + + public static void Push(ref ImmutableStack location, T value) { } + + public static bool TryAdd(ref ImmutableDictionary location, TKey key, TValue value) { throw null; } + + public static bool TryDequeue(ref ImmutableQueue location, out T value) { throw null; } + + public static bool TryPop(ref ImmutableStack location, out T value) { throw null; } + + public static bool TryRemove(ref ImmutableDictionary location, TKey key, out TValue value) { throw null; } + + public static bool TryUpdate(ref ImmutableDictionary location, TKey key, TValue newValue, TValue comparisonValue) { throw null; } + + public static bool Update(ref T location, Func transformer) + where T : class { throw null; } + + public static bool Update(ref ImmutableArray location, Func, ImmutableArray> transformer) { throw null; } + + public static bool Update(ref T location, Func transformer, TArg transformerArgument) + where T : class { throw null; } + + public static bool Update(ref ImmutableArray location, Func, TArg, ImmutableArray> transformer, TArg transformerArgument) { throw null; } + } + + public static partial class ImmutableList + { + public static ImmutableList Create() { throw null; } + + public static ImmutableList Create(T item) { throw null; } + + public static ImmutableList Create(params T[] items) { throw null; } + + public static ImmutableList Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableList.Builder CreateBuilder() { throw null; } + + public static ImmutableList CreateRange(Generic.IEnumerable items) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, int startIndex, int count) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, int startIndex) { throw null; } + + public static int IndexOf(this IImmutableList list, T item) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, int startIndex, int count) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, int startIndex) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item) { throw null; } + + public static IImmutableList Remove(this IImmutableList list, T value) { throw null; } + + public static IImmutableList RemoveRange(this IImmutableList list, Generic.IEnumerable items) { throw null; } + + public static IImmutableList Replace(this IImmutableList list, T oldValue, T newValue) { throw null; } + + public static ImmutableList ToImmutableList(this Generic.IEnumerable source) { throw null; } + + public static ImmutableList ToImmutableList(this ImmutableList.Builder builder) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableList), "Create")] + public sealed partial class ImmutableList : IImmutableList, Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IList, ICollection + { + internal ImmutableList() { } + + public static readonly ImmutableList Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public ImmutableList Add(T value) { throw null; } + + public ImmutableList AddRange(Generic.IEnumerable items) { throw null; } + + public int BinarySearch(T item, Generic.IComparer? comparer) { throw null; } + + public int BinarySearch(T item) { throw null; } + + public int BinarySearch(int index, int count, T item, Generic.IComparer? comparer) { throw null; } + + public ImmutableList Clear() { throw null; } + + public bool Contains(T value) { throw null; } + + public ImmutableList ConvertAll(Func converter) { throw null; } + + public void CopyTo(T[] array, int arrayIndex) { } + + public void CopyTo(T[] array) { } + + public void CopyTo(int index, T[] array, int arrayIndex, int count) { } + + public bool Exists(Predicate match) { throw null; } + + public T? Find(Predicate match) { throw null; } + + public ImmutableList FindAll(Predicate match) { throw null; } + + public int FindIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindIndex(int startIndex, Predicate match) { throw null; } + + public int FindIndex(Predicate match) { throw null; } + + public T? FindLast(Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, Predicate match) { throw null; } + + public int FindLastIndex(Predicate match) { throw null; } + + public void ForEach(Action action) { } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableList GetRange(int index, int count) { throw null; } + + public int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T value) { throw null; } + + public ImmutableList Insert(int index, T item) { throw null; } + + public ImmutableList InsertRange(int index, Generic.IEnumerable items) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Remove(T value, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Remove(T value) { throw null; } + + public ImmutableList RemoveAll(Predicate match) { throw null; } + + public ImmutableList RemoveAt(int index) { throw null; } + + public ImmutableList RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList RemoveRange(Generic.IEnumerable items) { throw null; } + + public ImmutableList RemoveRange(int index, int count) { throw null; } + + public ImmutableList Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Replace(T oldValue, T newValue) { throw null; } + + public ImmutableList Reverse() { throw null; } + + public ImmutableList Reverse(int index, int count) { throw null; } + + public ImmutableList SetItem(int index, T value) { throw null; } + + public ImmutableList Sort() { throw null; } + + public ImmutableList Sort(Generic.IComparer? comparer) { throw null; } + + public ImmutableList Sort(Comparison comparison) { throw null; } + + public ImmutableList Sort(int index, int count, Generic.IComparer? comparer) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void Generic.IList.Insert(int index, T item) { } + + void Generic.IList.RemoveAt(int index) { } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + void IList.RemoveAt(int index) { } + + IImmutableList IImmutableList.Add(T value) { throw null; } + + IImmutableList IImmutableList.AddRange(Generic.IEnumerable items) { throw null; } + + IImmutableList IImmutableList.Clear() { throw null; } + + IImmutableList IImmutableList.Insert(int index, T item) { throw null; } + + IImmutableList IImmutableList.InsertRange(int index, Generic.IEnumerable items) { throw null; } + + IImmutableList IImmutableList.Remove(T value, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.RemoveAll(Predicate match) { throw null; } + + IImmutableList IImmutableList.RemoveAt(int index) { throw null; } + + IImmutableList IImmutableList.RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.RemoveRange(int index, int count) { throw null; } + + IImmutableList IImmutableList.Replace(T oldValue, T newValue, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TrueForAll(Predicate match) { throw null; } + + public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, IList, ICollection, Generic.IReadOnlyList, Generic.IReadOnlyCollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public T this[int index] { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public void Add(T item) { } + + public void AddRange(Generic.IEnumerable items) { } + + public int BinarySearch(T item, Generic.IComparer? comparer) { throw null; } + + public int BinarySearch(T item) { throw null; } + + public int BinarySearch(int index, int count, T item, Generic.IComparer? comparer) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public ImmutableList ConvertAll(Func converter) { throw null; } + + public void CopyTo(T[] array, int arrayIndex) { } + + public void CopyTo(T[] array) { } + + public void CopyTo(int index, T[] array, int arrayIndex, int count) { } + + public bool Exists(Predicate match) { throw null; } + + public T? Find(Predicate match) { throw null; } + + public ImmutableList FindAll(Predicate match) { throw null; } + + public int FindIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindIndex(int startIndex, Predicate match) { throw null; } + + public int FindIndex(Predicate match) { throw null; } + + public T? FindLast(Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, Predicate match) { throw null; } + + public int FindLastIndex(Predicate match) { throw null; } + + public void ForEach(Action action) { } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableList GetRange(int index, int count) { throw null; } + + public int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int index, int count) { throw null; } + + public int IndexOf(T item, int index) { throw null; } + + public int IndexOf(T item) { throw null; } + + public void Insert(int index, T item) { } + + public void InsertRange(int index, Generic.IEnumerable items) { } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public int LastIndexOf(T item, int startIndex) { throw null; } + + public int LastIndexOf(T item) { throw null; } + + public bool Remove(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public bool Remove(T item) { throw null; } + + public int RemoveAll(Predicate match) { throw null; } + + public void RemoveAt(int index) { } + + public void RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { } + + public void RemoveRange(Generic.IEnumerable items) { } + + public void RemoveRange(int index, int count) { } + + public void Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { } + + public void Replace(T oldValue, T newValue) { } + + public void Reverse() { } + + public void Reverse(int index, int count) { } + + public void Sort() { } + + public void Sort(Generic.IComparer? comparer) { } + + public void Sort(Comparison comparison) { } + + public void Sort(int index, int count, Generic.IComparer? comparer) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + public ImmutableList ToImmutable() { throw null; } + + public bool TrueForAll(Predicate match) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableQueue + { + public static ImmutableQueue Create() { throw null; } + + public static ImmutableQueue Create(T item) { throw null; } + + public static ImmutableQueue Create(params T[] items) { throw null; } + + public static ImmutableQueue Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableQueue CreateRange(Generic.IEnumerable items) { throw null; } + + public static IImmutableQueue Dequeue(this IImmutableQueue queue, out T value) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableQueue), "Create")] + public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnumerable, IEnumerable + { + internal ImmutableQueue() { } + + public static ImmutableQueue Empty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public ImmutableQueue Clear() { throw null; } + + public ImmutableQueue Dequeue() { throw null; } + + public ImmutableQueue Dequeue(out T value) { throw null; } + + public ImmutableQueue Enqueue(T value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public T Peek() { throw null; } + + public ref readonly T PeekRef() { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableQueue IImmutableQueue.Clear() { throw null; } + + IImmutableQueue IImmutableQueue.Dequeue() { throw null; } + + IImmutableQueue IImmutableQueue.Enqueue(T value) { throw null; } + + public partial struct Enumerator + { + private ImmutableQueue _originalQueue; + private ImmutableStack _remainingForwardsStack; + private ImmutableStack _remainingBackwardsStack; + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class ImmutableSortedDictionary + { + public static ImmutableSortedDictionary Create() { throw null; } + + public static ImmutableSortedDictionary Create(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary Create(Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder() { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder(Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IComparer? keyComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source, Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source, Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this ImmutableSortedDictionary.Builder builder) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector) { throw null; } + } + + public sealed partial class ImmutableSortedDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection + { + internal ImmutableSortedDictionary() { } + + public static readonly ImmutableSortedDictionary Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } } + + public Generic.IEnumerable Values { get { throw null; } } + + public ImmutableSortedDictionary Add(TKey key, TValue value) { throw null; } + + public ImmutableSortedDictionary AddRange(Generic.IEnumerable> items) { throw null; } + + public ImmutableSortedDictionary Clear() { throw null; } + + public bool Contains(Generic.KeyValuePair pair) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableSortedDictionary Remove(TKey value) { throw null; } + + public ImmutableSortedDictionary RemoveRange(Generic.IEnumerable keys) { throw null; } + + public ImmutableSortedDictionary SetItem(TKey key, TValue value) { throw null; } + + public ImmutableSortedDictionary SetItems(Generic.IEnumerable> items) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableDictionary IImmutableDictionary.Add(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.AddRange(Generic.IEnumerable> pairs) { throw null; } + + IImmutableDictionary IImmutableDictionary.Clear() { throw null; } + + IImmutableDictionary IImmutableDictionary.Remove(TKey key) { throw null; } + + IImmutableDictionary IImmutableDictionary.RemoveRange(Generic.IEnumerable keys) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItem(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ref readonly TValue ValueRef(TKey key) { throw null; } + + public ImmutableSortedDictionary WithComparers(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public ImmutableSortedDictionary WithComparers(Generic.IComparer? keyComparer) { throw null; } + + public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } set { } } + + public Generic.IComparer KeyComparer { get { throw null; } set { } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } set { } } + + public Generic.IEnumerable Values { get { throw null; } } + + public void Add(TKey key, TValue value) { } + + public void Add(Generic.KeyValuePair item) { } + + public void AddRange(Generic.IEnumerable> items) { } + + public void Clear() { } + + public bool Contains(Generic.KeyValuePair item) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } + + public TValue? GetValueOrDefault(TKey key) { throw null; } + + public bool Remove(TKey key) { throw null; } + + public bool Remove(Generic.KeyValuePair item) { throw null; } + + public void RemoveRange(Generic.IEnumerable keys) { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableSortedDictionary ToImmutable() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ref readonly TValue ValueRef(TKey key) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableSortedSet + { + public static ImmutableSortedSet Create() { throw null; } + + public static ImmutableSortedSet Create(T item) { throw null; } + + public static ImmutableSortedSet Create(params T[] items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, T item) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, params T[] items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableSortedSet.Builder CreateBuilder() { throw null; } + + public static ImmutableSortedSet.Builder CreateBuilder(Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet CreateRange(Generic.IComparer? comparer, Generic.IEnumerable items) { throw null; } + + public static ImmutableSortedSet CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this Generic.IEnumerable source, Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this Generic.IEnumerable source) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this ImmutableSortedSet.Builder builder) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableSortedSet), "Create")] + public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlySet, Generic.IReadOnlyList, Generic.IList, Generic.ICollection, Generic.ISet, IList, ICollection + { + internal ImmutableSortedSet() { } + + public static readonly ImmutableSortedSet Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } } + + public T? Max { get { throw null; } } + + public T? Min { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public ImmutableSortedSet Add(T value) { throw null; } + + public ImmutableSortedSet Clear() { throw null; } + + public bool Contains(T value) { throw null; } + + public ImmutableSortedSet Except(Generic.IEnumerable other) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public int IndexOf(T item) { throw null; } + + public ImmutableSortedSet Intersect(Generic.IEnumerable other) { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet Remove(T value) { throw null; } + + public Generic.IEnumerable Reverse() { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet SymmetricExcept(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void Generic.IList.Insert(int index, T item) { } + + void Generic.IList.RemoveAt(int index) { } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int index) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + void IList.RemoveAt(int index) { } + + IImmutableSet IImmutableSet.Add(T value) { throw null; } + + IImmutableSet IImmutableSet.Clear() { throw null; } + + IImmutableSet IImmutableSet.Except(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Intersect(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Remove(T value) { throw null; } + + IImmutableSet IImmutableSet.SymmetricExcept(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public ImmutableSortedSet Union(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet WithComparer(Generic.IComparer? comparer) { throw null; } + + public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } set { } } + + public T? Max { get { throw null; } } + + public T? Min { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public bool Add(T item) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void ExceptWith(Generic.IEnumerable other) { } + + public Enumerator GetEnumerator() { throw null; } + + public int IndexOf(T item) { throw null; } + + public void IntersectWith(Generic.IEnumerable other) { } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool Remove(T item) { throw null; } + + public Generic.IEnumerable Reverse() { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public void SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableSortedSet ToImmutable() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public void UnionWith(Generic.IEnumerable other) { } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableStack + { + public static ImmutableStack Create() { throw null; } + + public static ImmutableStack Create(T item) { throw null; } + + public static ImmutableStack Create(params T[] items) { throw null; } + + public static ImmutableStack Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableStack CreateRange(Generic.IEnumerable items) { throw null; } + + public static IImmutableStack Pop(this IImmutableStack stack, out T value) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableStack), "Create")] + public sealed partial class ImmutableStack : IImmutableStack, Generic.IEnumerable, IEnumerable + { + internal ImmutableStack() { } + + public static ImmutableStack Empty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public ImmutableStack Clear() { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public T Peek() { throw null; } + + public ref readonly T PeekRef() { throw null; } + + public ImmutableStack Pop() { throw null; } + + public ImmutableStack Pop(out T value) { throw null; } + + public ImmutableStack Push(T value) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableStack IImmutableStack.Clear() { throw null; } + + IImmutableStack IImmutableStack.Pop() { throw null; } + + IImmutableStack IImmutableStack.Push(T value) { throw null; } + + public partial struct Enumerator + { + private ImmutableStack _originalStack; + private ImmutableStack _remainingStack; + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } +} + +namespace System.Linq +{ + public static partial class ImmutableArrayExtensions + { + public static T? Aggregate(this Collections.Immutable.ImmutableArray immutableArray, Func func) { throw null; } + + public static TAccumulate Aggregate(this Collections.Immutable.ImmutableArray immutableArray, TAccumulate seed, Func func) { throw null; } + + public static TResult Aggregate(this Collections.Immutable.ImmutableArray immutableArray, TAccumulate seed, Func func, Func resultSelector) { throw null; } + + public static bool All(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T ElementAt(this Collections.Immutable.ImmutableArray immutableArray, int index) { throw null; } + + public static T? ElementAtOrDefault(this Collections.Immutable.ImmutableArray immutableArray, int index) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static Collections.Generic.IEnumerable Select(this Collections.Immutable.ImmutableArray immutableArray, Func selector) { throw null; } + + public static Collections.Generic.IEnumerable SelectMany(this Collections.Immutable.ImmutableArray immutableArray, Func> collectionSelector, Func resultSelector) { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Generic.IEnumerable items, Collections.Generic.IEqualityComparer? comparer = null) + where TDerived : TBase { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Immutable.ImmutableArray items, Collections.Generic.IEqualityComparer? comparer = null) + where TDerived : TBase { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Immutable.ImmutableArray items, Func predicate) + where TDerived : TBase { throw null; } + + public static T Single(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T Single(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? SingleOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? SingleOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T[] ToArray(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Collections.Generic.IEqualityComparer? comparer) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Func elementSelector, Collections.Generic.IEqualityComparer? comparer) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Func elementSelector) { throw null; } + + public static Collections.Generic.IEnumerable Where(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + } +} + +namespace System.Runtime.InteropServices +{ + public static partial class ImmutableCollectionsMarshal + { + public static T[]? AsArray(Collections.Immutable.ImmutableArray array) { throw null; } + + public static Collections.Immutable.ImmutableArray AsImmutableArray(T[]? array) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.collections.immutable/9.0.0/lib/net9.0/System.Collections.Immutable.cs b/src/referencePackages/src/system.collections.immutable/9.0.0/lib/net9.0/System.Collections.Immutable.cs new file mode 100644 index 0000000000..6f55e47174 --- /dev/null +++ b/src/referencePackages/src/system.collections.immutable/9.0.0/lib/net9.0/System.Collections.Immutable.cs @@ -0,0 +1,2351 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Collections.Immutable.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Collections.Immutable")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity.\r\n\r\nThe System.Collections.Immutable library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Collections.Immutable")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Collections.Frozen +{ + public static partial class FrozenDictionary + { + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable source, Func keySelector, Generic.IEqualityComparer? comparer = null) { throw null; } + + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? comparer = null) { throw null; } + + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? comparer = null) { throw null; } + } + + public abstract partial class FrozenDictionary : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal FrozenDictionary() { } + + public Generic.IEqualityComparer Comparer { get { throw null; } } + + public int Count { get { throw null; } } + + public static FrozenDictionary Empty { get { throw null; } } + + public ref readonly TValue this[TKey key] { get { throw null; } } + + public Immutable.ImmutableArray Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + TValue Generic.IReadOnlyDictionary.this[TKey key] { get { throw null; } } + + Generic.IEnumerable Generic.IReadOnlyDictionary.Keys { get { throw null; } } + + Generic.IEnumerable Generic.IReadOnlyDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Immutable.ImmutableArray Values { get { throw null; } } + + public bool ContainsKey(TKey key) { throw null; } + + public void CopyTo(Generic.KeyValuePair[] destination, int destinationIndex) { } + + public void CopyTo(Span> destination) { } + + public AlternateLookup GetAlternateLookup() { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ref readonly TValue GetValueRefOrNullRef(TKey key) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + bool Generic.ICollection>.Contains(Generic.KeyValuePair item) { throw null; } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public bool TryGetAlternateLookup(out AlternateLookup lookup) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public readonly partial struct AlternateLookup + { + private readonly FrozenDictionary _Dictionary_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FrozenDictionary Dictionary { get { throw null; } } + + public TValue this[TAlternateKey key] { get { throw null; } } + + public readonly bool ContainsKey(TAlternateKey key) { throw null; } + + public readonly bool TryGetValue(TAlternateKey key, out TValue value) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public static partial class FrozenSet + { + public static FrozenSet Create(Generic.IEqualityComparer? equalityComparer, params scoped ReadOnlySpan source) { throw null; } + + public static FrozenSet Create(params scoped ReadOnlySpan source) { throw null; } + + public static FrozenSet ToFrozenSet(this Generic.IEnumerable source, Generic.IEqualityComparer? comparer = null) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(FrozenSet), "Create")] + public abstract partial class FrozenSet : Generic.ISet, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlySet, Generic.IReadOnlyCollection, ICollection + { + internal FrozenSet() { } + + public Generic.IEqualityComparer Comparer { get { throw null; } } + + public int Count { get { throw null; } } + + public static FrozenSet Empty { get { throw null; } } + + public Immutable.ImmutableArray Items { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public bool Contains(T item) { throw null; } + + public void CopyTo(T[] destination, int destinationIndex) { } + + public void CopyTo(Span destination) { } + + public AlternateLookup GetAlternateLookup() { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int index) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public bool TryGetAlternateLookup(out AlternateLookup lookup) { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public readonly partial struct AlternateLookup + { + private readonly FrozenSet _Set_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FrozenSet Set { get { throw null; } } + + public readonly bool Contains(TAlternate item) { throw null; } + + public readonly bool TryGetValue(TAlternate equalValue, out T actualValue) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } +} + +namespace System.Collections.Immutable +{ + public partial interface IImmutableDictionary : Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection> + { + IImmutableDictionary Add(TKey key, TValue value); + IImmutableDictionary AddRange(Generic.IEnumerable> pairs); + IImmutableDictionary Clear(); + bool Contains(Generic.KeyValuePair pair); + IImmutableDictionary Remove(TKey key); + IImmutableDictionary RemoveRange(Generic.IEnumerable keys); + IImmutableDictionary SetItem(TKey key, TValue value); + IImmutableDictionary SetItems(Generic.IEnumerable> items); + bool TryGetKey(TKey equalKey, out TKey actualKey); + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableList), "Create")] + public partial interface IImmutableList : Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection + { + IImmutableList Add(T value); + IImmutableList AddRange(Generic.IEnumerable items); + IImmutableList Clear(); + int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer); + IImmutableList Insert(int index, T element); + IImmutableList InsertRange(int index, Generic.IEnumerable items); + int LastIndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer); + IImmutableList Remove(T value, Generic.IEqualityComparer? equalityComparer); + IImmutableList RemoveAll(Predicate match); + IImmutableList RemoveAt(int index); + IImmutableList RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer); + IImmutableList RemoveRange(int index, int count); + IImmutableList Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer); + IImmutableList SetItem(int index, T value); + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableQueue), "Create")] + public partial interface IImmutableQueue : Generic.IEnumerable, IEnumerable + { + bool IsEmpty { get; } + + IImmutableQueue Clear(); + IImmutableQueue Dequeue(); + IImmutableQueue Enqueue(T value); + T Peek(); + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableHashSet), "Create")] + public partial interface IImmutableSet : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable + { + IImmutableSet Add(T value); + IImmutableSet Clear(); + bool Contains(T value); + IImmutableSet Except(Generic.IEnumerable other); + IImmutableSet Intersect(Generic.IEnumerable other); + bool IsProperSubsetOf(Generic.IEnumerable other); + bool IsProperSupersetOf(Generic.IEnumerable other); + bool IsSubsetOf(Generic.IEnumerable other); + bool IsSupersetOf(Generic.IEnumerable other); + bool Overlaps(Generic.IEnumerable other); + IImmutableSet Remove(T value); + bool SetEquals(Generic.IEnumerable other); + IImmutableSet SymmetricExcept(Generic.IEnumerable other); + bool TryGetValue(T equalValue, out T actualValue); + IImmutableSet Union(Generic.IEnumerable other); + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableStack), "Create")] + public partial interface IImmutableStack : Generic.IEnumerable, IEnumerable + { + bool IsEmpty { get; } + + IImmutableStack Clear(); + T Peek(); + IImmutableStack Pop(); + IImmutableStack Push(T value); + } + + public static partial class ImmutableArray + { + public static int BinarySearch(this ImmutableArray array, T value, Generic.IComparer? comparer) { throw null; } + + public static int BinarySearch(this ImmutableArray array, T value) { throw null; } + + public static int BinarySearch(this ImmutableArray array, int index, int length, T value, Generic.IComparer? comparer) { throw null; } + + public static int BinarySearch(this ImmutableArray array, int index, int length, T value) { throw null; } + + public static ImmutableArray Create() { throw null; } + + public static ImmutableArray Create(T item1, T item2, T item3, T item4) { throw null; } + + public static ImmutableArray Create(T item1, T item2, T item3) { throw null; } + + public static ImmutableArray Create(T item1, T item2) { throw null; } + + public static ImmutableArray Create(T item) { throw null; } + + public static ImmutableArray Create(T[] items, int start, int length) { throw null; } + + public static ImmutableArray Create(params T[]? items) { throw null; } + + public static ImmutableArray Create(ImmutableArray items, int start, int length) { throw null; } + + public static ImmutableArray Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableArray Create(Span items) { throw null; } + + public static ImmutableArray.Builder CreateBuilder() { throw null; } + + public static ImmutableArray.Builder CreateBuilder(int initialCapacity) { throw null; } + + public static ImmutableArray CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, Func selector) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, int start, int length, Func selector) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, Func selector, TArg arg) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, int start, int length, Func selector, TArg arg) { throw null; } + + public static ImmutableArray ToImmutableArray(this Generic.IEnumerable items) { throw null; } + + public static ImmutableArray ToImmutableArray(this ImmutableArray.Builder builder) { throw null; } + + public static ImmutableArray ToImmutableArray(this ReadOnlySpan items) { throw null; } + + public static ImmutableArray ToImmutableArray(this Span items) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableArray), "Create")] + public readonly partial struct ImmutableArray : Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IEquatable>, IList, ICollection, IStructuralComparable, IStructuralEquatable, IImmutableList + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public static readonly ImmutableArray Empty; + public bool IsDefault { get { throw null; } } + + public bool IsDefaultOrEmpty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public int Length { get { throw null; } } + + int Generic.ICollection.Count { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + int Generic.IReadOnlyCollection.Count { get { throw null; } } + + T Generic.IReadOnlyList.this[int index] { get { throw null; } } + + int ICollection.Count { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public readonly ImmutableArray Add(T item) { throw null; } + + public readonly ImmutableArray AddRange(T[] items, int length) { throw null; } + + public readonly ImmutableArray AddRange(params T[] items) { throw null; } + + public readonly ImmutableArray AddRange(Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items, int length) { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items) { throw null; } + + public readonly ImmutableArray AddRange(params scoped ReadOnlySpan items) { throw null; } + + public readonly ImmutableArray AddRange(TDerived[] items) + where TDerived : T { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items) + where TDerived : T { throw null; } + + public readonly ImmutableArray As() + where TOther : class { throw null; } + + public readonly ReadOnlyMemory AsMemory() { throw null; } + + public readonly ReadOnlySpan AsSpan() { throw null; } + + public readonly ReadOnlySpan AsSpan(int start, int length) { throw null; } + + public readonly ReadOnlySpan AsSpan(Range range) { throw null; } + + public readonly ImmutableArray CastArray() + where TOther : class { throw null; } + + public static ImmutableArray CastUp(ImmutableArray items) + where TDerived : class, T { throw null; } + + public readonly ImmutableArray Clear() { throw null; } + + public readonly bool Contains(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly bool Contains(T item) { throw null; } + + public readonly void CopyTo(T[] destination, int destinationIndex) { } + + public readonly void CopyTo(T[] destination) { } + + public readonly void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length) { } + + public readonly void CopyTo(Span destination) { } + + public readonly bool Equals(ImmutableArray other) { throw null; } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly Enumerator GetEnumerator() { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public readonly int IndexOf(T item, int startIndex, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int IndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int IndexOf(T item, int startIndex, int count) { throw null; } + + public readonly int IndexOf(T item, int startIndex) { throw null; } + + public readonly int IndexOf(T item) { throw null; } + + public readonly ImmutableArray Insert(int index, T item) { throw null; } + + public readonly ImmutableArray InsertRange(int index, T[] items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, ImmutableArray items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, params scoped ReadOnlySpan items) { throw null; } + + public readonly ref readonly T ItemRef(int index) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex) { throw null; } + + public readonly int LastIndexOf(T item) { throw null; } + + public readonly Generic.IEnumerable OfType() { throw null; } + + public static bool operator ==(ImmutableArray left, ImmutableArray right) { throw null; } + + public static bool operator ==(ImmutableArray? left, ImmutableArray? right) { throw null; } + + public static bool operator !=(ImmutableArray left, ImmutableArray right) { throw null; } + + public static bool operator !=(ImmutableArray? left, ImmutableArray? right) { throw null; } + + public readonly ImmutableArray Remove(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray Remove(T item) { throw null; } + + public readonly ImmutableArray RemoveAll(Predicate match) { throw null; } + + public readonly ImmutableArray RemoveAt(int index) { throw null; } + + public readonly ImmutableArray RemoveRange(T[] items, Generic.IEqualityComparer? equalityComparer = null) { throw null; } + + public readonly ImmutableArray RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray RemoveRange(Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray RemoveRange(ImmutableArray items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray RemoveRange(ImmutableArray items) { throw null; } + + public readonly ImmutableArray RemoveRange(int index, int length) { throw null; } + + public readonly ImmutableArray RemoveRange(ReadOnlySpan items, Generic.IEqualityComparer? equalityComparer = null) { throw null; } + + public readonly ImmutableArray Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray Replace(T oldValue, T newValue) { throw null; } + + public readonly ImmutableArray SetItem(int index, T item) { throw null; } + + public readonly ImmutableArray Slice(int start, int length) { throw null; } + + public readonly ImmutableArray Sort() { throw null; } + + public readonly ImmutableArray Sort(Generic.IComparer? comparer) { throw null; } + + public readonly ImmutableArray Sort(Comparison comparison) { throw null; } + + public readonly ImmutableArray Sort(int index, int count, Generic.IComparer? comparer) { throw null; } + + readonly void Generic.ICollection.Add(T item) { } + + readonly void Generic.ICollection.Clear() { } + + readonly bool Generic.ICollection.Remove(T item) { throw null; } + + readonly Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly void Generic.IList.Insert(int index, T item) { } + + readonly void Generic.IList.RemoveAt(int index) { } + + readonly void ICollection.CopyTo(Array array, int index) { } + + readonly IEnumerator IEnumerable.GetEnumerator() { throw null; } + + readonly int IList.Add(object value) { throw null; } + + readonly void IList.Clear() { } + + readonly bool IList.Contains(object value) { throw null; } + + readonly int IList.IndexOf(object value) { throw null; } + + readonly void IList.Insert(int index, object value) { } + + readonly void IList.Remove(object value) { } + + readonly void IList.RemoveAt(int index) { } + + readonly IImmutableList IImmutableList.Add(T value) { throw null; } + + readonly IImmutableList IImmutableList.AddRange(Generic.IEnumerable items) { throw null; } + + readonly IImmutableList IImmutableList.Clear() { throw null; } + + readonly IImmutableList IImmutableList.Insert(int index, T element) { throw null; } + + readonly IImmutableList IImmutableList.InsertRange(int index, Generic.IEnumerable items) { throw null; } + + readonly IImmutableList IImmutableList.Remove(T value, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.RemoveAll(Predicate match) { throw null; } + + readonly IImmutableList IImmutableList.RemoveAt(int index) { throw null; } + + readonly IImmutableList IImmutableList.RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.RemoveRange(int index, int count) { throw null; } + + readonly IImmutableList IImmutableList.Replace(T oldValue, T newValue, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } + + readonly int IStructuralComparable.CompareTo(object other, IComparer comparer) { throw null; } + + readonly bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer) { throw null; } + + readonly int IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { throw null; } + + public readonly Builder ToBuilder() { throw null; } + + public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyList, Generic.IReadOnlyCollection + { + internal Builder() { } + + public int Capacity { get { throw null; } set { } } + + public int Count { get { throw null; } set { } } + + public T this[int index] { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + public void Add(T item) { } + + public void AddRange(T[] items, int length) { } + + public void AddRange(params T[] items) { } + + public void AddRange(Generic.IEnumerable items) { } + + public void AddRange(ImmutableArray items, int length) { } + + public void AddRange(Builder items) { } + + public void AddRange(ImmutableArray items) { } + + public void AddRange(params scoped ReadOnlySpan items) { } + + public void AddRange(TDerived[] items) + where TDerived : T { } + + public void AddRange(ImmutableArray.Builder items) + where TDerived : T { } + + public void AddRange(ImmutableArray items) + where TDerived : T { } + + public void AddRange(params scoped ReadOnlySpan items) + where TDerived : T { } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void CopyTo(T[] array, int index) { } + + public void CopyTo(T[] destination) { } + + public void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length) { } + + public void CopyTo(Span destination) { } + + public ImmutableArray DrainToImmutable() { throw null; } + + public Generic.IEnumerator GetEnumerator() { throw null; } + + public int IndexOf(T item, int startIndex, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int startIndex, int count) { throw null; } + + public int IndexOf(T item, int startIndex) { throw null; } + + public int IndexOf(T item) { throw null; } + + public void Insert(int index, T item) { } + + public void InsertRange(int index, Generic.IEnumerable items) { } + + public void InsertRange(int index, ImmutableArray items) { } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public int LastIndexOf(T item, int startIndex) { throw null; } + + public int LastIndexOf(T item) { throw null; } + + public ImmutableArray MoveToImmutable() { throw null; } + + public bool Remove(T element, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public bool Remove(T element) { throw null; } + + public void RemoveAll(Predicate match) { } + + public void RemoveAt(int index) { } + + public void RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { } + + public void RemoveRange(Generic.IEnumerable items) { } + + public void RemoveRange(int index, int length) { } + + public void Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { } + + public void Replace(T oldValue, T newValue) { } + + public void Reverse() { } + + public void Sort() { } + + public void Sort(Generic.IComparer? comparer) { } + + public void Sort(Comparison comparison) { } + + public void Sort(int index, int count, Generic.IComparer? comparer) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public T[] ToArray() { throw null; } + + public ImmutableArray ToImmutable() { throw null; } + } + + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class ImmutableDictionary + { + public static bool Contains(this IImmutableDictionary map, TKey key, TValue value) { throw null; } + + public static ImmutableDictionary Create() { throw null; } + + public static ImmutableDictionary Create(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary Create(Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder() { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder(Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEnumerable> items) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEqualityComparer? keyComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer, Generic.IEnumerable> items) { throw null; } + + public static TValue GetValueOrDefault(this IImmutableDictionary dictionary, TKey key, TValue defaultValue) { throw null; } + + public static TValue? GetValueOrDefault(this IImmutableDictionary dictionary, TKey key) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this ImmutableDictionary.Builder builder) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector) { throw null; } + } + + public sealed partial class ImmutableDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection + { + internal ImmutableDictionary() { } + + public static readonly ImmutableDictionary Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } } + + public Generic.IEnumerable Values { get { throw null; } } + + public ImmutableDictionary Add(TKey key, TValue value) { throw null; } + + public ImmutableDictionary AddRange(Generic.IEnumerable> pairs) { throw null; } + + public ImmutableDictionary Clear() { throw null; } + + public bool Contains(Generic.KeyValuePair pair) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableDictionary Remove(TKey key) { throw null; } + + public ImmutableDictionary RemoveRange(Generic.IEnumerable keys) { throw null; } + + public ImmutableDictionary SetItem(TKey key, TValue value) { throw null; } + + public ImmutableDictionary SetItems(Generic.IEnumerable> items) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableDictionary IImmutableDictionary.Add(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.AddRange(Generic.IEnumerable> pairs) { throw null; } + + IImmutableDictionary IImmutableDictionary.Clear() { throw null; } + + IImmutableDictionary IImmutableDictionary.Remove(TKey key) { throw null; } + + IImmutableDictionary IImmutableDictionary.RemoveRange(Generic.IEnumerable keys) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItem(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ImmutableDictionary WithComparers(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public ImmutableDictionary WithComparers(Generic.IEqualityComparer? keyComparer) { throw null; } + + public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } set { } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } set { } } + + public Generic.IEnumerable Values { get { throw null; } } + + public void Add(TKey key, TValue value) { } + + public void Add(Generic.KeyValuePair item) { } + + public void AddRange(Generic.IEnumerable> items) { } + + public void Clear() { } + + public bool Contains(Generic.KeyValuePair item) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } + + public TValue? GetValueOrDefault(TKey key) { throw null; } + + public bool Remove(TKey key) { throw null; } + + public bool Remove(Generic.KeyValuePair item) { throw null; } + + public void RemoveRange(Generic.IEnumerable keys) { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + void IDictionary.Add(object key, object value) { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableDictionary ToImmutable() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableHashSet + { + public static ImmutableHashSet Create() { throw null; } + + public static ImmutableHashSet Create(T item) { throw null; } + + public static ImmutableHashSet Create(params T[] items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, T item) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, params T[] items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableHashSet.Builder CreateBuilder() { throw null; } + + public static ImmutableHashSet.Builder CreateBuilder(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableHashSet CreateRange(Generic.IEqualityComparer? equalityComparer, Generic.IEnumerable items) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this Generic.IEnumerable source, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this Generic.IEnumerable source) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this ImmutableHashSet.Builder builder) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableHashSet), "Create")] + public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ICollection, Generic.ISet, ICollection, Generic.IReadOnlySet + { + internal ImmutableHashSet() { } + + public static readonly ImmutableHashSet Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public ImmutableHashSet Add(T item) { throw null; } + + public ImmutableHashSet Clear() { throw null; } + + public bool Contains(T item) { throw null; } + + public ImmutableHashSet Except(Generic.IEnumerable other) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableHashSet Intersect(Generic.IEnumerable other) { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet Remove(T item) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet SymmetricExcept(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableSet IImmutableSet.Add(T item) { throw null; } + + IImmutableSet IImmutableSet.Clear() { throw null; } + + IImmutableSet IImmutableSet.Except(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Intersect(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Remove(T item) { throw null; } + + IImmutableSet IImmutableSet.SymmetricExcept(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public ImmutableHashSet Union(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet WithComparer(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + public bool Add(T item) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void ExceptWith(Generic.IEnumerable other) { } + + public Enumerator GetEnumerator() { throw null; } + + public void IntersectWith(Generic.IEnumerable other) { } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool Remove(T item) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public void SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableHashSet ToImmutable() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public void UnionWith(Generic.IEnumerable other) { } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableInterlocked + { + public static TValue AddOrUpdate(ref ImmutableDictionary location, TKey key, TValue addValue, Func updateValueFactory) { throw null; } + + public static TValue AddOrUpdate(ref ImmutableDictionary location, TKey key, Func addValueFactory, Func updateValueFactory) { throw null; } + + public static void Enqueue(ref ImmutableQueue location, T value) { } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, TValue value) { throw null; } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, Func valueFactory) { throw null; } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, Func valueFactory, TArg factoryArgument) { throw null; } + + public static ImmutableArray InterlockedCompareExchange(ref ImmutableArray location, ImmutableArray value, ImmutableArray comparand) { throw null; } + + public static ImmutableArray InterlockedExchange(ref ImmutableArray location, ImmutableArray value) { throw null; } + + public static bool InterlockedInitialize(ref ImmutableArray location, ImmutableArray value) { throw null; } + + public static void Push(ref ImmutableStack location, T value) { } + + public static bool TryAdd(ref ImmutableDictionary location, TKey key, TValue value) { throw null; } + + public static bool TryDequeue(ref ImmutableQueue location, out T value) { throw null; } + + public static bool TryPop(ref ImmutableStack location, out T value) { throw null; } + + public static bool TryRemove(ref ImmutableDictionary location, TKey key, out TValue value) { throw null; } + + public static bool TryUpdate(ref ImmutableDictionary location, TKey key, TValue newValue, TValue comparisonValue) { throw null; } + + public static bool Update(ref T location, Func transformer) + where T : class { throw null; } + + public static bool Update(ref ImmutableArray location, Func, ImmutableArray> transformer) { throw null; } + + public static bool Update(ref T location, Func transformer, TArg transformerArgument) + where T : class { throw null; } + + public static bool Update(ref ImmutableArray location, Func, TArg, ImmutableArray> transformer, TArg transformerArgument) { throw null; } + } + + public static partial class ImmutableList + { + public static ImmutableList Create() { throw null; } + + public static ImmutableList Create(T item) { throw null; } + + public static ImmutableList Create(params T[] items) { throw null; } + + public static ImmutableList Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableList.Builder CreateBuilder() { throw null; } + + public static ImmutableList CreateRange(Generic.IEnumerable items) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, int startIndex, int count) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, int startIndex) { throw null; } + + public static int IndexOf(this IImmutableList list, T item) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, int startIndex, int count) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, int startIndex) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item) { throw null; } + + public static IImmutableList Remove(this IImmutableList list, T value) { throw null; } + + public static IImmutableList RemoveRange(this IImmutableList list, Generic.IEnumerable items) { throw null; } + + public static IImmutableList Replace(this IImmutableList list, T oldValue, T newValue) { throw null; } + + public static ImmutableList ToImmutableList(this Generic.IEnumerable source) { throw null; } + + public static ImmutableList ToImmutableList(this ImmutableList.Builder builder) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableList), "Create")] + public sealed partial class ImmutableList : IImmutableList, Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IList, ICollection + { + internal ImmutableList() { } + + public static readonly ImmutableList Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public ImmutableList Add(T value) { throw null; } + + public ImmutableList AddRange(Generic.IEnumerable items) { throw null; } + + public int BinarySearch(T item, Generic.IComparer? comparer) { throw null; } + + public int BinarySearch(T item) { throw null; } + + public int BinarySearch(int index, int count, T item, Generic.IComparer? comparer) { throw null; } + + public ImmutableList Clear() { throw null; } + + public bool Contains(T value) { throw null; } + + public ImmutableList ConvertAll(Func converter) { throw null; } + + public void CopyTo(T[] array, int arrayIndex) { } + + public void CopyTo(T[] array) { } + + public void CopyTo(int index, T[] array, int arrayIndex, int count) { } + + public bool Exists(Predicate match) { throw null; } + + public T? Find(Predicate match) { throw null; } + + public ImmutableList FindAll(Predicate match) { throw null; } + + public int FindIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindIndex(int startIndex, Predicate match) { throw null; } + + public int FindIndex(Predicate match) { throw null; } + + public T? FindLast(Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, Predicate match) { throw null; } + + public int FindLastIndex(Predicate match) { throw null; } + + public void ForEach(Action action) { } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableList GetRange(int index, int count) { throw null; } + + public int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T value) { throw null; } + + public ImmutableList Insert(int index, T item) { throw null; } + + public ImmutableList InsertRange(int index, Generic.IEnumerable items) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Remove(T value, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Remove(T value) { throw null; } + + public ImmutableList RemoveAll(Predicate match) { throw null; } + + public ImmutableList RemoveAt(int index) { throw null; } + + public ImmutableList RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList RemoveRange(Generic.IEnumerable items) { throw null; } + + public ImmutableList RemoveRange(int index, int count) { throw null; } + + public ImmutableList Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Replace(T oldValue, T newValue) { throw null; } + + public ImmutableList Reverse() { throw null; } + + public ImmutableList Reverse(int index, int count) { throw null; } + + public ImmutableList SetItem(int index, T value) { throw null; } + + public ImmutableList Sort() { throw null; } + + public ImmutableList Sort(Generic.IComparer? comparer) { throw null; } + + public ImmutableList Sort(Comparison comparison) { throw null; } + + public ImmutableList Sort(int index, int count, Generic.IComparer? comparer) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void Generic.IList.Insert(int index, T item) { } + + void Generic.IList.RemoveAt(int index) { } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + void IList.RemoveAt(int index) { } + + IImmutableList IImmutableList.Add(T value) { throw null; } + + IImmutableList IImmutableList.AddRange(Generic.IEnumerable items) { throw null; } + + IImmutableList IImmutableList.Clear() { throw null; } + + IImmutableList IImmutableList.Insert(int index, T item) { throw null; } + + IImmutableList IImmutableList.InsertRange(int index, Generic.IEnumerable items) { throw null; } + + IImmutableList IImmutableList.Remove(T value, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.RemoveAll(Predicate match) { throw null; } + + IImmutableList IImmutableList.RemoveAt(int index) { throw null; } + + IImmutableList IImmutableList.RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.RemoveRange(int index, int count) { throw null; } + + IImmutableList IImmutableList.Replace(T oldValue, T newValue, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TrueForAll(Predicate match) { throw null; } + + public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, IList, ICollection, Generic.IReadOnlyList, Generic.IReadOnlyCollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public T this[int index] { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public void Add(T item) { } + + public void AddRange(Generic.IEnumerable items) { } + + public int BinarySearch(T item, Generic.IComparer? comparer) { throw null; } + + public int BinarySearch(T item) { throw null; } + + public int BinarySearch(int index, int count, T item, Generic.IComparer? comparer) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public ImmutableList ConvertAll(Func converter) { throw null; } + + public void CopyTo(T[] array, int arrayIndex) { } + + public void CopyTo(T[] array) { } + + public void CopyTo(int index, T[] array, int arrayIndex, int count) { } + + public bool Exists(Predicate match) { throw null; } + + public T? Find(Predicate match) { throw null; } + + public ImmutableList FindAll(Predicate match) { throw null; } + + public int FindIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindIndex(int startIndex, Predicate match) { throw null; } + + public int FindIndex(Predicate match) { throw null; } + + public T? FindLast(Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, Predicate match) { throw null; } + + public int FindLastIndex(Predicate match) { throw null; } + + public void ForEach(Action action) { } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableList GetRange(int index, int count) { throw null; } + + public int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int index, int count) { throw null; } + + public int IndexOf(T item, int index) { throw null; } + + public int IndexOf(T item) { throw null; } + + public void Insert(int index, T item) { } + + public void InsertRange(int index, Generic.IEnumerable items) { } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public int LastIndexOf(T item, int startIndex) { throw null; } + + public int LastIndexOf(T item) { throw null; } + + public bool Remove(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public bool Remove(T item) { throw null; } + + public int RemoveAll(Predicate match) { throw null; } + + public void RemoveAt(int index) { } + + public void RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { } + + public void RemoveRange(Generic.IEnumerable items) { } + + public void RemoveRange(int index, int count) { } + + public void Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { } + + public void Replace(T oldValue, T newValue) { } + + public void Reverse() { } + + public void Reverse(int index, int count) { } + + public void Sort() { } + + public void Sort(Generic.IComparer? comparer) { } + + public void Sort(Comparison comparison) { } + + public void Sort(int index, int count, Generic.IComparer? comparer) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + public ImmutableList ToImmutable() { throw null; } + + public bool TrueForAll(Predicate match) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableQueue + { + public static ImmutableQueue Create() { throw null; } + + public static ImmutableQueue Create(T item) { throw null; } + + public static ImmutableQueue Create(params T[] items) { throw null; } + + public static ImmutableQueue Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableQueue CreateRange(Generic.IEnumerable items) { throw null; } + + public static IImmutableQueue Dequeue(this IImmutableQueue queue, out T value) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableQueue), "Create")] + public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnumerable, IEnumerable + { + internal ImmutableQueue() { } + + public static ImmutableQueue Empty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public ImmutableQueue Clear() { throw null; } + + public ImmutableQueue Dequeue() { throw null; } + + public ImmutableQueue Dequeue(out T value) { throw null; } + + public ImmutableQueue Enqueue(T value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public T Peek() { throw null; } + + public ref readonly T PeekRef() { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableQueue IImmutableQueue.Clear() { throw null; } + + IImmutableQueue IImmutableQueue.Dequeue() { throw null; } + + IImmutableQueue IImmutableQueue.Enqueue(T value) { throw null; } + + public partial struct Enumerator + { + private ImmutableQueue _originalQueue; + private ImmutableStack _remainingForwardsStack; + private ImmutableStack _remainingBackwardsStack; + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class ImmutableSortedDictionary + { + public static ImmutableSortedDictionary Create() { throw null; } + + public static ImmutableSortedDictionary Create(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary Create(Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder() { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder(Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IComparer? keyComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source, Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source, Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this ImmutableSortedDictionary.Builder builder) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector) { throw null; } + } + + public sealed partial class ImmutableSortedDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection + { + internal ImmutableSortedDictionary() { } + + public static readonly ImmutableSortedDictionary Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } } + + public Generic.IEnumerable Values { get { throw null; } } + + public ImmutableSortedDictionary Add(TKey key, TValue value) { throw null; } + + public ImmutableSortedDictionary AddRange(Generic.IEnumerable> items) { throw null; } + + public ImmutableSortedDictionary Clear() { throw null; } + + public bool Contains(Generic.KeyValuePair pair) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableSortedDictionary Remove(TKey value) { throw null; } + + public ImmutableSortedDictionary RemoveRange(Generic.IEnumerable keys) { throw null; } + + public ImmutableSortedDictionary SetItem(TKey key, TValue value) { throw null; } + + public ImmutableSortedDictionary SetItems(Generic.IEnumerable> items) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableDictionary IImmutableDictionary.Add(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.AddRange(Generic.IEnumerable> pairs) { throw null; } + + IImmutableDictionary IImmutableDictionary.Clear() { throw null; } + + IImmutableDictionary IImmutableDictionary.Remove(TKey key) { throw null; } + + IImmutableDictionary IImmutableDictionary.RemoveRange(Generic.IEnumerable keys) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItem(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ref readonly TValue ValueRef(TKey key) { throw null; } + + public ImmutableSortedDictionary WithComparers(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public ImmutableSortedDictionary WithComparers(Generic.IComparer? keyComparer) { throw null; } + + public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } set { } } + + public Generic.IComparer KeyComparer { get { throw null; } set { } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } set { } } + + public Generic.IEnumerable Values { get { throw null; } } + + public void Add(TKey key, TValue value) { } + + public void Add(Generic.KeyValuePair item) { } + + public void AddRange(Generic.IEnumerable> items) { } + + public void Clear() { } + + public bool Contains(Generic.KeyValuePair item) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } + + public TValue? GetValueOrDefault(TKey key) { throw null; } + + public bool Remove(TKey key) { throw null; } + + public bool Remove(Generic.KeyValuePair item) { throw null; } + + public void RemoveRange(Generic.IEnumerable keys) { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableSortedDictionary ToImmutable() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ref readonly TValue ValueRef(TKey key) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableSortedSet + { + public static ImmutableSortedSet Create() { throw null; } + + public static ImmutableSortedSet Create(T item) { throw null; } + + public static ImmutableSortedSet Create(params T[] items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, T item) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, params T[] items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableSortedSet.Builder CreateBuilder() { throw null; } + + public static ImmutableSortedSet.Builder CreateBuilder(Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet CreateRange(Generic.IComparer? comparer, Generic.IEnumerable items) { throw null; } + + public static ImmutableSortedSet CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this Generic.IEnumerable source, Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this Generic.IEnumerable source) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this ImmutableSortedSet.Builder builder) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableSortedSet), "Create")] + public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlySet, Generic.IReadOnlyList, Generic.IList, Generic.ICollection, Generic.ISet, IList, ICollection + { + internal ImmutableSortedSet() { } + + public static readonly ImmutableSortedSet Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } } + + public T? Max { get { throw null; } } + + public T? Min { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public ImmutableSortedSet Add(T value) { throw null; } + + public ImmutableSortedSet Clear() { throw null; } + + public bool Contains(T value) { throw null; } + + public ImmutableSortedSet Except(Generic.IEnumerable other) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public int IndexOf(T item) { throw null; } + + public ImmutableSortedSet Intersect(Generic.IEnumerable other) { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet Remove(T value) { throw null; } + + public Generic.IEnumerable Reverse() { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet SymmetricExcept(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void Generic.IList.Insert(int index, T item) { } + + void Generic.IList.RemoveAt(int index) { } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int index) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + void IList.RemoveAt(int index) { } + + IImmutableSet IImmutableSet.Add(T value) { throw null; } + + IImmutableSet IImmutableSet.Clear() { throw null; } + + IImmutableSet IImmutableSet.Except(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Intersect(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Remove(T value) { throw null; } + + IImmutableSet IImmutableSet.SymmetricExcept(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public ImmutableSortedSet Union(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet WithComparer(Generic.IComparer? comparer) { throw null; } + + public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } set { } } + + public T? Max { get { throw null; } } + + public T? Min { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public bool Add(T item) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void ExceptWith(Generic.IEnumerable other) { } + + public Enumerator GetEnumerator() { throw null; } + + public int IndexOf(T item) { throw null; } + + public void IntersectWith(Generic.IEnumerable other) { } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool Remove(T item) { throw null; } + + public Generic.IEnumerable Reverse() { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public void SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableSortedSet ToImmutable() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public void UnionWith(Generic.IEnumerable other) { } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableStack + { + public static ImmutableStack Create() { throw null; } + + public static ImmutableStack Create(T item) { throw null; } + + public static ImmutableStack Create(params T[] items) { throw null; } + + public static ImmutableStack Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableStack CreateRange(Generic.IEnumerable items) { throw null; } + + public static IImmutableStack Pop(this IImmutableStack stack, out T value) { throw null; } + } + + [Runtime.CompilerServices.CollectionBuilder(typeof(ImmutableStack), "Create")] + public sealed partial class ImmutableStack : IImmutableStack, Generic.IEnumerable, IEnumerable + { + internal ImmutableStack() { } + + public static ImmutableStack Empty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public ImmutableStack Clear() { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public T Peek() { throw null; } + + public ref readonly T PeekRef() { throw null; } + + public ImmutableStack Pop() { throw null; } + + public ImmutableStack Pop(out T value) { throw null; } + + public ImmutableStack Push(T value) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableStack IImmutableStack.Clear() { throw null; } + + IImmutableStack IImmutableStack.Pop() { throw null; } + + IImmutableStack IImmutableStack.Push(T value) { throw null; } + + public partial struct Enumerator + { + private ImmutableStack _originalStack; + private ImmutableStack _remainingStack; + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } +} + +namespace System.Linq +{ + public static partial class ImmutableArrayExtensions + { + public static T? Aggregate(this Collections.Immutable.ImmutableArray immutableArray, Func func) { throw null; } + + public static TAccumulate Aggregate(this Collections.Immutable.ImmutableArray immutableArray, TAccumulate seed, Func func) { throw null; } + + public static TResult Aggregate(this Collections.Immutable.ImmutableArray immutableArray, TAccumulate seed, Func func, Func resultSelector) { throw null; } + + public static bool All(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T ElementAt(this Collections.Immutable.ImmutableArray immutableArray, int index) { throw null; } + + public static T? ElementAtOrDefault(this Collections.Immutable.ImmutableArray immutableArray, int index) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static Collections.Generic.IEnumerable Select(this Collections.Immutable.ImmutableArray immutableArray, Func selector) { throw null; } + + public static Collections.Generic.IEnumerable SelectMany(this Collections.Immutable.ImmutableArray immutableArray, Func> collectionSelector, Func resultSelector) { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Generic.IEnumerable items, Collections.Generic.IEqualityComparer? comparer = null) + where TDerived : TBase { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Immutable.ImmutableArray items, Collections.Generic.IEqualityComparer? comparer = null) + where TDerived : TBase { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Immutable.ImmutableArray items, Func predicate) + where TDerived : TBase { throw null; } + + public static T Single(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T Single(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? SingleOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? SingleOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T[] ToArray(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Collections.Generic.IEqualityComparer? comparer) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Func elementSelector, Collections.Generic.IEqualityComparer? comparer) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Func elementSelector) { throw null; } + + public static Collections.Generic.IEnumerable Where(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + } +} + +namespace System.Runtime.InteropServices +{ + public static partial class ImmutableCollectionsMarshal + { + public static T[]? AsArray(Collections.Immutable.ImmutableArray array) { throw null; } + + public static Collections.Immutable.ImmutableArray AsImmutableArray(T[]? array) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.collections.immutable/9.0.0/lib/netstandard2.0/System.Collections.Immutable.cs b/src/referencePackages/src/system.collections.immutable/9.0.0/lib/netstandard2.0/System.Collections.Immutable.cs new file mode 100644 index 0000000000..3a5109c802 --- /dev/null +++ b/src/referencePackages/src/system.collections.immutable/9.0.0/lib/netstandard2.0/System.Collections.Immutable.cs @@ -0,0 +1,2304 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Collections.Immutable.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Collections.Immutable")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity.\r\n\r\nThe System.Collections.Immutable library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Collections.Immutable")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Collections.Frozen +{ + public static partial class FrozenDictionary + { + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable source, Func keySelector, Generic.IEqualityComparer? comparer = null) { throw null; } + + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? comparer = null) { throw null; } + + public static FrozenDictionary ToFrozenDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? comparer = null) { throw null; } + } + + public abstract partial class FrozenDictionary : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal FrozenDictionary() { } + + public Generic.IEqualityComparer Comparer { get { throw null; } } + + public int Count { get { throw null; } } + + public static FrozenDictionary Empty { get { throw null; } } + + public ref readonly TValue this[TKey key] { get { throw null; } } + + public Immutable.ImmutableArray Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + TValue Generic.IReadOnlyDictionary.this[TKey key] { get { throw null; } } + + Generic.IEnumerable Generic.IReadOnlyDictionary.Keys { get { throw null; } } + + Generic.IEnumerable Generic.IReadOnlyDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Immutable.ImmutableArray Values { get { throw null; } } + + public bool ContainsKey(TKey key) { throw null; } + + public void CopyTo(Generic.KeyValuePair[] destination, int destinationIndex) { } + + public void CopyTo(Span> destination) { } + + public Enumerator GetEnumerator() { throw null; } + + public ref readonly TValue GetValueRefOrNullRef(TKey key) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + bool Generic.ICollection>.Contains(Generic.KeyValuePair item) { throw null; } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public static partial class FrozenSet + { + public static FrozenSet Create(Generic.IEqualityComparer? equalityComparer, params scoped ReadOnlySpan source) { throw null; } + + public static FrozenSet Create(params scoped ReadOnlySpan source) { throw null; } + + public static FrozenSet ToFrozenSet(this Generic.IEnumerable source, Generic.IEqualityComparer? comparer = null) { throw null; } + } + + public abstract partial class FrozenSet : Generic.ISet, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, ICollection + { + internal FrozenSet() { } + + public Generic.IEqualityComparer Comparer { get { throw null; } } + + public int Count { get { throw null; } } + + public static FrozenSet Empty { get { throw null; } } + + public Immutable.ImmutableArray Items { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public bool Contains(T item) { throw null; } + + public void CopyTo(T[] destination, int destinationIndex) { } + + public void CopyTo(Span destination) { } + + public Enumerator GetEnumerator() { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int index) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } +} + +namespace System.Collections.Immutable +{ + public partial interface IImmutableDictionary : Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection> + { + IImmutableDictionary Add(TKey key, TValue value); + IImmutableDictionary AddRange(Generic.IEnumerable> pairs); + IImmutableDictionary Clear(); + bool Contains(Generic.KeyValuePair pair); + IImmutableDictionary Remove(TKey key); + IImmutableDictionary RemoveRange(Generic.IEnumerable keys); + IImmutableDictionary SetItem(TKey key, TValue value); + IImmutableDictionary SetItems(Generic.IEnumerable> items); + bool TryGetKey(TKey equalKey, out TKey actualKey); + } + + public partial interface IImmutableList : Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection + { + IImmutableList Add(T value); + IImmutableList AddRange(Generic.IEnumerable items); + IImmutableList Clear(); + int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer); + IImmutableList Insert(int index, T element); + IImmutableList InsertRange(int index, Generic.IEnumerable items); + int LastIndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer); + IImmutableList Remove(T value, Generic.IEqualityComparer? equalityComparer); + IImmutableList RemoveAll(Predicate match); + IImmutableList RemoveAt(int index); + IImmutableList RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer); + IImmutableList RemoveRange(int index, int count); + IImmutableList Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer); + IImmutableList SetItem(int index, T value); + } + + public partial interface IImmutableQueue : Generic.IEnumerable, IEnumerable + { + bool IsEmpty { get; } + + IImmutableQueue Clear(); + IImmutableQueue Dequeue(); + IImmutableQueue Enqueue(T value); + T Peek(); + } + + public partial interface IImmutableSet : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable + { + IImmutableSet Add(T value); + IImmutableSet Clear(); + bool Contains(T value); + IImmutableSet Except(Generic.IEnumerable other); + IImmutableSet Intersect(Generic.IEnumerable other); + bool IsProperSubsetOf(Generic.IEnumerable other); + bool IsProperSupersetOf(Generic.IEnumerable other); + bool IsSubsetOf(Generic.IEnumerable other); + bool IsSupersetOf(Generic.IEnumerable other); + bool Overlaps(Generic.IEnumerable other); + IImmutableSet Remove(T value); + bool SetEquals(Generic.IEnumerable other); + IImmutableSet SymmetricExcept(Generic.IEnumerable other); + bool TryGetValue(T equalValue, out T actualValue); + IImmutableSet Union(Generic.IEnumerable other); + } + + public partial interface IImmutableStack : Generic.IEnumerable, IEnumerable + { + bool IsEmpty { get; } + + IImmutableStack Clear(); + T Peek(); + IImmutableStack Pop(); + IImmutableStack Push(T value); + } + + public static partial class ImmutableArray + { + public static int BinarySearch(this ImmutableArray array, T value, Generic.IComparer? comparer) { throw null; } + + public static int BinarySearch(this ImmutableArray array, T value) { throw null; } + + public static int BinarySearch(this ImmutableArray array, int index, int length, T value, Generic.IComparer? comparer) { throw null; } + + public static int BinarySearch(this ImmutableArray array, int index, int length, T value) { throw null; } + + public static ImmutableArray Create() { throw null; } + + public static ImmutableArray Create(T item1, T item2, T item3, T item4) { throw null; } + + public static ImmutableArray Create(T item1, T item2, T item3) { throw null; } + + public static ImmutableArray Create(T item1, T item2) { throw null; } + + public static ImmutableArray Create(T item) { throw null; } + + public static ImmutableArray Create(T[] items, int start, int length) { throw null; } + + public static ImmutableArray Create(params T[]? items) { throw null; } + + public static ImmutableArray Create(ImmutableArray items, int start, int length) { throw null; } + + public static ImmutableArray Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableArray Create(Span items) { throw null; } + + public static ImmutableArray.Builder CreateBuilder() { throw null; } + + public static ImmutableArray.Builder CreateBuilder(int initialCapacity) { throw null; } + + public static ImmutableArray CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, Func selector) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, int start, int length, Func selector) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, Func selector, TArg arg) { throw null; } + + public static ImmutableArray CreateRange(ImmutableArray items, int start, int length, Func selector, TArg arg) { throw null; } + + public static ImmutableArray ToImmutableArray(this Generic.IEnumerable items) { throw null; } + + public static ImmutableArray ToImmutableArray(this ImmutableArray.Builder builder) { throw null; } + + public static ImmutableArray ToImmutableArray(this ReadOnlySpan items) { throw null; } + + public static ImmutableArray ToImmutableArray(this Span items) { throw null; } + } + + public readonly partial struct ImmutableArray : Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IEquatable>, IList, ICollection, IStructuralComparable, IStructuralEquatable, IImmutableList + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public static readonly ImmutableArray Empty; + public bool IsDefault { get { throw null; } } + + public bool IsDefaultOrEmpty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public int Length { get { throw null; } } + + int Generic.ICollection.Count { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + int Generic.IReadOnlyCollection.Count { get { throw null; } } + + T Generic.IReadOnlyList.this[int index] { get { throw null; } } + + int ICollection.Count { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public readonly ImmutableArray Add(T item) { throw null; } + + public readonly ImmutableArray AddRange(T[] items, int length) { throw null; } + + public readonly ImmutableArray AddRange(params T[] items) { throw null; } + + public readonly ImmutableArray AddRange(Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items, int length) { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items) { throw null; } + + public readonly ImmutableArray AddRange(params scoped ReadOnlySpan items) { throw null; } + + public readonly ImmutableArray AddRange(TDerived[] items) + where TDerived : T { throw null; } + + public readonly ImmutableArray AddRange(ImmutableArray items) + where TDerived : T { throw null; } + + public readonly ImmutableArray As() + where TOther : class { throw null; } + + public readonly ReadOnlyMemory AsMemory() { throw null; } + + public readonly ReadOnlySpan AsSpan() { throw null; } + + public readonly ReadOnlySpan AsSpan(int start, int length) { throw null; } + + public readonly ImmutableArray CastArray() + where TOther : class { throw null; } + + public static ImmutableArray CastUp(ImmutableArray items) + where TDerived : class, T { throw null; } + + public readonly ImmutableArray Clear() { throw null; } + + public readonly bool Contains(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly bool Contains(T item) { throw null; } + + public readonly void CopyTo(T[] destination, int destinationIndex) { } + + public readonly void CopyTo(T[] destination) { } + + public readonly void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length) { } + + public readonly void CopyTo(Span destination) { } + + public readonly bool Equals(ImmutableArray other) { throw null; } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly Enumerator GetEnumerator() { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public readonly int IndexOf(T item, int startIndex, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int IndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int IndexOf(T item, int startIndex, int count) { throw null; } + + public readonly int IndexOf(T item, int startIndex) { throw null; } + + public readonly int IndexOf(T item) { throw null; } + + public readonly ImmutableArray Insert(int index, T item) { throw null; } + + public readonly ImmutableArray InsertRange(int index, T[] items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, ImmutableArray items) { throw null; } + + public readonly ImmutableArray InsertRange(int index, params scoped ReadOnlySpan items) { throw null; } + + public readonly ref readonly T ItemRef(int index) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public readonly int LastIndexOf(T item, int startIndex) { throw null; } + + public readonly int LastIndexOf(T item) { throw null; } + + public readonly Generic.IEnumerable OfType() { throw null; } + + public static bool operator ==(ImmutableArray left, ImmutableArray right) { throw null; } + + public static bool operator ==(ImmutableArray? left, ImmutableArray? right) { throw null; } + + public static bool operator !=(ImmutableArray left, ImmutableArray right) { throw null; } + + public static bool operator !=(ImmutableArray? left, ImmutableArray? right) { throw null; } + + public readonly ImmutableArray Remove(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray Remove(T item) { throw null; } + + public readonly ImmutableArray RemoveAll(Predicate match) { throw null; } + + public readonly ImmutableArray RemoveAt(int index) { throw null; } + + public readonly ImmutableArray RemoveRange(T[] items, Generic.IEqualityComparer? equalityComparer = null) { throw null; } + + public readonly ImmutableArray RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray RemoveRange(Generic.IEnumerable items) { throw null; } + + public readonly ImmutableArray RemoveRange(ImmutableArray items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray RemoveRange(ImmutableArray items) { throw null; } + + public readonly ImmutableArray RemoveRange(int index, int length) { throw null; } + + public readonly ImmutableArray RemoveRange(ReadOnlySpan items, Generic.IEqualityComparer? equalityComparer = null) { throw null; } + + public readonly ImmutableArray Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public readonly ImmutableArray Replace(T oldValue, T newValue) { throw null; } + + public readonly ImmutableArray SetItem(int index, T item) { throw null; } + + public readonly ImmutableArray Slice(int start, int length) { throw null; } + + public readonly ImmutableArray Sort() { throw null; } + + public readonly ImmutableArray Sort(Generic.IComparer? comparer) { throw null; } + + public readonly ImmutableArray Sort(Comparison comparison) { throw null; } + + public readonly ImmutableArray Sort(int index, int count, Generic.IComparer? comparer) { throw null; } + + readonly void Generic.ICollection.Add(T item) { } + + readonly void Generic.ICollection.Clear() { } + + readonly bool Generic.ICollection.Remove(T item) { throw null; } + + readonly Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly void Generic.IList.Insert(int index, T item) { } + + readonly void Generic.IList.RemoveAt(int index) { } + + readonly void ICollection.CopyTo(Array array, int index) { } + + readonly IEnumerator IEnumerable.GetEnumerator() { throw null; } + + readonly int IList.Add(object value) { throw null; } + + readonly void IList.Clear() { } + + readonly bool IList.Contains(object value) { throw null; } + + readonly int IList.IndexOf(object value) { throw null; } + + readonly void IList.Insert(int index, object value) { } + + readonly void IList.Remove(object value) { } + + readonly void IList.RemoveAt(int index) { } + + readonly IImmutableList IImmutableList.Add(T value) { throw null; } + + readonly IImmutableList IImmutableList.AddRange(Generic.IEnumerable items) { throw null; } + + readonly IImmutableList IImmutableList.Clear() { throw null; } + + readonly IImmutableList IImmutableList.Insert(int index, T element) { throw null; } + + readonly IImmutableList IImmutableList.InsertRange(int index, Generic.IEnumerable items) { throw null; } + + readonly IImmutableList IImmutableList.Remove(T value, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.RemoveAll(Predicate match) { throw null; } + + readonly IImmutableList IImmutableList.RemoveAt(int index) { throw null; } + + readonly IImmutableList IImmutableList.RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.RemoveRange(int index, int count) { throw null; } + + readonly IImmutableList IImmutableList.Replace(T oldValue, T newValue, Generic.IEqualityComparer equalityComparer) { throw null; } + + readonly IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } + + readonly int IStructuralComparable.CompareTo(object other, IComparer comparer) { throw null; } + + readonly bool IStructuralEquatable.Equals(object other, IEqualityComparer comparer) { throw null; } + + readonly int IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { throw null; } + + public readonly Builder ToBuilder() { throw null; } + + public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyList, Generic.IReadOnlyCollection + { + internal Builder() { } + + public int Capacity { get { throw null; } set { } } + + public int Count { get { throw null; } set { } } + + public T this[int index] { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + public void Add(T item) { } + + public void AddRange(T[] items, int length) { } + + public void AddRange(params T[] items) { } + + public void AddRange(Generic.IEnumerable items) { } + + public void AddRange(ImmutableArray items, int length) { } + + public void AddRange(Builder items) { } + + public void AddRange(ImmutableArray items) { } + + public void AddRange(params scoped ReadOnlySpan items) { } + + public void AddRange(TDerived[] items) + where TDerived : T { } + + public void AddRange(ImmutableArray.Builder items) + where TDerived : T { } + + public void AddRange(ImmutableArray items) + where TDerived : T { } + + public void AddRange(params scoped ReadOnlySpan items) + where TDerived : T { } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void CopyTo(T[] array, int index) { } + + public void CopyTo(T[] destination) { } + + public void CopyTo(int sourceIndex, T[] destination, int destinationIndex, int length) { } + + public void CopyTo(Span destination) { } + + public ImmutableArray DrainToImmutable() { throw null; } + + public Generic.IEnumerator GetEnumerator() { throw null; } + + public int IndexOf(T item, int startIndex, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int startIndex, int count) { throw null; } + + public int IndexOf(T item, int startIndex) { throw null; } + + public int IndexOf(T item) { throw null; } + + public void Insert(int index, T item) { } + + public void InsertRange(int index, Generic.IEnumerable items) { } + + public void InsertRange(int index, ImmutableArray items) { } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public int LastIndexOf(T item, int startIndex) { throw null; } + + public int LastIndexOf(T item) { throw null; } + + public ImmutableArray MoveToImmutable() { throw null; } + + public bool Remove(T element, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public bool Remove(T element) { throw null; } + + public void RemoveAll(Predicate match) { } + + public void RemoveAt(int index) { } + + public void RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { } + + public void RemoveRange(Generic.IEnumerable items) { } + + public void RemoveRange(int index, int length) { } + + public void Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { } + + public void Replace(T oldValue, T newValue) { } + + public void Reverse() { } + + public void Sort() { } + + public void Sort(Generic.IComparer? comparer) { } + + public void Sort(Comparison comparison) { } + + public void Sort(int index, int count, Generic.IComparer? comparer) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public T[] ToArray() { throw null; } + + public ImmutableArray ToImmutable() { throw null; } + } + + public partial struct Enumerator + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class ImmutableDictionary + { + public static bool Contains(this IImmutableDictionary map, TKey key, TValue value) { throw null; } + + public static ImmutableDictionary Create() { throw null; } + + public static ImmutableDictionary Create(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary Create(Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder() { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary.Builder CreateBuilder(Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEnumerable> items) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEqualityComparer? keyComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableDictionary CreateRange(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer, Generic.IEnumerable> items) { throw null; } + + public static TValue GetValueOrDefault(this IImmutableDictionary dictionary, TKey key, TValue defaultValue) { throw null; } + + public static TValue? GetValueOrDefault(this IImmutableDictionary dictionary, TKey key) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable> source) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this ImmutableDictionary.Builder builder) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IEqualityComparer? keyComparer) { throw null; } + + public static ImmutableDictionary ToImmutableDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector) { throw null; } + } + + public sealed partial class ImmutableDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection + { + internal ImmutableDictionary() { } + + public static readonly ImmutableDictionary Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } } + + public Generic.IEnumerable Values { get { throw null; } } + + public ImmutableDictionary Add(TKey key, TValue value) { throw null; } + + public ImmutableDictionary AddRange(Generic.IEnumerable> pairs) { throw null; } + + public ImmutableDictionary Clear() { throw null; } + + public bool Contains(Generic.KeyValuePair pair) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableDictionary Remove(TKey key) { throw null; } + + public ImmutableDictionary RemoveRange(Generic.IEnumerable keys) { throw null; } + + public ImmutableDictionary SetItem(TKey key, TValue value) { throw null; } + + public ImmutableDictionary SetItems(Generic.IEnumerable> items) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableDictionary IImmutableDictionary.Add(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.AddRange(Generic.IEnumerable> pairs) { throw null; } + + IImmutableDictionary IImmutableDictionary.Clear() { throw null; } + + IImmutableDictionary IImmutableDictionary.Remove(TKey key) { throw null; } + + IImmutableDictionary IImmutableDictionary.RemoveRange(Generic.IEnumerable keys) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItem(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ImmutableDictionary WithComparers(Generic.IEqualityComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public ImmutableDictionary WithComparers(Generic.IEqualityComparer? keyComparer) { throw null; } + + public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } set { } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } set { } } + + public Generic.IEnumerable Values { get { throw null; } } + + public void Add(TKey key, TValue value) { } + + public void Add(Generic.KeyValuePair item) { } + + public void AddRange(Generic.IEnumerable> items) { } + + public void Clear() { } + + public bool Contains(Generic.KeyValuePair item) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } + + public TValue? GetValueOrDefault(TKey key) { throw null; } + + public bool Remove(TKey key) { throw null; } + + public bool Remove(Generic.KeyValuePair item) { throw null; } + + public void RemoveRange(Generic.IEnumerable keys) { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + void IDictionary.Add(object key, object value) { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableDictionary ToImmutable() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableHashSet + { + public static ImmutableHashSet Create() { throw null; } + + public static ImmutableHashSet Create(T item) { throw null; } + + public static ImmutableHashSet Create(params T[] items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, T item) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, params T[] items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer, params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableHashSet Create(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableHashSet.Builder CreateBuilder() { throw null; } + + public static ImmutableHashSet.Builder CreateBuilder(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableHashSet CreateRange(Generic.IEqualityComparer? equalityComparer, Generic.IEnumerable items) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this Generic.IEnumerable source, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this Generic.IEnumerable source) { throw null; } + + public static ImmutableHashSet ToImmutableHashSet(this ImmutableHashSet.Builder builder) { throw null; } + } + + public sealed partial class ImmutableHashSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ICollection, Generic.ISet, ICollection + { + internal ImmutableHashSet() { } + + public static readonly ImmutableHashSet Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public ImmutableHashSet Add(T item) { throw null; } + + public ImmutableHashSet Clear() { throw null; } + + public bool Contains(T item) { throw null; } + + public ImmutableHashSet Except(Generic.IEnumerable other) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableHashSet Intersect(Generic.IEnumerable other) { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet Remove(T item) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet SymmetricExcept(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableSet IImmutableSet.Add(T item) { throw null; } + + IImmutableSet IImmutableSet.Clear() { throw null; } + + IImmutableSet IImmutableSet.Except(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Intersect(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Remove(T item) { throw null; } + + IImmutableSet IImmutableSet.SymmetricExcept(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public ImmutableHashSet Union(Generic.IEnumerable other) { throw null; } + + public ImmutableHashSet WithComparer(Generic.IEqualityComparer? equalityComparer) { throw null; } + + public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public Generic.IEqualityComparer KeyComparer { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + public bool Add(T item) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void ExceptWith(Generic.IEnumerable other) { } + + public Enumerator GetEnumerator() { throw null; } + + public void IntersectWith(Generic.IEnumerable other) { } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool Remove(T item) { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public void SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableHashSet ToImmutable() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public void UnionWith(Generic.IEnumerable other) { } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableInterlocked + { + public static TValue AddOrUpdate(ref ImmutableDictionary location, TKey key, TValue addValue, Func updateValueFactory) { throw null; } + + public static TValue AddOrUpdate(ref ImmutableDictionary location, TKey key, Func addValueFactory, Func updateValueFactory) { throw null; } + + public static void Enqueue(ref ImmutableQueue location, T value) { } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, TValue value) { throw null; } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, Func valueFactory) { throw null; } + + public static TValue GetOrAdd(ref ImmutableDictionary location, TKey key, Func valueFactory, TArg factoryArgument) { throw null; } + + public static ImmutableArray InterlockedCompareExchange(ref ImmutableArray location, ImmutableArray value, ImmutableArray comparand) { throw null; } + + public static ImmutableArray InterlockedExchange(ref ImmutableArray location, ImmutableArray value) { throw null; } + + public static bool InterlockedInitialize(ref ImmutableArray location, ImmutableArray value) { throw null; } + + public static void Push(ref ImmutableStack location, T value) { } + + public static bool TryAdd(ref ImmutableDictionary location, TKey key, TValue value) { throw null; } + + public static bool TryDequeue(ref ImmutableQueue location, out T value) { throw null; } + + public static bool TryPop(ref ImmutableStack location, out T value) { throw null; } + + public static bool TryRemove(ref ImmutableDictionary location, TKey key, out TValue value) { throw null; } + + public static bool TryUpdate(ref ImmutableDictionary location, TKey key, TValue newValue, TValue comparisonValue) { throw null; } + + public static bool Update(ref T location, Func transformer) + where T : class { throw null; } + + public static bool Update(ref ImmutableArray location, Func, ImmutableArray> transformer) { throw null; } + + public static bool Update(ref T location, Func transformer, TArg transformerArgument) + where T : class { throw null; } + + public static bool Update(ref ImmutableArray location, Func, TArg, ImmutableArray> transformer, TArg transformerArgument) { throw null; } + } + + public static partial class ImmutableList + { + public static ImmutableList Create() { throw null; } + + public static ImmutableList Create(T item) { throw null; } + + public static ImmutableList Create(params T[] items) { throw null; } + + public static ImmutableList Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableList.Builder CreateBuilder() { throw null; } + + public static ImmutableList CreateRange(Generic.IEnumerable items) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, int startIndex, int count) { throw null; } + + public static int IndexOf(this IImmutableList list, T item, int startIndex) { throw null; } + + public static int IndexOf(this IImmutableList list, T item) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, int startIndex, int count) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item, int startIndex) { throw null; } + + public static int LastIndexOf(this IImmutableList list, T item) { throw null; } + + public static IImmutableList Remove(this IImmutableList list, T value) { throw null; } + + public static IImmutableList RemoveRange(this IImmutableList list, Generic.IEnumerable items) { throw null; } + + public static IImmutableList Replace(this IImmutableList list, T oldValue, T newValue) { throw null; } + + public static ImmutableList ToImmutableList(this Generic.IEnumerable source) { throw null; } + + public static ImmutableList ToImmutableList(this ImmutableList.Builder builder) { throw null; } + } + + public sealed partial class ImmutableList : IImmutableList, Generic.IReadOnlyList, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyCollection, Generic.IList, Generic.ICollection, IList, ICollection + { + internal ImmutableList() { } + + public static readonly ImmutableList Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public ImmutableList Add(T value) { throw null; } + + public ImmutableList AddRange(Generic.IEnumerable items) { throw null; } + + public int BinarySearch(T item, Generic.IComparer? comparer) { throw null; } + + public int BinarySearch(T item) { throw null; } + + public int BinarySearch(int index, int count, T item, Generic.IComparer? comparer) { throw null; } + + public ImmutableList Clear() { throw null; } + + public bool Contains(T value) { throw null; } + + public ImmutableList ConvertAll(Func converter) { throw null; } + + public void CopyTo(T[] array, int arrayIndex) { } + + public void CopyTo(T[] array) { } + + public void CopyTo(int index, T[] array, int arrayIndex, int count) { } + + public bool Exists(Predicate match) { throw null; } + + public T? Find(Predicate match) { throw null; } + + public ImmutableList FindAll(Predicate match) { throw null; } + + public int FindIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindIndex(int startIndex, Predicate match) { throw null; } + + public int FindIndex(Predicate match) { throw null; } + + public T? FindLast(Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, Predicate match) { throw null; } + + public int FindLastIndex(Predicate match) { throw null; } + + public void ForEach(Action action) { } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableList GetRange(int index, int count) { throw null; } + + public int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T value) { throw null; } + + public ImmutableList Insert(int index, T item) { throw null; } + + public ImmutableList InsertRange(int index, Generic.IEnumerable items) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Remove(T value, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Remove(T value) { throw null; } + + public ImmutableList RemoveAll(Predicate match) { throw null; } + + public ImmutableList RemoveAt(int index) { throw null; } + + public ImmutableList RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList RemoveRange(Generic.IEnumerable items) { throw null; } + + public ImmutableList RemoveRange(int index, int count) { throw null; } + + public ImmutableList Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public ImmutableList Replace(T oldValue, T newValue) { throw null; } + + public ImmutableList Reverse() { throw null; } + + public ImmutableList Reverse(int index, int count) { throw null; } + + public ImmutableList SetItem(int index, T value) { throw null; } + + public ImmutableList Sort() { throw null; } + + public ImmutableList Sort(Generic.IComparer? comparer) { throw null; } + + public ImmutableList Sort(Comparison comparison) { throw null; } + + public ImmutableList Sort(int index, int count, Generic.IComparer? comparer) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void Generic.IList.Insert(int index, T item) { } + + void Generic.IList.RemoveAt(int index) { } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + void IList.RemoveAt(int index) { } + + IImmutableList IImmutableList.Add(T value) { throw null; } + + IImmutableList IImmutableList.AddRange(Generic.IEnumerable items) { throw null; } + + IImmutableList IImmutableList.Clear() { throw null; } + + IImmutableList IImmutableList.Insert(int index, T item) { throw null; } + + IImmutableList IImmutableList.InsertRange(int index, Generic.IEnumerable items) { throw null; } + + IImmutableList IImmutableList.Remove(T value, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.RemoveAll(Predicate match) { throw null; } + + IImmutableList IImmutableList.RemoveAt(int index) { throw null; } + + IImmutableList IImmutableList.RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.RemoveRange(int index, int count) { throw null; } + + IImmutableList IImmutableList.Replace(T oldValue, T newValue, Generic.IEqualityComparer equalityComparer) { throw null; } + + IImmutableList IImmutableList.SetItem(int index, T value) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TrueForAll(Predicate match) { throw null; } + + public sealed partial class Builder : Generic.IList, Generic.ICollection, Generic.IEnumerable, IEnumerable, IList, ICollection, Generic.IReadOnlyList, Generic.IReadOnlyCollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public T this[int index] { get { throw null; } set { } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public void Add(T item) { } + + public void AddRange(Generic.IEnumerable items) { } + + public int BinarySearch(T item, Generic.IComparer? comparer) { throw null; } + + public int BinarySearch(T item) { throw null; } + + public int BinarySearch(int index, int count, T item, Generic.IComparer? comparer) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public ImmutableList ConvertAll(Func converter) { throw null; } + + public void CopyTo(T[] array, int arrayIndex) { } + + public void CopyTo(T[] array) { } + + public void CopyTo(int index, T[] array, int arrayIndex, int count) { } + + public bool Exists(Predicate match) { throw null; } + + public T? Find(Predicate match) { throw null; } + + public ImmutableList FindAll(Predicate match) { throw null; } + + public int FindIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindIndex(int startIndex, Predicate match) { throw null; } + + public int FindIndex(Predicate match) { throw null; } + + public T? FindLast(Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, int count, Predicate match) { throw null; } + + public int FindLastIndex(int startIndex, Predicate match) { throw null; } + + public int FindLastIndex(Predicate match) { throw null; } + + public void ForEach(Action action) { } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableList GetRange(int index, int count) { throw null; } + + public int IndexOf(T item, int index, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int IndexOf(T item, int index, int count) { throw null; } + + public int IndexOf(T item, int index) { throw null; } + + public int IndexOf(T item) { throw null; } + + public void Insert(int index, T item) { } + + public void InsertRange(int index, Generic.IEnumerable items) { } + + public ref readonly T ItemRef(int index) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public int LastIndexOf(T item, int startIndex, int count) { throw null; } + + public int LastIndexOf(T item, int startIndex) { throw null; } + + public int LastIndexOf(T item) { throw null; } + + public bool Remove(T item, Generic.IEqualityComparer? equalityComparer) { throw null; } + + public bool Remove(T item) { throw null; } + + public int RemoveAll(Predicate match) { throw null; } + + public void RemoveAt(int index) { } + + public void RemoveRange(Generic.IEnumerable items, Generic.IEqualityComparer? equalityComparer) { } + + public void RemoveRange(Generic.IEnumerable items) { } + + public void RemoveRange(int index, int count) { } + + public void Replace(T oldValue, T newValue, Generic.IEqualityComparer? equalityComparer) { } + + public void Replace(T oldValue, T newValue) { } + + public void Reverse() { } + + public void Reverse(int index, int count) { } + + public void Sort() { } + + public void Sort(Generic.IComparer? comparer) { } + + public void Sort(Comparison comparison) { } + + public void Sort(int index, int count, Generic.IComparer? comparer) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + public ImmutableList ToImmutable() { throw null; } + + public bool TrueForAll(Predicate match) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableQueue + { + public static ImmutableQueue Create() { throw null; } + + public static ImmutableQueue Create(T item) { throw null; } + + public static ImmutableQueue Create(params T[] items) { throw null; } + + public static ImmutableQueue Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableQueue CreateRange(Generic.IEnumerable items) { throw null; } + + public static IImmutableQueue Dequeue(this IImmutableQueue queue, out T value) { throw null; } + } + + public sealed partial class ImmutableQueue : IImmutableQueue, Generic.IEnumerable, IEnumerable + { + internal ImmutableQueue() { } + + public static ImmutableQueue Empty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public ImmutableQueue Clear() { throw null; } + + public ImmutableQueue Dequeue() { throw null; } + + public ImmutableQueue Dequeue(out T value) { throw null; } + + public ImmutableQueue Enqueue(T value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public T Peek() { throw null; } + + public ref readonly T PeekRef() { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableQueue IImmutableQueue.Clear() { throw null; } + + IImmutableQueue IImmutableQueue.Dequeue() { throw null; } + + IImmutableQueue IImmutableQueue.Enqueue(T value) { throw null; } + + public partial struct Enumerator + { + private ImmutableQueue _originalQueue; + private ImmutableStack _remainingForwardsStack; + private ImmutableStack _remainingBackwardsStack; + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } + + public static partial class ImmutableSortedDictionary + { + public static ImmutableSortedDictionary Create() { throw null; } + + public static ImmutableSortedDictionary Create(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary Create(Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder() { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary.Builder CreateBuilder(Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IComparer? keyComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer, Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary CreateRange(Generic.IEnumerable> items) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source, Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source, Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable> source) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this ImmutableSortedDictionary.Builder builder) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector, Generic.IComparer? keyComparer) { throw null; } + + public static ImmutableSortedDictionary ToImmutableSortedDictionary(this Generic.IEnumerable source, Func keySelector, Func elementSelector) { throw null; } + } + + public sealed partial class ImmutableSortedDictionary : IImmutableDictionary, Generic.IReadOnlyDictionary, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyCollection>, Generic.IDictionary, Generic.ICollection>, IDictionary, ICollection + { + internal ImmutableSortedDictionary() { } + + public static readonly ImmutableSortedDictionary Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + TValue Generic.IDictionary.this[TKey key] { get { throw null; } set { } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } } + + public Generic.IEnumerable Values { get { throw null; } } + + public ImmutableSortedDictionary Add(TKey key, TValue value) { throw null; } + + public ImmutableSortedDictionary AddRange(Generic.IEnumerable> items) { throw null; } + + public ImmutableSortedDictionary Clear() { throw null; } + + public bool Contains(Generic.KeyValuePair pair) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public ImmutableSortedDictionary Remove(TKey value) { throw null; } + + public ImmutableSortedDictionary RemoveRange(Generic.IEnumerable keys) { throw null; } + + public ImmutableSortedDictionary SetItem(TKey key, TValue value) { throw null; } + + public ImmutableSortedDictionary SetItems(Generic.IEnumerable> items) { throw null; } + + void Generic.ICollection>.Add(Generic.KeyValuePair item) { } + + void Generic.ICollection>.Clear() { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + bool Generic.ICollection>.Remove(Generic.KeyValuePair item) { throw null; } + + void Generic.IDictionary.Add(TKey key, TValue value) { } + + bool Generic.IDictionary.Remove(TKey key) { throw null; } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + void IDictionary.Clear() { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableDictionary IImmutableDictionary.Add(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.AddRange(Generic.IEnumerable> pairs) { throw null; } + + IImmutableDictionary IImmutableDictionary.Clear() { throw null; } + + IImmutableDictionary IImmutableDictionary.Remove(TKey key) { throw null; } + + IImmutableDictionary IImmutableDictionary.RemoveRange(Generic.IEnumerable keys) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItem(TKey key, TValue value) { throw null; } + + IImmutableDictionary IImmutableDictionary.SetItems(Generic.IEnumerable> items) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ref readonly TValue ValueRef(TKey key) { throw null; } + + public ImmutableSortedDictionary WithComparers(Generic.IComparer? keyComparer, Generic.IEqualityComparer? valueComparer) { throw null; } + + public ImmutableSortedDictionary WithComparers(Generic.IComparer? keyComparer) { throw null; } + + public sealed partial class Builder : Generic.IDictionary, Generic.ICollection>, Generic.IEnumerable>, IEnumerable, Generic.IReadOnlyDictionary, Generic.IReadOnlyCollection>, IDictionary, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public TValue this[TKey key] { get { throw null; } set { } } + + public Generic.IComparer KeyComparer { get { throw null; } set { } } + + public Generic.IEnumerable Keys { get { throw null; } } + + bool Generic.ICollection>.IsReadOnly { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Keys { get { throw null; } } + + Generic.ICollection Generic.IDictionary.Values { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IDictionary.IsFixedSize { get { throw null; } } + + bool IDictionary.IsReadOnly { get { throw null; } } + + object? IDictionary.this[object key] { get { throw null; } set { } } + + ICollection IDictionary.Keys { get { throw null; } } + + ICollection IDictionary.Values { get { throw null; } } + + public Generic.IEqualityComparer ValueComparer { get { throw null; } set { } } + + public Generic.IEnumerable Values { get { throw null; } } + + public void Add(TKey key, TValue value) { } + + public void Add(Generic.KeyValuePair item) { } + + public void AddRange(Generic.IEnumerable> items) { } + + public void Clear() { } + + public bool Contains(Generic.KeyValuePair item) { throw null; } + + public bool ContainsKey(TKey key) { throw null; } + + public bool ContainsValue(TValue value) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public TValue GetValueOrDefault(TKey key, TValue defaultValue) { throw null; } + + public TValue? GetValueOrDefault(TKey key) { throw null; } + + public bool Remove(TKey key) { throw null; } + + public bool Remove(Generic.KeyValuePair item) { throw null; } + + public void RemoveRange(Generic.IEnumerable keys) { } + + void Generic.ICollection>.CopyTo(Generic.KeyValuePair[] array, int arrayIndex) { } + + Generic.IEnumerator> Generic.IEnumerable>.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int index) { } + + void IDictionary.Add(object key, object value) { } + + bool IDictionary.Contains(object key) { throw null; } + + IDictionaryEnumerator IDictionary.GetEnumerator() { throw null; } + + void IDictionary.Remove(object key) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableSortedDictionary ToImmutable() { throw null; } + + public bool TryGetKey(TKey equalKey, out TKey actualKey) { throw null; } + + public bool TryGetValue(TKey key, out TValue value) { throw null; } + + public ref readonly TValue ValueRef(TKey key) { throw null; } + } + + public partial struct Enumerator : Generic.IEnumerator>, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public Generic.KeyValuePair Current { get { throw null; } } + + object IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableSortedSet + { + public static ImmutableSortedSet Create() { throw null; } + + public static ImmutableSortedSet Create(T item) { throw null; } + + public static ImmutableSortedSet Create(params T[] items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, T item) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, params T[] items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer, params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableSortedSet Create(Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableSortedSet.Builder CreateBuilder() { throw null; } + + public static ImmutableSortedSet.Builder CreateBuilder(Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet CreateRange(Generic.IComparer? comparer, Generic.IEnumerable items) { throw null; } + + public static ImmutableSortedSet CreateRange(Generic.IEnumerable items) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this Generic.IEnumerable source, Generic.IComparer? comparer) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this Generic.IEnumerable source) { throw null; } + + public static ImmutableSortedSet ToImmutableSortedSet(this ImmutableSortedSet.Builder builder) { throw null; } + } + + public sealed partial class ImmutableSortedSet : IImmutableSet, Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.IReadOnlyList, Generic.IList, Generic.ICollection, Generic.ISet, IList, ICollection + { + internal ImmutableSortedSet() { } + + public static readonly ImmutableSortedSet Empty; + public int Count { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } } + + public T? Max { get { throw null; } } + + public T? Min { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + T Generic.IList.this[int index] { get { throw null; } set { } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + bool IList.IsFixedSize { get { throw null; } } + + bool IList.IsReadOnly { get { throw null; } } + + object? IList.this[int index] { get { throw null; } set { } } + + public ImmutableSortedSet Add(T value) { throw null; } + + public ImmutableSortedSet Clear() { throw null; } + + public bool Contains(T value) { throw null; } + + public ImmutableSortedSet Except(Generic.IEnumerable other) { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public int IndexOf(T item) { throw null; } + + public ImmutableSortedSet Intersect(Generic.IEnumerable other) { throw null; } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet Remove(T value) { throw null; } + + public Generic.IEnumerable Reverse() { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet SymmetricExcept(Generic.IEnumerable other) { throw null; } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.Clear() { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + bool Generic.ICollection.Remove(T item) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void Generic.IList.Insert(int index, T item) { } + + void Generic.IList.RemoveAt(int index) { } + + bool Generic.ISet.Add(T item) { throw null; } + + void Generic.ISet.ExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.IntersectWith(Generic.IEnumerable other) { } + + void Generic.ISet.SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ISet.UnionWith(Generic.IEnumerable other) { } + + void ICollection.CopyTo(Array array, int index) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + int IList.Add(object value) { throw null; } + + void IList.Clear() { } + + bool IList.Contains(object value) { throw null; } + + int IList.IndexOf(object value) { throw null; } + + void IList.Insert(int index, object value) { } + + void IList.Remove(object value) { } + + void IList.RemoveAt(int index) { } + + IImmutableSet IImmutableSet.Add(T value) { throw null; } + + IImmutableSet IImmutableSet.Clear() { throw null; } + + IImmutableSet IImmutableSet.Except(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Intersect(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Remove(T value) { throw null; } + + IImmutableSet IImmutableSet.SymmetricExcept(Generic.IEnumerable other) { throw null; } + + IImmutableSet IImmutableSet.Union(Generic.IEnumerable other) { throw null; } + + public Builder ToBuilder() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public ImmutableSortedSet Union(Generic.IEnumerable other) { throw null; } + + public ImmutableSortedSet WithComparer(Generic.IComparer? comparer) { throw null; } + + public sealed partial class Builder : Generic.IReadOnlyCollection, Generic.IEnumerable, IEnumerable, Generic.ISet, Generic.ICollection, ICollection + { + internal Builder() { } + + public int Count { get { throw null; } } + + public T this[int index] { get { throw null; } } + + public Generic.IComparer KeyComparer { get { throw null; } set { } } + + public T? Max { get { throw null; } } + + public T? Min { get { throw null; } } + + bool Generic.ICollection.IsReadOnly { get { throw null; } } + + bool ICollection.IsSynchronized { get { throw null; } } + + object ICollection.SyncRoot { get { throw null; } } + + public bool Add(T item) { throw null; } + + public void Clear() { } + + public bool Contains(T item) { throw null; } + + public void ExceptWith(Generic.IEnumerable other) { } + + public Enumerator GetEnumerator() { throw null; } + + public int IndexOf(T item) { throw null; } + + public void IntersectWith(Generic.IEnumerable other) { } + + public bool IsProperSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsProperSupersetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSubsetOf(Generic.IEnumerable other) { throw null; } + + public bool IsSupersetOf(Generic.IEnumerable other) { throw null; } + + public ref readonly T ItemRef(int index) { throw null; } + + public bool Overlaps(Generic.IEnumerable other) { throw null; } + + public bool Remove(T item) { throw null; } + + public Generic.IEnumerable Reverse() { throw null; } + + public bool SetEquals(Generic.IEnumerable other) { throw null; } + + public void SymmetricExceptWith(Generic.IEnumerable other) { } + + void Generic.ICollection.Add(T item) { } + + void Generic.ICollection.CopyTo(T[] array, int arrayIndex) { } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + void ICollection.CopyTo(Array array, int arrayIndex) { } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + public ImmutableSortedSet ToImmutable() { throw null; } + + public bool TryGetValue(T equalValue, out T actualValue) { throw null; } + + public void UnionWith(Generic.IEnumerable other) { } + } + + public partial struct Enumerator : Generic.IEnumerator, IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + object? IEnumerator.Current { get { throw null; } } + + public void Dispose() { } + + public bool MoveNext() { throw null; } + + public void Reset() { } + } + } + + public static partial class ImmutableStack + { + public static ImmutableStack Create() { throw null; } + + public static ImmutableStack Create(T item) { throw null; } + + public static ImmutableStack Create(params T[] items) { throw null; } + + public static ImmutableStack Create(params scoped ReadOnlySpan items) { throw null; } + + public static ImmutableStack CreateRange(Generic.IEnumerable items) { throw null; } + + public static IImmutableStack Pop(this IImmutableStack stack, out T value) { throw null; } + } + + public sealed partial class ImmutableStack : IImmutableStack, Generic.IEnumerable, IEnumerable + { + internal ImmutableStack() { } + + public static ImmutableStack Empty { get { throw null; } } + + public bool IsEmpty { get { throw null; } } + + public ImmutableStack Clear() { throw null; } + + public Enumerator GetEnumerator() { throw null; } + + public T Peek() { throw null; } + + public ref readonly T PeekRef() { throw null; } + + public ImmutableStack Pop() { throw null; } + + public ImmutableStack Pop(out T value) { throw null; } + + public ImmutableStack Push(T value) { throw null; } + + Generic.IEnumerator Generic.IEnumerable.GetEnumerator() { throw null; } + + IEnumerator IEnumerable.GetEnumerator() { throw null; } + + IImmutableStack IImmutableStack.Clear() { throw null; } + + IImmutableStack IImmutableStack.Pop() { throw null; } + + IImmutableStack IImmutableStack.Push(T value) { throw null; } + + public partial struct Enumerator + { + private ImmutableStack _originalStack; + private ImmutableStack _remainingStack; + private object _dummy; + private int _dummyPrimitive; + public T Current { get { throw null; } } + + public bool MoveNext() { throw null; } + } + } +} + +namespace System.Linq +{ + public static partial class ImmutableArrayExtensions + { + public static T? Aggregate(this Collections.Immutable.ImmutableArray immutableArray, Func func) { throw null; } + + public static TAccumulate Aggregate(this Collections.Immutable.ImmutableArray immutableArray, TAccumulate seed, Func func) { throw null; } + + public static TResult Aggregate(this Collections.Immutable.ImmutableArray immutableArray, TAccumulate seed, Func func, Func resultSelector) { throw null; } + + public static bool All(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static bool Any(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T ElementAt(this Collections.Immutable.ImmutableArray immutableArray, int index) { throw null; } + + public static T? ElementAtOrDefault(this Collections.Immutable.ImmutableArray immutableArray, int index) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T First(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T? FirstOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T Last(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray.Builder builder) { throw null; } + + public static T? LastOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static Collections.Generic.IEnumerable Select(this Collections.Immutable.ImmutableArray immutableArray, Func selector) { throw null; } + + public static Collections.Generic.IEnumerable SelectMany(this Collections.Immutable.ImmutableArray immutableArray, Func> collectionSelector, Func resultSelector) { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Generic.IEnumerable items, Collections.Generic.IEqualityComparer? comparer = null) + where TDerived : TBase { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Immutable.ImmutableArray items, Collections.Generic.IEqualityComparer? comparer = null) + where TDerived : TBase { throw null; } + + public static bool SequenceEqual(this Collections.Immutable.ImmutableArray immutableArray, Collections.Immutable.ImmutableArray items, Func predicate) + where TDerived : TBase { throw null; } + + public static T Single(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T Single(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T? SingleOrDefault(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + + public static T? SingleOrDefault(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static T[] ToArray(this Collections.Immutable.ImmutableArray immutableArray) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Collections.Generic.IEqualityComparer? comparer) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Func elementSelector, Collections.Generic.IEqualityComparer? comparer) { throw null; } + + public static Collections.Generic.Dictionary ToDictionary(this Collections.Immutable.ImmutableArray immutableArray, Func keySelector, Func elementSelector) { throw null; } + + public static Collections.Generic.IEnumerable Where(this Collections.Immutable.ImmutableArray immutableArray, Func predicate) { throw null; } + } +} + +namespace System.Runtime.InteropServices +{ + public static partial class ImmutableCollectionsMarshal + { + public static T[]? AsArray(Collections.Immutable.ImmutableArray array) { throw null; } + + public static Collections.Immutable.ImmutableArray AsImmutableArray(T[]? array) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.collections.immutable/9.0.0/system.collections.immutable.nuspec b/src/referencePackages/src/system.collections.immutable/9.0.0/system.collections.immutable.nuspec new file mode 100644 index 0000000000..440f56bd00 --- /dev/null +++ b/src/referencePackages/src/system.collections.immutable/9.0.0/system.collections.immutable.nuspec @@ -0,0 +1,26 @@ + + + + System.Collections.Immutable + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity. + +The System.Collections.Immutable library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.attributedmodel/9.0.0/System.Composition.AttributedModel.9.0.0.csproj b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/System.Composition.AttributedModel.9.0.0.csproj new file mode 100644 index 0000000000..72dd787358 --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/System.Composition.AttributedModel.9.0.0.csproj @@ -0,0 +1,9 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Composition.AttributedModel + + + diff --git a/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/net8.0/System.Composition.AttributedModel.cs b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/net8.0/System.Composition.AttributedModel.cs new file mode 100644 index 0000000000..2f867d55c3 --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/net8.0/System.Composition.AttributedModel.cs @@ -0,0 +1,146 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.AttributedModel")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides the foundational attributes that allow you to declare parts for composition, such as imports, exports, and metadata with the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.AttributedModel")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true, Inherited = false)] + public partial class ExportAttribute : Attribute + { + public ExportAttribute() { } + + public ExportAttribute(string contractName, Type contractType) { } + + public ExportAttribute(string contractName) { } + + public ExportAttribute(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] + public sealed partial class ExportMetadataAttribute : Attribute + { + public ExportMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportAttribute : Attribute + { + public ImportAttribute() { } + + public ImportAttribute(string contractName) { } + + public bool AllowDefault { get { throw null; } set { } } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] + public sealed partial class ImportingConstructorAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportManyAttribute : Attribute + { + public ImportManyAttribute() { } + + public ImportManyAttribute(string contractName) { } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property, Inherited = false)] + public sealed partial class ImportMetadataConstraintAttribute : Attribute + { + public ImportMetadataConstraintAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class MetadataAttributeAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false)] + public sealed partial class OnImportsSatisfiedAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public partial class PartMetadataAttribute : Attribute + { + public PartMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class PartNotDiscoverableAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, Inherited = false)] + public partial class SharedAttribute : PartMetadataAttribute + { + public SharedAttribute() : base(default!, default!) { } + + public SharedAttribute(string sharingBoundaryName) : base(default!, default!) { } + + public string SharingBoundary { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = false)] + [MetadataAttribute] + [CLSCompliant(false)] + public sealed partial class SharingBoundaryAttribute : Attribute + { + public SharingBoundaryAttribute(params string[] sharingBoundaryNames) { } + + public Collections.ObjectModel.ReadOnlyCollection SharingBoundaryNames { get { throw null; } } + } +} + +namespace System.Composition.Convention +{ + public abstract partial class AttributedModelProvider + { + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member); + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/net9.0/System.Composition.AttributedModel.cs b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/net9.0/System.Composition.AttributedModel.cs new file mode 100644 index 0000000000..d151157d6d --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/net9.0/System.Composition.AttributedModel.cs @@ -0,0 +1,146 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.AttributedModel")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides the foundational attributes that allow you to declare parts for composition, such as imports, exports, and metadata with the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.AttributedModel")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true, Inherited = false)] + public partial class ExportAttribute : Attribute + { + public ExportAttribute() { } + + public ExportAttribute(string contractName, Type contractType) { } + + public ExportAttribute(string contractName) { } + + public ExportAttribute(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] + public sealed partial class ExportMetadataAttribute : Attribute + { + public ExportMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportAttribute : Attribute + { + public ImportAttribute() { } + + public ImportAttribute(string contractName) { } + + public bool AllowDefault { get { throw null; } set { } } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] + public sealed partial class ImportingConstructorAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportManyAttribute : Attribute + { + public ImportManyAttribute() { } + + public ImportManyAttribute(string contractName) { } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property, Inherited = false)] + public sealed partial class ImportMetadataConstraintAttribute : Attribute + { + public ImportMetadataConstraintAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class MetadataAttributeAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false)] + public sealed partial class OnImportsSatisfiedAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public partial class PartMetadataAttribute : Attribute + { + public PartMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class PartNotDiscoverableAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, Inherited = false)] + public partial class SharedAttribute : PartMetadataAttribute + { + public SharedAttribute() : base(default!, default!) { } + + public SharedAttribute(string sharingBoundaryName) : base(default!, default!) { } + + public string SharingBoundary { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = false)] + [MetadataAttribute] + [CLSCompliant(false)] + public sealed partial class SharingBoundaryAttribute : Attribute + { + public SharingBoundaryAttribute(params string[] sharingBoundaryNames) { } + + public Collections.ObjectModel.ReadOnlyCollection SharingBoundaryNames { get { throw null; } } + } +} + +namespace System.Composition.Convention +{ + public abstract partial class AttributedModelProvider + { + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member); + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/netstandard2.0/System.Composition.AttributedModel.cs b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/netstandard2.0/System.Composition.AttributedModel.cs new file mode 100644 index 0000000000..f56c277143 --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/lib/netstandard2.0/System.Composition.AttributedModel.cs @@ -0,0 +1,146 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.AttributedModel")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides the foundational attributes that allow you to declare parts for composition, such as imports, exports, and metadata with the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.AttributedModel")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true, Inherited = false)] + public partial class ExportAttribute : Attribute + { + public ExportAttribute() { } + + public ExportAttribute(string contractName, Type contractType) { } + + public ExportAttribute(string contractName) { } + + public ExportAttribute(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] + public sealed partial class ExportMetadataAttribute : Attribute + { + public ExportMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportAttribute : Attribute + { + public ImportAttribute() { } + + public ImportAttribute(string contractName) { } + + public bool AllowDefault { get { throw null; } set { } } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] + public sealed partial class ImportingConstructorAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] + public partial class ImportManyAttribute : Attribute + { + public ImportManyAttribute() { } + + public ImportManyAttribute(string contractName) { } + + public string ContractName { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property, Inherited = false)] + public sealed partial class ImportMetadataConstraintAttribute : Attribute + { + public ImportMetadataConstraintAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] + public sealed partial class MetadataAttributeAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Method, Inherited = false)] + public sealed partial class OnImportsSatisfiedAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public partial class PartMetadataAttribute : Attribute + { + public PartMetadataAttribute(string name, object value) { } + + public string Name { get { throw null; } } + + public object Value { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed partial class PartNotDiscoverableAttribute : Attribute + { + } + + [AttributeUsage(AttributeTargets.Class, Inherited = false)] + public partial class SharedAttribute : PartMetadataAttribute + { + public SharedAttribute() : base(default!, default!) { } + + public SharedAttribute(string sharingBoundaryName) : base(default!, default!) { } + + public string SharingBoundary { get { throw null; } } + } + + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, Inherited = false)] + [MetadataAttribute] + [CLSCompliant(false)] + public sealed partial class SharingBoundaryAttribute : Attribute + { + public SharingBoundaryAttribute(params string[] sharingBoundaryNames) { } + + public Collections.ObjectModel.ReadOnlyCollection SharingBoundaryNames { get { throw null; } } + } +} + +namespace System.Composition.Convention +{ + public abstract partial class AttributedModelProvider + { + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member); + public abstract Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter); + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.attributedmodel/9.0.0/system.composition.attributedmodel.nuspec b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/system.composition.attributedmodel.nuspec new file mode 100644 index 0000000000..a3cd445dfb --- /dev/null +++ b/src/referencePackages/src/system.composition.attributedmodel/9.0.0/system.composition.attributedmodel.nuspec @@ -0,0 +1,21 @@ + + + + System.Composition.AttributedModel + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides the foundational attributes that allow you to declare parts for composition, such as imports, exports, and metadata with the Managed Extensibility Framework (MEF). + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/9.0.0/System.Composition.Convention.9.0.0.csproj b/src/referencePackages/src/system.composition.convention/9.0.0/System.Composition.Convention.9.0.0.csproj new file mode 100644 index 0000000000..f877cc127f --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/9.0.0/System.Composition.Convention.9.0.0.csproj @@ -0,0 +1,21 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Composition.Convention + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.composition.convention/9.0.0/lib/net8.0/System.Composition.Convention.cs b/src/referencePackages/src/system.composition.convention/9.0.0/lib/net8.0/System.Composition.Convention.cs new file mode 100644 index 0000000000..9b96142fd8 --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/9.0.0/lib/net8.0/System.Composition.Convention.cs @@ -0,0 +1,167 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Convention")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using Managed Extensibility Framework (MEF) with a convention-based configuration model.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Convention")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Convention +{ + public partial class ConventionBuilder : AttributedModelProvider + { + public PartConventionBuilder ForType(Type type) { throw null; } + + public PartConventionBuilder ForType() { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom(Type type) { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom() { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter) { throw null; } + } + + public sealed partial class ExportConventionBuilder + { + internal ExportConventionBuilder() { } + + public ExportConventionBuilder AddMetadata(string name, Func getValueFromPartType) { throw null; } + + public ExportConventionBuilder AddMetadata(string name, object value) { throw null; } + + public ExportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ExportConventionBuilder AsContractName(string contractName) { throw null; } + + public ExportConventionBuilder AsContractType(Type type) { throw null; } + + public ExportConventionBuilder AsContractType() { throw null; } + } + + public sealed partial class ImportConventionBuilder + { + internal ImportConventionBuilder() { } + + public ImportConventionBuilder AddMetadataConstraint(string name, Func getConstraintValueFromPartType) { throw null; } + + public ImportConventionBuilder AddMetadataConstraint(string name, object value) { throw null; } + + public ImportConventionBuilder AllowDefault() { throw null; } + + public ImportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ImportConventionBuilder AsContractName(string contractName) { throw null; } + + public ImportConventionBuilder AsMany() { throw null; } + + public ImportConventionBuilder AsMany(bool isMany) { throw null; } + } + + public abstract partial class ParameterImportConventionBuilder + { + internal ParameterImportConventionBuilder() { } + + public T Import() { throw null; } + + public T Import(Action configure) { throw null; } + } + + public partial class PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder AddPartMetadata(string name, Func getValueFromPartType) { throw null; } + + public PartConventionBuilder AddPartMetadata(string name, object value) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces() { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Predicate methodFilter) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector) { throw null; } + + public PartConventionBuilder Shared() { throw null; } + + public PartConventionBuilder Shared(string sharingBoundary) { throw null; } + } + + public partial class PartConventionBuilder : PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Linq.Expressions.Expression> methodSelector) { throw null; } + + public PartConventionBuilder SelectConstructor(Linq.Expressions.Expression> constructorSelector) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/9.0.0/lib/net9.0/System.Composition.Convention.cs b/src/referencePackages/src/system.composition.convention/9.0.0/lib/net9.0/System.Composition.Convention.cs new file mode 100644 index 0000000000..90880c5f53 --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/9.0.0/lib/net9.0/System.Composition.Convention.cs @@ -0,0 +1,167 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Convention")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using Managed Extensibility Framework (MEF) with a convention-based configuration model.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Convention")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Convention +{ + public partial class ConventionBuilder : AttributedModelProvider + { + public PartConventionBuilder ForType(Type type) { throw null; } + + public PartConventionBuilder ForType() { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom(Type type) { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom() { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter) { throw null; } + } + + public sealed partial class ExportConventionBuilder + { + internal ExportConventionBuilder() { } + + public ExportConventionBuilder AddMetadata(string name, Func getValueFromPartType) { throw null; } + + public ExportConventionBuilder AddMetadata(string name, object value) { throw null; } + + public ExportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ExportConventionBuilder AsContractName(string contractName) { throw null; } + + public ExportConventionBuilder AsContractType(Type type) { throw null; } + + public ExportConventionBuilder AsContractType() { throw null; } + } + + public sealed partial class ImportConventionBuilder + { + internal ImportConventionBuilder() { } + + public ImportConventionBuilder AddMetadataConstraint(string name, Func getConstraintValueFromPartType) { throw null; } + + public ImportConventionBuilder AddMetadataConstraint(string name, object value) { throw null; } + + public ImportConventionBuilder AllowDefault() { throw null; } + + public ImportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ImportConventionBuilder AsContractName(string contractName) { throw null; } + + public ImportConventionBuilder AsMany() { throw null; } + + public ImportConventionBuilder AsMany(bool isMany) { throw null; } + } + + public abstract partial class ParameterImportConventionBuilder + { + internal ParameterImportConventionBuilder() { } + + public T Import() { throw null; } + + public T Import(Action configure) { throw null; } + } + + public partial class PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder AddPartMetadata(string name, Func getValueFromPartType) { throw null; } + + public PartConventionBuilder AddPartMetadata(string name, object value) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces() { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Predicate methodFilter) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector) { throw null; } + + public PartConventionBuilder Shared() { throw null; } + + public PartConventionBuilder Shared(string sharingBoundary) { throw null; } + } + + public partial class PartConventionBuilder : PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Linq.Expressions.Expression> methodSelector) { throw null; } + + public PartConventionBuilder SelectConstructor(Linq.Expressions.Expression> constructorSelector) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/9.0.0/lib/netstandard2.0/System.Composition.Convention.cs b/src/referencePackages/src/system.composition.convention/9.0.0/lib/netstandard2.0/System.Composition.Convention.cs new file mode 100644 index 0000000000..4e161a10a4 --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/9.0.0/lib/netstandard2.0/System.Composition.Convention.cs @@ -0,0 +1,167 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Convention")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides types that support using Managed Extensibility Framework (MEF) with a convention-based configuration model.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Convention")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Convention +{ + public partial class ConventionBuilder : AttributedModelProvider + { + public PartConventionBuilder ForType(Type type) { throw null; } + + public PartConventionBuilder ForType() { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom(Type type) { throw null; } + + public PartConventionBuilder ForTypesDerivedFrom() { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public PartConventionBuilder ForTypesMatching(Predicate typeFilter) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.MemberInfo member) { throw null; } + + public override Collections.Generic.IEnumerable GetCustomAttributes(Type reflectedType, Reflection.ParameterInfo parameter) { throw null; } + } + + public sealed partial class ExportConventionBuilder + { + internal ExportConventionBuilder() { } + + public ExportConventionBuilder AddMetadata(string name, Func getValueFromPartType) { throw null; } + + public ExportConventionBuilder AddMetadata(string name, object value) { throw null; } + + public ExportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ExportConventionBuilder AsContractName(string contractName) { throw null; } + + public ExportConventionBuilder AsContractType(Type type) { throw null; } + + public ExportConventionBuilder AsContractType() { throw null; } + } + + public sealed partial class ImportConventionBuilder + { + internal ImportConventionBuilder() { } + + public ImportConventionBuilder AddMetadataConstraint(string name, Func getConstraintValueFromPartType) { throw null; } + + public ImportConventionBuilder AddMetadataConstraint(string name, object value) { throw null; } + + public ImportConventionBuilder AllowDefault() { throw null; } + + public ImportConventionBuilder AsContractName(Func getContractNameFromPartType) { throw null; } + + public ImportConventionBuilder AsContractName(string contractName) { throw null; } + + public ImportConventionBuilder AsMany() { throw null; } + + public ImportConventionBuilder AsMany(bool isMany) { throw null; } + } + + public abstract partial class ParameterImportConventionBuilder + { + internal ParameterImportConventionBuilder() { } + + public T Import() { throw null; } + + public T Import(Action configure) { throw null; } + } + + public partial class PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder AddPartMetadata(string name, Func getValueFromPartType) { throw null; } + + public PartConventionBuilder AddPartMetadata(string name, object value) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder Export() { throw null; } + + public PartConventionBuilder Export(Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces() { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportInterfaces(Predicate interfaceFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperties(Predicate propertyFilter) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Predicate methodFilter) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder SelectConstructor(Func, Reflection.ConstructorInfo> constructorSelector) { throw null; } + + public PartConventionBuilder Shared() { throw null; } + + public PartConventionBuilder Shared(string sharingBoundary) { throw null; } + } + + public partial class PartConventionBuilder : PartConventionBuilder + { + internal PartConventionBuilder() { } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector, Action exportConfiguration) { throw null; } + + public PartConventionBuilder ExportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector, Action importConfiguration) { throw null; } + + public PartConventionBuilder ImportProperty(Linq.Expressions.Expression> propertySelector) { throw null; } + + public PartConventionBuilder NotifyImportsSatisfied(Linq.Expressions.Expression> methodSelector) { throw null; } + + public PartConventionBuilder SelectConstructor(Linq.Expressions.Expression> constructorSelector) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.convention/9.0.0/system.composition.convention.nuspec b/src/referencePackages/src/system.composition.convention/9.0.0/system.composition.convention.nuspec new file mode 100644 index 0000000000..3e7b75762c --- /dev/null +++ b/src/referencePackages/src/system.composition.convention/9.0.0/system.composition.convention.nuspec @@ -0,0 +1,27 @@ + + + + System.Composition.Convention + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides types that support using Managed Extensibility Framework (MEF) with a convention-based configuration model. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/9.0.0/System.Composition.Hosting.9.0.0.csproj b/src/referencePackages/src/system.composition.hosting/9.0.0/System.Composition.Hosting.9.0.0.csproj new file mode 100644 index 0000000000..561f1b349a --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/9.0.0/System.Composition.Hosting.9.0.0.csproj @@ -0,0 +1,21 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Composition.Hosting + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.composition.hosting/9.0.0/lib/net8.0/System.Composition.Hosting.cs b/src/referencePackages/src/system.composition.hosting/9.0.0/lib/net8.0/System.Composition.Hosting.cs new file mode 100644 index 0000000000..1fcd8d933a --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/9.0.0/lib/net8.0/System.Composition.Hosting.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Hosting")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Managed Extensibility Framework (MEF) types that are useful to developers of extensible applications, or hosts.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Hosting")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Hosting +{ + public sealed partial class CompositionHost : CompositionContext, IDisposable + { + internal CompositionHost() { } + + public static CompositionHost CreateCompositionHost(Collections.Generic.IEnumerable providers) { throw null; } + + public static CompositionHost CreateCompositionHost(params Core.ExportDescriptorProvider[] providers) { throw null; } + + public void Dispose() { } + + public override bool TryGetExport(Core.CompositionContract contract, out object export) { throw null; } + } +} + +namespace System.Composition.Hosting.Core +{ + public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation); + public partial class CompositionDependency + { + internal CompositionDependency() { } + + public CompositionContract Contract { get { throw null; } } + + public bool IsPrerequisite { get { throw null; } } + + public object Site { get { throw null; } } + + public ExportDescriptorPromise Target { get { throw null; } } + + public static CompositionDependency Missing(CompositionContract contract, object site) { throw null; } + + public static CompositionDependency Oversupplied(CompositionContract contract, Collections.Generic.IEnumerable targets, object site) { throw null; } + + public static CompositionDependency Satisfied(CompositionContract contract, ExportDescriptorPromise target, bool isPrerequisite, object site) { throw null; } + + public override string ToString() { throw null; } + } + + public sealed partial class CompositionOperation : IDisposable + { + internal CompositionOperation() { } + + public void AddNonPrerequisiteAction(Action action) { } + + public void AddPostCompositionAction(Action action) { } + + public void Dispose() { } + + public static object Run(LifetimeContext outermostLifetimeContext, CompositeActivator compositionRootActivator) { throw null; } + } + + public abstract partial class DependencyAccessor + { + protected abstract Collections.Generic.IEnumerable GetPromises(CompositionContract exportKey); + public Collections.Generic.IEnumerable ResolveDependencies(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public CompositionDependency ResolveRequiredDependency(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public bool TryResolveOptionalDependency(object site, CompositionContract contract, bool isPrerequisite, out CompositionDependency dependency) { throw null; } + } + + public abstract partial class ExportDescriptor + { + public abstract CompositeActivator Activator { get; } + public abstract Collections.Generic.IDictionary Metadata { get; } + + public static ExportDescriptor Create(CompositeActivator activator, Collections.Generic.IDictionary metadata) { throw null; } + } + + public partial class ExportDescriptorPromise + { + public ExportDescriptorPromise(CompositionContract contract, string origin, bool isShared, Func> dependencies, Func, ExportDescriptor> getDescriptor) { } + + public CompositionContract Contract { get { throw null; } } + + public Collections.ObjectModel.ReadOnlyCollection Dependencies { get { throw null; } } + + public bool IsShared { get { throw null; } } + + public string Origin { get { throw null; } } + + public ExportDescriptor GetDescriptor() { throw null; } + + public override string ToString() { throw null; } + } + + public abstract partial class ExportDescriptorProvider + { + protected static readonly Func> NoDependencies; + protected static readonly Collections.Generic.IEnumerable NoExportDescriptors; + protected static readonly Collections.Generic.IDictionary NoMetadata; + public abstract Collections.Generic.IEnumerable GetExportDescriptors(CompositionContract contract, DependencyAccessor descriptorAccessor); + } + + public sealed partial class LifetimeContext : CompositionContext, IDisposable + { + internal LifetimeContext() { } + + public void AddBoundInstance(IDisposable instance) { } + + public static int AllocateSharingId() { throw null; } + + public void Dispose() { } + + public LifetimeContext FindContextWithin(string sharingBoundary) { throw null; } + + public object GetOrCreate(int sharingId, CompositionOperation operation, CompositeActivator creator) { throw null; } + + public override string ToString() { throw null; } + + public override bool TryGetExport(CompositionContract contract, out object export) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/9.0.0/lib/net9.0/System.Composition.Hosting.cs b/src/referencePackages/src/system.composition.hosting/9.0.0/lib/net9.0/System.Composition.Hosting.cs new file mode 100644 index 0000000000..9c7eb5c3a2 --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/9.0.0/lib/net9.0/System.Composition.Hosting.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Hosting")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Managed Extensibility Framework (MEF) types that are useful to developers of extensible applications, or hosts.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Hosting")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Hosting +{ + public sealed partial class CompositionHost : CompositionContext, IDisposable + { + internal CompositionHost() { } + + public static CompositionHost CreateCompositionHost(Collections.Generic.IEnumerable providers) { throw null; } + + public static CompositionHost CreateCompositionHost(params Core.ExportDescriptorProvider[] providers) { throw null; } + + public void Dispose() { } + + public override bool TryGetExport(Core.CompositionContract contract, out object export) { throw null; } + } +} + +namespace System.Composition.Hosting.Core +{ + public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation); + public partial class CompositionDependency + { + internal CompositionDependency() { } + + public CompositionContract Contract { get { throw null; } } + + public bool IsPrerequisite { get { throw null; } } + + public object Site { get { throw null; } } + + public ExportDescriptorPromise Target { get { throw null; } } + + public static CompositionDependency Missing(CompositionContract contract, object site) { throw null; } + + public static CompositionDependency Oversupplied(CompositionContract contract, Collections.Generic.IEnumerable targets, object site) { throw null; } + + public static CompositionDependency Satisfied(CompositionContract contract, ExportDescriptorPromise target, bool isPrerequisite, object site) { throw null; } + + public override string ToString() { throw null; } + } + + public sealed partial class CompositionOperation : IDisposable + { + internal CompositionOperation() { } + + public void AddNonPrerequisiteAction(Action action) { } + + public void AddPostCompositionAction(Action action) { } + + public void Dispose() { } + + public static object Run(LifetimeContext outermostLifetimeContext, CompositeActivator compositionRootActivator) { throw null; } + } + + public abstract partial class DependencyAccessor + { + protected abstract Collections.Generic.IEnumerable GetPromises(CompositionContract exportKey); + public Collections.Generic.IEnumerable ResolveDependencies(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public CompositionDependency ResolveRequiredDependency(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public bool TryResolveOptionalDependency(object site, CompositionContract contract, bool isPrerequisite, out CompositionDependency dependency) { throw null; } + } + + public abstract partial class ExportDescriptor + { + public abstract CompositeActivator Activator { get; } + public abstract Collections.Generic.IDictionary Metadata { get; } + + public static ExportDescriptor Create(CompositeActivator activator, Collections.Generic.IDictionary metadata) { throw null; } + } + + public partial class ExportDescriptorPromise + { + public ExportDescriptorPromise(CompositionContract contract, string origin, bool isShared, Func> dependencies, Func, ExportDescriptor> getDescriptor) { } + + public CompositionContract Contract { get { throw null; } } + + public Collections.ObjectModel.ReadOnlyCollection Dependencies { get { throw null; } } + + public bool IsShared { get { throw null; } } + + public string Origin { get { throw null; } } + + public ExportDescriptor GetDescriptor() { throw null; } + + public override string ToString() { throw null; } + } + + public abstract partial class ExportDescriptorProvider + { + protected static readonly Func> NoDependencies; + protected static readonly Collections.Generic.IEnumerable NoExportDescriptors; + protected static readonly Collections.Generic.IDictionary NoMetadata; + public abstract Collections.Generic.IEnumerable GetExportDescriptors(CompositionContract contract, DependencyAccessor descriptorAccessor); + } + + public sealed partial class LifetimeContext : CompositionContext, IDisposable + { + internal LifetimeContext() { } + + public void AddBoundInstance(IDisposable instance) { } + + public static int AllocateSharingId() { throw null; } + + public void Dispose() { } + + public LifetimeContext FindContextWithin(string sharingBoundary) { throw null; } + + public object GetOrCreate(int sharingId, CompositionOperation operation, CompositeActivator creator) { throw null; } + + public override string ToString() { throw null; } + + public override bool TryGetExport(CompositionContract contract, out object export) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/9.0.0/lib/netstandard2.0/System.Composition.Hosting.cs b/src/referencePackages/src/system.composition.hosting/9.0.0/lib/netstandard2.0/System.Composition.Hosting.cs new file mode 100644 index 0000000000..43212b4395 --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/9.0.0/lib/netstandard2.0/System.Composition.Hosting.cs @@ -0,0 +1,142 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Hosting")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides Managed Extensibility Framework (MEF) types that are useful to developers of extensible applications, or hosts.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Hosting")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition.Hosting +{ + public sealed partial class CompositionHost : CompositionContext, IDisposable + { + internal CompositionHost() { } + + public static CompositionHost CreateCompositionHost(Collections.Generic.IEnumerable providers) { throw null; } + + public static CompositionHost CreateCompositionHost(params Core.ExportDescriptorProvider[] providers) { throw null; } + + public void Dispose() { } + + public override bool TryGetExport(Core.CompositionContract contract, out object export) { throw null; } + } +} + +namespace System.Composition.Hosting.Core +{ + public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation); + public partial class CompositionDependency + { + internal CompositionDependency() { } + + public CompositionContract Contract { get { throw null; } } + + public bool IsPrerequisite { get { throw null; } } + + public object Site { get { throw null; } } + + public ExportDescriptorPromise Target { get { throw null; } } + + public static CompositionDependency Missing(CompositionContract contract, object site) { throw null; } + + public static CompositionDependency Oversupplied(CompositionContract contract, Collections.Generic.IEnumerable targets, object site) { throw null; } + + public static CompositionDependency Satisfied(CompositionContract contract, ExportDescriptorPromise target, bool isPrerequisite, object site) { throw null; } + + public override string ToString() { throw null; } + } + + public sealed partial class CompositionOperation : IDisposable + { + internal CompositionOperation() { } + + public void AddNonPrerequisiteAction(Action action) { } + + public void AddPostCompositionAction(Action action) { } + + public void Dispose() { } + + public static object Run(LifetimeContext outermostLifetimeContext, CompositeActivator compositionRootActivator) { throw null; } + } + + public abstract partial class DependencyAccessor + { + protected abstract Collections.Generic.IEnumerable GetPromises(CompositionContract exportKey); + public Collections.Generic.IEnumerable ResolveDependencies(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public CompositionDependency ResolveRequiredDependency(object site, CompositionContract contract, bool isPrerequisite) { throw null; } + + public bool TryResolveOptionalDependency(object site, CompositionContract contract, bool isPrerequisite, out CompositionDependency dependency) { throw null; } + } + + public abstract partial class ExportDescriptor + { + public abstract CompositeActivator Activator { get; } + public abstract Collections.Generic.IDictionary Metadata { get; } + + public static ExportDescriptor Create(CompositeActivator activator, Collections.Generic.IDictionary metadata) { throw null; } + } + + public partial class ExportDescriptorPromise + { + public ExportDescriptorPromise(CompositionContract contract, string origin, bool isShared, Func> dependencies, Func, ExportDescriptor> getDescriptor) { } + + public CompositionContract Contract { get { throw null; } } + + public Collections.ObjectModel.ReadOnlyCollection Dependencies { get { throw null; } } + + public bool IsShared { get { throw null; } } + + public string Origin { get { throw null; } } + + public ExportDescriptor GetDescriptor() { throw null; } + + public override string ToString() { throw null; } + } + + public abstract partial class ExportDescriptorProvider + { + protected static readonly Func> NoDependencies; + protected static readonly Collections.Generic.IEnumerable NoExportDescriptors; + protected static readonly Collections.Generic.IDictionary NoMetadata; + public abstract Collections.Generic.IEnumerable GetExportDescriptors(CompositionContract contract, DependencyAccessor descriptorAccessor); + } + + public sealed partial class LifetimeContext : CompositionContext, IDisposable + { + internal LifetimeContext() { } + + public void AddBoundInstance(IDisposable instance) { } + + public static int AllocateSharingId() { throw null; } + + public void Dispose() { } + + public LifetimeContext FindContextWithin(string sharingBoundary) { throw null; } + + public object GetOrCreate(int sharingId, CompositionOperation operation, CompositeActivator creator) { throw null; } + + public override string ToString() { throw null; } + + public override bool TryGetExport(CompositionContract contract, out object export) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.hosting/9.0.0/system.composition.hosting.nuspec b/src/referencePackages/src/system.composition.hosting/9.0.0/system.composition.hosting.nuspec new file mode 100644 index 0000000000..8d0175ca92 --- /dev/null +++ b/src/referencePackages/src/system.composition.hosting/9.0.0/system.composition.hosting.nuspec @@ -0,0 +1,27 @@ + + + + System.Composition.Hosting + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides Managed Extensibility Framework (MEF) types that are useful to developers of extensible applications, or hosts. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/9.0.0/System.Composition.Runtime.9.0.0.csproj b/src/referencePackages/src/system.composition.runtime/9.0.0/System.Composition.Runtime.9.0.0.csproj new file mode 100644 index 0000000000..bcb8c635ff --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/9.0.0/System.Composition.Runtime.9.0.0.csproj @@ -0,0 +1,9 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Composition.Runtime + + + diff --git a/src/referencePackages/src/system.composition.runtime/9.0.0/lib/net8.0/System.Composition.Runtime.cs b/src/referencePackages/src/system.composition.runtime/9.0.0/lib/net8.0/System.Composition.Runtime.cs new file mode 100644 index 0000000000..09cdb1e412 --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/9.0.0/lib/net8.0/System.Composition.Runtime.cs @@ -0,0 +1,123 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Runtime")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Contains runtime components of the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Runtime")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public abstract partial class CompositionContext + { + public object GetExport(Hosting.Core.CompositionContract contract) { throw null; } + + public object GetExport(Type exportType, string contractName) { throw null; } + + public object GetExport(Type exportType) { throw null; } + + public TExport GetExport() { throw null; } + + public TExport GetExport(string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType, string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType) { throw null; } + + public Collections.Generic.IEnumerable GetExports() { throw null; } + + public Collections.Generic.IEnumerable GetExports(string contractName) { throw null; } + + public abstract bool TryGetExport(Hosting.Core.CompositionContract contract, out object export); + public bool TryGetExport(Type exportType, out object export) { throw null; } + + public bool TryGetExport(Type exportType, string contractName, out object export) { throw null; } + + public bool TryGetExport(out TExport export) { throw null; } + + public bool TryGetExport(string contractName, out TExport export) { throw null; } + } + + public partial class ExportFactory + { + public ExportFactory(Func> exportCreator) { } + + public Export CreateExport() { throw null; } + } + + public partial class ExportFactory : ExportFactory + { + public ExportFactory(Func> exportCreator, TMetadata metadata) : base(default!) { } + + public TMetadata Metadata { get { throw null; } } + } + + public sealed partial class Export : IDisposable + { + public Export(T value, Action disposeAction) { } + + public T Value { get { throw null; } } + + public void Dispose() { } + } +} + +namespace System.Composition.Hosting +{ + public partial class CompositionFailedException : Exception + { + public CompositionFailedException() { } + + public CompositionFailedException(string message, Exception innerException) { } + + public CompositionFailedException(string message) { } + } +} + +namespace System.Composition.Hosting.Core +{ + public sealed partial class CompositionContract + { + public CompositionContract(Type contractType, string contractName, Collections.Generic.IDictionary metadataConstraints) { } + + public CompositionContract(Type contractType, string contractName) { } + + public CompositionContract(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + + public Collections.Generic.IEnumerable> MetadataConstraints { get { throw null; } } + + public CompositionContract ChangeType(Type newContractType) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + + public override string ToString() { throw null; } + + public bool TryUnwrapMetadataConstraint(string constraintName, out T constraintValue, out CompositionContract remainingContract) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/9.0.0/lib/net9.0/System.Composition.Runtime.cs b/src/referencePackages/src/system.composition.runtime/9.0.0/lib/net9.0/System.Composition.Runtime.cs new file mode 100644 index 0000000000..01f83a6242 --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/9.0.0/lib/net9.0/System.Composition.Runtime.cs @@ -0,0 +1,123 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Runtime")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Contains runtime components of the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Runtime")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public abstract partial class CompositionContext + { + public object GetExport(Hosting.Core.CompositionContract contract) { throw null; } + + public object GetExport(Type exportType, string contractName) { throw null; } + + public object GetExport(Type exportType) { throw null; } + + public TExport GetExport() { throw null; } + + public TExport GetExport(string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType, string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType) { throw null; } + + public Collections.Generic.IEnumerable GetExports() { throw null; } + + public Collections.Generic.IEnumerable GetExports(string contractName) { throw null; } + + public abstract bool TryGetExport(Hosting.Core.CompositionContract contract, out object export); + public bool TryGetExport(Type exportType, out object export) { throw null; } + + public bool TryGetExport(Type exportType, string contractName, out object export) { throw null; } + + public bool TryGetExport(out TExport export) { throw null; } + + public bool TryGetExport(string contractName, out TExport export) { throw null; } + } + + public partial class ExportFactory + { + public ExportFactory(Func> exportCreator) { } + + public Export CreateExport() { throw null; } + } + + public partial class ExportFactory : ExportFactory + { + public ExportFactory(Func> exportCreator, TMetadata metadata) : base(default!) { } + + public TMetadata Metadata { get { throw null; } } + } + + public sealed partial class Export : IDisposable + { + public Export(T value, Action disposeAction) { } + + public T Value { get { throw null; } } + + public void Dispose() { } + } +} + +namespace System.Composition.Hosting +{ + public partial class CompositionFailedException : Exception + { + public CompositionFailedException() { } + + public CompositionFailedException(string message, Exception innerException) { } + + public CompositionFailedException(string message) { } + } +} + +namespace System.Composition.Hosting.Core +{ + public sealed partial class CompositionContract + { + public CompositionContract(Type contractType, string contractName, Collections.Generic.IDictionary metadataConstraints) { } + + public CompositionContract(Type contractType, string contractName) { } + + public CompositionContract(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + + public Collections.Generic.IEnumerable> MetadataConstraints { get { throw null; } } + + public CompositionContract ChangeType(Type newContractType) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + + public override string ToString() { throw null; } + + public bool TryUnwrapMetadataConstraint(string constraintName, out T constraintValue, out CompositionContract remainingContract) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/9.0.0/lib/netstandard2.0/System.Composition.Runtime.cs b/src/referencePackages/src/system.composition.runtime/9.0.0/lib/netstandard2.0/System.Composition.Runtime.cs new file mode 100644 index 0000000000..fba8a12bdb --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/9.0.0/lib/netstandard2.0/System.Composition.Runtime.cs @@ -0,0 +1,123 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.Runtime")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Contains runtime components of the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.Runtime")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public abstract partial class CompositionContext + { + public object GetExport(Hosting.Core.CompositionContract contract) { throw null; } + + public object GetExport(Type exportType, string contractName) { throw null; } + + public object GetExport(Type exportType) { throw null; } + + public TExport GetExport() { throw null; } + + public TExport GetExport(string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType, string contractName) { throw null; } + + public Collections.Generic.IEnumerable GetExports(Type exportType) { throw null; } + + public Collections.Generic.IEnumerable GetExports() { throw null; } + + public Collections.Generic.IEnumerable GetExports(string contractName) { throw null; } + + public abstract bool TryGetExport(Hosting.Core.CompositionContract contract, out object export); + public bool TryGetExport(Type exportType, out object export) { throw null; } + + public bool TryGetExport(Type exportType, string contractName, out object export) { throw null; } + + public bool TryGetExport(out TExport export) { throw null; } + + public bool TryGetExport(string contractName, out TExport export) { throw null; } + } + + public partial class ExportFactory + { + public ExportFactory(Func> exportCreator) { } + + public Export CreateExport() { throw null; } + } + + public partial class ExportFactory : ExportFactory + { + public ExportFactory(Func> exportCreator, TMetadata metadata) : base(default!) { } + + public TMetadata Metadata { get { throw null; } } + } + + public sealed partial class Export : IDisposable + { + public Export(T value, Action disposeAction) { } + + public T Value { get { throw null; } } + + public void Dispose() { } + } +} + +namespace System.Composition.Hosting +{ + public partial class CompositionFailedException : Exception + { + public CompositionFailedException() { } + + public CompositionFailedException(string message, Exception innerException) { } + + public CompositionFailedException(string message) { } + } +} + +namespace System.Composition.Hosting.Core +{ + public sealed partial class CompositionContract + { + public CompositionContract(Type contractType, string contractName, Collections.Generic.IDictionary metadataConstraints) { } + + public CompositionContract(Type contractType, string contractName) { } + + public CompositionContract(Type contractType) { } + + public string ContractName { get { throw null; } } + + public Type ContractType { get { throw null; } } + + public Collections.Generic.IEnumerable> MetadataConstraints { get { throw null; } } + + public CompositionContract ChangeType(Type newContractType) { throw null; } + + public override bool Equals(object obj) { throw null; } + + public override int GetHashCode() { throw null; } + + public override string ToString() { throw null; } + + public bool TryUnwrapMetadataConstraint(string constraintName, out T constraintValue, out CompositionContract remainingContract) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.runtime/9.0.0/system.composition.runtime.nuspec b/src/referencePackages/src/system.composition.runtime/9.0.0/system.composition.runtime.nuspec new file mode 100644 index 0000000000..24f2ffb90f --- /dev/null +++ b/src/referencePackages/src/system.composition.runtime/9.0.0/system.composition.runtime.nuspec @@ -0,0 +1,21 @@ + + + + System.Composition.Runtime + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Contains runtime components of the Managed Extensibility Framework (MEF). + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/9.0.0/System.Composition.TypedParts.9.0.0.csproj b/src/referencePackages/src/system.composition.typedparts/9.0.0/System.Composition.TypedParts.9.0.0.csproj new file mode 100644 index 0000000000..fc6391504e --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/9.0.0/System.Composition.TypedParts.9.0.0.csproj @@ -0,0 +1,27 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Composition.TypedParts + + + + + + + + + + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/net8.0/System.Composition.TypedParts.cs b/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/net8.0/System.Composition.TypedParts.cs new file mode 100644 index 0000000000..b3344c2fb6 --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/net8.0/System.Composition.TypedParts.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.TypedParts")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides container configuration and some extension methods for the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.TypedParts")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public static partial class CompositionContextExtensions + { + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports, Convention.AttributedModelProvider conventions) { } + + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports) { } + } +} + +namespace System.Composition.Hosting +{ + public partial class ContainerConfiguration + { + public CompositionHost CreateContainer() { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly) { throw null; } + + public ContainerConfiguration WithDefaultConventions(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance) { throw null; } + + public ContainerConfiguration WithPart(Type partType, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithPart(Type partType) { throw null; } + + public ContainerConfiguration WithPart() { throw null; } + + public ContainerConfiguration WithPart(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes) { throw null; } + + public ContainerConfiguration WithParts(params Type[] partTypes) { throw null; } + + public ContainerConfiguration WithProvider(Core.ExportDescriptorProvider exportDescriptorProvider) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/net9.0/System.Composition.TypedParts.cs b/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/net9.0/System.Composition.TypedParts.cs new file mode 100644 index 0000000000..ad5fd2e34e --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/net9.0/System.Composition.TypedParts.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.TypedParts")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides container configuration and some extension methods for the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.TypedParts")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public static partial class CompositionContextExtensions + { + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports, Convention.AttributedModelProvider conventions) { } + + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports) { } + } +} + +namespace System.Composition.Hosting +{ + public partial class ContainerConfiguration + { + public CompositionHost CreateContainer() { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly) { throw null; } + + public ContainerConfiguration WithDefaultConventions(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance) { throw null; } + + public ContainerConfiguration WithPart(Type partType, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithPart(Type partType) { throw null; } + + public ContainerConfiguration WithPart() { throw null; } + + public ContainerConfiguration WithPart(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes) { throw null; } + + public ContainerConfiguration WithParts(params Type[] partTypes) { throw null; } + + public ContainerConfiguration WithProvider(Core.ExportDescriptorProvider exportDescriptorProvider) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/netstandard2.0/System.Composition.TypedParts.cs b/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/netstandard2.0/System.Composition.TypedParts.cs new file mode 100644 index 0000000000..a6dbf25036 --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/9.0.0/lib/netstandard2.0/System.Composition.TypedParts.cs @@ -0,0 +1,78 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Composition.TypedParts")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Provides container configuration and some extension methods for the Managed Extensibility Framework (MEF).")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Composition.TypedParts")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Composition +{ + public static partial class CompositionContextExtensions + { + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports, Convention.AttributedModelProvider conventions) { } + + public static void SatisfyImports(this CompositionContext compositionContext, object objectWithLooseImports) { } + } +} + +namespace System.Composition.Hosting +{ + public partial class ContainerConfiguration + { + public CompositionHost CreateContainer() { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssemblies(Collections.Generic.IEnumerable assemblies) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithAssembly(Reflection.Assembly assembly) { throw null; } + + public ContainerConfiguration WithDefaultConventions(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(Type contractType, object exportedInstance) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance, string contractName = null, Collections.Generic.IDictionary metadata = null) { throw null; } + + public ContainerConfiguration WithExport(TExport exportedInstance) { throw null; } + + public ContainerConfiguration WithPart(Type partType, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithPart(Type partType) { throw null; } + + public ContainerConfiguration WithPart() { throw null; } + + public ContainerConfiguration WithPart(Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes, Convention.AttributedModelProvider conventions) { throw null; } + + public ContainerConfiguration WithParts(Collections.Generic.IEnumerable partTypes) { throw null; } + + public ContainerConfiguration WithParts(params Type[] partTypes) { throw null; } + + public ContainerConfiguration WithProvider(Core.ExportDescriptorProvider exportDescriptorProvider) { throw null; } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.composition.typedparts/9.0.0/system.composition.typedparts.nuspec b/src/referencePackages/src/system.composition.typedparts/9.0.0/system.composition.typedparts.nuspec new file mode 100644 index 0000000000..ba0264908b --- /dev/null +++ b/src/referencePackages/src/system.composition.typedparts/9.0.0/system.composition.typedparts.nuspec @@ -0,0 +1,33 @@ + + + + System.Composition.TypedParts + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Provides container configuration and some extension methods for the Managed Extensibility Framework (MEF). + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/9.0.0/System.IO.Pipelines.9.0.0.csproj b/src/referencePackages/src/system.io.pipelines/9.0.0/System.IO.Pipelines.9.0.0.csproj new file mode 100644 index 0000000000..3d371fbb25 --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/9.0.0/System.IO.Pipelines.9.0.0.csproj @@ -0,0 +1,16 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.IO.Pipelines + Open + + + + + + + + + diff --git a/src/referencePackages/src/system.io.pipelines/9.0.0/lib/net8.0/System.IO.Pipelines.cs b/src/referencePackages/src/system.io.pipelines/9.0.0/lib/net8.0/System.IO.Pipelines.cs new file mode 100644 index 0000000000..3c2c67a0bb --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/9.0.0/lib/net8.0/System.IO.Pipelines.cs @@ -0,0 +1,191 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.IO.Pipelines.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.IO.Pipelines")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Single producer single consumer byte buffer management.\r\n\r\nCommonly Used Types:\r\nSystem.IO.Pipelines.Pipe\r\nSystem.IO.Pipelines.PipeWriter\r\nSystem.IO.Pipelines.PipeReader")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.IO.Pipelines")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.IO.Pipelines +{ + public partial struct FlushResult + { + private int _dummyPrimitive; + public FlushResult(bool isCanceled, bool isCompleted) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public partial interface IDuplexPipe + { + PipeReader Input { get; } + + PipeWriter Output { get; } + } + + public sealed partial class Pipe + { + public Pipe() { } + + public Pipe(PipeOptions options) { } + + public PipeReader Reader { get { throw null; } } + + public PipeWriter Writer { get { throw null; } } + + public void Reset() { } + } + + public partial class PipeOptions + { + public PipeOptions(Buffers.MemoryPool? pool = null, PipeScheduler? readerScheduler = null, PipeScheduler? writerScheduler = null, long pauseWriterThreshold = -1, long resumeWriterThreshold = -1, int minimumSegmentSize = -1, bool useSynchronizationContext = true) { } + + public static PipeOptions Default { get { throw null; } } + + public int MinimumSegmentSize { get { throw null; } } + + public long PauseWriterThreshold { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public PipeScheduler ReaderScheduler { get { throw null; } } + + public long ResumeWriterThreshold { get { throw null; } } + + public bool UseSynchronizationContext { get { throw null; } } + + public PipeScheduler WriterScheduler { get { throw null; } } + } + + public abstract partial class PipeReader + { + public abstract void AdvanceTo(SequencePosition consumed, SequencePosition examined); + public abstract void AdvanceTo(SequencePosition consumed); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingRead(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(Stream destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeReader Create(Buffers.ReadOnlySequence sequence) { throw null; } + + public static PipeReader Create(Stream stream, StreamPipeReaderOptions? readerOptions = null) { throw null; } + + [Obsolete("OnWriterCompleted has been deprecated and may not be invoked on all implementations of PipeReader.")] + public virtual void OnWriterCompleted(Action callback, object? state) { } + + public abstract Threading.Tasks.ValueTask ReadAsync(Threading.CancellationToken cancellationToken = default); + public Threading.Tasks.ValueTask ReadAtLeastAsync(int minimumSize, Threading.CancellationToken cancellationToken = default) { throw null; } + + protected virtual Threading.Tasks.ValueTask ReadAtLeastAsyncCore(int minimumSize, Threading.CancellationToken cancellationToken) { throw null; } + + public abstract bool TryRead(out ReadResult result); + } + + public abstract partial class PipeScheduler + { + public static PipeScheduler Inline { get { throw null; } } + + public static PipeScheduler ThreadPool { get { throw null; } } + + public abstract void Schedule(Action action, object? state); + } + + public abstract partial class PipeWriter : Buffers.IBufferWriter + { + public virtual bool CanGetUnflushedBytes { get { throw null; } } + + public virtual long UnflushedBytes { get { throw null; } } + + public abstract void Advance(int bytes); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingFlush(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + protected internal virtual Threading.Tasks.Task CopyFromAsync(Stream source, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeWriter Create(Stream stream, StreamPipeWriterOptions? writerOptions = null) { throw null; } + + public abstract Threading.Tasks.ValueTask FlushAsync(Threading.CancellationToken cancellationToken = default); + public abstract Memory GetMemory(int sizeHint = 0); + public abstract Span GetSpan(int sizeHint = 0); + [Obsolete("OnReaderCompleted has been deprecated and may not be invoked on all implementations of PipeWriter.")] + public virtual void OnReaderCompleted(Action callback, object? state) { } + + public virtual Threading.Tasks.ValueTask WriteAsync(ReadOnlyMemory source, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public readonly partial struct ReadResult + { + private readonly int _dummyPrimitive; + public ReadResult(Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) { } + + public Buffers.ReadOnlySequence Buffer { get { throw null; } } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public static partial class StreamPipeExtensions + { + public static Threading.Tasks.Task CopyToAsync(this Stream source, PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public partial class StreamPipeReaderOptions + { + public StreamPipeReaderOptions(Buffers.MemoryPool? pool = null, int bufferSize = -1, int minimumReadSize = -1, bool leaveOpen = false, bool useZeroByteReads = false) { } + + public StreamPipeReaderOptions(Buffers.MemoryPool? pool, int bufferSize, int minimumReadSize, bool leaveOpen) { } + + public int BufferSize { get { throw null; } } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumReadSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public bool UseZeroByteReads { get { throw null; } } + } + + public partial class StreamPipeWriterOptions + { + public StreamPipeWriterOptions(Buffers.MemoryPool? pool = null, int minimumBufferSize = -1, bool leaveOpen = false) { } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumBufferSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/9.0.0/lib/net9.0/System.IO.Pipelines.cs b/src/referencePackages/src/system.io.pipelines/9.0.0/lib/net9.0/System.IO.Pipelines.cs new file mode 100644 index 0000000000..835fb93a20 --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/9.0.0/lib/net9.0/System.IO.Pipelines.cs @@ -0,0 +1,190 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.IO.Pipelines.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.IO.Pipelines")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Single producer single consumer byte buffer management.\r\n\r\nCommonly Used Types:\r\nSystem.IO.Pipelines.Pipe\r\nSystem.IO.Pipelines.PipeWriter\r\nSystem.IO.Pipelines.PipeReader")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.IO.Pipelines")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.IO.Pipelines +{ + public partial struct FlushResult + { + private int _dummyPrimitive; + public FlushResult(bool isCanceled, bool isCompleted) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public partial interface IDuplexPipe + { + PipeReader Input { get; } + + PipeWriter Output { get; } + } + + public sealed partial class Pipe + { + public Pipe() { } + + public Pipe(PipeOptions options) { } + + public PipeReader Reader { get { throw null; } } + + public PipeWriter Writer { get { throw null; } } + + public void Reset() { } + } + + public partial class PipeOptions + { + public PipeOptions(Buffers.MemoryPool? pool = null, PipeScheduler? readerScheduler = null, PipeScheduler? writerScheduler = null, long pauseWriterThreshold = -1, long resumeWriterThreshold = -1, int minimumSegmentSize = -1, bool useSynchronizationContext = true) { } + + public static PipeOptions Default { get { throw null; } } + + public int MinimumSegmentSize { get { throw null; } } + + public long PauseWriterThreshold { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public PipeScheduler ReaderScheduler { get { throw null; } } + + public long ResumeWriterThreshold { get { throw null; } } + + public bool UseSynchronizationContext { get { throw null; } } + + public PipeScheduler WriterScheduler { get { throw null; } } + } + + public abstract partial class PipeReader + { + public abstract void AdvanceTo(SequencePosition consumed, SequencePosition examined); + public abstract void AdvanceTo(SequencePosition consumed); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingRead(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(Stream destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeReader Create(Buffers.ReadOnlySequence sequence) { throw null; } + + public static PipeReader Create(Stream stream, StreamPipeReaderOptions? readerOptions = null) { throw null; } + + [Obsolete("OnWriterCompleted has been deprecated and may not be invoked on all implementations of PipeReader.")] + public virtual void OnWriterCompleted(Action callback, object? state) { } + + public abstract Threading.Tasks.ValueTask ReadAsync(Threading.CancellationToken cancellationToken = default); + public Threading.Tasks.ValueTask ReadAtLeastAsync(int minimumSize, Threading.CancellationToken cancellationToken = default) { throw null; } + + protected virtual Threading.Tasks.ValueTask ReadAtLeastAsyncCore(int minimumSize, Threading.CancellationToken cancellationToken) { throw null; } + + public abstract bool TryRead(out ReadResult result); + } + + public abstract partial class PipeScheduler + { + public static PipeScheduler Inline { get { throw null; } } + + public static PipeScheduler ThreadPool { get { throw null; } } + + public abstract void Schedule(Action action, object? state); + } + + public abstract partial class PipeWriter : Buffers.IBufferWriter + { + public virtual bool CanGetUnflushedBytes { get { throw null; } } + + public virtual long UnflushedBytes { get { throw null; } } + + public abstract void Advance(int bytes); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingFlush(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + protected internal virtual Threading.Tasks.Task CopyFromAsync(Stream source, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeWriter Create(Stream stream, StreamPipeWriterOptions? writerOptions = null) { throw null; } + + public abstract Threading.Tasks.ValueTask FlushAsync(Threading.CancellationToken cancellationToken = default); + public abstract Memory GetMemory(int sizeHint = 0); + public abstract Span GetSpan(int sizeHint = 0); + [Obsolete("OnReaderCompleted has been deprecated and may not be invoked on all implementations of PipeWriter.")] + public virtual void OnReaderCompleted(Action callback, object? state) { } + + public virtual Threading.Tasks.ValueTask WriteAsync(ReadOnlyMemory source, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public readonly partial struct ReadResult + { + private readonly int _dummyPrimitive; + public ReadResult(Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) { } + + public Buffers.ReadOnlySequence Buffer { get { throw null; } } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public static partial class StreamPipeExtensions + { + public static Threading.Tasks.Task CopyToAsync(this Stream source, PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public partial class StreamPipeReaderOptions + { + public StreamPipeReaderOptions(Buffers.MemoryPool? pool = null, int bufferSize = -1, int minimumReadSize = -1, bool leaveOpen = false, bool useZeroByteReads = false) { } + + public StreamPipeReaderOptions(Buffers.MemoryPool? pool, int bufferSize, int minimumReadSize, bool leaveOpen) { } + + public int BufferSize { get { throw null; } } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumReadSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public bool UseZeroByteReads { get { throw null; } } + } + + public partial class StreamPipeWriterOptions + { + public StreamPipeWriterOptions(Buffers.MemoryPool? pool = null, int minimumBufferSize = -1, bool leaveOpen = false) { } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumBufferSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/9.0.0/lib/netstandard2.0/System.IO.Pipelines.cs b/src/referencePackages/src/system.io.pipelines/9.0.0/lib/netstandard2.0/System.IO.Pipelines.cs new file mode 100644 index 0000000000..ad38a197d9 --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/9.0.0/lib/netstandard2.0/System.IO.Pipelines.cs @@ -0,0 +1,191 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.IO.Pipelines.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.IO.Pipelines")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.CLSCompliant(true)] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("Single producer single consumer byte buffer management.\r\n\r\nCommonly Used Types:\r\nSystem.IO.Pipelines.Pipe\r\nSystem.IO.Pipelines.PipeWriter\r\nSystem.IO.Pipelines.PipeReader")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.IO.Pipelines")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.IO.Pipelines +{ + public partial struct FlushResult + { + private int _dummyPrimitive; + public FlushResult(bool isCanceled, bool isCompleted) { } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public partial interface IDuplexPipe + { + PipeReader Input { get; } + + PipeWriter Output { get; } + } + + public sealed partial class Pipe + { + public Pipe() { } + + public Pipe(PipeOptions options) { } + + public PipeReader Reader { get { throw null; } } + + public PipeWriter Writer { get { throw null; } } + + public void Reset() { } + } + + public partial class PipeOptions + { + public PipeOptions(Buffers.MemoryPool? pool = null, PipeScheduler? readerScheduler = null, PipeScheduler? writerScheduler = null, long pauseWriterThreshold = -1, long resumeWriterThreshold = -1, int minimumSegmentSize = -1, bool useSynchronizationContext = true) { } + + public static PipeOptions Default { get { throw null; } } + + public int MinimumSegmentSize { get { throw null; } } + + public long PauseWriterThreshold { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public PipeScheduler ReaderScheduler { get { throw null; } } + + public long ResumeWriterThreshold { get { throw null; } } + + public bool UseSynchronizationContext { get { throw null; } } + + public PipeScheduler WriterScheduler { get { throw null; } } + } + + public abstract partial class PipeReader + { + public abstract void AdvanceTo(SequencePosition consumed, SequencePosition examined); + public abstract void AdvanceTo(SequencePosition consumed); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingRead(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public virtual Threading.Tasks.Task CopyToAsync(Stream destination, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeReader Create(Buffers.ReadOnlySequence sequence) { throw null; } + + public static PipeReader Create(Stream stream, StreamPipeReaderOptions? readerOptions = null) { throw null; } + + [Obsolete("OnWriterCompleted has been deprecated and may not be invoked on all implementations of PipeReader.")] + public virtual void OnWriterCompleted(Action callback, object? state) { } + + public abstract Threading.Tasks.ValueTask ReadAsync(Threading.CancellationToken cancellationToken = default); + public Threading.Tasks.ValueTask ReadAtLeastAsync(int minimumSize, Threading.CancellationToken cancellationToken = default) { throw null; } + + protected virtual Threading.Tasks.ValueTask ReadAtLeastAsyncCore(int minimumSize, Threading.CancellationToken cancellationToken) { throw null; } + + public abstract bool TryRead(out ReadResult result); + } + + public abstract partial class PipeScheduler + { + public static PipeScheduler Inline { get { throw null; } } + + public static PipeScheduler ThreadPool { get { throw null; } } + + public abstract void Schedule(Action action, object? state); + } + + public abstract partial class PipeWriter : Buffers.IBufferWriter + { + public virtual bool CanGetUnflushedBytes { get { throw null; } } + + public virtual long UnflushedBytes { get { throw null; } } + + public abstract void Advance(int bytes); + public virtual Stream AsStream(bool leaveOpen = false) { throw null; } + + public abstract void CancelPendingFlush(); + public abstract void Complete(Exception? exception = null); + public virtual Threading.Tasks.ValueTask CompleteAsync(Exception? exception = null) { throw null; } + + protected internal virtual Threading.Tasks.Task CopyFromAsync(Stream source, Threading.CancellationToken cancellationToken = default) { throw null; } + + public static PipeWriter Create(Stream stream, StreamPipeWriterOptions? writerOptions = null) { throw null; } + + public abstract Threading.Tasks.ValueTask FlushAsync(Threading.CancellationToken cancellationToken = default); + public abstract Memory GetMemory(int sizeHint = 0); + public abstract Span GetSpan(int sizeHint = 0); + [Obsolete("OnReaderCompleted has been deprecated and may not be invoked on all implementations of PipeWriter.")] + public virtual void OnReaderCompleted(Action callback, object? state) { } + + public virtual Threading.Tasks.ValueTask WriteAsync(ReadOnlyMemory source, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public readonly partial struct ReadResult + { + private readonly int _dummyPrimitive; + public ReadResult(Buffers.ReadOnlySequence buffer, bool isCanceled, bool isCompleted) { } + + public Buffers.ReadOnlySequence Buffer { get { throw null; } } + + public bool IsCanceled { get { throw null; } } + + public bool IsCompleted { get { throw null; } } + } + + public static partial class StreamPipeExtensions + { + public static Threading.Tasks.Task CopyToAsync(this Stream source, PipeWriter destination, Threading.CancellationToken cancellationToken = default) { throw null; } + } + + public partial class StreamPipeReaderOptions + { + public StreamPipeReaderOptions(Buffers.MemoryPool? pool = null, int bufferSize = -1, int minimumReadSize = -1, bool leaveOpen = false, bool useZeroByteReads = false) { } + + public StreamPipeReaderOptions(Buffers.MemoryPool? pool, int bufferSize, int minimumReadSize, bool leaveOpen) { } + + public int BufferSize { get { throw null; } } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumReadSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + + public bool UseZeroByteReads { get { throw null; } } + } + + public partial class StreamPipeWriterOptions + { + public StreamPipeWriterOptions(Buffers.MemoryPool? pool = null, int minimumBufferSize = -1, bool leaveOpen = false) { } + + public bool LeaveOpen { get { throw null; } } + + public int MinimumBufferSize { get { throw null; } } + + public Buffers.MemoryPool Pool { get { throw null; } } + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.io.pipelines/9.0.0/system.io.pipelines.nuspec b/src/referencePackages/src/system.io.pipelines/9.0.0/system.io.pipelines.nuspec new file mode 100644 index 0000000000..c0db387f10 --- /dev/null +++ b/src/referencePackages/src/system.io.pipelines/9.0.0/system.io.pipelines.nuspec @@ -0,0 +1,30 @@ + + + + System.IO.Pipelines + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + Single producer single consumer byte buffer management. + +Commonly Used Types: +System.IO.Pipelines.Pipe +System.IO.Pipelines.PipeWriter +System.IO.Pipelines.PipeReader + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/System.Reflection.Metadata.9.0.0.csproj b/src/referencePackages/src/system.reflection.metadata/9.0.0/System.Reflection.Metadata.9.0.0.csproj new file mode 100644 index 0000000000..646640b229 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/System.Reflection.Metadata.9.0.0.csproj @@ -0,0 +1,18 @@ + + + + net8.0;net9.0;netstandard2.0 + 9.0.0 + System.Reflection.Metadata + + + + + + + + + + + + diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net8.0/System.Reflection.Metadata.cs b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net8.0/System.Reflection.Metadata.cs new file mode 100644 index 0000000000..dbbca9b24c --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net8.0/System.Reflection.Metadata.cs @@ -0,0 +1,5512 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Reflection.Metadata.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.Metadata")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides a low-level .NET (ECMA-335) metadata reader and writer. It's geared for performance and is the ideal choice for building higher-level libraries that intend to provide their own object model, such as compilers. The metadata format is defined by the ECMA-335 - Common Language Infrastructure (CLI) specification.\r\n\r\nThe System.Reflection.Metadata library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.Metadata")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + [Flags] + public enum AssemblyFlags + { + PublicKey = 1, + Retargetable = 256, + WindowsRuntime = 512, + ContentTypeMask = 3584, + DisableJitCompileOptimizer = 16384, + EnableJitCompileTracking = 32768 + } + + public enum AssemblyHashAlgorithm + { + None = 0, + MD5 = 32771, + Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782 + } + + public enum DeclarativeSecurityAction : short + { + None = 0, + Demand = 2, + Assert = 3, + Deny = 4, + PermitOnly = 5, + LinkDemand = 6, + InheritanceDemand = 7, + RequestMinimum = 8, + RequestOptional = 9, + RequestRefuse = 10 + } + + [Flags] + public enum ManifestResourceAttributes + { + Public = 1, + Private = 2, + VisibilityMask = 7 + } + + [Flags] + public enum MethodImportAttributes : short + { + None = 0, + ExactSpelling = 1, + CharSetAnsi = 2, + CharSetUnicode = 4, + CharSetAuto = 6, + CharSetMask = 6, + BestFitMappingEnable = 16, + BestFitMappingDisable = 32, + BestFitMappingMask = 48, + SetLastError = 64, + CallingConventionWinApi = 256, + CallingConventionCDecl = 512, + CallingConventionStdCall = 768, + CallingConventionThisCall = 1024, + CallingConventionFastCall = 1280, + CallingConventionMask = 1792, + ThrowOnUnmappableCharEnable = 4096, + ThrowOnUnmappableCharDisable = 8192, + ThrowOnUnmappableCharMask = 12288 + } + + [Flags] + public enum MethodSemanticsAttributes + { + Setter = 1, + Getter = 2, + Other = 4, + Adder = 8, + Remover = 16, + Raiser = 32 + } +} + +namespace System.Reflection.Metadata +{ + public readonly partial struct ArrayShape + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + + public Collections.Immutable.ImmutableArray LowerBounds { get { throw null; } } + + public int Rank { get { throw null; } } + + public Collections.Immutable.ImmutableArray Sizes { get { throw null; } } + } + + public readonly partial struct AssemblyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + + public AssemblyFlags Flags { get { throw null; } } + + public AssemblyHashAlgorithm HashAlgorithm { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle PublicKey { get { throw null; } } + + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + } + + public readonly partial struct AssemblyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + + public static explicit operator AssemblyDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyDefinitionHandle handle) { throw null; } + + public static bool operator !=(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + } + + public readonly partial struct AssemblyFile + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool ContainsMetadata { get { throw null; } } + + public BlobHandle HashValue { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyFileHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyFileHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + + public static explicit operator AssemblyFileHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyFileHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyFileHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyFileHandle handle) { throw null; } + + public static bool operator !=(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + } + + public readonly partial struct AssemblyFileHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public AssemblyFileHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public sealed partial class AssemblyNameInfo + { + public AssemblyNameInfo(string name, Version? version = null, string? cultureName = null, AssemblyNameFlags flags = AssemblyNameFlags.None, Collections.Immutable.ImmutableArray publicKeyOrToken = default) { } + + public string? CultureName { get { throw null; } } + + public AssemblyNameFlags Flags { get { throw null; } } + + public string FullName { get { throw null; } } + + public string Name { get { throw null; } } + + public Collections.Immutable.ImmutableArray PublicKeyOrToken { get { throw null; } } + + public Version? Version { get { throw null; } } + + public static AssemblyNameInfo Parse(ReadOnlySpan assemblyName) { throw null; } + + public AssemblyName ToAssemblyName() { throw null; } + + public static bool TryParse(ReadOnlySpan assemblyName, out AssemblyNameInfo? result) { throw null; } + } + + public readonly partial struct AssemblyReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + + public AssemblyFlags Flags { get { throw null; } } + + public BlobHandle HashValue { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle PublicKeyOrToken { get { throw null; } } + + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + + public static explicit operator AssemblyReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyReferenceHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyReferenceHandle handle) { throw null; } + + public static bool operator !=(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + } + + public readonly partial struct AssemblyReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public AssemblyReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Blob + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsDefault { get { throw null; } } + + public int Length { get { throw null; } } + + public readonly ArraySegment GetBytes() { throw null; } + } + + public partial class BlobBuilder + { + public BlobBuilder(int capacity = 256) { } + + protected internal int ChunkCapacity { get { throw null; } } + + public int Count { get { throw null; } } + + protected int FreeBytes { get { throw null; } } + + public void Align(int alignment) { } + + protected virtual BlobBuilder AllocateChunk(int minimalSize) { throw null; } + + public void Clear() { } + + public bool ContentEquals(BlobBuilder other) { throw null; } + + protected void Free() { } + + protected virtual void FreeChunk() { } + + public Blobs GetBlobs() { throw null; } + + public void LinkPrefix(BlobBuilder prefix) { } + + public void LinkSuffix(BlobBuilder suffix) { } + + public void PadTo(int position) { } + + public Blob ReserveBytes(int byteCount) { throw null; } + + public byte[] ToArray() { throw null; } + + public byte[] ToArray(int start, int byteCount) { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + + public int TryWriteBytes(IO.Stream source, int byteCount) { throw null; } + + public void WriteBoolean(bool value) { } + + public void WriteByte(byte value) { } + + public void WriteBytes(byte value, int byteCount) { } + + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + + public void WriteBytes(byte[] buffer) { } + + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + + public void WriteCompressedInteger(int value) { } + + public void WriteCompressedSignedInteger(int value) { } + + public void WriteConstant(object? value) { } + + public void WriteContentTo(IO.Stream destination) { } + + public void WriteContentTo(BlobBuilder destination) { } + + public void WriteContentTo(ref BlobWriter destination) { } + + public void WriteDateTime(DateTime value) { } + + public void WriteDecimal(decimal value) { } + + public void WriteDouble(double value) { } + + public void WriteGuid(Guid value) { } + + public void WriteInt16(short value) { } + + public void WriteInt16BE(short value) { } + + public void WriteInt32(int value) { } + + public void WriteInt32BE(int value) { } + + public void WriteInt64(long value) { } + + public void WriteReference(int reference, bool isSmall) { } + + public void WriteSByte(sbyte value) { } + + public void WriteSerializedString(string? value) { } + + public void WriteSingle(float value) { } + + public void WriteUInt16(ushort value) { } + + public void WriteUInt16BE(ushort value) { } + + public void WriteUInt32(uint value) { } + + public void WriteUInt32BE(uint value) { } + + public void WriteUInt64(ulong value) { } + + public void WriteUserString(string value) { } + + public void WriteUTF16(char[] value) { } + + public void WriteUTF16(string value) { } + + public void WriteUTF8(string value, bool allowUnpairedSurrogates = true) { } + + public partial struct Blobs : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + public Blob Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public Blobs GetEnumerator() { throw null; } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct BlobContentId : IEquatable + { + private readonly int _dummyPrimitive; + public BlobContentId(byte[] id) { } + + public BlobContentId(Collections.Immutable.ImmutableArray id) { } + + public BlobContentId(Guid guid, uint stamp) { } + + public Guid Guid { get { throw null; } } + + public bool IsDefault { get { throw null; } } + + public uint Stamp { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(BlobContentId other) { throw null; } + + public static BlobContentId FromHash(byte[] hashCode) { throw null; } + + public static BlobContentId FromHash(Collections.Immutable.ImmutableArray hashCode) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static Func, BlobContentId> GetTimeBasedProvider() { throw null; } + + public static bool operator ==(BlobContentId left, BlobContentId right) { throw null; } + + public static bool operator !=(BlobContentId left, BlobContentId right) { throw null; } + } + + public readonly partial struct BlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(BlobHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(BlobHandle left, BlobHandle right) { throw null; } + + public static explicit operator BlobHandle(Handle handle) { throw null; } + + public static implicit operator Handle(BlobHandle handle) { throw null; } + + public static bool operator !=(BlobHandle left, BlobHandle right) { throw null; } + } + + public partial struct BlobReader + { + private object _dummy; + private int _dummyPrimitive; + public unsafe BlobReader(byte* buffer, int length) { } + + public unsafe byte* CurrentPointer { get { throw null; } } + + public int Length { get { throw null; } } + + public int Offset { get { throw null; } set { } } + + public int RemainingBytes { get { throw null; } } + + public unsafe byte* StartPointer { get { throw null; } } + + public void Align(byte alignment) { } + + public int IndexOf(byte value) { throw null; } + + public BlobHandle ReadBlobHandle() { throw null; } + + public bool ReadBoolean() { throw null; } + + public byte ReadByte() { throw null; } + + public void ReadBytes(int byteCount, byte[] buffer, int bufferOffset) { } + + public byte[] ReadBytes(int byteCount) { throw null; } + + public char ReadChar() { throw null; } + + public int ReadCompressedInteger() { throw null; } + + public int ReadCompressedSignedInteger() { throw null; } + + public object? ReadConstant(ConstantTypeCode typeCode) { throw null; } + + public DateTime ReadDateTime() { throw null; } + + public decimal ReadDecimal() { throw null; } + + public double ReadDouble() { throw null; } + + public Guid ReadGuid() { throw null; } + + public short ReadInt16() { throw null; } + + public int ReadInt32() { throw null; } + + public long ReadInt64() { throw null; } + + public sbyte ReadSByte() { throw null; } + + public SerializationTypeCode ReadSerializationTypeCode() { throw null; } + + public string? ReadSerializedString() { throw null; } + + public SignatureHeader ReadSignatureHeader() { throw null; } + + public SignatureTypeCode ReadSignatureTypeCode() { throw null; } + + public float ReadSingle() { throw null; } + + public EntityHandle ReadTypeHandle() { throw null; } + + public ushort ReadUInt16() { throw null; } + + public uint ReadUInt32() { throw null; } + + public ulong ReadUInt64() { throw null; } + + public string ReadUTF16(int byteCount) { throw null; } + + public string ReadUTF8(int byteCount) { throw null; } + + public void Reset() { } + + public bool TryReadCompressedInteger(out int value) { throw null; } + + public bool TryReadCompressedSignedInteger(out int value) { throw null; } + } + + public partial struct BlobWriter + { + private object _dummy; + private int _dummyPrimitive; + public BlobWriter(byte[] buffer, int start, int count) { } + + public BlobWriter(byte[] buffer) { } + + public BlobWriter(int size) { } + + public BlobWriter(Blob blob) { } + + public Blob Blob { get { throw null; } } + + public int Length { get { throw null; } } + + public int Offset { get { throw null; } set { } } + + public int RemainingBytes { get { throw null; } } + + public void Align(int alignment) { } + + public void Clear() { } + + public bool ContentEquals(BlobWriter other) { throw null; } + + public void PadTo(int offset) { } + + public byte[] ToArray() { throw null; } + + public byte[] ToArray(int start, int byteCount) { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + + public void WriteBoolean(bool value) { } + + public void WriteByte(byte value) { } + + public void WriteBytes(byte value, int byteCount) { } + + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + + public void WriteBytes(byte[] buffer) { } + + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + + public int WriteBytes(IO.Stream source, int byteCount) { throw null; } + + public void WriteBytes(BlobBuilder source) { } + + public void WriteCompressedInteger(int value) { } + + public void WriteCompressedSignedInteger(int value) { } + + public void WriteConstant(object? value) { } + + public void WriteDateTime(DateTime value) { } + + public void WriteDecimal(decimal value) { } + + public void WriteDouble(double value) { } + + public void WriteGuid(Guid value) { } + + public void WriteInt16(short value) { } + + public void WriteInt16BE(short value) { } + + public void WriteInt32(int value) { } + + public void WriteInt32BE(int value) { } + + public void WriteInt64(long value) { } + + public void WriteReference(int reference, bool isSmall) { } + + public void WriteSByte(sbyte value) { } + + public void WriteSerializedString(string? str) { } + + public void WriteSingle(float value) { } + + public void WriteUInt16(ushort value) { } + + public void WriteUInt16BE(ushort value) { } + + public void WriteUInt32(uint value) { } + + public void WriteUInt32BE(uint value) { } + + public void WriteUInt64(ulong value) { } + + public void WriteUserString(string value) { } + + public void WriteUTF16(char[] value) { } + + public void WriteUTF16(string value) { } + + public void WriteUTF8(string value, bool allowUnpairedSurrogates) { } + } + + public readonly partial struct Constant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Parent { get { throw null; } } + + public ConstantTypeCode TypeCode { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct ConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ConstantHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ConstantHandle left, ConstantHandle right) { throw null; } + + public static explicit operator ConstantHandle(EntityHandle handle) { throw null; } + + public static explicit operator ConstantHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ConstantHandle handle) { throw null; } + + public static implicit operator Handle(ConstantHandle handle) { throw null; } + + public static bool operator !=(ConstantHandle left, ConstantHandle right) { throw null; } + } + + public enum ConstantTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + NullReference = 18 + } + + public readonly partial struct CustomAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Constructor { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + + public readonly CustomAttributeValue DecodeValue(ICustomAttributeTypeProvider provider) { throw null; } + } + + public readonly partial struct CustomAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(CustomAttributeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + + public static explicit operator CustomAttributeHandle(EntityHandle handle) { throw null; } + + public static explicit operator CustomAttributeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(CustomAttributeHandle handle) { throw null; } + + public static implicit operator Handle(CustomAttributeHandle handle) { throw null; } + + public static bool operator !=(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + } + + public readonly partial struct CustomAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum CustomAttributeNamedArgumentKind : byte + { + Field = 83, + Property = 84 + } + + public readonly partial struct CustomAttributeNamedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgument(string? name, CustomAttributeNamedArgumentKind kind, TType type, object? value) { } + + public CustomAttributeNamedArgumentKind Kind { get { throw null; } } + + public string? Name { get { throw null; } } + + public TType Type { get { throw null; } } + + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeTypedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeTypedArgument(TType type, object? value) { } + + public TType Type { get { throw null; } } + + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeValue + { + private readonly Collections.Immutable.ImmutableArray> _FixedArguments_k__BackingField; + private readonly Collections.Immutable.ImmutableArray> _NamedArguments_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeValue(Collections.Immutable.ImmutableArray> fixedArguments, Collections.Immutable.ImmutableArray> namedArguments) { } + + public Collections.Immutable.ImmutableArray> FixedArguments { get { throw null; } } + + public Collections.Immutable.ImmutableArray> NamedArguments { get { throw null; } } + } + + public readonly partial struct CustomDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle Kind { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct CustomDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(CustomDebugInformationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + + public static explicit operator CustomDebugInformationHandle(EntityHandle handle) { throw null; } + + public static explicit operator CustomDebugInformationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(CustomDebugInformationHandle handle) { throw null; } + + public static implicit operator Handle(CustomDebugInformationHandle handle) { throw null; } + + public static bool operator !=(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + } + + public readonly partial struct CustomDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public sealed partial class DebugMetadataHeader + { + internal DebugMetadataHeader() { } + + public MethodDefinitionHandle EntryPoint { get { throw null; } } + + public Collections.Immutable.ImmutableArray Id { get { throw null; } } + + public int IdStartOffset { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeclarativeSecurityAction Action { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle PermissionSet { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DeclarativeSecurityAttributeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + + public static explicit operator DeclarativeSecurityAttributeHandle(EntityHandle handle) { throw null; } + + public static explicit operator DeclarativeSecurityAttributeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public static implicit operator Handle(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public static bool operator !=(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + } + + public readonly partial struct DeclarativeSecurityAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DeclarativeSecurityAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Document + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Hash { get { throw null; } } + + public GuidHandle HashAlgorithm { get { throw null; } } + + public GuidHandle Language { get { throw null; } } + + public DocumentNameBlobHandle Name { get { throw null; } } + } + + public readonly partial struct DocumentHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DocumentHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DocumentHandle left, DocumentHandle right) { throw null; } + + public static explicit operator DocumentHandle(EntityHandle handle) { throw null; } + + public static explicit operator DocumentHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(DocumentHandle handle) { throw null; } + + public static implicit operator Handle(DocumentHandle handle) { throw null; } + + public static bool operator !=(DocumentHandle left, DocumentHandle right) { throw null; } + } + + public readonly partial struct DocumentHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DocumentHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct DocumentNameBlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DocumentNameBlobHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + + public static explicit operator DocumentNameBlobHandle(BlobHandle handle) { throw null; } + + public static implicit operator BlobHandle(DocumentNameBlobHandle handle) { throw null; } + + public static bool operator !=(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + } + + public readonly partial struct EntityHandle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EntityHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(EntityHandle left, EntityHandle right) { throw null; } + + public static explicit operator EntityHandle(Handle handle) { throw null; } + + public static implicit operator Handle(EntityHandle handle) { throw null; } + + public static bool operator !=(EntityHandle left, EntityHandle right) { throw null; } + } + + public readonly partial struct EventAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Adder { get { throw null; } } + + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + + public MethodDefinitionHandle Raiser { get { throw null; } } + + public MethodDefinitionHandle Remover { get { throw null; } } + } + + public readonly partial struct EventDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EventAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public EntityHandle Type { get { throw null; } } + + public readonly EventAccessors GetAccessors() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct EventDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EventDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + + public static explicit operator EventDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator EventDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(EventDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(EventDefinitionHandle handle) { throw null; } + + public static bool operator !=(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + } + + public readonly partial struct EventDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public EventDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ExceptionRegion + { + private readonly int _dummyPrimitive; + public EntityHandle CatchType { get { throw null; } } + + public int FilterOffset { get { throw null; } } + + public int HandlerLength { get { throw null; } } + + public int HandlerOffset { get { throw null; } } + + public ExceptionRegionKind Kind { get { throw null; } } + + public int TryLength { get { throw null; } } + + public int TryOffset { get { throw null; } } + } + + public enum ExceptionRegionKind : ushort + { + Catch = 0, + Filter = 1, + Finally = 2, + Fault = 4 + } + + public readonly partial struct ExportedType + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + + public EntityHandle Implementation { get { throw null; } } + + public bool IsForwarder { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ExportedTypeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ExportedTypeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + + public static explicit operator ExportedTypeHandle(EntityHandle handle) { throw null; } + + public static explicit operator ExportedTypeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ExportedTypeHandle handle) { throw null; } + + public static implicit operator Handle(ExportedTypeHandle handle) { throw null; } + + public static bool operator !=(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + } + + public readonly partial struct ExportedTypeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ExportedTypeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct FieldDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + + public readonly int GetOffset() { throw null; } + + public readonly int GetRelativeVirtualAddress() { throw null; } + } + + public readonly partial struct FieldDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(FieldDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + + public static explicit operator FieldDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator FieldDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(FieldDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(FieldDefinitionHandle handle) { throw null; } + + public static bool operator !=(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + } + + public readonly partial struct FieldDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public FieldDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterAttributes Attributes { get { throw null; } } + + public int Index { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public readonly GenericParameterConstraintHandleCollection GetConstraints() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraint + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterHandle Parameter { get { throw null; } } + + public EntityHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GenericParameterConstraintHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + + public static explicit operator GenericParameterConstraintHandle(EntityHandle handle) { throw null; } + + public static explicit operator GenericParameterConstraintHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(GenericParameterConstraintHandle handle) { throw null; } + + public static implicit operator Handle(GenericParameterConstraintHandle handle) { throw null; } + + public static bool operator !=(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterConstraintHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterConstraintHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GenericParameterHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + + public static explicit operator GenericParameterHandle(EntityHandle handle) { throw null; } + + public static explicit operator GenericParameterHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(GenericParameterHandle handle) { throw null; } + + public static implicit operator Handle(GenericParameterHandle handle) { throw null; } + + public static bool operator !=(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + } + + public readonly partial struct GenericParameterHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GuidHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GuidHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GuidHandle left, GuidHandle right) { throw null; } + + public static explicit operator GuidHandle(Handle handle) { throw null; } + + public static implicit operator Handle(GuidHandle handle) { throw null; } + + public static bool operator !=(GuidHandle left, GuidHandle right) { throw null; } + } + + public readonly partial struct Handle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(Handle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(Handle left, Handle right) { throw null; } + + public static bool operator !=(Handle left, Handle right) { throw null; } + } + + public sealed partial class HandleComparer : Collections.Generic.IEqualityComparer, Collections.Generic.IComparer, Collections.Generic.IEqualityComparer, Collections.Generic.IComparer + { + internal HandleComparer() { } + + public static HandleComparer Default { get { throw null; } } + + public int Compare(EntityHandle x, EntityHandle y) { throw null; } + + public int Compare(Handle x, Handle y) { throw null; } + + public bool Equals(EntityHandle x, EntityHandle y) { throw null; } + + public bool Equals(Handle x, Handle y) { throw null; } + + public int GetHashCode(EntityHandle obj) { throw null; } + + public int GetHashCode(Handle obj) { throw null; } + } + + public enum HandleKind : byte + { + ModuleDefinition = 0, + TypeReference = 1, + TypeDefinition = 2, + FieldDefinition = 4, + MethodDefinition = 6, + Parameter = 8, + InterfaceImplementation = 9, + MemberReference = 10, + Constant = 11, + CustomAttribute = 12, + DeclarativeSecurityAttribute = 14, + StandaloneSignature = 17, + EventDefinition = 20, + PropertyDefinition = 23, + MethodImplementation = 25, + ModuleReference = 26, + TypeSpecification = 27, + AssemblyDefinition = 32, + AssemblyReference = 35, + AssemblyFile = 38, + ExportedType = 39, + ManifestResource = 40, + GenericParameter = 42, + MethodSpecification = 43, + GenericParameterConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + CustomDebugInformation = 55, + UserString = 112, + Blob = 113, + Guid = 114, + String = 120, + NamespaceDefinition = 124 + } + + public partial interface IConstructedTypeProvider : ISZArrayTypeProvider + { + TType GetArrayType(TType elementType, ArrayShape shape); + TType GetByReferenceType(TType elementType); + TType GetGenericInstantiation(TType genericType, Collections.Immutable.ImmutableArray typeArguments); + TType GetPointerType(TType elementType); + } + + public partial interface ICustomAttributeTypeProvider : ISimpleTypeProvider, ISZArrayTypeProvider + { + TType GetSystemType(); + TType GetTypeFromSerializedName(string name); + PrimitiveTypeCode GetUnderlyingEnumType(TType type); + bool IsSystemType(TType type); + } + + public enum ILOpCode : ushort + { + Nop = 0, + Break = 1, + Ldarg_0 = 2, + Ldarg_1 = 3, + Ldarg_2 = 4, + Ldarg_3 = 5, + Ldloc_0 = 6, + Ldloc_1 = 7, + Ldloc_2 = 8, + Ldloc_3 = 9, + Stloc_0 = 10, + Stloc_1 = 11, + Stloc_2 = 12, + Stloc_3 = 13, + Ldarg_s = 14, + Ldarga_s = 15, + Starg_s = 16, + Ldloc_s = 17, + Ldloca_s = 18, + Stloc_s = 19, + Ldnull = 20, + Ldc_i4_m1 = 21, + Ldc_i4_0 = 22, + Ldc_i4_1 = 23, + Ldc_i4_2 = 24, + Ldc_i4_3 = 25, + Ldc_i4_4 = 26, + Ldc_i4_5 = 27, + Ldc_i4_6 = 28, + Ldc_i4_7 = 29, + Ldc_i4_8 = 30, + Ldc_i4_s = 31, + Ldc_i4 = 32, + Ldc_i8 = 33, + Ldc_r4 = 34, + Ldc_r8 = 35, + Dup = 37, + Pop = 38, + Jmp = 39, + Call = 40, + Calli = 41, + Ret = 42, + Br_s = 43, + Brfalse_s = 44, + Brtrue_s = 45, + Beq_s = 46, + Bge_s = 47, + Bgt_s = 48, + Ble_s = 49, + Blt_s = 50, + Bne_un_s = 51, + Bge_un_s = 52, + Bgt_un_s = 53, + Ble_un_s = 54, + Blt_un_s = 55, + Br = 56, + Brfalse = 57, + Brtrue = 58, + Beq = 59, + Bge = 60, + Bgt = 61, + Ble = 62, + Blt = 63, + Bne_un = 64, + Bge_un = 65, + Bgt_un = 66, + Ble_un = 67, + Blt_un = 68, + Switch = 69, + Ldind_i1 = 70, + Ldind_u1 = 71, + Ldind_i2 = 72, + Ldind_u2 = 73, + Ldind_i4 = 74, + Ldind_u4 = 75, + Ldind_i8 = 76, + Ldind_i = 77, + Ldind_r4 = 78, + Ldind_r8 = 79, + Ldind_ref = 80, + Stind_ref = 81, + Stind_i1 = 82, + Stind_i2 = 83, + Stind_i4 = 84, + Stind_i8 = 85, + Stind_r4 = 86, + Stind_r8 = 87, + Add = 88, + Sub = 89, + Mul = 90, + Div = 91, + Div_un = 92, + Rem = 93, + Rem_un = 94, + And = 95, + Or = 96, + Xor = 97, + Shl = 98, + Shr = 99, + Shr_un = 100, + Neg = 101, + Not = 102, + Conv_i1 = 103, + Conv_i2 = 104, + Conv_i4 = 105, + Conv_i8 = 106, + Conv_r4 = 107, + Conv_r8 = 108, + Conv_u4 = 109, + Conv_u8 = 110, + Callvirt = 111, + Cpobj = 112, + Ldobj = 113, + Ldstr = 114, + Newobj = 115, + Castclass = 116, + Isinst = 117, + Conv_r_un = 118, + Unbox = 121, + Throw = 122, + Ldfld = 123, + Ldflda = 124, + Stfld = 125, + Ldsfld = 126, + Ldsflda = 127, + Stsfld = 128, + Stobj = 129, + Conv_ovf_i1_un = 130, + Conv_ovf_i2_un = 131, + Conv_ovf_i4_un = 132, + Conv_ovf_i8_un = 133, + Conv_ovf_u1_un = 134, + Conv_ovf_u2_un = 135, + Conv_ovf_u4_un = 136, + Conv_ovf_u8_un = 137, + Conv_ovf_i_un = 138, + Conv_ovf_u_un = 139, + Box = 140, + Newarr = 141, + Ldlen = 142, + Ldelema = 143, + Ldelem_i1 = 144, + Ldelem_u1 = 145, + Ldelem_i2 = 146, + Ldelem_u2 = 147, + Ldelem_i4 = 148, + Ldelem_u4 = 149, + Ldelem_i8 = 150, + Ldelem_i = 151, + Ldelem_r4 = 152, + Ldelem_r8 = 153, + Ldelem_ref = 154, + Stelem_i = 155, + Stelem_i1 = 156, + Stelem_i2 = 157, + Stelem_i4 = 158, + Stelem_i8 = 159, + Stelem_r4 = 160, + Stelem_r8 = 161, + Stelem_ref = 162, + Ldelem = 163, + Stelem = 164, + Unbox_any = 165, + Conv_ovf_i1 = 179, + Conv_ovf_u1 = 180, + Conv_ovf_i2 = 181, + Conv_ovf_u2 = 182, + Conv_ovf_i4 = 183, + Conv_ovf_u4 = 184, + Conv_ovf_i8 = 185, + Conv_ovf_u8 = 186, + Refanyval = 194, + Ckfinite = 195, + Mkrefany = 198, + Ldtoken = 208, + Conv_u2 = 209, + Conv_u1 = 210, + Conv_i = 211, + Conv_ovf_i = 212, + Conv_ovf_u = 213, + Add_ovf = 214, + Add_ovf_un = 215, + Mul_ovf = 216, + Mul_ovf_un = 217, + Sub_ovf = 218, + Sub_ovf_un = 219, + Endfinally = 220, + Leave = 221, + Leave_s = 222, + Stind_i = 223, + Conv_u = 224, + Arglist = 65024, + Ceq = 65025, + Cgt = 65026, + Cgt_un = 65027, + Clt = 65028, + Clt_un = 65029, + Ldftn = 65030, + Ldvirtftn = 65031, + Ldarg = 65033, + Ldarga = 65034, + Starg = 65035, + Ldloc = 65036, + Ldloca = 65037, + Stloc = 65038, + Localloc = 65039, + Endfilter = 65041, + Unaligned = 65042, + Volatile = 65043, + Tail = 65044, + Initobj = 65045, + Constrained = 65046, + Cpblk = 65047, + Initblk = 65048, + Rethrow = 65050, + Sizeof = 65052, + Refanytype = 65053, + Readonly = 65054 + } + + public static partial class ILOpCodeExtensions + { + public static int GetBranchOperandSize(this ILOpCode opCode) { throw null; } + + public static ILOpCode GetLongBranch(this ILOpCode opCode) { throw null; } + + public static ILOpCode GetShortBranch(this ILOpCode opCode) { throw null; } + + public static bool IsBranch(this ILOpCode opCode) { throw null; } + } + + public partial class ImageFormatLimitationException : Exception + { + public ImageFormatLimitationException() { } + + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ImageFormatLimitationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public ImageFormatLimitationException(string? message, Exception? innerException) { } + + public ImageFormatLimitationException(string? message) { } + } + + public readonly partial struct ImportDefinition + { + private readonly int _dummyPrimitive; + public BlobHandle Alias { get { throw null; } } + + public ImportDefinitionKind Kind { get { throw null; } } + + public AssemblyReferenceHandle TargetAssembly { get { throw null; } } + + public BlobHandle TargetNamespace { get { throw null; } } + + public EntityHandle TargetType { get { throw null; } } + } + + public readonly partial struct ImportDefinitionCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ImportDefinition Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum ImportDefinitionKind + { + ImportNamespace = 1, + ImportAssemblyNamespace = 2, + ImportType = 3, + ImportXmlNamespace = 4, + ImportAssemblyReferenceAlias = 5, + AliasAssemblyReference = 6, + AliasNamespace = 7, + AliasAssemblyNamespace = 8, + AliasType = 9 + } + + public readonly partial struct ImportScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle ImportsBlob { get { throw null; } } + + public ImportScopeHandle Parent { get { throw null; } } + + public readonly ImportDefinitionCollection GetImports() { throw null; } + } + + public readonly partial struct ImportScopeCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ImportScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ImportScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ImportScopeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + + public static explicit operator ImportScopeHandle(EntityHandle handle) { throw null; } + + public static explicit operator ImportScopeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ImportScopeHandle handle) { throw null; } + + public static implicit operator Handle(ImportScopeHandle handle) { throw null; } + + public static bool operator !=(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Interface { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct InterfaceImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(InterfaceImplementationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + + public static explicit operator InterfaceImplementationHandle(EntityHandle handle) { throw null; } + + public static explicit operator InterfaceImplementationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(InterfaceImplementationHandle handle) { throw null; } + + public static implicit operator Handle(InterfaceImplementationHandle handle) { throw null; } + + public static bool operator !=(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public InterfaceImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public partial interface ISignatureTypeProvider : ISimpleTypeProvider, IConstructedTypeProvider, ISZArrayTypeProvider + { + TType GetFunctionPointerType(MethodSignature signature); + TType GetGenericMethodParameter(TGenericContext genericContext, int index); + TType GetGenericTypeParameter(TGenericContext genericContext, int index); + TType GetModifiedType(TType modifier, TType unmodifiedType, bool isRequired); + TType GetPinnedType(TType elementType); + TType GetTypeFromSpecification(MetadataReader reader, TGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind); + } + + public partial interface ISimpleTypeProvider + { + TType GetPrimitiveType(PrimitiveTypeCode typeCode); + TType GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind); + TType GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind); + } + + public partial interface ISZArrayTypeProvider + { + TType GetSZArrayType(TType elementType); + } + + public readonly partial struct LocalConstant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + } + + public readonly partial struct LocalConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalConstantHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + + public static explicit operator LocalConstantHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalConstantHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalConstantHandle handle) { throw null; } + + public static implicit operator Handle(LocalConstantHandle handle) { throw null; } + + public static bool operator !=(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + } + + public readonly partial struct LocalConstantHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalConstantHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int EndOffset { get { throw null; } } + + public ImportScopeHandle ImportScope { get { throw null; } } + + public int Length { get { throw null; } } + + public MethodDefinitionHandle Method { get { throw null; } } + + public int StartOffset { get { throw null; } } + + public readonly LocalScopeHandleCollection.ChildrenEnumerator GetChildren() { throw null; } + + public readonly LocalConstantHandleCollection GetLocalConstants() { throw null; } + + public readonly LocalVariableHandleCollection GetLocalVariables() { throw null; } + } + + public readonly partial struct LocalScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalScopeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + + public static explicit operator LocalScopeHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalScopeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalScopeHandle handle) { throw null; } + + public static implicit operator Handle(LocalScopeHandle handle) { throw null; } + + public static bool operator !=(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + } + + public readonly partial struct LocalScopeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct ChildrenEnumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalVariable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableAttributes Attributes { get { throw null; } } + + public int Index { get { throw null; } } + + public StringHandle Name { get { throw null; } } + } + + [Flags] + public enum LocalVariableAttributes + { + None = 0, + DebuggerHidden = 1 + } + + public readonly partial struct LocalVariableHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalVariableHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + + public static explicit operator LocalVariableHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalVariableHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalVariableHandle handle) { throw null; } + + public static implicit operator Handle(LocalVariableHandle handle) { throw null; } + + public static bool operator !=(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + } + + public readonly partial struct LocalVariableHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalVariableHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ManifestResource + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ManifestResourceAttributes Attributes { get { throw null; } } + + public EntityHandle Implementation { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public long Offset { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ManifestResourceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ManifestResourceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + + public static explicit operator ManifestResourceHandle(EntityHandle handle) { throw null; } + + public static explicit operator ManifestResourceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ManifestResourceHandle handle) { throw null; } + + public static implicit operator Handle(ManifestResourceHandle handle) { throw null; } + + public static bool operator !=(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + } + + public readonly partial struct ManifestResourceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ManifestResourceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MemberReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeFieldSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly MemberReferenceKind GetKind() { throw null; } + } + + public readonly partial struct MemberReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MemberReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + + public static explicit operator MemberReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator MemberReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MemberReferenceHandle handle) { throw null; } + + public static implicit operator Handle(MemberReferenceHandle handle) { throw null; } + + public static bool operator !=(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + } + + public readonly partial struct MemberReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MemberReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum MemberReferenceKind + { + Method = 0, + Field = 1 + } + + public enum MetadataKind + { + Ecma335 = 0, + WindowsMetadata = 1, + ManagedWindowsMetadata = 2 + } + + public sealed partial class MetadataReader + { + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { } + + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options) { } + + public unsafe MetadataReader(byte* metadata, int length) { } + + public AssemblyFileHandleCollection AssemblyFiles { get { throw null; } } + + public AssemblyReferenceHandleCollection AssemblyReferences { get { throw null; } } + + public CustomAttributeHandleCollection CustomAttributes { get { throw null; } } + + public CustomDebugInformationHandleCollection CustomDebugInformation { get { throw null; } } + + public DebugMetadataHeader? DebugMetadataHeader { get { throw null; } } + + public DeclarativeSecurityAttributeHandleCollection DeclarativeSecurityAttributes { get { throw null; } } + + public DocumentHandleCollection Documents { get { throw null; } } + + public EventDefinitionHandleCollection EventDefinitions { get { throw null; } } + + public ExportedTypeHandleCollection ExportedTypes { get { throw null; } } + + public FieldDefinitionHandleCollection FieldDefinitions { get { throw null; } } + + public ImportScopeCollection ImportScopes { get { throw null; } } + + public bool IsAssembly { get { throw null; } } + + public LocalConstantHandleCollection LocalConstants { get { throw null; } } + + public LocalScopeHandleCollection LocalScopes { get { throw null; } } + + public LocalVariableHandleCollection LocalVariables { get { throw null; } } + + public ManifestResourceHandleCollection ManifestResources { get { throw null; } } + + public MemberReferenceHandleCollection MemberReferences { get { throw null; } } + + public MetadataKind MetadataKind { get { throw null; } } + + public int MetadataLength { get { throw null; } } + + public unsafe byte* MetadataPointer { get { throw null; } } + + public string MetadataVersion { get { throw null; } } + + public MethodDebugInformationHandleCollection MethodDebugInformation { get { throw null; } } + + public MethodDefinitionHandleCollection MethodDefinitions { get { throw null; } } + + public MetadataReaderOptions Options { get { throw null; } } + + public PropertyDefinitionHandleCollection PropertyDefinitions { get { throw null; } } + + public MetadataStringComparer StringComparer { get { throw null; } } + + public TypeDefinitionHandleCollection TypeDefinitions { get { throw null; } } + + public TypeReferenceHandleCollection TypeReferences { get { throw null; } } + + public MetadataStringDecoder UTF8Decoder { get { throw null; } } + + public AssemblyDefinition GetAssemblyDefinition() { throw null; } + + public AssemblyFile GetAssemblyFile(AssemblyFileHandle handle) { throw null; } + + public static AssemblyName GetAssemblyName(string assemblyFile) { throw null; } + + public AssemblyReference GetAssemblyReference(AssemblyReferenceHandle handle) { throw null; } + + public byte[] GetBlobBytes(BlobHandle handle) { throw null; } + + public Collections.Immutable.ImmutableArray GetBlobContent(BlobHandle handle) { throw null; } + + public BlobReader GetBlobReader(BlobHandle handle) { throw null; } + + public BlobReader GetBlobReader(StringHandle handle) { throw null; } + + public Constant GetConstant(ConstantHandle handle) { throw null; } + + public CustomAttribute GetCustomAttribute(CustomAttributeHandle handle) { throw null; } + + public CustomAttributeHandleCollection GetCustomAttributes(EntityHandle handle) { throw null; } + + public CustomDebugInformation GetCustomDebugInformation(CustomDebugInformationHandle handle) { throw null; } + + public CustomDebugInformationHandleCollection GetCustomDebugInformation(EntityHandle handle) { throw null; } + + public DeclarativeSecurityAttribute GetDeclarativeSecurityAttribute(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public Document GetDocument(DocumentHandle handle) { throw null; } + + public EventDefinition GetEventDefinition(EventDefinitionHandle handle) { throw null; } + + public ExportedType GetExportedType(ExportedTypeHandle handle) { throw null; } + + public FieldDefinition GetFieldDefinition(FieldDefinitionHandle handle) { throw null; } + + public GenericParameter GetGenericParameter(GenericParameterHandle handle) { throw null; } + + public GenericParameterConstraint GetGenericParameterConstraint(GenericParameterConstraintHandle handle) { throw null; } + + public Guid GetGuid(GuidHandle handle) { throw null; } + + public ImportScope GetImportScope(ImportScopeHandle handle) { throw null; } + + public InterfaceImplementation GetInterfaceImplementation(InterfaceImplementationHandle handle) { throw null; } + + public LocalConstant GetLocalConstant(LocalConstantHandle handle) { throw null; } + + public LocalScope GetLocalScope(LocalScopeHandle handle) { throw null; } + + public LocalScopeHandleCollection GetLocalScopes(MethodDebugInformationHandle handle) { throw null; } + + public LocalScopeHandleCollection GetLocalScopes(MethodDefinitionHandle handle) { throw null; } + + public LocalVariable GetLocalVariable(LocalVariableHandle handle) { throw null; } + + public ManifestResource GetManifestResource(ManifestResourceHandle handle) { throw null; } + + public MemberReference GetMemberReference(MemberReferenceHandle handle) { throw null; } + + public MethodDebugInformation GetMethodDebugInformation(MethodDebugInformationHandle handle) { throw null; } + + public MethodDebugInformation GetMethodDebugInformation(MethodDefinitionHandle handle) { throw null; } + + public MethodDefinition GetMethodDefinition(MethodDefinitionHandle handle) { throw null; } + + public MethodImplementation GetMethodImplementation(MethodImplementationHandle handle) { throw null; } + + public MethodSpecification GetMethodSpecification(MethodSpecificationHandle handle) { throw null; } + + public ModuleDefinition GetModuleDefinition() { throw null; } + + public ModuleReference GetModuleReference(ModuleReferenceHandle handle) { throw null; } + + public NamespaceDefinition GetNamespaceDefinition(NamespaceDefinitionHandle handle) { throw null; } + + public NamespaceDefinition GetNamespaceDefinitionRoot() { throw null; } + + public Parameter GetParameter(ParameterHandle handle) { throw null; } + + public PropertyDefinition GetPropertyDefinition(PropertyDefinitionHandle handle) { throw null; } + + public StandaloneSignature GetStandaloneSignature(StandaloneSignatureHandle handle) { throw null; } + + public string GetString(DocumentNameBlobHandle handle) { throw null; } + + public string GetString(NamespaceDefinitionHandle handle) { throw null; } + + public string GetString(StringHandle handle) { throw null; } + + public TypeDefinition GetTypeDefinition(TypeDefinitionHandle handle) { throw null; } + + public TypeReference GetTypeReference(TypeReferenceHandle handle) { throw null; } + + public TypeSpecification GetTypeSpecification(TypeSpecificationHandle handle) { throw null; } + + public string GetUserString(UserStringHandle handle) { throw null; } + } + + [Flags] + public enum MetadataReaderOptions + { + None = 0, + ApplyWindowsRuntimeProjections = 1, + Default = 1 + } + + public sealed partial class MetadataReaderProvider : IDisposable + { + internal MetadataReaderProvider() { } + + public void Dispose() { } + + public static unsafe MetadataReaderProvider FromMetadataImage(byte* start, int size) { throw null; } + + public static MetadataReaderProvider FromMetadataImage(Collections.Immutable.ImmutableArray image) { throw null; } + + public static MetadataReaderProvider FromMetadataStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + + public static unsafe MetadataReaderProvider FromPortablePdbImage(byte* start, int size) { throw null; } + + public static MetadataReaderProvider FromPortablePdbImage(Collections.Immutable.ImmutableArray image) { throw null; } + + public static MetadataReaderProvider FromPortablePdbStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + + public MetadataReader GetMetadataReader(MetadataReaderOptions options = MetadataReaderOptions.ApplyWindowsRuntimeProjections, MetadataStringDecoder? utf8Decoder = null) { throw null; } + } + + [Flags] + public enum MetadataStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2 + } + + public readonly partial struct MetadataStringComparer + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly bool Equals(DocumentNameBlobHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(DocumentNameBlobHandle handle, string value) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle handle, string value) { throw null; } + + public readonly bool Equals(StringHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(StringHandle handle, string value) { throw null; } + + public readonly bool StartsWith(StringHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool StartsWith(StringHandle handle, string value) { throw null; } + } + + public partial class MetadataStringDecoder + { + public MetadataStringDecoder(Text.Encoding encoding) { } + + public static MetadataStringDecoder DefaultUTF8 { get { throw null; } } + + public Text.Encoding Encoding { get { throw null; } } + + public virtual unsafe string GetString(byte* bytes, int byteCount) { throw null; } + } + + public sealed partial class MethodBodyBlock + { + internal MethodBodyBlock() { } + + public Collections.Immutable.ImmutableArray ExceptionRegions { get { throw null; } } + + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + + public bool LocalVariablesInitialized { get { throw null; } } + + public int MaxStack { get { throw null; } } + + public int Size { get { throw null; } } + + public static MethodBodyBlock Create(BlobReader reader) { throw null; } + + public byte[]? GetILBytes() { throw null; } + + public Collections.Immutable.ImmutableArray GetILContent() { throw null; } + + public BlobReader GetILReader() { throw null; } + } + + public readonly partial struct MethodDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DocumentHandle Document { get { throw null; } } + + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + + public BlobHandle SequencePointsBlob { get { throw null; } } + + public readonly SequencePointCollection GetSequencePoints() { throw null; } + + public readonly MethodDefinitionHandle GetStateMachineKickoffMethod() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodDebugInformationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + + public static explicit operator MethodDebugInformationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodDebugInformationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodDebugInformationHandle handle) { throw null; } + + public static implicit operator Handle(MethodDebugInformationHandle handle) { throw null; } + + public static bool operator !=(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + + public readonly MethodDefinitionHandle ToDefinitionHandle() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodAttributes Attributes { get { throw null; } } + + public MethodImplAttributes ImplAttributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public int RelativeVirtualAddress { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + + public readonly MethodImport GetImport() { throw null; } + + public readonly ParameterHandleCollection GetParameters() { throw null; } + } + + public readonly partial struct MethodDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + + public static explicit operator MethodDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(MethodDefinitionHandle handle) { throw null; } + + public static bool operator !=(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + + public readonly MethodDebugInformationHandle ToDebugInformationHandle() { throw null; } + } + + public readonly partial struct MethodDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle MethodBody { get { throw null; } } + + public EntityHandle MethodDeclaration { get { throw null; } } + + public TypeDefinitionHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodImplementationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + + public static explicit operator MethodImplementationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodImplementationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodImplementationHandle handle) { throw null; } + + public static implicit operator Handle(MethodImplementationHandle handle) { throw null; } + + public static bool operator !=(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + } + + public readonly partial struct MethodImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MethodImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImport + { + private readonly int _dummyPrimitive; + public MethodImportAttributes Attributes { get { throw null; } } + + public ModuleReferenceHandle Module { get { throw null; } } + + public StringHandle Name { get { throw null; } } + } + + public readonly partial struct MethodSignature + { + private readonly TType _ReturnType_k__BackingField; + private readonly Collections.Immutable.ImmutableArray _ParameterTypes_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignature(SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, Collections.Immutable.ImmutableArray parameterTypes) { } + + public int GenericParameterCount { get { throw null; } } + + public SignatureHeader Header { get { throw null; } } + + public Collections.Immutable.ImmutableArray ParameterTypes { get { throw null; } } + + public int RequiredParameterCount { get { throw null; } } + + public TType ReturnType { get { throw null; } } + } + + public readonly partial struct MethodSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Method { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodSpecificationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + + public static explicit operator MethodSpecificationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodSpecificationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodSpecificationHandle handle) { throw null; } + + public static implicit operator Handle(MethodSpecificationHandle handle) { throw null; } + + public static bool operator !=(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + } + + public readonly partial struct ModuleDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle BaseGenerationId { get { throw null; } } + + public int Generation { get { throw null; } } + + public GuidHandle GenerationId { get { throw null; } } + + public GuidHandle Mvid { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ModuleDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + + public static explicit operator ModuleDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator ModuleDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ModuleDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(ModuleDefinitionHandle handle) { throw null; } + + public static bool operator !=(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + } + + public readonly partial struct ModuleReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ModuleReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + + public static explicit operator ModuleReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator ModuleReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ModuleReferenceHandle handle) { throw null; } + + public static implicit operator Handle(ModuleReferenceHandle handle) { throw null; } + + public static bool operator !=(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + } + + public partial struct NamespaceDefinition + { + private object _dummy; + private int _dummyPrimitive; + public Collections.Immutable.ImmutableArray ExportedTypes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public Collections.Immutable.ImmutableArray NamespaceDefinitions { get { throw null; } } + + public NamespaceDefinitionHandle Parent { get { throw null; } } + + public Collections.Immutable.ImmutableArray TypeDefinitions { get { throw null; } } + } + + public readonly partial struct NamespaceDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + + public static explicit operator NamespaceDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator Handle(NamespaceDefinitionHandle handle) { throw null; } + + public static bool operator !=(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + } + + public readonly partial struct Parameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public int SequenceNumber { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + } + + public readonly partial struct ParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ParameterHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ParameterHandle left, ParameterHandle right) { throw null; } + + public static explicit operator ParameterHandle(EntityHandle handle) { throw null; } + + public static explicit operator ParameterHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ParameterHandle handle) { throw null; } + + public static implicit operator Handle(ParameterHandle handle) { throw null; } + + public static bool operator !=(ParameterHandle left, ParameterHandle right) { throw null; } + } + + public readonly partial struct ParameterHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public static partial class PEReaderExtensions + { + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { throw null; } + + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options) { throw null; } + + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader) { throw null; } + + public static MethodBodyBlock GetMethodBody(this PortableExecutable.PEReader peReader, int relativeVirtualAddress) { throw null; } + } + + public enum PrimitiveSerializationTypeCode : byte + { + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14 + } + + public enum PrimitiveTypeCode : byte + { + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + Object = 28 + } + + public readonly partial struct PropertyAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Getter { get { throw null; } } + + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + + public MethodDefinitionHandle Setter { get { throw null; } } + } + + public readonly partial struct PropertyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PropertyAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly PropertyAccessors GetAccessors() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + } + + public readonly partial struct PropertyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(PropertyDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + + public static explicit operator PropertyDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator PropertyDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(PropertyDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(PropertyDefinitionHandle handle) { throw null; } + + public static bool operator !=(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + } + + public readonly partial struct PropertyDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public PropertyDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ReservedBlob + where THandle : struct + { + private readonly THandle _Handle_k__BackingField; + public Blob Content { get { throw null; } } + + public THandle Handle { get { throw null; } } + + public readonly BlobWriter CreateWriter() { throw null; } + } + + public readonly partial struct SequencePoint : IEquatable + { + private readonly int _dummyPrimitive; + public const int HiddenLine = 16707566; + public DocumentHandle Document { get { throw null; } } + + public int EndColumn { get { throw null; } } + + public int EndLine { get { throw null; } } + + public bool IsHidden { get { throw null; } } + + public int Offset { get { throw null; } } + + public int StartColumn { get { throw null; } } + + public int StartLine { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(SequencePoint other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + } + + public readonly partial struct SequencePointCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public SequencePoint Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum SerializationTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + SZArray = 29, + Type = 80, + TaggedObject = 81, + Enum = 85 + } + + [Flags] + public enum SignatureAttributes : byte + { + None = 0, + Generic = 16, + Instance = 32, + ExplicitThis = 64 + } + + public enum SignatureCallingConvention : byte + { + Default = 0, + CDecl = 1, + StdCall = 2, + ThisCall = 3, + FastCall = 4, + VarArgs = 5, + Unmanaged = 9 + } + + public partial struct SignatureHeader : IEquatable + { + private int _dummyPrimitive; + public const byte CallingConventionOrKindMask = 15; + public SignatureHeader(byte rawValue) { } + + public SignatureHeader(SignatureKind kind, SignatureCallingConvention convention, SignatureAttributes attributes) { } + + public SignatureAttributes Attributes { get { throw null; } } + + public SignatureCallingConvention CallingConvention { get { throw null; } } + + public bool HasExplicitThis { get { throw null; } } + + public bool IsGeneric { get { throw null; } } + + public bool IsInstance { get { throw null; } } + + public SignatureKind Kind { get { throw null; } } + + public byte RawValue { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + + public bool Equals(SignatureHeader other) { throw null; } + + public override int GetHashCode() { throw null; } + + public static bool operator ==(SignatureHeader left, SignatureHeader right) { throw null; } + + public static bool operator !=(SignatureHeader left, SignatureHeader right) { throw null; } + + public override string ToString() { throw null; } + } + + public enum SignatureKind : byte + { + Method = 0, + Field = 6, + LocalVariables = 7, + Property = 8, + MethodSpecification = 10 + } + + public enum SignatureTypeCode : byte + { + Invalid = 0, + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + Pointer = 15, + ByReference = 16, + GenericTypeParameter = 19, + Array = 20, + GenericTypeInstance = 21, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + FunctionPointer = 27, + Object = 28, + SZArray = 29, + GenericMethodParameter = 30, + RequiredModifier = 31, + OptionalModifier = 32, + TypeHandle = 64, + Sentinel = 65, + Pinned = 69 + } + + public enum SignatureTypeKind : byte + { + Unknown = 0, + ValueType = 17, + Class = 18 + } + + public readonly partial struct StandaloneSignature + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly StandaloneSignatureKind GetKind() { throw null; } + } + + public readonly partial struct StandaloneSignatureHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(StandaloneSignatureHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + + public static explicit operator StandaloneSignatureHandle(EntityHandle handle) { throw null; } + + public static explicit operator StandaloneSignatureHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(StandaloneSignatureHandle handle) { throw null; } + + public static implicit operator Handle(StandaloneSignatureHandle handle) { throw null; } + + public static bool operator !=(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + } + + public enum StandaloneSignatureKind + { + Method = 0, + LocalVariables = 1 + } + + public readonly partial struct StringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(StringHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(StringHandle left, StringHandle right) { throw null; } + + public static explicit operator StringHandle(Handle handle) { throw null; } + + public static implicit operator Handle(StringHandle handle) { throw null; } + + public static bool operator !=(StringHandle left, StringHandle right) { throw null; } + } + + public readonly partial struct TypeDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + + public EntityHandle BaseType { get { throw null; } } + + public bool IsNested { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly EventDefinitionHandleCollection GetEvents() { throw null; } + + public readonly FieldDefinitionHandleCollection GetFields() { throw null; } + + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + + public readonly InterfaceImplementationHandleCollection GetInterfaceImplementations() { throw null; } + + public readonly TypeLayout GetLayout() { throw null; } + + public readonly MethodImplementationHandleCollection GetMethodImplementations() { throw null; } + + public readonly MethodDefinitionHandleCollection GetMethods() { throw null; } + + public readonly Collections.Immutable.ImmutableArray GetNestedTypes() { throw null; } + + public readonly PropertyDefinitionHandleCollection GetProperties() { throw null; } + } + + public readonly partial struct TypeDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + + public static explicit operator TypeDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(TypeDefinitionHandle handle) { throw null; } + + public static bool operator !=(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + } + + public readonly partial struct TypeDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeLayout + { + private readonly int _dummyPrimitive; + public TypeLayout(int size, int packingSize) { } + + public bool IsDefault { get { throw null; } } + + public int PackingSize { get { throw null; } } + + public int Size { get { throw null; } } + } + + public sealed partial class TypeName + { + internal TypeName() { } + + public AssemblyNameInfo? AssemblyName { get { throw null; } } + + public string AssemblyQualifiedName { get { throw null; } } + + public TypeName DeclaringType { get { throw null; } } + + public string FullName { get { throw null; } } + + public bool IsArray { get { throw null; } } + + public bool IsByRef { get { throw null; } } + + public bool IsConstructedGenericType { get { throw null; } } + + public bool IsNested { get { throw null; } } + + public bool IsPointer { get { throw null; } } + + public bool IsSimple { get { throw null; } } + + public bool IsSZArray { get { throw null; } } + + public bool IsVariableBoundArrayType { get { throw null; } } + + public string Name { get { throw null; } } + + public int GetArrayRank() { throw null; } + + public TypeName GetElementType() { throw null; } + + public Collections.Immutable.ImmutableArray GetGenericArguments() { throw null; } + + public TypeName GetGenericTypeDefinition() { throw null; } + + public int GetNodeCount() { throw null; } + + public TypeName MakeArrayTypeName(int rank) { throw null; } + + public TypeName MakeByRefTypeName() { throw null; } + + public TypeName MakeGenericTypeName(Collections.Immutable.ImmutableArray typeArguments) { throw null; } + + public TypeName MakePointerTypeName() { throw null; } + + public TypeName MakeSZArrayTypeName() { throw null; } + + public static TypeName Parse(ReadOnlySpan typeName, TypeNameParseOptions? options = null) { throw null; } + + public static bool TryParse(ReadOnlySpan typeName, out TypeName? result, TypeNameParseOptions? options = null) { throw null; } + + public TypeName WithAssemblyName(AssemblyNameInfo? assemblyName) { throw null; } + } + + public sealed partial class TypeNameParseOptions + { + public int MaxNodes { get { throw null; } set { } } + } + + public readonly partial struct TypeReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public EntityHandle ResolutionScope { get { throw null; } } + } + + public readonly partial struct TypeReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + + public static explicit operator TypeReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeReferenceHandle handle) { throw null; } + + public static implicit operator Handle(TypeReferenceHandle handle) { throw null; } + + public static bool operator !=(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + } + + public readonly partial struct TypeReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct TypeSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeSpecificationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + + public static explicit operator TypeSpecificationHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeSpecificationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeSpecificationHandle handle) { throw null; } + + public static implicit operator Handle(TypeSpecificationHandle handle) { throw null; } + + public static bool operator !=(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + } + + public readonly partial struct UserStringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(UserStringHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(UserStringHandle left, UserStringHandle right) { throw null; } + + public static explicit operator UserStringHandle(Handle handle) { throw null; } + + public static implicit operator Handle(UserStringHandle handle) { throw null; } + + public static bool operator !=(UserStringHandle left, UserStringHandle right) { throw null; } + } +} + +namespace System.Reflection.Metadata.Ecma335 +{ + public readonly partial struct ArrayShapeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShapeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Shape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + } + + public readonly partial struct BlobEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void CustomAttributeSignature(Action fixedArguments, Action namedArguments) { } + + public readonly void CustomAttributeSignature(out FixedArgumentsEncoder fixedArguments, out CustomAttributeNamedArgumentsEncoder namedArguments) { throw null; } + + public readonly FieldTypeEncoder Field() { throw null; } + + public readonly SignatureTypeEncoder FieldSignature() { throw null; } + + public readonly LocalVariablesEncoder LocalVariableSignature(int variableCount) { throw null; } + + public readonly MethodSignatureEncoder MethodSignature(SignatureCallingConvention convention = SignatureCallingConvention.Default, int genericParameterCount = 0, bool isInstanceMethod = false) { throw null; } + + public readonly GenericTypeArgumentsEncoder MethodSpecificationSignature(int genericArgumentCount) { throw null; } + + public readonly NamedArgumentsEncoder PermissionSetArguments(int argumentCount) { throw null; } + + public readonly PermissionSetEncoder PermissionSetBlob(int attributeCount) { throw null; } + + public readonly MethodSignatureEncoder PropertySignature(bool isInstanceProperty = false) { throw null; } + + public readonly SignatureTypeEncoder TypeSpecificationSignature() { throw null; } + } + + public static partial class CodedIndex + { + public static int CustomAttributeType(EntityHandle handle) { throw null; } + + public static int HasConstant(EntityHandle handle) { throw null; } + + public static int HasCustomAttribute(EntityHandle handle) { throw null; } + + public static int HasCustomDebugInformation(EntityHandle handle) { throw null; } + + public static int HasDeclSecurity(EntityHandle handle) { throw null; } + + public static int HasFieldMarshal(EntityHandle handle) { throw null; } + + public static int HasSemantics(EntityHandle handle) { throw null; } + + public static int Implementation(EntityHandle handle) { throw null; } + + public static int MemberForwarded(EntityHandle handle) { throw null; } + + public static int MemberRefParent(EntityHandle handle) { throw null; } + + public static int MethodDefOrRef(EntityHandle handle) { throw null; } + + public static int ResolutionScope(EntityHandle handle) { throw null; } + + public static int TypeDefOrRef(EntityHandle handle) { throw null; } + + public static int TypeDefOrRefOrSpec(EntityHandle handle) { throw null; } + + public static int TypeOrMethodDef(EntityHandle handle) { throw null; } + } + + public sealed partial class ControlFlowBuilder + { + public void AddCatchRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, EntityHandle catchType) { } + + public void AddFaultRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + + public void AddFilterRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, LabelHandle filterStart) { } + + public void AddFinallyRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + + public void Clear() { } + } + + public readonly partial struct CustomAttributeArrayTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeArrayTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomAttributeElementTypeEncoder ElementType() { throw null; } + + public readonly void ObjectArray() { } + } + + public readonly partial struct CustomAttributeElementTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeElementTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Boolean() { } + + public readonly void Byte() { } + + public readonly void Char() { } + + public readonly void Double() { } + + public readonly void Enum(string enumTypeName) { } + + public readonly void Int16() { } + + public readonly void Int32() { } + + public readonly void Int64() { } + + public readonly void PrimitiveType(PrimitiveSerializationTypeCode type) { } + + public readonly void SByte() { } + + public readonly void Single() { } + + public readonly void String() { } + + public readonly void SystemType() { } + + public readonly void UInt16() { } + + public readonly void UInt32() { } + + public readonly void UInt64() { } + } + + public readonly partial struct CustomAttributeNamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly NamedArgumentsEncoder Count(int count) { throw null; } + } + + public readonly partial struct CustomModifiersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomModifiersEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder AddModifier(EntityHandle type, bool isOptional) { throw null; } + } + + public readonly partial struct EditAndContinueLogEntry : IEquatable + { + private readonly int _dummyPrimitive; + public EditAndContinueLogEntry(EntityHandle handle, EditAndContinueOperation operation) { } + + public EntityHandle Handle { get { throw null; } } + + public EditAndContinueOperation Operation { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EditAndContinueLogEntry other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + } + + public enum EditAndContinueOperation + { + Default = 0, + AddMethod = 1, + AddField = 2, + AddParameter = 3, + AddProperty = 4, + AddEvent = 5 + } + + public readonly partial struct ExceptionRegionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobBuilder Builder { get { throw null; } } + + public bool HasSmallFormat { get { throw null; } } + + public readonly ExceptionRegionEncoder Add(ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType = default, int filterOffset = 0) { throw null; } + + public readonly ExceptionRegionEncoder AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType) { throw null; } + + public readonly ExceptionRegionEncoder AddFault(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + + public readonly ExceptionRegionEncoder AddFilter(int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset) { throw null; } + + public readonly ExceptionRegionEncoder AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + + public static bool IsSmallExceptionRegion(int startOffset, int length) { throw null; } + + public static bool IsSmallRegionCount(int exceptionRegionCount) { throw null; } + } + + public static partial class ExportedTypeExtensions + { + public static int GetTypeDefinitionId(this ExportedType exportedType) { throw null; } + } + + public readonly partial struct FieldTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + } + + public readonly partial struct FixedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FixedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddArgument() { throw null; } + } + + public enum FunctionPointerAttributes + { + None = 0, + HasThis = 32, + HasExplicitThis = 96 + } + + public readonly partial struct GenericTypeArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericTypeArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly SignatureTypeEncoder AddArgument() { throw null; } + } + + public enum HeapIndex + { + UserString = 0, + String = 1, + Blob = 2, + Guid = 3 + } + + public readonly partial struct InstructionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public InstructionEncoder(BlobBuilder codeBuilder, ControlFlowBuilder? controlFlowBuilder = null) { } + + public BlobBuilder CodeBuilder { get { throw null; } } + + public ControlFlowBuilder? ControlFlowBuilder { get { throw null; } } + + public int Offset { get { throw null; } } + + public readonly void Branch(ILOpCode code, LabelHandle label) { } + + public readonly void Call(EntityHandle methodHandle) { } + + public readonly void Call(MemberReferenceHandle methodHandle) { } + + public readonly void Call(MethodDefinitionHandle methodHandle) { } + + public readonly void Call(MethodSpecificationHandle methodHandle) { } + + public readonly void CallIndirect(StandaloneSignatureHandle signature) { } + + public readonly LabelHandle DefineLabel() { throw null; } + + public readonly void LoadArgument(int argumentIndex) { } + + public readonly void LoadArgumentAddress(int argumentIndex) { } + + public readonly void LoadConstantI4(int value) { } + + public readonly void LoadConstantI8(long value) { } + + public readonly void LoadConstantR4(float value) { } + + public readonly void LoadConstantR8(double value) { } + + public readonly void LoadLocal(int slotIndex) { } + + public readonly void LoadLocalAddress(int slotIndex) { } + + public readonly void LoadString(UserStringHandle handle) { } + + public readonly void MarkLabel(LabelHandle label) { } + + public readonly void OpCode(ILOpCode code) { } + + public readonly void StoreArgument(int argumentIndex) { } + + public readonly void StoreLocal(int slotIndex) { } + + public readonly SwitchInstructionEncoder Switch(int branchCount) { throw null; } + + public readonly void Token(int token) { } + + public readonly void Token(EntityHandle handle) { } + } + + public readonly partial struct LabelHandle : IEquatable + { + private readonly int _dummyPrimitive; + public int Id { get { throw null; } } + + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LabelHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LabelHandle left, LabelHandle right) { throw null; } + + public static bool operator !=(LabelHandle left, LabelHandle right) { throw null; } + } + + public readonly partial struct LiteralEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly ScalarEncoder Scalar() { throw null; } + + public readonly void TaggedScalar(Action type, Action scalar) { } + + public readonly void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar) { throw null; } + + public readonly void TaggedVector(Action arrayType, Action vector) { } + + public readonly void TaggedVector(out CustomAttributeArrayTypeEncoder arrayType, out VectorEncoder vector) { throw null; } + + public readonly VectorEncoder Vector() { throw null; } + } + + public readonly partial struct LiteralsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddLiteral() { throw null; } + } + + public readonly partial struct LocalVariablesEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariablesEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LocalVariableTypeEncoder AddVariable() { throw null; } + } + + public readonly partial struct LocalVariableTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false, bool isPinned = false) { throw null; } + + public readonly void TypedReference() { } + } + + public sealed partial class MetadataAggregator + { + public MetadataAggregator(Collections.Generic.IReadOnlyList? baseTableRowCounts, Collections.Generic.IReadOnlyList? baseHeapSizes, Collections.Generic.IReadOnlyList? deltaReaders) { } + + public MetadataAggregator(MetadataReader baseReader, Collections.Generic.IReadOnlyList deltaReaders) { } + + public Handle GetGenerationHandle(Handle handle, out int generation) { throw null; } + } + + public sealed partial class MetadataBuilder + { + public MetadataBuilder(int userStringHeapStartOffset = 0, int stringHeapStartOffset = 0, int blobHeapStartOffset = 0, int guidHeapStartOffset = 0) { } + + public AssemblyDefinitionHandle AddAssembly(StringHandle name, Version version, StringHandle culture, BlobHandle publicKey, AssemblyFlags flags, AssemblyHashAlgorithm hashAlgorithm) { throw null; } + + public AssemblyFileHandle AddAssemblyFile(StringHandle name, BlobHandle hashValue, bool containsMetadata) { throw null; } + + public AssemblyReferenceHandle AddAssemblyReference(StringHandle name, Version version, StringHandle culture, BlobHandle publicKeyOrToken, AssemblyFlags flags, BlobHandle hashValue) { throw null; } + + public ConstantHandle AddConstant(EntityHandle parent, object? value) { throw null; } + + public CustomAttributeHandle AddCustomAttribute(EntityHandle parent, EntityHandle constructor, BlobHandle value) { throw null; } + + public CustomDebugInformationHandle AddCustomDebugInformation(EntityHandle parent, GuidHandle kind, BlobHandle value) { throw null; } + + public DeclarativeSecurityAttributeHandle AddDeclarativeSecurityAttribute(EntityHandle parent, DeclarativeSecurityAction action, BlobHandle permissionSet) { throw null; } + + public DocumentHandle AddDocument(BlobHandle name, GuidHandle hashAlgorithm, BlobHandle hash, GuidHandle language) { throw null; } + + public void AddEncLogEntry(EntityHandle entity, EditAndContinueOperation code) { } + + public void AddEncMapEntry(EntityHandle entity) { } + + public EventDefinitionHandle AddEvent(EventAttributes attributes, StringHandle name, EntityHandle type) { throw null; } + + public void AddEventMap(TypeDefinitionHandle declaringType, EventDefinitionHandle eventList) { } + + public ExportedTypeHandle AddExportedType(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle implementation, int typeDefinitionId) { throw null; } + + public FieldDefinitionHandle AddFieldDefinition(FieldAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + + public void AddFieldLayout(FieldDefinitionHandle field, int offset) { } + + public void AddFieldRelativeVirtualAddress(FieldDefinitionHandle field, int offset) { } + + public GenericParameterHandle AddGenericParameter(EntityHandle parent, GenericParameterAttributes attributes, StringHandle name, int index) { throw null; } + + public GenericParameterConstraintHandle AddGenericParameterConstraint(GenericParameterHandle genericParameter, EntityHandle constraint) { throw null; } + + public ImportScopeHandle AddImportScope(ImportScopeHandle parentScope, BlobHandle imports) { throw null; } + + public InterfaceImplementationHandle AddInterfaceImplementation(TypeDefinitionHandle type, EntityHandle implementedInterface) { throw null; } + + public LocalConstantHandle AddLocalConstant(StringHandle name, BlobHandle signature) { throw null; } + + public LocalScopeHandle AddLocalScope(MethodDefinitionHandle method, ImportScopeHandle importScope, LocalVariableHandle variableList, LocalConstantHandle constantList, int startOffset, int length) { throw null; } + + public LocalVariableHandle AddLocalVariable(LocalVariableAttributes attributes, int index, StringHandle name) { throw null; } + + public ManifestResourceHandle AddManifestResource(ManifestResourceAttributes attributes, StringHandle name, EntityHandle implementation, uint offset) { throw null; } + + public void AddMarshallingDescriptor(EntityHandle parent, BlobHandle descriptor) { } + + public MemberReferenceHandle AddMemberReference(EntityHandle parent, StringHandle name, BlobHandle signature) { throw null; } + + public MethodDebugInformationHandle AddMethodDebugInformation(DocumentHandle document, BlobHandle sequencePoints) { throw null; } + + public MethodDefinitionHandle AddMethodDefinition(MethodAttributes attributes, MethodImplAttributes implAttributes, StringHandle name, BlobHandle signature, int bodyOffset, ParameterHandle parameterList) { throw null; } + + public MethodImplementationHandle AddMethodImplementation(TypeDefinitionHandle type, EntityHandle methodBody, EntityHandle methodDeclaration) { throw null; } + + public void AddMethodImport(MethodDefinitionHandle method, MethodImportAttributes attributes, StringHandle name, ModuleReferenceHandle module) { } + + public void AddMethodSemantics(EntityHandle association, MethodSemanticsAttributes semantics, MethodDefinitionHandle methodDefinition) { } + + public MethodSpecificationHandle AddMethodSpecification(EntityHandle method, BlobHandle instantiation) { throw null; } + + public ModuleDefinitionHandle AddModule(int generation, StringHandle moduleName, GuidHandle mvid, GuidHandle encId, GuidHandle encBaseId) { throw null; } + + public ModuleReferenceHandle AddModuleReference(StringHandle moduleName) { throw null; } + + public void AddNestedType(TypeDefinitionHandle type, TypeDefinitionHandle enclosingType) { } + + public ParameterHandle AddParameter(ParameterAttributes attributes, StringHandle name, int sequenceNumber) { throw null; } + + public PropertyDefinitionHandle AddProperty(PropertyAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + + public void AddPropertyMap(TypeDefinitionHandle declaringType, PropertyDefinitionHandle propertyList) { } + + public StandaloneSignatureHandle AddStandaloneSignature(BlobHandle signature) { throw null; } + + public void AddStateMachineMethod(MethodDefinitionHandle moveNextMethod, MethodDefinitionHandle kickoffMethod) { } + + public TypeDefinitionHandle AddTypeDefinition(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle baseType, FieldDefinitionHandle fieldList, MethodDefinitionHandle methodList) { throw null; } + + public void AddTypeLayout(TypeDefinitionHandle type, ushort packingSize, uint size) { } + + public TypeReferenceHandle AddTypeReference(EntityHandle resolutionScope, StringHandle @namespace, StringHandle name) { throw null; } + + public TypeSpecificationHandle AddTypeSpecification(BlobHandle signature) { throw null; } + + public BlobHandle GetOrAddBlob(byte[] value) { throw null; } + + public BlobHandle GetOrAddBlob(Collections.Immutable.ImmutableArray value) { throw null; } + + public BlobHandle GetOrAddBlob(BlobBuilder value) { throw null; } + + public BlobHandle GetOrAddBlobUTF16(string value) { throw null; } + + public BlobHandle GetOrAddBlobUTF8(string value, bool allowUnpairedSurrogates = true) { throw null; } + + public BlobHandle GetOrAddConstantBlob(object? value) { throw null; } + + public BlobHandle GetOrAddDocumentName(string value) { throw null; } + + public GuidHandle GetOrAddGuid(Guid guid) { throw null; } + + public StringHandle GetOrAddString(string value) { throw null; } + + public UserStringHandle GetOrAddUserString(string value) { throw null; } + + public int GetRowCount(TableIndex table) { throw null; } + + public Collections.Immutable.ImmutableArray GetRowCounts() { throw null; } + + public ReservedBlob ReserveGuid() { throw null; } + + public ReservedBlob ReserveUserString(int length) { throw null; } + + public void SetCapacity(HeapIndex heap, int byteCount) { } + + public void SetCapacity(TableIndex table, int rowCount) { } + } + + public static partial class MetadataReaderExtensions + { + public static Collections.Generic.IEnumerable GetEditAndContinueLogEntries(this MetadataReader reader) { throw null; } + + public static Collections.Generic.IEnumerable GetEditAndContinueMapEntries(this MetadataReader reader) { throw null; } + + public static int GetHeapMetadataOffset(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + + public static int GetHeapSize(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + + public static BlobHandle GetNextHandle(this MetadataReader reader, BlobHandle handle) { throw null; } + + public static StringHandle GetNextHandle(this MetadataReader reader, StringHandle handle) { throw null; } + + public static UserStringHandle GetNextHandle(this MetadataReader reader, UserStringHandle handle) { throw null; } + + public static int GetTableMetadataOffset(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static int GetTableRowCount(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static int GetTableRowSize(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static Collections.Generic.IEnumerable GetTypesWithEvents(this MetadataReader reader) { throw null; } + + public static Collections.Generic.IEnumerable GetTypesWithProperties(this MetadataReader reader) { throw null; } + + public static SignatureTypeKind ResolveSignatureTypeKind(this MetadataReader reader, EntityHandle typeHandle, byte rawTypeKind) { throw null; } + } + + public sealed partial class MetadataRootBuilder + { + public MetadataRootBuilder(MetadataBuilder tablesAndHeaps, string? metadataVersion = null, bool suppressValidation = false) { } + + public string MetadataVersion { get { throw null; } } + + public MetadataSizes Sizes { get { throw null; } } + + public bool SuppressValidation { get { throw null; } } + + public void Serialize(BlobBuilder builder, int methodBodyStreamRva, int mappedFieldDataStreamRva) { } + } + + public sealed partial class MetadataSizes + { + internal MetadataSizes() { } + + public Collections.Immutable.ImmutableArray ExternalRowCounts { get { throw null; } } + + public Collections.Immutable.ImmutableArray HeapSizes { get { throw null; } } + + public Collections.Immutable.ImmutableArray RowCounts { get { throw null; } } + + public int GetAlignedHeapSize(HeapIndex index) { throw null; } + } + + public static partial class MetadataTokens + { + public static readonly int HeapCount; + public static readonly int TableCount; + public static AssemblyFileHandle AssemblyFileHandle(int rowNumber) { throw null; } + + public static AssemblyReferenceHandle AssemblyReferenceHandle(int rowNumber) { throw null; } + + public static BlobHandle BlobHandle(int offset) { throw null; } + + public static ConstantHandle ConstantHandle(int rowNumber) { throw null; } + + public static CustomAttributeHandle CustomAttributeHandle(int rowNumber) { throw null; } + + public static CustomDebugInformationHandle CustomDebugInformationHandle(int rowNumber) { throw null; } + + public static DeclarativeSecurityAttributeHandle DeclarativeSecurityAttributeHandle(int rowNumber) { throw null; } + + public static DocumentHandle DocumentHandle(int rowNumber) { throw null; } + + public static DocumentNameBlobHandle DocumentNameBlobHandle(int offset) { throw null; } + + public static EntityHandle EntityHandle(int token) { throw null; } + + public static EntityHandle EntityHandle(TableIndex tableIndex, int rowNumber) { throw null; } + + public static EventDefinitionHandle EventDefinitionHandle(int rowNumber) { throw null; } + + public static ExportedTypeHandle ExportedTypeHandle(int rowNumber) { throw null; } + + public static FieldDefinitionHandle FieldDefinitionHandle(int rowNumber) { throw null; } + + public static GenericParameterConstraintHandle GenericParameterConstraintHandle(int rowNumber) { throw null; } + + public static GenericParameterHandle GenericParameterHandle(int rowNumber) { throw null; } + + public static int GetHeapOffset(BlobHandle handle) { throw null; } + + public static int GetHeapOffset(GuidHandle handle) { throw null; } + + public static int GetHeapOffset(Handle handle) { throw null; } + + public static int GetHeapOffset(this MetadataReader reader, Handle handle) { throw null; } + + public static int GetHeapOffset(StringHandle handle) { throw null; } + + public static int GetHeapOffset(UserStringHandle handle) { throw null; } + + public static int GetRowNumber(EntityHandle handle) { throw null; } + + public static int GetRowNumber(this MetadataReader reader, EntityHandle handle) { throw null; } + + public static int GetToken(EntityHandle handle) { throw null; } + + public static int GetToken(Handle handle) { throw null; } + + public static int GetToken(this MetadataReader reader, EntityHandle handle) { throw null; } + + public static int GetToken(this MetadataReader reader, Handle handle) { throw null; } + + public static GuidHandle GuidHandle(int offset) { throw null; } + + public static Handle Handle(int token) { throw null; } + + public static EntityHandle Handle(TableIndex tableIndex, int rowNumber) { throw null; } + + public static ImportScopeHandle ImportScopeHandle(int rowNumber) { throw null; } + + public static InterfaceImplementationHandle InterfaceImplementationHandle(int rowNumber) { throw null; } + + public static LocalConstantHandle LocalConstantHandle(int rowNumber) { throw null; } + + public static LocalScopeHandle LocalScopeHandle(int rowNumber) { throw null; } + + public static LocalVariableHandle LocalVariableHandle(int rowNumber) { throw null; } + + public static ManifestResourceHandle ManifestResourceHandle(int rowNumber) { throw null; } + + public static MemberReferenceHandle MemberReferenceHandle(int rowNumber) { throw null; } + + public static MethodDebugInformationHandle MethodDebugInformationHandle(int rowNumber) { throw null; } + + public static MethodDefinitionHandle MethodDefinitionHandle(int rowNumber) { throw null; } + + public static MethodImplementationHandle MethodImplementationHandle(int rowNumber) { throw null; } + + public static MethodSpecificationHandle MethodSpecificationHandle(int rowNumber) { throw null; } + + public static ModuleReferenceHandle ModuleReferenceHandle(int rowNumber) { throw null; } + + public static ParameterHandle ParameterHandle(int rowNumber) { throw null; } + + public static PropertyDefinitionHandle PropertyDefinitionHandle(int rowNumber) { throw null; } + + public static StandaloneSignatureHandle StandaloneSignatureHandle(int rowNumber) { throw null; } + + public static StringHandle StringHandle(int offset) { throw null; } + + public static bool TryGetHeapIndex(HandleKind type, out HeapIndex index) { throw null; } + + public static bool TryGetTableIndex(HandleKind type, out TableIndex index) { throw null; } + + public static TypeDefinitionHandle TypeDefinitionHandle(int rowNumber) { throw null; } + + public static TypeReferenceHandle TypeReferenceHandle(int rowNumber) { throw null; } + + public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber) { throw null; } + + public static UserStringHandle UserStringHandle(int offset) { throw null; } + } + + [Flags] + public enum MethodBodyAttributes + { + None = 0, + InitLocals = 1 + } + + public readonly partial struct MethodBodyStreamEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodBodyStreamEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack = 8, int exceptionRegionCount = 0, bool hasSmallExceptionRegions = true, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack, int exceptionRegionCount, bool hasSmallExceptionRegions, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack = 8, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + + public readonly partial struct MethodBody + { + private readonly int _dummyPrimitive; + public ExceptionRegionEncoder ExceptionRegions { get { throw null; } } + + public Blob Instructions { get { throw null; } } + + public int Offset { get { throw null; } } + } + } + + public readonly partial struct MethodSignatureEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignatureEncoder(BlobBuilder builder, bool hasVarArgs) { } + + public BlobBuilder Builder { get { throw null; } } + + public bool HasVarArgs { get { throw null; } } + + public readonly void Parameters(int parameterCount, Action returnType, Action parameters) { } + + public readonly void Parameters(int parameterCount, out ReturnTypeEncoder returnType, out ParametersEncoder parameters) { throw null; } + } + + public readonly partial struct NamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void AddArgument(bool isField, Action type, Action name, Action literal) { } + + public readonly void AddArgument(bool isField, out NamedArgumentTypeEncoder type, out NameEncoder name, out LiteralEncoder literal) { throw null; } + } + + public readonly partial struct NamedArgumentTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Object() { } + + public readonly CustomAttributeElementTypeEncoder ScalarType() { throw null; } + + public readonly CustomAttributeArrayTypeEncoder SZArray() { throw null; } + } + + public readonly partial struct NameEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NameEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Name(string name) { } + } + + public readonly partial struct ParametersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParametersEncoder(BlobBuilder builder, bool hasVarArgs = false) { } + + public BlobBuilder Builder { get { throw null; } } + + public bool HasVarArgs { get { throw null; } } + + public readonly ParameterTypeEncoder AddParameter() { throw null; } + + public readonly ParametersEncoder StartVarArgs() { throw null; } + } + + public readonly partial struct ParameterTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + } + + public readonly partial struct PermissionSetEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PermissionSetEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly PermissionSetEncoder AddPermission(string typeName, Collections.Immutable.ImmutableArray encodedArguments) { throw null; } + + public readonly PermissionSetEncoder AddPermission(string typeName, BlobBuilder encodedArguments) { throw null; } + } + + public sealed partial class PortablePdbBuilder + { + public PortablePdbBuilder(MetadataBuilder tablesAndHeaps, Collections.Immutable.ImmutableArray typeSystemRowCounts, MethodDefinitionHandle entryPoint, Func, BlobContentId>? idProvider = null) { } + + public ushort FormatVersion { get { throw null; } } + + public Func, BlobContentId> IdProvider { get { throw null; } } + + public string MetadataVersion { get { throw null; } } + + public BlobContentId Serialize(BlobBuilder builder) { throw null; } + } + + public readonly partial struct ReturnTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReturnTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + + public readonly void Void() { } + } + + public readonly partial struct ScalarEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ScalarEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Constant(object? value) { } + + public readonly void NullArray() { } + + public readonly void SystemType(string? serializedTypeName) { } + } + + public readonly partial struct SignatureDecoder + { + private readonly ISignatureTypeProvider _provider; + private readonly TGenericContext _genericContext; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureDecoder(ISignatureTypeProvider provider, MetadataReader metadataReader, TGenericContext genericContext) { } + + public readonly TType DecodeFieldSignature(ref BlobReader blobReader) { throw null; } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ref BlobReader blobReader) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ref BlobReader blobReader) { throw null; } + + public readonly Collections.Immutable.ImmutableArray DecodeMethodSpecificationSignature(ref BlobReader blobReader) { throw null; } + + public readonly TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications = false) { throw null; } + } + + public readonly partial struct SignatureTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Array(Action elementType, Action arrayShape) { } + + public readonly void Array(out SignatureTypeEncoder elementType, out ArrayShapeEncoder arrayShape) { throw null; } + + public readonly void Boolean() { } + + public readonly void Byte() { } + + public readonly void Char() { } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly void Double() { } + + public readonly MethodSignatureEncoder FunctionPointer(SignatureCallingConvention convention = SignatureCallingConvention.Default, FunctionPointerAttributes attributes = FunctionPointerAttributes.None, int genericParameterCount = 0) { throw null; } + + public readonly GenericTypeArgumentsEncoder GenericInstantiation(EntityHandle genericType, int genericArgumentCount, bool isValueType) { throw null; } + + public readonly void GenericMethodTypeParameter(int parameterIndex) { } + + public readonly void GenericTypeParameter(int parameterIndex) { } + + public readonly void Int16() { } + + public readonly void Int32() { } + + public readonly void Int64() { } + + public readonly void IntPtr() { } + + public readonly void Object() { } + + public readonly SignatureTypeEncoder Pointer() { throw null; } + + public readonly void PrimitiveType(PrimitiveTypeCode type) { } + + public readonly void SByte() { } + + public readonly void Single() { } + + public readonly void String() { } + + public readonly SignatureTypeEncoder SZArray() { throw null; } + + public readonly void Type(EntityHandle type, bool isValueType) { } + + public readonly void TypedReference() { } + + public readonly void UInt16() { } + + public readonly void UInt32() { } + + public readonly void UInt64() { } + + public readonly void UIntPtr() { } + + public readonly void VoidPointer() { } + } + + public readonly partial struct SwitchInstructionEncoder + { + private readonly int _dummyPrimitive; + public readonly void Branch(LabelHandle label) { } + } + + public enum TableIndex : byte + { + Module = 0, + TypeRef = 1, + TypeDef = 2, + FieldPtr = 3, + Field = 4, + MethodPtr = 5, + MethodDef = 6, + ParamPtr = 7, + Param = 8, + InterfaceImpl = 9, + MemberRef = 10, + Constant = 11, + CustomAttribute = 12, + FieldMarshal = 13, + DeclSecurity = 14, + ClassLayout = 15, + FieldLayout = 16, + StandAloneSig = 17, + EventMap = 18, + EventPtr = 19, + Event = 20, + PropertyMap = 21, + PropertyPtr = 22, + Property = 23, + MethodSemantics = 24, + MethodImpl = 25, + ModuleRef = 26, + TypeSpec = 27, + ImplMap = 28, + FieldRva = 29, + EncLog = 30, + EncMap = 31, + Assembly = 32, + AssemblyProcessor = 33, + AssemblyOS = 34, + AssemblyRef = 35, + AssemblyRefProcessor = 36, + AssemblyRefOS = 37, + File = 38, + ExportedType = 39, + ManifestResource = 40, + NestedClass = 41, + GenericParam = 42, + MethodSpec = 43, + GenericParamConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + StateMachineMethod = 54, + CustomDebugInformation = 55 + } + + public readonly partial struct VectorEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public VectorEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralsEncoder Count(int count) { throw null; } + } +} + +namespace System.Reflection.PortableExecutable +{ + [Flags] + public enum Characteristics : ushort + { + RelocsStripped = 1, + ExecutableImage = 2, + LineNumsStripped = 4, + LocalSymsStripped = 8, + AggressiveWSTrim = 16, + LargeAddressAware = 32, + BytesReversedLo = 128, + Bit32Machine = 256, + DebugStripped = 512, + RemovableRunFromSwap = 1024, + NetRunFromSwap = 2048, + System = 4096, + Dll = 8192, + UpSystemOnly = 16384, + BytesReversedHi = 32768 + } + + public readonly partial struct CodeViewDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Age { get { throw null; } } + + public Guid Guid { get { throw null; } } + + public string Path { get { throw null; } } + } + + public sealed partial class CoffHeader + { + internal CoffHeader() { } + + public Characteristics Characteristics { get { throw null; } } + + public Machine Machine { get { throw null; } } + + public short NumberOfSections { get { throw null; } } + + public int NumberOfSymbols { get { throw null; } } + + public int PointerToSymbolTable { get { throw null; } } + + public short SizeOfOptionalHeader { get { throw null; } } + + public int TimeDateStamp { get { throw null; } } + } + + [Flags] + public enum CorFlags + { + ILOnly = 1, + Requires32Bit = 2, + ILLibrary = 4, + StrongNameSigned = 8, + NativeEntryPoint = 16, + TrackDebugData = 65536, + Prefers32Bit = 131072 + } + + public sealed partial class CorHeader + { + internal CorHeader() { } + + public DirectoryEntry CodeManagerTableDirectory { get { throw null; } } + + public int EntryPointTokenOrRelativeVirtualAddress { get { throw null; } } + + public DirectoryEntry ExportAddressTableJumpsDirectory { get { throw null; } } + + public CorFlags Flags { get { throw null; } } + + public ushort MajorRuntimeVersion { get { throw null; } } + + public DirectoryEntry ManagedNativeHeaderDirectory { get { throw null; } } + + public DirectoryEntry MetadataDirectory { get { throw null; } } + + public ushort MinorRuntimeVersion { get { throw null; } } + + public DirectoryEntry ResourcesDirectory { get { throw null; } } + + public DirectoryEntry StrongNameSignatureDirectory { get { throw null; } } + + public DirectoryEntry VtableFixupsDirectory { get { throw null; } } + } + + public sealed partial class DebugDirectoryBuilder + { + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion, int age) { } + + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion) { } + + public void AddEmbeddedPortablePdbEntry(Metadata.BlobBuilder debugMetadata, ushort portablePdbVersion) { } + + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp) { } + + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action dataSerializer) { } + + public void AddPdbChecksumEntry(string algorithmName, Collections.Immutable.ImmutableArray checksum) { } + + public void AddReproducibleEntry() { } + } + + public readonly partial struct DebugDirectoryEntry + { + private readonly int _dummyPrimitive; + public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer) { } + + public int DataPointer { get { throw null; } } + + public int DataRelativeVirtualAddress { get { throw null; } } + + public int DataSize { get { throw null; } } + + public bool IsPortableCodeView { get { throw null; } } + + public ushort MajorVersion { get { throw null; } } + + public ushort MinorVersion { get { throw null; } } + + public uint Stamp { get { throw null; } } + + public DebugDirectoryEntryType Type { get { throw null; } } + } + + public enum DebugDirectoryEntryType + { + Unknown = 0, + Coff = 1, + CodeView = 2, + Reproducible = 16, + EmbeddedPortablePdb = 17, + PdbChecksum = 19 + } + + public readonly partial struct DirectoryEntry + { + public readonly int RelativeVirtualAddress; + public readonly int Size; + public DirectoryEntry(int relativeVirtualAddress, int size) { } + } + + [Flags] + public enum DllCharacteristics : ushort + { + ProcessInit = 1, + ProcessTerm = 2, + ThreadInit = 4, + ThreadTerm = 8, + HighEntropyVirtualAddressSpace = 32, + DynamicBase = 64, + ForceIntegrity = 128, + NxCompatible = 256, + NoIsolation = 512, + NoSeh = 1024, + NoBind = 2048, + AppContainer = 4096, + WdmDriver = 8192, + ControlFlowGuard = 16384, + TerminalServerAware = 32768 + } + + public enum Machine : ushort + { + Unknown = 0, + I386 = 332, + WceMipsV2 = 361, + Alpha = 388, + SH3 = 418, + SH3Dsp = 419, + SH3E = 420, + SH4 = 422, + SH5 = 424, + Arm = 448, + Thumb = 450, + ArmThumb2 = 452, + AM33 = 467, + PowerPC = 496, + PowerPCFP = 497, + IA64 = 512, + MIPS16 = 614, + Alpha64 = 644, + MipsFpu = 870, + MipsFpu16 = 1126, + Tricore = 1312, + Ebc = 3772, + RiscV32 = 20530, + RiscV64 = 20580, + RiscV128 = 20776, + LoongArch32 = 25138, + LoongArch64 = 25188, + Amd64 = 34404, + M32R = 36929, + Arm64 = 43620 + } + + public partial class ManagedPEBuilder : PEBuilder + { + public const int ManagedResourcesDataAlignment = 8; + public const int MappedFieldDataAlignment = 8; + public ManagedPEBuilder(PEHeaderBuilder header, Metadata.Ecma335.MetadataRootBuilder metadataRootBuilder, Metadata.BlobBuilder ilStream, Metadata.BlobBuilder? mappedFieldData = null, Metadata.BlobBuilder? managedResources = null, ResourceSectionBuilder? nativeResources = null, DebugDirectoryBuilder? debugDirectoryBuilder = null, int strongNameSignatureSize = 128, Metadata.MethodDefinitionHandle entryPoint = default, CorFlags flags = CorFlags.ILOnly, Func, Metadata.BlobContentId>? deterministicIdProvider = null) : base(default!, default) { } + + protected override Collections.Immutable.ImmutableArray
CreateSections() { throw null; } + + protected internal override PEDirectoriesBuilder GetDirectories() { throw null; } + + protected override Metadata.BlobBuilder SerializeSection(string name, SectionLocation location) { throw null; } + + public void Sign(Metadata.BlobBuilder peImage, Func, byte[]> signatureProvider) { } + } + + public readonly partial struct PdbChecksumDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string AlgorithmName { get { throw null; } } + + public Collections.Immutable.ImmutableArray Checksum { get { throw null; } } + } + + public abstract partial class PEBuilder + { + protected PEBuilder(PEHeaderBuilder header, Func, Metadata.BlobContentId>? deterministicIdProvider) { } + + public PEHeaderBuilder Header { get { throw null; } } + + public Func, Metadata.BlobContentId> IdProvider { get { throw null; } } + + public bool IsDeterministic { get { throw null; } } + + protected abstract Collections.Immutable.ImmutableArray
CreateSections(); + protected internal abstract PEDirectoriesBuilder GetDirectories(); + protected Collections.Immutable.ImmutableArray
GetSections() { throw null; } + + public Metadata.BlobContentId Serialize(Metadata.BlobBuilder builder) { throw null; } + + protected abstract Metadata.BlobBuilder SerializeSection(string name, SectionLocation location); + protected readonly partial struct Section + { + public readonly SectionCharacteristics Characteristics; + public readonly string Name; + public Section(string name, SectionCharacteristics characteristics) { } + } + } + + public sealed partial class PEDirectoriesBuilder + { + public int AddressOfEntryPoint { get { throw null; } set { } } + + public DirectoryEntry BaseRelocationTable { get { throw null; } set { } } + + public DirectoryEntry BoundImportTable { get { throw null; } set { } } + + public DirectoryEntry CopyrightTable { get { throw null; } set { } } + + public DirectoryEntry CorHeaderTable { get { throw null; } set { } } + + public DirectoryEntry DebugTable { get { throw null; } set { } } + + public DirectoryEntry DelayImportTable { get { throw null; } set { } } + + public DirectoryEntry ExceptionTable { get { throw null; } set { } } + + public DirectoryEntry ExportTable { get { throw null; } set { } } + + public DirectoryEntry GlobalPointerTable { get { throw null; } set { } } + + public DirectoryEntry ImportAddressTable { get { throw null; } set { } } + + public DirectoryEntry ImportTable { get { throw null; } set { } } + + public DirectoryEntry LoadConfigTable { get { throw null; } set { } } + + public DirectoryEntry ResourceTable { get { throw null; } set { } } + + public DirectoryEntry ThreadLocalStorageTable { get { throw null; } set { } } + } + + public sealed partial class PEHeader + { + internal PEHeader() { } + + public int AddressOfEntryPoint { get { throw null; } } + + public int BaseOfCode { get { throw null; } } + + public int BaseOfData { get { throw null; } } + + public DirectoryEntry BaseRelocationTableDirectory { get { throw null; } } + + public DirectoryEntry BoundImportTableDirectory { get { throw null; } } + + public DirectoryEntry CertificateTableDirectory { get { throw null; } } + + public uint CheckSum { get { throw null; } } + + public DirectoryEntry CopyrightTableDirectory { get { throw null; } } + + public DirectoryEntry CorHeaderTableDirectory { get { throw null; } } + + public DirectoryEntry DebugTableDirectory { get { throw null; } } + + public DirectoryEntry DelayImportTableDirectory { get { throw null; } } + + public DllCharacteristics DllCharacteristics { get { throw null; } } + + public DirectoryEntry ExceptionTableDirectory { get { throw null; } } + + public DirectoryEntry ExportTableDirectory { get { throw null; } } + + public int FileAlignment { get { throw null; } } + + public DirectoryEntry GlobalPointerTableDirectory { get { throw null; } } + + public ulong ImageBase { get { throw null; } } + + public DirectoryEntry ImportAddressTableDirectory { get { throw null; } } + + public DirectoryEntry ImportTableDirectory { get { throw null; } } + + public DirectoryEntry LoadConfigTableDirectory { get { throw null; } } + + public PEMagic Magic { get { throw null; } } + + public ushort MajorImageVersion { get { throw null; } } + + public byte MajorLinkerVersion { get { throw null; } } + + public ushort MajorOperatingSystemVersion { get { throw null; } } + + public ushort MajorSubsystemVersion { get { throw null; } } + + public ushort MinorImageVersion { get { throw null; } } + + public byte MinorLinkerVersion { get { throw null; } } + + public ushort MinorOperatingSystemVersion { get { throw null; } } + + public ushort MinorSubsystemVersion { get { throw null; } } + + public int NumberOfRvaAndSizes { get { throw null; } } + + public DirectoryEntry ResourceTableDirectory { get { throw null; } } + + public int SectionAlignment { get { throw null; } } + + public int SizeOfCode { get { throw null; } } + + public int SizeOfHeaders { get { throw null; } } + + public ulong SizeOfHeapCommit { get { throw null; } } + + public ulong SizeOfHeapReserve { get { throw null; } } + + public int SizeOfImage { get { throw null; } } + + public int SizeOfInitializedData { get { throw null; } } + + public ulong SizeOfStackCommit { get { throw null; } } + + public ulong SizeOfStackReserve { get { throw null; } } + + public int SizeOfUninitializedData { get { throw null; } } + + public Subsystem Subsystem { get { throw null; } } + + public DirectoryEntry ThreadLocalStorageTableDirectory { get { throw null; } } + } + + public sealed partial class PEHeaderBuilder + { + public PEHeaderBuilder(Machine machine = Machine.Unknown, int sectionAlignment = 8192, int fileAlignment = 512, ulong imageBase = 4194304, byte majorLinkerVersion = 48, byte minorLinkerVersion = 0, ushort majorOperatingSystemVersion = 4, ushort minorOperatingSystemVersion = 0, ushort majorImageVersion = 0, ushort minorImageVersion = 0, ushort majorSubsystemVersion = 4, ushort minorSubsystemVersion = 0, Subsystem subsystem = Subsystem.WindowsCui, DllCharacteristics dllCharacteristics = DllCharacteristics.DynamicBase | DllCharacteristics.NxCompatible | DllCharacteristics.NoSeh | DllCharacteristics.TerminalServerAware, Characteristics imageCharacteristics = Characteristics.Dll, ulong sizeOfStackReserve = 1048576, ulong sizeOfStackCommit = 4096, ulong sizeOfHeapReserve = 1048576, ulong sizeOfHeapCommit = 4096) { } + + public DllCharacteristics DllCharacteristics { get { throw null; } } + + public int FileAlignment { get { throw null; } } + + public ulong ImageBase { get { throw null; } } + + public Characteristics ImageCharacteristics { get { throw null; } } + + public Machine Machine { get { throw null; } } + + public ushort MajorImageVersion { get { throw null; } } + + public byte MajorLinkerVersion { get { throw null; } } + + public ushort MajorOperatingSystemVersion { get { throw null; } } + + public ushort MajorSubsystemVersion { get { throw null; } } + + public ushort MinorImageVersion { get { throw null; } } + + public byte MinorLinkerVersion { get { throw null; } } + + public ushort MinorOperatingSystemVersion { get { throw null; } } + + public ushort MinorSubsystemVersion { get { throw null; } } + + public int SectionAlignment { get { throw null; } } + + public ulong SizeOfHeapCommit { get { throw null; } } + + public ulong SizeOfHeapReserve { get { throw null; } } + + public ulong SizeOfStackCommit { get { throw null; } } + + public ulong SizeOfStackReserve { get { throw null; } } + + public Subsystem Subsystem { get { throw null; } } + + public static PEHeaderBuilder CreateExecutableHeader() { throw null; } + + public static PEHeaderBuilder CreateLibraryHeader() { throw null; } + } + + public sealed partial class PEHeaders + { + public PEHeaders(IO.Stream peStream, int size, bool isLoadedImage) { } + + public PEHeaders(IO.Stream peStream, int size) { } + + public PEHeaders(IO.Stream peStream) { } + + public CoffHeader CoffHeader { get { throw null; } } + + public int CoffHeaderStartOffset { get { throw null; } } + + public CorHeader? CorHeader { get { throw null; } } + + public int CorHeaderStartOffset { get { throw null; } } + + public bool IsCoffOnly { get { throw null; } } + + public bool IsConsoleApplication { get { throw null; } } + + public bool IsDll { get { throw null; } } + + public bool IsExe { get { throw null; } } + + public int MetadataSize { get { throw null; } } + + public int MetadataStartOffset { get { throw null; } } + + public PEHeader? PEHeader { get { throw null; } } + + public int PEHeaderStartOffset { get { throw null; } } + + public Collections.Immutable.ImmutableArray SectionHeaders { get { throw null; } } + + public int GetContainingSectionIndex(int relativeVirtualAddress) { throw null; } + + public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset) { throw null; } + } + + public enum PEMagic : ushort + { + PE32 = 267, + PE32Plus = 523 + } + + public readonly partial struct PEMemoryBlock + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Length { get { throw null; } } + + public unsafe byte* Pointer { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray GetContent() { throw null; } + + public readonly Collections.Immutable.ImmutableArray GetContent(int start, int length) { throw null; } + + public readonly Metadata.BlobReader GetReader() { throw null; } + + public readonly Metadata.BlobReader GetReader(int start, int length) { throw null; } + } + + public sealed partial class PEReader : IDisposable + { + public unsafe PEReader(byte* peImage, int size, bool isLoadedImage) { } + + public unsafe PEReader(byte* peImage, int size) { } + + public PEReader(Collections.Immutable.ImmutableArray peImage) { } + + public PEReader(IO.Stream peStream, PEStreamOptions options, int size) { } + + public PEReader(IO.Stream peStream, PEStreamOptions options) { } + + public PEReader(IO.Stream peStream) { } + + public bool HasMetadata { get { throw null; } } + + public bool IsEntireImageAvailable { get { throw null; } } + + public bool IsLoadedImage { get { throw null; } } + + public PEHeaders PEHeaders { get { throw null; } } + + public void Dispose() { } + + public PEMemoryBlock GetEntireImage() { throw null; } + + public PEMemoryBlock GetMetadata() { throw null; } + + public PEMemoryBlock GetSectionData(int relativeVirtualAddress) { throw null; } + + public PEMemoryBlock GetSectionData(string sectionName) { throw null; } + + public CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public Collections.Immutable.ImmutableArray ReadDebugDirectory() { throw null; } + + public Metadata.MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public PdbChecksumDebugDirectoryData ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public bool TryOpenAssociatedPortablePdb(string peImagePath, Func pdbFileStreamProvider, out Metadata.MetadataReaderProvider? pdbReaderProvider, out string? pdbPath) { throw null; } + } + + [Flags] + public enum PEStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2, + PrefetchEntireImage = 4, + IsLoadedImage = 8 + } + + public abstract partial class ResourceSectionBuilder + { + protected internal abstract void Serialize(Metadata.BlobBuilder builder, SectionLocation location); + } + + [Flags] + public enum SectionCharacteristics : uint + { + MemWrite = 2147483648U, + TypeReg = 0U, + TypeDSect = 1U, + TypeNoLoad = 2U, + TypeGroup = 4U, + TypeNoPad = 8U, + TypeCopy = 16U, + ContainsCode = 32U, + ContainsInitializedData = 64U, + ContainsUninitializedData = 128U, + LinkerOther = 256U, + LinkerInfo = 512U, + TypeOver = 1024U, + LinkerRemove = 2048U, + LinkerComdat = 4096U, + MemProtected = 16384U, + NoDeferSpecExc = 16384U, + GPRel = 32768U, + MemFardata = 32768U, + MemSysheap = 65536U, + Mem16Bit = 131072U, + MemPurgeable = 131072U, + MemLocked = 262144U, + MemPreload = 524288U, + Align1Bytes = 1048576U, + Align2Bytes = 2097152U, + Align4Bytes = 3145728U, + Align8Bytes = 4194304U, + Align16Bytes = 5242880U, + Align32Bytes = 6291456U, + Align64Bytes = 7340032U, + Align128Bytes = 8388608U, + Align256Bytes = 9437184U, + Align512Bytes = 10485760U, + Align1024Bytes = 11534336U, + Align2048Bytes = 12582912U, + Align4096Bytes = 13631488U, + Align8192Bytes = 14680064U, + AlignMask = 15728640U, + LinkerNRelocOvfl = 16777216U, + MemDiscardable = 33554432U, + MemNotCached = 67108864U, + MemNotPaged = 134217728U, + MemShared = 268435456U, + MemExecute = 536870912U, + MemRead = 1073741824U + } + + public readonly partial struct SectionHeader + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string Name { get { throw null; } } + + public ushort NumberOfLineNumbers { get { throw null; } } + + public ushort NumberOfRelocations { get { throw null; } } + + public int PointerToLineNumbers { get { throw null; } } + + public int PointerToRawData { get { throw null; } } + + public int PointerToRelocations { get { throw null; } } + + public SectionCharacteristics SectionCharacteristics { get { throw null; } } + + public int SizeOfRawData { get { throw null; } } + + public int VirtualAddress { get { throw null; } } + + public int VirtualSize { get { throw null; } } + } + + public readonly partial struct SectionLocation + { + private readonly int _dummyPrimitive; + public SectionLocation(int relativeVirtualAddress, int pointerToRawData) { } + + public int PointerToRawData { get { throw null; } } + + public int RelativeVirtualAddress { get { throw null; } } + } + + public enum Subsystem : ushort + { + Unknown = 0, + Native = 1, + WindowsGui = 2, + WindowsCui = 3, + OS2Cui = 5, + PosixCui = 7, + NativeWindows = 8, + WindowsCEGui = 9, + EfiApplication = 10, + EfiBootServiceDriver = 11, + EfiRuntimeDriver = 12, + EfiRom = 13, + Xbox = 14, + WindowsBootApplication = 16 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net9.0/System.Reflection.Metadata.cs b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net9.0/System.Reflection.Metadata.cs new file mode 100644 index 0000000000..4313fb3939 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/net9.0/System.Reflection.Metadata.cs @@ -0,0 +1,5512 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Reflection.Metadata.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.Metadata")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides a low-level .NET (ECMA-335) metadata reader and writer. It's geared for performance and is the ideal choice for building higher-level libraries that intend to provide their own object model, such as compilers. The metadata format is defined by the ECMA-335 - Common Language Infrastructure (CLI) specification.\r\n\r\nThe System.Reflection.Metadata library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.Metadata")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + [Flags] + public enum AssemblyFlags + { + PublicKey = 1, + Retargetable = 256, + WindowsRuntime = 512, + ContentTypeMask = 3584, + DisableJitCompileOptimizer = 16384, + EnableJitCompileTracking = 32768 + } + + public enum AssemblyHashAlgorithm + { + None = 0, + MD5 = 32771, + Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782 + } + + public enum DeclarativeSecurityAction : short + { + None = 0, + Demand = 2, + Assert = 3, + Deny = 4, + PermitOnly = 5, + LinkDemand = 6, + InheritanceDemand = 7, + RequestMinimum = 8, + RequestOptional = 9, + RequestRefuse = 10 + } + + [Flags] + public enum ManifestResourceAttributes + { + Public = 1, + Private = 2, + VisibilityMask = 7 + } + + [Flags] + public enum MethodImportAttributes : short + { + None = 0, + ExactSpelling = 1, + CharSetAnsi = 2, + CharSetUnicode = 4, + CharSetAuto = 6, + CharSetMask = 6, + BestFitMappingEnable = 16, + BestFitMappingDisable = 32, + BestFitMappingMask = 48, + SetLastError = 64, + CallingConventionWinApi = 256, + CallingConventionCDecl = 512, + CallingConventionStdCall = 768, + CallingConventionThisCall = 1024, + CallingConventionFastCall = 1280, + CallingConventionMask = 1792, + ThrowOnUnmappableCharEnable = 4096, + ThrowOnUnmappableCharDisable = 8192, + ThrowOnUnmappableCharMask = 12288 + } + + [Flags] + public enum MethodSemanticsAttributes + { + Setter = 1, + Getter = 2, + Other = 4, + Adder = 8, + Remover = 16, + Raiser = 32 + } +} + +namespace System.Reflection.Metadata +{ + public readonly partial struct ArrayShape + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + + public Collections.Immutable.ImmutableArray LowerBounds { get { throw null; } } + + public int Rank { get { throw null; } } + + public Collections.Immutable.ImmutableArray Sizes { get { throw null; } } + } + + public readonly partial struct AssemblyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + + public AssemblyFlags Flags { get { throw null; } } + + public AssemblyHashAlgorithm HashAlgorithm { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle PublicKey { get { throw null; } } + + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + } + + public readonly partial struct AssemblyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + + public static explicit operator AssemblyDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyDefinitionHandle handle) { throw null; } + + public static bool operator !=(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + } + + public readonly partial struct AssemblyFile + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool ContainsMetadata { get { throw null; } } + + public BlobHandle HashValue { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyFileHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyFileHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + + public static explicit operator AssemblyFileHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyFileHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyFileHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyFileHandle handle) { throw null; } + + public static bool operator !=(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + } + + public readonly partial struct AssemblyFileHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public AssemblyFileHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public sealed partial class AssemblyNameInfo + { + public AssemblyNameInfo(string name, Version? version = null, string? cultureName = null, AssemblyNameFlags flags = AssemblyNameFlags.None, Collections.Immutable.ImmutableArray publicKeyOrToken = default) { } + + public string? CultureName { get { throw null; } } + + public AssemblyNameFlags Flags { get { throw null; } } + + public string FullName { get { throw null; } } + + public string Name { get { throw null; } } + + public Collections.Immutable.ImmutableArray PublicKeyOrToken { get { throw null; } } + + public Version? Version { get { throw null; } } + + public static AssemblyNameInfo Parse(ReadOnlySpan assemblyName) { throw null; } + + public AssemblyName ToAssemblyName() { throw null; } + + public static bool TryParse(ReadOnlySpan assemblyName, out AssemblyNameInfo? result) { throw null; } + } + + public readonly partial struct AssemblyReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + + public AssemblyFlags Flags { get { throw null; } } + + public BlobHandle HashValue { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle PublicKeyOrToken { get { throw null; } } + + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + + public static explicit operator AssemblyReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyReferenceHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyReferenceHandle handle) { throw null; } + + public static bool operator !=(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + } + + public readonly partial struct AssemblyReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public AssemblyReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Blob + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsDefault { get { throw null; } } + + public int Length { get { throw null; } } + + public readonly ArraySegment GetBytes() { throw null; } + } + + public partial class BlobBuilder + { + public BlobBuilder(int capacity = 256) { } + + protected internal int ChunkCapacity { get { throw null; } } + + public int Count { get { throw null; } } + + protected int FreeBytes { get { throw null; } } + + public void Align(int alignment) { } + + protected virtual BlobBuilder AllocateChunk(int minimalSize) { throw null; } + + public void Clear() { } + + public bool ContentEquals(BlobBuilder other) { throw null; } + + protected void Free() { } + + protected virtual void FreeChunk() { } + + public Blobs GetBlobs() { throw null; } + + public void LinkPrefix(BlobBuilder prefix) { } + + public void LinkSuffix(BlobBuilder suffix) { } + + public void PadTo(int position) { } + + public Blob ReserveBytes(int byteCount) { throw null; } + + public byte[] ToArray() { throw null; } + + public byte[] ToArray(int start, int byteCount) { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + + public int TryWriteBytes(IO.Stream source, int byteCount) { throw null; } + + public void WriteBoolean(bool value) { } + + public void WriteByte(byte value) { } + + public void WriteBytes(byte value, int byteCount) { } + + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + + public void WriteBytes(byte[] buffer) { } + + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + + public void WriteCompressedInteger(int value) { } + + public void WriteCompressedSignedInteger(int value) { } + + public void WriteConstant(object? value) { } + + public void WriteContentTo(IO.Stream destination) { } + + public void WriteContentTo(BlobBuilder destination) { } + + public void WriteContentTo(ref BlobWriter destination) { } + + public void WriteDateTime(DateTime value) { } + + public void WriteDecimal(decimal value) { } + + public void WriteDouble(double value) { } + + public void WriteGuid(Guid value) { } + + public void WriteInt16(short value) { } + + public void WriteInt16BE(short value) { } + + public void WriteInt32(int value) { } + + public void WriteInt32BE(int value) { } + + public void WriteInt64(long value) { } + + public void WriteReference(int reference, bool isSmall) { } + + public void WriteSByte(sbyte value) { } + + public void WriteSerializedString(string? value) { } + + public void WriteSingle(float value) { } + + public void WriteUInt16(ushort value) { } + + public void WriteUInt16BE(ushort value) { } + + public void WriteUInt32(uint value) { } + + public void WriteUInt32BE(uint value) { } + + public void WriteUInt64(ulong value) { } + + public void WriteUserString(string value) { } + + public void WriteUTF16(char[] value) { } + + public void WriteUTF16(string value) { } + + public void WriteUTF8(string value, bool allowUnpairedSurrogates = true) { } + + public partial struct Blobs : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + public Blob Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public Blobs GetEnumerator() { throw null; } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct BlobContentId : IEquatable + { + private readonly int _dummyPrimitive; + public BlobContentId(byte[] id) { } + + public BlobContentId(Collections.Immutable.ImmutableArray id) { } + + public BlobContentId(Guid guid, uint stamp) { } + + public Guid Guid { get { throw null; } } + + public bool IsDefault { get { throw null; } } + + public uint Stamp { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(BlobContentId other) { throw null; } + + public static BlobContentId FromHash(byte[] hashCode) { throw null; } + + public static BlobContentId FromHash(Collections.Immutable.ImmutableArray hashCode) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static Func, BlobContentId> GetTimeBasedProvider() { throw null; } + + public static bool operator ==(BlobContentId left, BlobContentId right) { throw null; } + + public static bool operator !=(BlobContentId left, BlobContentId right) { throw null; } + } + + public readonly partial struct BlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(BlobHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(BlobHandle left, BlobHandle right) { throw null; } + + public static explicit operator BlobHandle(Handle handle) { throw null; } + + public static implicit operator Handle(BlobHandle handle) { throw null; } + + public static bool operator !=(BlobHandle left, BlobHandle right) { throw null; } + } + + public partial struct BlobReader + { + private object _dummy; + private int _dummyPrimitive; + public unsafe BlobReader(byte* buffer, int length) { } + + public unsafe byte* CurrentPointer { get { throw null; } } + + public int Length { get { throw null; } } + + public int Offset { get { throw null; } set { } } + + public int RemainingBytes { get { throw null; } } + + public unsafe byte* StartPointer { get { throw null; } } + + public void Align(byte alignment) { } + + public int IndexOf(byte value) { throw null; } + + public BlobHandle ReadBlobHandle() { throw null; } + + public bool ReadBoolean() { throw null; } + + public byte ReadByte() { throw null; } + + public void ReadBytes(int byteCount, byte[] buffer, int bufferOffset) { } + + public byte[] ReadBytes(int byteCount) { throw null; } + + public char ReadChar() { throw null; } + + public int ReadCompressedInteger() { throw null; } + + public int ReadCompressedSignedInteger() { throw null; } + + public object? ReadConstant(ConstantTypeCode typeCode) { throw null; } + + public DateTime ReadDateTime() { throw null; } + + public decimal ReadDecimal() { throw null; } + + public double ReadDouble() { throw null; } + + public Guid ReadGuid() { throw null; } + + public short ReadInt16() { throw null; } + + public int ReadInt32() { throw null; } + + public long ReadInt64() { throw null; } + + public sbyte ReadSByte() { throw null; } + + public SerializationTypeCode ReadSerializationTypeCode() { throw null; } + + public string? ReadSerializedString() { throw null; } + + public SignatureHeader ReadSignatureHeader() { throw null; } + + public SignatureTypeCode ReadSignatureTypeCode() { throw null; } + + public float ReadSingle() { throw null; } + + public EntityHandle ReadTypeHandle() { throw null; } + + public ushort ReadUInt16() { throw null; } + + public uint ReadUInt32() { throw null; } + + public ulong ReadUInt64() { throw null; } + + public string ReadUTF16(int byteCount) { throw null; } + + public string ReadUTF8(int byteCount) { throw null; } + + public void Reset() { } + + public bool TryReadCompressedInteger(out int value) { throw null; } + + public bool TryReadCompressedSignedInteger(out int value) { throw null; } + } + + public partial struct BlobWriter + { + private object _dummy; + private int _dummyPrimitive; + public BlobWriter(byte[] buffer, int start, int count) { } + + public BlobWriter(byte[] buffer) { } + + public BlobWriter(int size) { } + + public BlobWriter(Blob blob) { } + + public Blob Blob { get { throw null; } } + + public int Length { get { throw null; } } + + public int Offset { get { throw null; } set { } } + + public int RemainingBytes { get { throw null; } } + + public void Align(int alignment) { } + + public void Clear() { } + + public bool ContentEquals(BlobWriter other) { throw null; } + + public void PadTo(int offset) { } + + public byte[] ToArray() { throw null; } + + public byte[] ToArray(int start, int byteCount) { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + + public void WriteBoolean(bool value) { } + + public void WriteByte(byte value) { } + + public void WriteBytes(byte value, int byteCount) { } + + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + + public void WriteBytes(byte[] buffer) { } + + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + + public int WriteBytes(IO.Stream source, int byteCount) { throw null; } + + public void WriteBytes(BlobBuilder source) { } + + public void WriteCompressedInteger(int value) { } + + public void WriteCompressedSignedInteger(int value) { } + + public void WriteConstant(object? value) { } + + public void WriteDateTime(DateTime value) { } + + public void WriteDecimal(decimal value) { } + + public void WriteDouble(double value) { } + + public void WriteGuid(Guid value) { } + + public void WriteInt16(short value) { } + + public void WriteInt16BE(short value) { } + + public void WriteInt32(int value) { } + + public void WriteInt32BE(int value) { } + + public void WriteInt64(long value) { } + + public void WriteReference(int reference, bool isSmall) { } + + public void WriteSByte(sbyte value) { } + + public void WriteSerializedString(string? str) { } + + public void WriteSingle(float value) { } + + public void WriteUInt16(ushort value) { } + + public void WriteUInt16BE(ushort value) { } + + public void WriteUInt32(uint value) { } + + public void WriteUInt32BE(uint value) { } + + public void WriteUInt64(ulong value) { } + + public void WriteUserString(string value) { } + + public void WriteUTF16(char[] value) { } + + public void WriteUTF16(string value) { } + + public void WriteUTF8(string value, bool allowUnpairedSurrogates) { } + } + + public readonly partial struct Constant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Parent { get { throw null; } } + + public ConstantTypeCode TypeCode { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct ConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ConstantHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ConstantHandle left, ConstantHandle right) { throw null; } + + public static explicit operator ConstantHandle(EntityHandle handle) { throw null; } + + public static explicit operator ConstantHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ConstantHandle handle) { throw null; } + + public static implicit operator Handle(ConstantHandle handle) { throw null; } + + public static bool operator !=(ConstantHandle left, ConstantHandle right) { throw null; } + } + + public enum ConstantTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + NullReference = 18 + } + + public readonly partial struct CustomAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Constructor { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + + public readonly CustomAttributeValue DecodeValue(ICustomAttributeTypeProvider provider) { throw null; } + } + + public readonly partial struct CustomAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(CustomAttributeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + + public static explicit operator CustomAttributeHandle(EntityHandle handle) { throw null; } + + public static explicit operator CustomAttributeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(CustomAttributeHandle handle) { throw null; } + + public static implicit operator Handle(CustomAttributeHandle handle) { throw null; } + + public static bool operator !=(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + } + + public readonly partial struct CustomAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum CustomAttributeNamedArgumentKind : byte + { + Field = 83, + Property = 84 + } + + public readonly partial struct CustomAttributeNamedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgument(string? name, CustomAttributeNamedArgumentKind kind, TType type, object? value) { } + + public CustomAttributeNamedArgumentKind Kind { get { throw null; } } + + public string? Name { get { throw null; } } + + public TType Type { get { throw null; } } + + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeTypedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeTypedArgument(TType type, object? value) { } + + public TType Type { get { throw null; } } + + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeValue + { + private readonly Collections.Immutable.ImmutableArray> _FixedArguments_k__BackingField; + private readonly Collections.Immutable.ImmutableArray> _NamedArguments_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeValue(Collections.Immutable.ImmutableArray> fixedArguments, Collections.Immutable.ImmutableArray> namedArguments) { } + + public Collections.Immutable.ImmutableArray> FixedArguments { get { throw null; } } + + public Collections.Immutable.ImmutableArray> NamedArguments { get { throw null; } } + } + + public readonly partial struct CustomDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle Kind { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct CustomDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(CustomDebugInformationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + + public static explicit operator CustomDebugInformationHandle(EntityHandle handle) { throw null; } + + public static explicit operator CustomDebugInformationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(CustomDebugInformationHandle handle) { throw null; } + + public static implicit operator Handle(CustomDebugInformationHandle handle) { throw null; } + + public static bool operator !=(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + } + + public readonly partial struct CustomDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public sealed partial class DebugMetadataHeader + { + internal DebugMetadataHeader() { } + + public MethodDefinitionHandle EntryPoint { get { throw null; } } + + public Collections.Immutable.ImmutableArray Id { get { throw null; } } + + public int IdStartOffset { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeclarativeSecurityAction Action { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle PermissionSet { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DeclarativeSecurityAttributeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + + public static explicit operator DeclarativeSecurityAttributeHandle(EntityHandle handle) { throw null; } + + public static explicit operator DeclarativeSecurityAttributeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public static implicit operator Handle(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public static bool operator !=(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + } + + public readonly partial struct DeclarativeSecurityAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DeclarativeSecurityAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Document + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Hash { get { throw null; } } + + public GuidHandle HashAlgorithm { get { throw null; } } + + public GuidHandle Language { get { throw null; } } + + public DocumentNameBlobHandle Name { get { throw null; } } + } + + public readonly partial struct DocumentHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DocumentHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DocumentHandle left, DocumentHandle right) { throw null; } + + public static explicit operator DocumentHandle(EntityHandle handle) { throw null; } + + public static explicit operator DocumentHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(DocumentHandle handle) { throw null; } + + public static implicit operator Handle(DocumentHandle handle) { throw null; } + + public static bool operator !=(DocumentHandle left, DocumentHandle right) { throw null; } + } + + public readonly partial struct DocumentHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DocumentHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct DocumentNameBlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DocumentNameBlobHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + + public static explicit operator DocumentNameBlobHandle(BlobHandle handle) { throw null; } + + public static implicit operator BlobHandle(DocumentNameBlobHandle handle) { throw null; } + + public static bool operator !=(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + } + + public readonly partial struct EntityHandle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EntityHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(EntityHandle left, EntityHandle right) { throw null; } + + public static explicit operator EntityHandle(Handle handle) { throw null; } + + public static implicit operator Handle(EntityHandle handle) { throw null; } + + public static bool operator !=(EntityHandle left, EntityHandle right) { throw null; } + } + + public readonly partial struct EventAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Adder { get { throw null; } } + + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + + public MethodDefinitionHandle Raiser { get { throw null; } } + + public MethodDefinitionHandle Remover { get { throw null; } } + } + + public readonly partial struct EventDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EventAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public EntityHandle Type { get { throw null; } } + + public readonly EventAccessors GetAccessors() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct EventDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EventDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + + public static explicit operator EventDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator EventDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(EventDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(EventDefinitionHandle handle) { throw null; } + + public static bool operator !=(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + } + + public readonly partial struct EventDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public EventDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ExceptionRegion + { + private readonly int _dummyPrimitive; + public EntityHandle CatchType { get { throw null; } } + + public int FilterOffset { get { throw null; } } + + public int HandlerLength { get { throw null; } } + + public int HandlerOffset { get { throw null; } } + + public ExceptionRegionKind Kind { get { throw null; } } + + public int TryLength { get { throw null; } } + + public int TryOffset { get { throw null; } } + } + + public enum ExceptionRegionKind : ushort + { + Catch = 0, + Filter = 1, + Finally = 2, + Fault = 4 + } + + public readonly partial struct ExportedType + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + + public EntityHandle Implementation { get { throw null; } } + + public bool IsForwarder { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ExportedTypeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ExportedTypeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + + public static explicit operator ExportedTypeHandle(EntityHandle handle) { throw null; } + + public static explicit operator ExportedTypeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ExportedTypeHandle handle) { throw null; } + + public static implicit operator Handle(ExportedTypeHandle handle) { throw null; } + + public static bool operator !=(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + } + + public readonly partial struct ExportedTypeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ExportedTypeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct FieldDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + + public readonly int GetOffset() { throw null; } + + public readonly int GetRelativeVirtualAddress() { throw null; } + } + + public readonly partial struct FieldDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(FieldDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + + public static explicit operator FieldDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator FieldDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(FieldDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(FieldDefinitionHandle handle) { throw null; } + + public static bool operator !=(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + } + + public readonly partial struct FieldDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public FieldDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterAttributes Attributes { get { throw null; } } + + public int Index { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public readonly GenericParameterConstraintHandleCollection GetConstraints() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraint + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterHandle Parameter { get { throw null; } } + + public EntityHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GenericParameterConstraintHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + + public static explicit operator GenericParameterConstraintHandle(EntityHandle handle) { throw null; } + + public static explicit operator GenericParameterConstraintHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(GenericParameterConstraintHandle handle) { throw null; } + + public static implicit operator Handle(GenericParameterConstraintHandle handle) { throw null; } + + public static bool operator !=(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterConstraintHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterConstraintHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GenericParameterHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + + public static explicit operator GenericParameterHandle(EntityHandle handle) { throw null; } + + public static explicit operator GenericParameterHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(GenericParameterHandle handle) { throw null; } + + public static implicit operator Handle(GenericParameterHandle handle) { throw null; } + + public static bool operator !=(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + } + + public readonly partial struct GenericParameterHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GuidHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GuidHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GuidHandle left, GuidHandle right) { throw null; } + + public static explicit operator GuidHandle(Handle handle) { throw null; } + + public static implicit operator Handle(GuidHandle handle) { throw null; } + + public static bool operator !=(GuidHandle left, GuidHandle right) { throw null; } + } + + public readonly partial struct Handle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(Handle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(Handle left, Handle right) { throw null; } + + public static bool operator !=(Handle left, Handle right) { throw null; } + } + + public sealed partial class HandleComparer : Collections.Generic.IEqualityComparer, Collections.Generic.IComparer, Collections.Generic.IEqualityComparer, Collections.Generic.IComparer + { + internal HandleComparer() { } + + public static HandleComparer Default { get { throw null; } } + + public int Compare(EntityHandle x, EntityHandle y) { throw null; } + + public int Compare(Handle x, Handle y) { throw null; } + + public bool Equals(EntityHandle x, EntityHandle y) { throw null; } + + public bool Equals(Handle x, Handle y) { throw null; } + + public int GetHashCode(EntityHandle obj) { throw null; } + + public int GetHashCode(Handle obj) { throw null; } + } + + public enum HandleKind : byte + { + ModuleDefinition = 0, + TypeReference = 1, + TypeDefinition = 2, + FieldDefinition = 4, + MethodDefinition = 6, + Parameter = 8, + InterfaceImplementation = 9, + MemberReference = 10, + Constant = 11, + CustomAttribute = 12, + DeclarativeSecurityAttribute = 14, + StandaloneSignature = 17, + EventDefinition = 20, + PropertyDefinition = 23, + MethodImplementation = 25, + ModuleReference = 26, + TypeSpecification = 27, + AssemblyDefinition = 32, + AssemblyReference = 35, + AssemblyFile = 38, + ExportedType = 39, + ManifestResource = 40, + GenericParameter = 42, + MethodSpecification = 43, + GenericParameterConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + CustomDebugInformation = 55, + UserString = 112, + Blob = 113, + Guid = 114, + String = 120, + NamespaceDefinition = 124 + } + + public partial interface IConstructedTypeProvider : ISZArrayTypeProvider + { + TType GetArrayType(TType elementType, ArrayShape shape); + TType GetByReferenceType(TType elementType); + TType GetGenericInstantiation(TType genericType, Collections.Immutable.ImmutableArray typeArguments); + TType GetPointerType(TType elementType); + } + + public partial interface ICustomAttributeTypeProvider : ISimpleTypeProvider, ISZArrayTypeProvider + { + TType GetSystemType(); + TType GetTypeFromSerializedName(string name); + PrimitiveTypeCode GetUnderlyingEnumType(TType type); + bool IsSystemType(TType type); + } + + public enum ILOpCode : ushort + { + Nop = 0, + Break = 1, + Ldarg_0 = 2, + Ldarg_1 = 3, + Ldarg_2 = 4, + Ldarg_3 = 5, + Ldloc_0 = 6, + Ldloc_1 = 7, + Ldloc_2 = 8, + Ldloc_3 = 9, + Stloc_0 = 10, + Stloc_1 = 11, + Stloc_2 = 12, + Stloc_3 = 13, + Ldarg_s = 14, + Ldarga_s = 15, + Starg_s = 16, + Ldloc_s = 17, + Ldloca_s = 18, + Stloc_s = 19, + Ldnull = 20, + Ldc_i4_m1 = 21, + Ldc_i4_0 = 22, + Ldc_i4_1 = 23, + Ldc_i4_2 = 24, + Ldc_i4_3 = 25, + Ldc_i4_4 = 26, + Ldc_i4_5 = 27, + Ldc_i4_6 = 28, + Ldc_i4_7 = 29, + Ldc_i4_8 = 30, + Ldc_i4_s = 31, + Ldc_i4 = 32, + Ldc_i8 = 33, + Ldc_r4 = 34, + Ldc_r8 = 35, + Dup = 37, + Pop = 38, + Jmp = 39, + Call = 40, + Calli = 41, + Ret = 42, + Br_s = 43, + Brfalse_s = 44, + Brtrue_s = 45, + Beq_s = 46, + Bge_s = 47, + Bgt_s = 48, + Ble_s = 49, + Blt_s = 50, + Bne_un_s = 51, + Bge_un_s = 52, + Bgt_un_s = 53, + Ble_un_s = 54, + Blt_un_s = 55, + Br = 56, + Brfalse = 57, + Brtrue = 58, + Beq = 59, + Bge = 60, + Bgt = 61, + Ble = 62, + Blt = 63, + Bne_un = 64, + Bge_un = 65, + Bgt_un = 66, + Ble_un = 67, + Blt_un = 68, + Switch = 69, + Ldind_i1 = 70, + Ldind_u1 = 71, + Ldind_i2 = 72, + Ldind_u2 = 73, + Ldind_i4 = 74, + Ldind_u4 = 75, + Ldind_i8 = 76, + Ldind_i = 77, + Ldind_r4 = 78, + Ldind_r8 = 79, + Ldind_ref = 80, + Stind_ref = 81, + Stind_i1 = 82, + Stind_i2 = 83, + Stind_i4 = 84, + Stind_i8 = 85, + Stind_r4 = 86, + Stind_r8 = 87, + Add = 88, + Sub = 89, + Mul = 90, + Div = 91, + Div_un = 92, + Rem = 93, + Rem_un = 94, + And = 95, + Or = 96, + Xor = 97, + Shl = 98, + Shr = 99, + Shr_un = 100, + Neg = 101, + Not = 102, + Conv_i1 = 103, + Conv_i2 = 104, + Conv_i4 = 105, + Conv_i8 = 106, + Conv_r4 = 107, + Conv_r8 = 108, + Conv_u4 = 109, + Conv_u8 = 110, + Callvirt = 111, + Cpobj = 112, + Ldobj = 113, + Ldstr = 114, + Newobj = 115, + Castclass = 116, + Isinst = 117, + Conv_r_un = 118, + Unbox = 121, + Throw = 122, + Ldfld = 123, + Ldflda = 124, + Stfld = 125, + Ldsfld = 126, + Ldsflda = 127, + Stsfld = 128, + Stobj = 129, + Conv_ovf_i1_un = 130, + Conv_ovf_i2_un = 131, + Conv_ovf_i4_un = 132, + Conv_ovf_i8_un = 133, + Conv_ovf_u1_un = 134, + Conv_ovf_u2_un = 135, + Conv_ovf_u4_un = 136, + Conv_ovf_u8_un = 137, + Conv_ovf_i_un = 138, + Conv_ovf_u_un = 139, + Box = 140, + Newarr = 141, + Ldlen = 142, + Ldelema = 143, + Ldelem_i1 = 144, + Ldelem_u1 = 145, + Ldelem_i2 = 146, + Ldelem_u2 = 147, + Ldelem_i4 = 148, + Ldelem_u4 = 149, + Ldelem_i8 = 150, + Ldelem_i = 151, + Ldelem_r4 = 152, + Ldelem_r8 = 153, + Ldelem_ref = 154, + Stelem_i = 155, + Stelem_i1 = 156, + Stelem_i2 = 157, + Stelem_i4 = 158, + Stelem_i8 = 159, + Stelem_r4 = 160, + Stelem_r8 = 161, + Stelem_ref = 162, + Ldelem = 163, + Stelem = 164, + Unbox_any = 165, + Conv_ovf_i1 = 179, + Conv_ovf_u1 = 180, + Conv_ovf_i2 = 181, + Conv_ovf_u2 = 182, + Conv_ovf_i4 = 183, + Conv_ovf_u4 = 184, + Conv_ovf_i8 = 185, + Conv_ovf_u8 = 186, + Refanyval = 194, + Ckfinite = 195, + Mkrefany = 198, + Ldtoken = 208, + Conv_u2 = 209, + Conv_u1 = 210, + Conv_i = 211, + Conv_ovf_i = 212, + Conv_ovf_u = 213, + Add_ovf = 214, + Add_ovf_un = 215, + Mul_ovf = 216, + Mul_ovf_un = 217, + Sub_ovf = 218, + Sub_ovf_un = 219, + Endfinally = 220, + Leave = 221, + Leave_s = 222, + Stind_i = 223, + Conv_u = 224, + Arglist = 65024, + Ceq = 65025, + Cgt = 65026, + Cgt_un = 65027, + Clt = 65028, + Clt_un = 65029, + Ldftn = 65030, + Ldvirtftn = 65031, + Ldarg = 65033, + Ldarga = 65034, + Starg = 65035, + Ldloc = 65036, + Ldloca = 65037, + Stloc = 65038, + Localloc = 65039, + Endfilter = 65041, + Unaligned = 65042, + Volatile = 65043, + Tail = 65044, + Initobj = 65045, + Constrained = 65046, + Cpblk = 65047, + Initblk = 65048, + Rethrow = 65050, + Sizeof = 65052, + Refanytype = 65053, + Readonly = 65054 + } + + public static partial class ILOpCodeExtensions + { + public static int GetBranchOperandSize(this ILOpCode opCode) { throw null; } + + public static ILOpCode GetLongBranch(this ILOpCode opCode) { throw null; } + + public static ILOpCode GetShortBranch(this ILOpCode opCode) { throw null; } + + public static bool IsBranch(this ILOpCode opCode) { throw null; } + } + + public partial class ImageFormatLimitationException : Exception + { + public ImageFormatLimitationException() { } + + [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + protected ImageFormatLimitationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public ImageFormatLimitationException(string? message, Exception? innerException) { } + + public ImageFormatLimitationException(string? message) { } + } + + public readonly partial struct ImportDefinition + { + private readonly int _dummyPrimitive; + public BlobHandle Alias { get { throw null; } } + + public ImportDefinitionKind Kind { get { throw null; } } + + public AssemblyReferenceHandle TargetAssembly { get { throw null; } } + + public BlobHandle TargetNamespace { get { throw null; } } + + public EntityHandle TargetType { get { throw null; } } + } + + public readonly partial struct ImportDefinitionCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ImportDefinition Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum ImportDefinitionKind + { + ImportNamespace = 1, + ImportAssemblyNamespace = 2, + ImportType = 3, + ImportXmlNamespace = 4, + ImportAssemblyReferenceAlias = 5, + AliasAssemblyReference = 6, + AliasNamespace = 7, + AliasAssemblyNamespace = 8, + AliasType = 9 + } + + public readonly partial struct ImportScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle ImportsBlob { get { throw null; } } + + public ImportScopeHandle Parent { get { throw null; } } + + public readonly ImportDefinitionCollection GetImports() { throw null; } + } + + public readonly partial struct ImportScopeCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ImportScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ImportScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ImportScopeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + + public static explicit operator ImportScopeHandle(EntityHandle handle) { throw null; } + + public static explicit operator ImportScopeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ImportScopeHandle handle) { throw null; } + + public static implicit operator Handle(ImportScopeHandle handle) { throw null; } + + public static bool operator !=(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Interface { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct InterfaceImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(InterfaceImplementationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + + public static explicit operator InterfaceImplementationHandle(EntityHandle handle) { throw null; } + + public static explicit operator InterfaceImplementationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(InterfaceImplementationHandle handle) { throw null; } + + public static implicit operator Handle(InterfaceImplementationHandle handle) { throw null; } + + public static bool operator !=(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public InterfaceImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public partial interface ISignatureTypeProvider : ISimpleTypeProvider, IConstructedTypeProvider, ISZArrayTypeProvider + { + TType GetFunctionPointerType(MethodSignature signature); + TType GetGenericMethodParameter(TGenericContext genericContext, int index); + TType GetGenericTypeParameter(TGenericContext genericContext, int index); + TType GetModifiedType(TType modifier, TType unmodifiedType, bool isRequired); + TType GetPinnedType(TType elementType); + TType GetTypeFromSpecification(MetadataReader reader, TGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind); + } + + public partial interface ISimpleTypeProvider + { + TType GetPrimitiveType(PrimitiveTypeCode typeCode); + TType GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind); + TType GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind); + } + + public partial interface ISZArrayTypeProvider + { + TType GetSZArrayType(TType elementType); + } + + public readonly partial struct LocalConstant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + } + + public readonly partial struct LocalConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalConstantHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + + public static explicit operator LocalConstantHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalConstantHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalConstantHandle handle) { throw null; } + + public static implicit operator Handle(LocalConstantHandle handle) { throw null; } + + public static bool operator !=(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + } + + public readonly partial struct LocalConstantHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalConstantHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int EndOffset { get { throw null; } } + + public ImportScopeHandle ImportScope { get { throw null; } } + + public int Length { get { throw null; } } + + public MethodDefinitionHandle Method { get { throw null; } } + + public int StartOffset { get { throw null; } } + + public readonly LocalScopeHandleCollection.ChildrenEnumerator GetChildren() { throw null; } + + public readonly LocalConstantHandleCollection GetLocalConstants() { throw null; } + + public readonly LocalVariableHandleCollection GetLocalVariables() { throw null; } + } + + public readonly partial struct LocalScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalScopeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + + public static explicit operator LocalScopeHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalScopeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalScopeHandle handle) { throw null; } + + public static implicit operator Handle(LocalScopeHandle handle) { throw null; } + + public static bool operator !=(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + } + + public readonly partial struct LocalScopeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct ChildrenEnumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalVariable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableAttributes Attributes { get { throw null; } } + + public int Index { get { throw null; } } + + public StringHandle Name { get { throw null; } } + } + + [Flags] + public enum LocalVariableAttributes + { + None = 0, + DebuggerHidden = 1 + } + + public readonly partial struct LocalVariableHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalVariableHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + + public static explicit operator LocalVariableHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalVariableHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalVariableHandle handle) { throw null; } + + public static implicit operator Handle(LocalVariableHandle handle) { throw null; } + + public static bool operator !=(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + } + + public readonly partial struct LocalVariableHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalVariableHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ManifestResource + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ManifestResourceAttributes Attributes { get { throw null; } } + + public EntityHandle Implementation { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public long Offset { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ManifestResourceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ManifestResourceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + + public static explicit operator ManifestResourceHandle(EntityHandle handle) { throw null; } + + public static explicit operator ManifestResourceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ManifestResourceHandle handle) { throw null; } + + public static implicit operator Handle(ManifestResourceHandle handle) { throw null; } + + public static bool operator !=(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + } + + public readonly partial struct ManifestResourceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ManifestResourceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MemberReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeFieldSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly MemberReferenceKind GetKind() { throw null; } + } + + public readonly partial struct MemberReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MemberReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + + public static explicit operator MemberReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator MemberReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MemberReferenceHandle handle) { throw null; } + + public static implicit operator Handle(MemberReferenceHandle handle) { throw null; } + + public static bool operator !=(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + } + + public readonly partial struct MemberReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MemberReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum MemberReferenceKind + { + Method = 0, + Field = 1 + } + + public enum MetadataKind + { + Ecma335 = 0, + WindowsMetadata = 1, + ManagedWindowsMetadata = 2 + } + + public sealed partial class MetadataReader + { + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { } + + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options) { } + + public unsafe MetadataReader(byte* metadata, int length) { } + + public AssemblyFileHandleCollection AssemblyFiles { get { throw null; } } + + public AssemblyReferenceHandleCollection AssemblyReferences { get { throw null; } } + + public CustomAttributeHandleCollection CustomAttributes { get { throw null; } } + + public CustomDebugInformationHandleCollection CustomDebugInformation { get { throw null; } } + + public DebugMetadataHeader? DebugMetadataHeader { get { throw null; } } + + public DeclarativeSecurityAttributeHandleCollection DeclarativeSecurityAttributes { get { throw null; } } + + public DocumentHandleCollection Documents { get { throw null; } } + + public EventDefinitionHandleCollection EventDefinitions { get { throw null; } } + + public ExportedTypeHandleCollection ExportedTypes { get { throw null; } } + + public FieldDefinitionHandleCollection FieldDefinitions { get { throw null; } } + + public ImportScopeCollection ImportScopes { get { throw null; } } + + public bool IsAssembly { get { throw null; } } + + public LocalConstantHandleCollection LocalConstants { get { throw null; } } + + public LocalScopeHandleCollection LocalScopes { get { throw null; } } + + public LocalVariableHandleCollection LocalVariables { get { throw null; } } + + public ManifestResourceHandleCollection ManifestResources { get { throw null; } } + + public MemberReferenceHandleCollection MemberReferences { get { throw null; } } + + public MetadataKind MetadataKind { get { throw null; } } + + public int MetadataLength { get { throw null; } } + + public unsafe byte* MetadataPointer { get { throw null; } } + + public string MetadataVersion { get { throw null; } } + + public MethodDebugInformationHandleCollection MethodDebugInformation { get { throw null; } } + + public MethodDefinitionHandleCollection MethodDefinitions { get { throw null; } } + + public MetadataReaderOptions Options { get { throw null; } } + + public PropertyDefinitionHandleCollection PropertyDefinitions { get { throw null; } } + + public MetadataStringComparer StringComparer { get { throw null; } } + + public TypeDefinitionHandleCollection TypeDefinitions { get { throw null; } } + + public TypeReferenceHandleCollection TypeReferences { get { throw null; } } + + public MetadataStringDecoder UTF8Decoder { get { throw null; } } + + public AssemblyDefinition GetAssemblyDefinition() { throw null; } + + public AssemblyFile GetAssemblyFile(AssemblyFileHandle handle) { throw null; } + + public static AssemblyName GetAssemblyName(string assemblyFile) { throw null; } + + public AssemblyReference GetAssemblyReference(AssemblyReferenceHandle handle) { throw null; } + + public byte[] GetBlobBytes(BlobHandle handle) { throw null; } + + public Collections.Immutable.ImmutableArray GetBlobContent(BlobHandle handle) { throw null; } + + public BlobReader GetBlobReader(BlobHandle handle) { throw null; } + + public BlobReader GetBlobReader(StringHandle handle) { throw null; } + + public Constant GetConstant(ConstantHandle handle) { throw null; } + + public CustomAttribute GetCustomAttribute(CustomAttributeHandle handle) { throw null; } + + public CustomAttributeHandleCollection GetCustomAttributes(EntityHandle handle) { throw null; } + + public CustomDebugInformation GetCustomDebugInformation(CustomDebugInformationHandle handle) { throw null; } + + public CustomDebugInformationHandleCollection GetCustomDebugInformation(EntityHandle handle) { throw null; } + + public DeclarativeSecurityAttribute GetDeclarativeSecurityAttribute(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public Document GetDocument(DocumentHandle handle) { throw null; } + + public EventDefinition GetEventDefinition(EventDefinitionHandle handle) { throw null; } + + public ExportedType GetExportedType(ExportedTypeHandle handle) { throw null; } + + public FieldDefinition GetFieldDefinition(FieldDefinitionHandle handle) { throw null; } + + public GenericParameter GetGenericParameter(GenericParameterHandle handle) { throw null; } + + public GenericParameterConstraint GetGenericParameterConstraint(GenericParameterConstraintHandle handle) { throw null; } + + public Guid GetGuid(GuidHandle handle) { throw null; } + + public ImportScope GetImportScope(ImportScopeHandle handle) { throw null; } + + public InterfaceImplementation GetInterfaceImplementation(InterfaceImplementationHandle handle) { throw null; } + + public LocalConstant GetLocalConstant(LocalConstantHandle handle) { throw null; } + + public LocalScope GetLocalScope(LocalScopeHandle handle) { throw null; } + + public LocalScopeHandleCollection GetLocalScopes(MethodDebugInformationHandle handle) { throw null; } + + public LocalScopeHandleCollection GetLocalScopes(MethodDefinitionHandle handle) { throw null; } + + public LocalVariable GetLocalVariable(LocalVariableHandle handle) { throw null; } + + public ManifestResource GetManifestResource(ManifestResourceHandle handle) { throw null; } + + public MemberReference GetMemberReference(MemberReferenceHandle handle) { throw null; } + + public MethodDebugInformation GetMethodDebugInformation(MethodDebugInformationHandle handle) { throw null; } + + public MethodDebugInformation GetMethodDebugInformation(MethodDefinitionHandle handle) { throw null; } + + public MethodDefinition GetMethodDefinition(MethodDefinitionHandle handle) { throw null; } + + public MethodImplementation GetMethodImplementation(MethodImplementationHandle handle) { throw null; } + + public MethodSpecification GetMethodSpecification(MethodSpecificationHandle handle) { throw null; } + + public ModuleDefinition GetModuleDefinition() { throw null; } + + public ModuleReference GetModuleReference(ModuleReferenceHandle handle) { throw null; } + + public NamespaceDefinition GetNamespaceDefinition(NamespaceDefinitionHandle handle) { throw null; } + + public NamespaceDefinition GetNamespaceDefinitionRoot() { throw null; } + + public Parameter GetParameter(ParameterHandle handle) { throw null; } + + public PropertyDefinition GetPropertyDefinition(PropertyDefinitionHandle handle) { throw null; } + + public StandaloneSignature GetStandaloneSignature(StandaloneSignatureHandle handle) { throw null; } + + public string GetString(DocumentNameBlobHandle handle) { throw null; } + + public string GetString(NamespaceDefinitionHandle handle) { throw null; } + + public string GetString(StringHandle handle) { throw null; } + + public TypeDefinition GetTypeDefinition(TypeDefinitionHandle handle) { throw null; } + + public TypeReference GetTypeReference(TypeReferenceHandle handle) { throw null; } + + public TypeSpecification GetTypeSpecification(TypeSpecificationHandle handle) { throw null; } + + public string GetUserString(UserStringHandle handle) { throw null; } + } + + [Flags] + public enum MetadataReaderOptions + { + None = 0, + ApplyWindowsRuntimeProjections = 1, + Default = 1 + } + + public sealed partial class MetadataReaderProvider : IDisposable + { + internal MetadataReaderProvider() { } + + public void Dispose() { } + + public static unsafe MetadataReaderProvider FromMetadataImage(byte* start, int size) { throw null; } + + public static MetadataReaderProvider FromMetadataImage(Collections.Immutable.ImmutableArray image) { throw null; } + + public static MetadataReaderProvider FromMetadataStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + + public static unsafe MetadataReaderProvider FromPortablePdbImage(byte* start, int size) { throw null; } + + public static MetadataReaderProvider FromPortablePdbImage(Collections.Immutable.ImmutableArray image) { throw null; } + + public static MetadataReaderProvider FromPortablePdbStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + + public MetadataReader GetMetadataReader(MetadataReaderOptions options = MetadataReaderOptions.ApplyWindowsRuntimeProjections, MetadataStringDecoder? utf8Decoder = null) { throw null; } + } + + [Flags] + public enum MetadataStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2 + } + + public readonly partial struct MetadataStringComparer + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly bool Equals(DocumentNameBlobHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(DocumentNameBlobHandle handle, string value) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle handle, string value) { throw null; } + + public readonly bool Equals(StringHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(StringHandle handle, string value) { throw null; } + + public readonly bool StartsWith(StringHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool StartsWith(StringHandle handle, string value) { throw null; } + } + + public partial class MetadataStringDecoder + { + public MetadataStringDecoder(Text.Encoding encoding) { } + + public static MetadataStringDecoder DefaultUTF8 { get { throw null; } } + + public Text.Encoding Encoding { get { throw null; } } + + public virtual unsafe string GetString(byte* bytes, int byteCount) { throw null; } + } + + public sealed partial class MethodBodyBlock + { + internal MethodBodyBlock() { } + + public Collections.Immutable.ImmutableArray ExceptionRegions { get { throw null; } } + + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + + public bool LocalVariablesInitialized { get { throw null; } } + + public int MaxStack { get { throw null; } } + + public int Size { get { throw null; } } + + public static MethodBodyBlock Create(BlobReader reader) { throw null; } + + public byte[]? GetILBytes() { throw null; } + + public Collections.Immutable.ImmutableArray GetILContent() { throw null; } + + public BlobReader GetILReader() { throw null; } + } + + public readonly partial struct MethodDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DocumentHandle Document { get { throw null; } } + + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + + public BlobHandle SequencePointsBlob { get { throw null; } } + + public readonly SequencePointCollection GetSequencePoints() { throw null; } + + public readonly MethodDefinitionHandle GetStateMachineKickoffMethod() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodDebugInformationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + + public static explicit operator MethodDebugInformationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodDebugInformationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodDebugInformationHandle handle) { throw null; } + + public static implicit operator Handle(MethodDebugInformationHandle handle) { throw null; } + + public static bool operator !=(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + + public readonly MethodDefinitionHandle ToDefinitionHandle() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodAttributes Attributes { get { throw null; } } + + public MethodImplAttributes ImplAttributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public int RelativeVirtualAddress { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + + public readonly MethodImport GetImport() { throw null; } + + public readonly ParameterHandleCollection GetParameters() { throw null; } + } + + public readonly partial struct MethodDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + + public static explicit operator MethodDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(MethodDefinitionHandle handle) { throw null; } + + public static bool operator !=(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + + public readonly MethodDebugInformationHandle ToDebugInformationHandle() { throw null; } + } + + public readonly partial struct MethodDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle MethodBody { get { throw null; } } + + public EntityHandle MethodDeclaration { get { throw null; } } + + public TypeDefinitionHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodImplementationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + + public static explicit operator MethodImplementationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodImplementationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodImplementationHandle handle) { throw null; } + + public static implicit operator Handle(MethodImplementationHandle handle) { throw null; } + + public static bool operator !=(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + } + + public readonly partial struct MethodImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MethodImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImport + { + private readonly int _dummyPrimitive; + public MethodImportAttributes Attributes { get { throw null; } } + + public ModuleReferenceHandle Module { get { throw null; } } + + public StringHandle Name { get { throw null; } } + } + + public readonly partial struct MethodSignature + { + private readonly TType _ReturnType_k__BackingField; + private readonly Collections.Immutable.ImmutableArray _ParameterTypes_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignature(SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, Collections.Immutable.ImmutableArray parameterTypes) { } + + public int GenericParameterCount { get { throw null; } } + + public SignatureHeader Header { get { throw null; } } + + public Collections.Immutable.ImmutableArray ParameterTypes { get { throw null; } } + + public int RequiredParameterCount { get { throw null; } } + + public TType ReturnType { get { throw null; } } + } + + public readonly partial struct MethodSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Method { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodSpecificationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + + public static explicit operator MethodSpecificationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodSpecificationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodSpecificationHandle handle) { throw null; } + + public static implicit operator Handle(MethodSpecificationHandle handle) { throw null; } + + public static bool operator !=(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + } + + public readonly partial struct ModuleDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle BaseGenerationId { get { throw null; } } + + public int Generation { get { throw null; } } + + public GuidHandle GenerationId { get { throw null; } } + + public GuidHandle Mvid { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ModuleDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + + public static explicit operator ModuleDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator ModuleDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ModuleDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(ModuleDefinitionHandle handle) { throw null; } + + public static bool operator !=(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + } + + public readonly partial struct ModuleReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ModuleReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + + public static explicit operator ModuleReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator ModuleReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ModuleReferenceHandle handle) { throw null; } + + public static implicit operator Handle(ModuleReferenceHandle handle) { throw null; } + + public static bool operator !=(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + } + + public partial struct NamespaceDefinition + { + private object _dummy; + private int _dummyPrimitive; + public Collections.Immutable.ImmutableArray ExportedTypes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public Collections.Immutable.ImmutableArray NamespaceDefinitions { get { throw null; } } + + public NamespaceDefinitionHandle Parent { get { throw null; } } + + public Collections.Immutable.ImmutableArray TypeDefinitions { get { throw null; } } + } + + public readonly partial struct NamespaceDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + + public static explicit operator NamespaceDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator Handle(NamespaceDefinitionHandle handle) { throw null; } + + public static bool operator !=(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + } + + public readonly partial struct Parameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public int SequenceNumber { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + } + + public readonly partial struct ParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ParameterHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ParameterHandle left, ParameterHandle right) { throw null; } + + public static explicit operator ParameterHandle(EntityHandle handle) { throw null; } + + public static explicit operator ParameterHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ParameterHandle handle) { throw null; } + + public static implicit operator Handle(ParameterHandle handle) { throw null; } + + public static bool operator !=(ParameterHandle left, ParameterHandle right) { throw null; } + } + + public readonly partial struct ParameterHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public static partial class PEReaderExtensions + { + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { throw null; } + + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options) { throw null; } + + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader) { throw null; } + + public static MethodBodyBlock GetMethodBody(this PortableExecutable.PEReader peReader, int relativeVirtualAddress) { throw null; } + } + + public enum PrimitiveSerializationTypeCode : byte + { + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14 + } + + public enum PrimitiveTypeCode : byte + { + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + Object = 28 + } + + public readonly partial struct PropertyAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Getter { get { throw null; } } + + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + + public MethodDefinitionHandle Setter { get { throw null; } } + } + + public readonly partial struct PropertyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PropertyAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly PropertyAccessors GetAccessors() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + } + + public readonly partial struct PropertyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(PropertyDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + + public static explicit operator PropertyDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator PropertyDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(PropertyDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(PropertyDefinitionHandle handle) { throw null; } + + public static bool operator !=(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + } + + public readonly partial struct PropertyDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public PropertyDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ReservedBlob + where THandle : struct + { + private readonly THandle _Handle_k__BackingField; + public Blob Content { get { throw null; } } + + public THandle Handle { get { throw null; } } + + public readonly BlobWriter CreateWriter() { throw null; } + } + + public readonly partial struct SequencePoint : IEquatable + { + private readonly int _dummyPrimitive; + public const int HiddenLine = 16707566; + public DocumentHandle Document { get { throw null; } } + + public int EndColumn { get { throw null; } } + + public int EndLine { get { throw null; } } + + public bool IsHidden { get { throw null; } } + + public int Offset { get { throw null; } } + + public int StartColumn { get { throw null; } } + + public int StartLine { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(SequencePoint other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + } + + public readonly partial struct SequencePointCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public SequencePoint Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum SerializationTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + SZArray = 29, + Type = 80, + TaggedObject = 81, + Enum = 85 + } + + [Flags] + public enum SignatureAttributes : byte + { + None = 0, + Generic = 16, + Instance = 32, + ExplicitThis = 64 + } + + public enum SignatureCallingConvention : byte + { + Default = 0, + CDecl = 1, + StdCall = 2, + ThisCall = 3, + FastCall = 4, + VarArgs = 5, + Unmanaged = 9 + } + + public partial struct SignatureHeader : IEquatable + { + private int _dummyPrimitive; + public const byte CallingConventionOrKindMask = 15; + public SignatureHeader(byte rawValue) { } + + public SignatureHeader(SignatureKind kind, SignatureCallingConvention convention, SignatureAttributes attributes) { } + + public SignatureAttributes Attributes { get { throw null; } } + + public SignatureCallingConvention CallingConvention { get { throw null; } } + + public bool HasExplicitThis { get { throw null; } } + + public bool IsGeneric { get { throw null; } } + + public bool IsInstance { get { throw null; } } + + public SignatureKind Kind { get { throw null; } } + + public byte RawValue { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + + public bool Equals(SignatureHeader other) { throw null; } + + public override int GetHashCode() { throw null; } + + public static bool operator ==(SignatureHeader left, SignatureHeader right) { throw null; } + + public static bool operator !=(SignatureHeader left, SignatureHeader right) { throw null; } + + public override string ToString() { throw null; } + } + + public enum SignatureKind : byte + { + Method = 0, + Field = 6, + LocalVariables = 7, + Property = 8, + MethodSpecification = 10 + } + + public enum SignatureTypeCode : byte + { + Invalid = 0, + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + Pointer = 15, + ByReference = 16, + GenericTypeParameter = 19, + Array = 20, + GenericTypeInstance = 21, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + FunctionPointer = 27, + Object = 28, + SZArray = 29, + GenericMethodParameter = 30, + RequiredModifier = 31, + OptionalModifier = 32, + TypeHandle = 64, + Sentinel = 65, + Pinned = 69 + } + + public enum SignatureTypeKind : byte + { + Unknown = 0, + ValueType = 17, + Class = 18 + } + + public readonly partial struct StandaloneSignature + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly StandaloneSignatureKind GetKind() { throw null; } + } + + public readonly partial struct StandaloneSignatureHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(StandaloneSignatureHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + + public static explicit operator StandaloneSignatureHandle(EntityHandle handle) { throw null; } + + public static explicit operator StandaloneSignatureHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(StandaloneSignatureHandle handle) { throw null; } + + public static implicit operator Handle(StandaloneSignatureHandle handle) { throw null; } + + public static bool operator !=(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + } + + public enum StandaloneSignatureKind + { + Method = 0, + LocalVariables = 1 + } + + public readonly partial struct StringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(StringHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(StringHandle left, StringHandle right) { throw null; } + + public static explicit operator StringHandle(Handle handle) { throw null; } + + public static implicit operator Handle(StringHandle handle) { throw null; } + + public static bool operator !=(StringHandle left, StringHandle right) { throw null; } + } + + public readonly partial struct TypeDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + + public EntityHandle BaseType { get { throw null; } } + + public bool IsNested { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly EventDefinitionHandleCollection GetEvents() { throw null; } + + public readonly FieldDefinitionHandleCollection GetFields() { throw null; } + + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + + public readonly InterfaceImplementationHandleCollection GetInterfaceImplementations() { throw null; } + + public readonly TypeLayout GetLayout() { throw null; } + + public readonly MethodImplementationHandleCollection GetMethodImplementations() { throw null; } + + public readonly MethodDefinitionHandleCollection GetMethods() { throw null; } + + public readonly Collections.Immutable.ImmutableArray GetNestedTypes() { throw null; } + + public readonly PropertyDefinitionHandleCollection GetProperties() { throw null; } + } + + public readonly partial struct TypeDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + + public static explicit operator TypeDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(TypeDefinitionHandle handle) { throw null; } + + public static bool operator !=(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + } + + public readonly partial struct TypeDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeLayout + { + private readonly int _dummyPrimitive; + public TypeLayout(int size, int packingSize) { } + + public bool IsDefault { get { throw null; } } + + public int PackingSize { get { throw null; } } + + public int Size { get { throw null; } } + } + + public sealed partial class TypeName + { + internal TypeName() { } + + public AssemblyNameInfo? AssemblyName { get { throw null; } } + + public string AssemblyQualifiedName { get { throw null; } } + + public TypeName DeclaringType { get { throw null; } } + + public string FullName { get { throw null; } } + + public bool IsArray { get { throw null; } } + + public bool IsByRef { get { throw null; } } + + public bool IsConstructedGenericType { get { throw null; } } + + public bool IsNested { get { throw null; } } + + public bool IsPointer { get { throw null; } } + + public bool IsSimple { get { throw null; } } + + public bool IsSZArray { get { throw null; } } + + public bool IsVariableBoundArrayType { get { throw null; } } + + public string Name { get { throw null; } } + + public int GetArrayRank() { throw null; } + + public TypeName GetElementType() { throw null; } + + public Collections.Immutable.ImmutableArray GetGenericArguments() { throw null; } + + public TypeName GetGenericTypeDefinition() { throw null; } + + public int GetNodeCount() { throw null; } + + public TypeName MakeArrayTypeName(int rank) { throw null; } + + public TypeName MakeByRefTypeName() { throw null; } + + public TypeName MakeGenericTypeName(Collections.Immutable.ImmutableArray typeArguments) { throw null; } + + public TypeName MakePointerTypeName() { throw null; } + + public TypeName MakeSZArrayTypeName() { throw null; } + + public static TypeName Parse(ReadOnlySpan typeName, TypeNameParseOptions? options = null) { throw null; } + + public static bool TryParse(ReadOnlySpan typeName, out TypeName? result, TypeNameParseOptions? options = null) { throw null; } + + public TypeName WithAssemblyName(AssemblyNameInfo? assemblyName) { throw null; } + } + + public sealed partial class TypeNameParseOptions + { + public int MaxNodes { get { throw null; } set { } } + } + + public readonly partial struct TypeReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public EntityHandle ResolutionScope { get { throw null; } } + } + + public readonly partial struct TypeReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + + public static explicit operator TypeReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeReferenceHandle handle) { throw null; } + + public static implicit operator Handle(TypeReferenceHandle handle) { throw null; } + + public static bool operator !=(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + } + + public readonly partial struct TypeReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct TypeSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeSpecificationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + + public static explicit operator TypeSpecificationHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeSpecificationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeSpecificationHandle handle) { throw null; } + + public static implicit operator Handle(TypeSpecificationHandle handle) { throw null; } + + public static bool operator !=(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + } + + public readonly partial struct UserStringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(UserStringHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(UserStringHandle left, UserStringHandle right) { throw null; } + + public static explicit operator UserStringHandle(Handle handle) { throw null; } + + public static implicit operator Handle(UserStringHandle handle) { throw null; } + + public static bool operator !=(UserStringHandle left, UserStringHandle right) { throw null; } + } +} + +namespace System.Reflection.Metadata.Ecma335 +{ + public readonly partial struct ArrayShapeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShapeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Shape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + } + + public readonly partial struct BlobEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void CustomAttributeSignature(Action fixedArguments, Action namedArguments) { } + + public readonly void CustomAttributeSignature(out FixedArgumentsEncoder fixedArguments, out CustomAttributeNamedArgumentsEncoder namedArguments) { throw null; } + + public readonly FieldTypeEncoder Field() { throw null; } + + public readonly SignatureTypeEncoder FieldSignature() { throw null; } + + public readonly LocalVariablesEncoder LocalVariableSignature(int variableCount) { throw null; } + + public readonly MethodSignatureEncoder MethodSignature(SignatureCallingConvention convention = SignatureCallingConvention.Default, int genericParameterCount = 0, bool isInstanceMethod = false) { throw null; } + + public readonly GenericTypeArgumentsEncoder MethodSpecificationSignature(int genericArgumentCount) { throw null; } + + public readonly NamedArgumentsEncoder PermissionSetArguments(int argumentCount) { throw null; } + + public readonly PermissionSetEncoder PermissionSetBlob(int attributeCount) { throw null; } + + public readonly MethodSignatureEncoder PropertySignature(bool isInstanceProperty = false) { throw null; } + + public readonly SignatureTypeEncoder TypeSpecificationSignature() { throw null; } + } + + public static partial class CodedIndex + { + public static int CustomAttributeType(EntityHandle handle) { throw null; } + + public static int HasConstant(EntityHandle handle) { throw null; } + + public static int HasCustomAttribute(EntityHandle handle) { throw null; } + + public static int HasCustomDebugInformation(EntityHandle handle) { throw null; } + + public static int HasDeclSecurity(EntityHandle handle) { throw null; } + + public static int HasFieldMarshal(EntityHandle handle) { throw null; } + + public static int HasSemantics(EntityHandle handle) { throw null; } + + public static int Implementation(EntityHandle handle) { throw null; } + + public static int MemberForwarded(EntityHandle handle) { throw null; } + + public static int MemberRefParent(EntityHandle handle) { throw null; } + + public static int MethodDefOrRef(EntityHandle handle) { throw null; } + + public static int ResolutionScope(EntityHandle handle) { throw null; } + + public static int TypeDefOrRef(EntityHandle handle) { throw null; } + + public static int TypeDefOrRefOrSpec(EntityHandle handle) { throw null; } + + public static int TypeOrMethodDef(EntityHandle handle) { throw null; } + } + + public sealed partial class ControlFlowBuilder + { + public void AddCatchRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, EntityHandle catchType) { } + + public void AddFaultRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + + public void AddFilterRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, LabelHandle filterStart) { } + + public void AddFinallyRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + + public void Clear() { } + } + + public readonly partial struct CustomAttributeArrayTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeArrayTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomAttributeElementTypeEncoder ElementType() { throw null; } + + public readonly void ObjectArray() { } + } + + public readonly partial struct CustomAttributeElementTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeElementTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Boolean() { } + + public readonly void Byte() { } + + public readonly void Char() { } + + public readonly void Double() { } + + public readonly void Enum(string enumTypeName) { } + + public readonly void Int16() { } + + public readonly void Int32() { } + + public readonly void Int64() { } + + public readonly void PrimitiveType(PrimitiveSerializationTypeCode type) { } + + public readonly void SByte() { } + + public readonly void Single() { } + + public readonly void String() { } + + public readonly void SystemType() { } + + public readonly void UInt16() { } + + public readonly void UInt32() { } + + public readonly void UInt64() { } + } + + public readonly partial struct CustomAttributeNamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly NamedArgumentsEncoder Count(int count) { throw null; } + } + + public readonly partial struct CustomModifiersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomModifiersEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder AddModifier(EntityHandle type, bool isOptional) { throw null; } + } + + public readonly partial struct EditAndContinueLogEntry : IEquatable + { + private readonly int _dummyPrimitive; + public EditAndContinueLogEntry(EntityHandle handle, EditAndContinueOperation operation) { } + + public EntityHandle Handle { get { throw null; } } + + public EditAndContinueOperation Operation { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EditAndContinueLogEntry other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + } + + public enum EditAndContinueOperation + { + Default = 0, + AddMethod = 1, + AddField = 2, + AddParameter = 3, + AddProperty = 4, + AddEvent = 5 + } + + public readonly partial struct ExceptionRegionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobBuilder Builder { get { throw null; } } + + public bool HasSmallFormat { get { throw null; } } + + public readonly ExceptionRegionEncoder Add(ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType = default, int filterOffset = 0) { throw null; } + + public readonly ExceptionRegionEncoder AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType) { throw null; } + + public readonly ExceptionRegionEncoder AddFault(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + + public readonly ExceptionRegionEncoder AddFilter(int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset) { throw null; } + + public readonly ExceptionRegionEncoder AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + + public static bool IsSmallExceptionRegion(int startOffset, int length) { throw null; } + + public static bool IsSmallRegionCount(int exceptionRegionCount) { throw null; } + } + + public static partial class ExportedTypeExtensions + { + public static int GetTypeDefinitionId(this ExportedType exportedType) { throw null; } + } + + public readonly partial struct FieldTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + } + + public readonly partial struct FixedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FixedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddArgument() { throw null; } + } + + public enum FunctionPointerAttributes + { + None = 0, + HasThis = 32, + HasExplicitThis = 96 + } + + public readonly partial struct GenericTypeArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericTypeArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly SignatureTypeEncoder AddArgument() { throw null; } + } + + public enum HeapIndex + { + UserString = 0, + String = 1, + Blob = 2, + Guid = 3 + } + + public readonly partial struct InstructionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public InstructionEncoder(BlobBuilder codeBuilder, ControlFlowBuilder? controlFlowBuilder = null) { } + + public BlobBuilder CodeBuilder { get { throw null; } } + + public ControlFlowBuilder? ControlFlowBuilder { get { throw null; } } + + public int Offset { get { throw null; } } + + public readonly void Branch(ILOpCode code, LabelHandle label) { } + + public readonly void Call(EntityHandle methodHandle) { } + + public readonly void Call(MemberReferenceHandle methodHandle) { } + + public readonly void Call(MethodDefinitionHandle methodHandle) { } + + public readonly void Call(MethodSpecificationHandle methodHandle) { } + + public readonly void CallIndirect(StandaloneSignatureHandle signature) { } + + public readonly LabelHandle DefineLabel() { throw null; } + + public readonly void LoadArgument(int argumentIndex) { } + + public readonly void LoadArgumentAddress(int argumentIndex) { } + + public readonly void LoadConstantI4(int value) { } + + public readonly void LoadConstantI8(long value) { } + + public readonly void LoadConstantR4(float value) { } + + public readonly void LoadConstantR8(double value) { } + + public readonly void LoadLocal(int slotIndex) { } + + public readonly void LoadLocalAddress(int slotIndex) { } + + public readonly void LoadString(UserStringHandle handle) { } + + public readonly void MarkLabel(LabelHandle label) { } + + public readonly void OpCode(ILOpCode code) { } + + public readonly void StoreArgument(int argumentIndex) { } + + public readonly void StoreLocal(int slotIndex) { } + + public readonly SwitchInstructionEncoder Switch(int branchCount) { throw null; } + + public readonly void Token(int token) { } + + public readonly void Token(EntityHandle handle) { } + } + + public readonly partial struct LabelHandle : IEquatable + { + private readonly int _dummyPrimitive; + public int Id { get { throw null; } } + + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LabelHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LabelHandle left, LabelHandle right) { throw null; } + + public static bool operator !=(LabelHandle left, LabelHandle right) { throw null; } + } + + public readonly partial struct LiteralEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly ScalarEncoder Scalar() { throw null; } + + public readonly void TaggedScalar(Action type, Action scalar) { } + + public readonly void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar) { throw null; } + + public readonly void TaggedVector(Action arrayType, Action vector) { } + + public readonly void TaggedVector(out CustomAttributeArrayTypeEncoder arrayType, out VectorEncoder vector) { throw null; } + + public readonly VectorEncoder Vector() { throw null; } + } + + public readonly partial struct LiteralsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddLiteral() { throw null; } + } + + public readonly partial struct LocalVariablesEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariablesEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LocalVariableTypeEncoder AddVariable() { throw null; } + } + + public readonly partial struct LocalVariableTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false, bool isPinned = false) { throw null; } + + public readonly void TypedReference() { } + } + + public sealed partial class MetadataAggregator + { + public MetadataAggregator(Collections.Generic.IReadOnlyList? baseTableRowCounts, Collections.Generic.IReadOnlyList? baseHeapSizes, Collections.Generic.IReadOnlyList? deltaReaders) { } + + public MetadataAggregator(MetadataReader baseReader, Collections.Generic.IReadOnlyList deltaReaders) { } + + public Handle GetGenerationHandle(Handle handle, out int generation) { throw null; } + } + + public sealed partial class MetadataBuilder + { + public MetadataBuilder(int userStringHeapStartOffset = 0, int stringHeapStartOffset = 0, int blobHeapStartOffset = 0, int guidHeapStartOffset = 0) { } + + public AssemblyDefinitionHandle AddAssembly(StringHandle name, Version version, StringHandle culture, BlobHandle publicKey, AssemblyFlags flags, AssemblyHashAlgorithm hashAlgorithm) { throw null; } + + public AssemblyFileHandle AddAssemblyFile(StringHandle name, BlobHandle hashValue, bool containsMetadata) { throw null; } + + public AssemblyReferenceHandle AddAssemblyReference(StringHandle name, Version version, StringHandle culture, BlobHandle publicKeyOrToken, AssemblyFlags flags, BlobHandle hashValue) { throw null; } + + public ConstantHandle AddConstant(EntityHandle parent, object? value) { throw null; } + + public CustomAttributeHandle AddCustomAttribute(EntityHandle parent, EntityHandle constructor, BlobHandle value) { throw null; } + + public CustomDebugInformationHandle AddCustomDebugInformation(EntityHandle parent, GuidHandle kind, BlobHandle value) { throw null; } + + public DeclarativeSecurityAttributeHandle AddDeclarativeSecurityAttribute(EntityHandle parent, DeclarativeSecurityAction action, BlobHandle permissionSet) { throw null; } + + public DocumentHandle AddDocument(BlobHandle name, GuidHandle hashAlgorithm, BlobHandle hash, GuidHandle language) { throw null; } + + public void AddEncLogEntry(EntityHandle entity, EditAndContinueOperation code) { } + + public void AddEncMapEntry(EntityHandle entity) { } + + public EventDefinitionHandle AddEvent(EventAttributes attributes, StringHandle name, EntityHandle type) { throw null; } + + public void AddEventMap(TypeDefinitionHandle declaringType, EventDefinitionHandle eventList) { } + + public ExportedTypeHandle AddExportedType(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle implementation, int typeDefinitionId) { throw null; } + + public FieldDefinitionHandle AddFieldDefinition(FieldAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + + public void AddFieldLayout(FieldDefinitionHandle field, int offset) { } + + public void AddFieldRelativeVirtualAddress(FieldDefinitionHandle field, int offset) { } + + public GenericParameterHandle AddGenericParameter(EntityHandle parent, GenericParameterAttributes attributes, StringHandle name, int index) { throw null; } + + public GenericParameterConstraintHandle AddGenericParameterConstraint(GenericParameterHandle genericParameter, EntityHandle constraint) { throw null; } + + public ImportScopeHandle AddImportScope(ImportScopeHandle parentScope, BlobHandle imports) { throw null; } + + public InterfaceImplementationHandle AddInterfaceImplementation(TypeDefinitionHandle type, EntityHandle implementedInterface) { throw null; } + + public LocalConstantHandle AddLocalConstant(StringHandle name, BlobHandle signature) { throw null; } + + public LocalScopeHandle AddLocalScope(MethodDefinitionHandle method, ImportScopeHandle importScope, LocalVariableHandle variableList, LocalConstantHandle constantList, int startOffset, int length) { throw null; } + + public LocalVariableHandle AddLocalVariable(LocalVariableAttributes attributes, int index, StringHandle name) { throw null; } + + public ManifestResourceHandle AddManifestResource(ManifestResourceAttributes attributes, StringHandle name, EntityHandle implementation, uint offset) { throw null; } + + public void AddMarshallingDescriptor(EntityHandle parent, BlobHandle descriptor) { } + + public MemberReferenceHandle AddMemberReference(EntityHandle parent, StringHandle name, BlobHandle signature) { throw null; } + + public MethodDebugInformationHandle AddMethodDebugInformation(DocumentHandle document, BlobHandle sequencePoints) { throw null; } + + public MethodDefinitionHandle AddMethodDefinition(MethodAttributes attributes, MethodImplAttributes implAttributes, StringHandle name, BlobHandle signature, int bodyOffset, ParameterHandle parameterList) { throw null; } + + public MethodImplementationHandle AddMethodImplementation(TypeDefinitionHandle type, EntityHandle methodBody, EntityHandle methodDeclaration) { throw null; } + + public void AddMethodImport(MethodDefinitionHandle method, MethodImportAttributes attributes, StringHandle name, ModuleReferenceHandle module) { } + + public void AddMethodSemantics(EntityHandle association, MethodSemanticsAttributes semantics, MethodDefinitionHandle methodDefinition) { } + + public MethodSpecificationHandle AddMethodSpecification(EntityHandle method, BlobHandle instantiation) { throw null; } + + public ModuleDefinitionHandle AddModule(int generation, StringHandle moduleName, GuidHandle mvid, GuidHandle encId, GuidHandle encBaseId) { throw null; } + + public ModuleReferenceHandle AddModuleReference(StringHandle moduleName) { throw null; } + + public void AddNestedType(TypeDefinitionHandle type, TypeDefinitionHandle enclosingType) { } + + public ParameterHandle AddParameter(ParameterAttributes attributes, StringHandle name, int sequenceNumber) { throw null; } + + public PropertyDefinitionHandle AddProperty(PropertyAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + + public void AddPropertyMap(TypeDefinitionHandle declaringType, PropertyDefinitionHandle propertyList) { } + + public StandaloneSignatureHandle AddStandaloneSignature(BlobHandle signature) { throw null; } + + public void AddStateMachineMethod(MethodDefinitionHandle moveNextMethod, MethodDefinitionHandle kickoffMethod) { } + + public TypeDefinitionHandle AddTypeDefinition(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle baseType, FieldDefinitionHandle fieldList, MethodDefinitionHandle methodList) { throw null; } + + public void AddTypeLayout(TypeDefinitionHandle type, ushort packingSize, uint size) { } + + public TypeReferenceHandle AddTypeReference(EntityHandle resolutionScope, StringHandle @namespace, StringHandle name) { throw null; } + + public TypeSpecificationHandle AddTypeSpecification(BlobHandle signature) { throw null; } + + public BlobHandle GetOrAddBlob(byte[] value) { throw null; } + + public BlobHandle GetOrAddBlob(Collections.Immutable.ImmutableArray value) { throw null; } + + public BlobHandle GetOrAddBlob(BlobBuilder value) { throw null; } + + public BlobHandle GetOrAddBlobUTF16(string value) { throw null; } + + public BlobHandle GetOrAddBlobUTF8(string value, bool allowUnpairedSurrogates = true) { throw null; } + + public BlobHandle GetOrAddConstantBlob(object? value) { throw null; } + + public BlobHandle GetOrAddDocumentName(string value) { throw null; } + + public GuidHandle GetOrAddGuid(Guid guid) { throw null; } + + public StringHandle GetOrAddString(string value) { throw null; } + + public UserStringHandle GetOrAddUserString(string value) { throw null; } + + public int GetRowCount(TableIndex table) { throw null; } + + public Collections.Immutable.ImmutableArray GetRowCounts() { throw null; } + + public ReservedBlob ReserveGuid() { throw null; } + + public ReservedBlob ReserveUserString(int length) { throw null; } + + public void SetCapacity(HeapIndex heap, int byteCount) { } + + public void SetCapacity(TableIndex table, int rowCount) { } + } + + public static partial class MetadataReaderExtensions + { + public static Collections.Generic.IEnumerable GetEditAndContinueLogEntries(this MetadataReader reader) { throw null; } + + public static Collections.Generic.IEnumerable GetEditAndContinueMapEntries(this MetadataReader reader) { throw null; } + + public static int GetHeapMetadataOffset(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + + public static int GetHeapSize(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + + public static BlobHandle GetNextHandle(this MetadataReader reader, BlobHandle handle) { throw null; } + + public static StringHandle GetNextHandle(this MetadataReader reader, StringHandle handle) { throw null; } + + public static UserStringHandle GetNextHandle(this MetadataReader reader, UserStringHandle handle) { throw null; } + + public static int GetTableMetadataOffset(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static int GetTableRowCount(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static int GetTableRowSize(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static Collections.Generic.IEnumerable GetTypesWithEvents(this MetadataReader reader) { throw null; } + + public static Collections.Generic.IEnumerable GetTypesWithProperties(this MetadataReader reader) { throw null; } + + public static SignatureTypeKind ResolveSignatureTypeKind(this MetadataReader reader, EntityHandle typeHandle, byte rawTypeKind) { throw null; } + } + + public sealed partial class MetadataRootBuilder + { + public MetadataRootBuilder(MetadataBuilder tablesAndHeaps, string? metadataVersion = null, bool suppressValidation = false) { } + + public string MetadataVersion { get { throw null; } } + + public MetadataSizes Sizes { get { throw null; } } + + public bool SuppressValidation { get { throw null; } } + + public void Serialize(BlobBuilder builder, int methodBodyStreamRva, int mappedFieldDataStreamRva) { } + } + + public sealed partial class MetadataSizes + { + internal MetadataSizes() { } + + public Collections.Immutable.ImmutableArray ExternalRowCounts { get { throw null; } } + + public Collections.Immutable.ImmutableArray HeapSizes { get { throw null; } } + + public Collections.Immutable.ImmutableArray RowCounts { get { throw null; } } + + public int GetAlignedHeapSize(HeapIndex index) { throw null; } + } + + public static partial class MetadataTokens + { + public static readonly int HeapCount; + public static readonly int TableCount; + public static AssemblyFileHandle AssemblyFileHandle(int rowNumber) { throw null; } + + public static AssemblyReferenceHandle AssemblyReferenceHandle(int rowNumber) { throw null; } + + public static BlobHandle BlobHandle(int offset) { throw null; } + + public static ConstantHandle ConstantHandle(int rowNumber) { throw null; } + + public static CustomAttributeHandle CustomAttributeHandle(int rowNumber) { throw null; } + + public static CustomDebugInformationHandle CustomDebugInformationHandle(int rowNumber) { throw null; } + + public static DeclarativeSecurityAttributeHandle DeclarativeSecurityAttributeHandle(int rowNumber) { throw null; } + + public static DocumentHandle DocumentHandle(int rowNumber) { throw null; } + + public static DocumentNameBlobHandle DocumentNameBlobHandle(int offset) { throw null; } + + public static EntityHandle EntityHandle(int token) { throw null; } + + public static EntityHandle EntityHandle(TableIndex tableIndex, int rowNumber) { throw null; } + + public static EventDefinitionHandle EventDefinitionHandle(int rowNumber) { throw null; } + + public static ExportedTypeHandle ExportedTypeHandle(int rowNumber) { throw null; } + + public static FieldDefinitionHandle FieldDefinitionHandle(int rowNumber) { throw null; } + + public static GenericParameterConstraintHandle GenericParameterConstraintHandle(int rowNumber) { throw null; } + + public static GenericParameterHandle GenericParameterHandle(int rowNumber) { throw null; } + + public static int GetHeapOffset(BlobHandle handle) { throw null; } + + public static int GetHeapOffset(GuidHandle handle) { throw null; } + + public static int GetHeapOffset(Handle handle) { throw null; } + + public static int GetHeapOffset(this MetadataReader reader, Handle handle) { throw null; } + + public static int GetHeapOffset(StringHandle handle) { throw null; } + + public static int GetHeapOffset(UserStringHandle handle) { throw null; } + + public static int GetRowNumber(EntityHandle handle) { throw null; } + + public static int GetRowNumber(this MetadataReader reader, EntityHandle handle) { throw null; } + + public static int GetToken(EntityHandle handle) { throw null; } + + public static int GetToken(Handle handle) { throw null; } + + public static int GetToken(this MetadataReader reader, EntityHandle handle) { throw null; } + + public static int GetToken(this MetadataReader reader, Handle handle) { throw null; } + + public static GuidHandle GuidHandle(int offset) { throw null; } + + public static Handle Handle(int token) { throw null; } + + public static EntityHandle Handle(TableIndex tableIndex, int rowNumber) { throw null; } + + public static ImportScopeHandle ImportScopeHandle(int rowNumber) { throw null; } + + public static InterfaceImplementationHandle InterfaceImplementationHandle(int rowNumber) { throw null; } + + public static LocalConstantHandle LocalConstantHandle(int rowNumber) { throw null; } + + public static LocalScopeHandle LocalScopeHandle(int rowNumber) { throw null; } + + public static LocalVariableHandle LocalVariableHandle(int rowNumber) { throw null; } + + public static ManifestResourceHandle ManifestResourceHandle(int rowNumber) { throw null; } + + public static MemberReferenceHandle MemberReferenceHandle(int rowNumber) { throw null; } + + public static MethodDebugInformationHandle MethodDebugInformationHandle(int rowNumber) { throw null; } + + public static MethodDefinitionHandle MethodDefinitionHandle(int rowNumber) { throw null; } + + public static MethodImplementationHandle MethodImplementationHandle(int rowNumber) { throw null; } + + public static MethodSpecificationHandle MethodSpecificationHandle(int rowNumber) { throw null; } + + public static ModuleReferenceHandle ModuleReferenceHandle(int rowNumber) { throw null; } + + public static ParameterHandle ParameterHandle(int rowNumber) { throw null; } + + public static PropertyDefinitionHandle PropertyDefinitionHandle(int rowNumber) { throw null; } + + public static StandaloneSignatureHandle StandaloneSignatureHandle(int rowNumber) { throw null; } + + public static StringHandle StringHandle(int offset) { throw null; } + + public static bool TryGetHeapIndex(HandleKind type, out HeapIndex index) { throw null; } + + public static bool TryGetTableIndex(HandleKind type, out TableIndex index) { throw null; } + + public static TypeDefinitionHandle TypeDefinitionHandle(int rowNumber) { throw null; } + + public static TypeReferenceHandle TypeReferenceHandle(int rowNumber) { throw null; } + + public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber) { throw null; } + + public static UserStringHandle UserStringHandle(int offset) { throw null; } + } + + [Flags] + public enum MethodBodyAttributes + { + None = 0, + InitLocals = 1 + } + + public readonly partial struct MethodBodyStreamEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodBodyStreamEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack = 8, int exceptionRegionCount = 0, bool hasSmallExceptionRegions = true, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack, int exceptionRegionCount, bool hasSmallExceptionRegions, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack = 8, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + + public readonly partial struct MethodBody + { + private readonly int _dummyPrimitive; + public ExceptionRegionEncoder ExceptionRegions { get { throw null; } } + + public Blob Instructions { get { throw null; } } + + public int Offset { get { throw null; } } + } + } + + public readonly partial struct MethodSignatureEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignatureEncoder(BlobBuilder builder, bool hasVarArgs) { } + + public BlobBuilder Builder { get { throw null; } } + + public bool HasVarArgs { get { throw null; } } + + public readonly void Parameters(int parameterCount, Action returnType, Action parameters) { } + + public readonly void Parameters(int parameterCount, out ReturnTypeEncoder returnType, out ParametersEncoder parameters) { throw null; } + } + + public readonly partial struct NamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void AddArgument(bool isField, Action type, Action name, Action literal) { } + + public readonly void AddArgument(bool isField, out NamedArgumentTypeEncoder type, out NameEncoder name, out LiteralEncoder literal) { throw null; } + } + + public readonly partial struct NamedArgumentTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Object() { } + + public readonly CustomAttributeElementTypeEncoder ScalarType() { throw null; } + + public readonly CustomAttributeArrayTypeEncoder SZArray() { throw null; } + } + + public readonly partial struct NameEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NameEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Name(string name) { } + } + + public readonly partial struct ParametersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParametersEncoder(BlobBuilder builder, bool hasVarArgs = false) { } + + public BlobBuilder Builder { get { throw null; } } + + public bool HasVarArgs { get { throw null; } } + + public readonly ParameterTypeEncoder AddParameter() { throw null; } + + public readonly ParametersEncoder StartVarArgs() { throw null; } + } + + public readonly partial struct ParameterTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + } + + public readonly partial struct PermissionSetEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PermissionSetEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly PermissionSetEncoder AddPermission(string typeName, Collections.Immutable.ImmutableArray encodedArguments) { throw null; } + + public readonly PermissionSetEncoder AddPermission(string typeName, BlobBuilder encodedArguments) { throw null; } + } + + public sealed partial class PortablePdbBuilder + { + public PortablePdbBuilder(MetadataBuilder tablesAndHeaps, Collections.Immutable.ImmutableArray typeSystemRowCounts, MethodDefinitionHandle entryPoint, Func, BlobContentId>? idProvider = null) { } + + public ushort FormatVersion { get { throw null; } } + + public Func, BlobContentId> IdProvider { get { throw null; } } + + public string MetadataVersion { get { throw null; } } + + public BlobContentId Serialize(BlobBuilder builder) { throw null; } + } + + public readonly partial struct ReturnTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReturnTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + + public readonly void Void() { } + } + + public readonly partial struct ScalarEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ScalarEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Constant(object? value) { } + + public readonly void NullArray() { } + + public readonly void SystemType(string? serializedTypeName) { } + } + + public readonly partial struct SignatureDecoder + { + private readonly ISignatureTypeProvider _provider; + private readonly TGenericContext _genericContext; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureDecoder(ISignatureTypeProvider provider, MetadataReader metadataReader, TGenericContext genericContext) { } + + public readonly TType DecodeFieldSignature(ref BlobReader blobReader) { throw null; } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ref BlobReader blobReader) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ref BlobReader blobReader) { throw null; } + + public readonly Collections.Immutable.ImmutableArray DecodeMethodSpecificationSignature(ref BlobReader blobReader) { throw null; } + + public readonly TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications = false) { throw null; } + } + + public readonly partial struct SignatureTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Array(Action elementType, Action arrayShape) { } + + public readonly void Array(out SignatureTypeEncoder elementType, out ArrayShapeEncoder arrayShape) { throw null; } + + public readonly void Boolean() { } + + public readonly void Byte() { } + + public readonly void Char() { } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly void Double() { } + + public readonly MethodSignatureEncoder FunctionPointer(SignatureCallingConvention convention = SignatureCallingConvention.Default, FunctionPointerAttributes attributes = FunctionPointerAttributes.None, int genericParameterCount = 0) { throw null; } + + public readonly GenericTypeArgumentsEncoder GenericInstantiation(EntityHandle genericType, int genericArgumentCount, bool isValueType) { throw null; } + + public readonly void GenericMethodTypeParameter(int parameterIndex) { } + + public readonly void GenericTypeParameter(int parameterIndex) { } + + public readonly void Int16() { } + + public readonly void Int32() { } + + public readonly void Int64() { } + + public readonly void IntPtr() { } + + public readonly void Object() { } + + public readonly SignatureTypeEncoder Pointer() { throw null; } + + public readonly void PrimitiveType(PrimitiveTypeCode type) { } + + public readonly void SByte() { } + + public readonly void Single() { } + + public readonly void String() { } + + public readonly SignatureTypeEncoder SZArray() { throw null; } + + public readonly void Type(EntityHandle type, bool isValueType) { } + + public readonly void TypedReference() { } + + public readonly void UInt16() { } + + public readonly void UInt32() { } + + public readonly void UInt64() { } + + public readonly void UIntPtr() { } + + public readonly void VoidPointer() { } + } + + public readonly partial struct SwitchInstructionEncoder + { + private readonly int _dummyPrimitive; + public readonly void Branch(LabelHandle label) { } + } + + public enum TableIndex : byte + { + Module = 0, + TypeRef = 1, + TypeDef = 2, + FieldPtr = 3, + Field = 4, + MethodPtr = 5, + MethodDef = 6, + ParamPtr = 7, + Param = 8, + InterfaceImpl = 9, + MemberRef = 10, + Constant = 11, + CustomAttribute = 12, + FieldMarshal = 13, + DeclSecurity = 14, + ClassLayout = 15, + FieldLayout = 16, + StandAloneSig = 17, + EventMap = 18, + EventPtr = 19, + Event = 20, + PropertyMap = 21, + PropertyPtr = 22, + Property = 23, + MethodSemantics = 24, + MethodImpl = 25, + ModuleRef = 26, + TypeSpec = 27, + ImplMap = 28, + FieldRva = 29, + EncLog = 30, + EncMap = 31, + Assembly = 32, + AssemblyProcessor = 33, + AssemblyOS = 34, + AssemblyRef = 35, + AssemblyRefProcessor = 36, + AssemblyRefOS = 37, + File = 38, + ExportedType = 39, + ManifestResource = 40, + NestedClass = 41, + GenericParam = 42, + MethodSpec = 43, + GenericParamConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + StateMachineMethod = 54, + CustomDebugInformation = 55 + } + + public readonly partial struct VectorEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public VectorEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralsEncoder Count(int count) { throw null; } + } +} + +namespace System.Reflection.PortableExecutable +{ + [Flags] + public enum Characteristics : ushort + { + RelocsStripped = 1, + ExecutableImage = 2, + LineNumsStripped = 4, + LocalSymsStripped = 8, + AggressiveWSTrim = 16, + LargeAddressAware = 32, + BytesReversedLo = 128, + Bit32Machine = 256, + DebugStripped = 512, + RemovableRunFromSwap = 1024, + NetRunFromSwap = 2048, + System = 4096, + Dll = 8192, + UpSystemOnly = 16384, + BytesReversedHi = 32768 + } + + public readonly partial struct CodeViewDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Age { get { throw null; } } + + public Guid Guid { get { throw null; } } + + public string Path { get { throw null; } } + } + + public sealed partial class CoffHeader + { + internal CoffHeader() { } + + public Characteristics Characteristics { get { throw null; } } + + public Machine Machine { get { throw null; } } + + public short NumberOfSections { get { throw null; } } + + public int NumberOfSymbols { get { throw null; } } + + public int PointerToSymbolTable { get { throw null; } } + + public short SizeOfOptionalHeader { get { throw null; } } + + public int TimeDateStamp { get { throw null; } } + } + + [Flags] + public enum CorFlags + { + ILOnly = 1, + Requires32Bit = 2, + ILLibrary = 4, + StrongNameSigned = 8, + NativeEntryPoint = 16, + TrackDebugData = 65536, + Prefers32Bit = 131072 + } + + public sealed partial class CorHeader + { + internal CorHeader() { } + + public DirectoryEntry CodeManagerTableDirectory { get { throw null; } } + + public int EntryPointTokenOrRelativeVirtualAddress { get { throw null; } } + + public DirectoryEntry ExportAddressTableJumpsDirectory { get { throw null; } } + + public CorFlags Flags { get { throw null; } } + + public ushort MajorRuntimeVersion { get { throw null; } } + + public DirectoryEntry ManagedNativeHeaderDirectory { get { throw null; } } + + public DirectoryEntry MetadataDirectory { get { throw null; } } + + public ushort MinorRuntimeVersion { get { throw null; } } + + public DirectoryEntry ResourcesDirectory { get { throw null; } } + + public DirectoryEntry StrongNameSignatureDirectory { get { throw null; } } + + public DirectoryEntry VtableFixupsDirectory { get { throw null; } } + } + + public sealed partial class DebugDirectoryBuilder + { + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion, int age) { } + + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion) { } + + public void AddEmbeddedPortablePdbEntry(Metadata.BlobBuilder debugMetadata, ushort portablePdbVersion) { } + + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp) { } + + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action dataSerializer) { } + + public void AddPdbChecksumEntry(string algorithmName, Collections.Immutable.ImmutableArray checksum) { } + + public void AddReproducibleEntry() { } + } + + public readonly partial struct DebugDirectoryEntry + { + private readonly int _dummyPrimitive; + public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer) { } + + public int DataPointer { get { throw null; } } + + public int DataRelativeVirtualAddress { get { throw null; } } + + public int DataSize { get { throw null; } } + + public bool IsPortableCodeView { get { throw null; } } + + public ushort MajorVersion { get { throw null; } } + + public ushort MinorVersion { get { throw null; } } + + public uint Stamp { get { throw null; } } + + public DebugDirectoryEntryType Type { get { throw null; } } + } + + public enum DebugDirectoryEntryType + { + Unknown = 0, + Coff = 1, + CodeView = 2, + Reproducible = 16, + EmbeddedPortablePdb = 17, + PdbChecksum = 19 + } + + public readonly partial struct DirectoryEntry + { + public readonly int RelativeVirtualAddress; + public readonly int Size; + public DirectoryEntry(int relativeVirtualAddress, int size) { } + } + + [Flags] + public enum DllCharacteristics : ushort + { + ProcessInit = 1, + ProcessTerm = 2, + ThreadInit = 4, + ThreadTerm = 8, + HighEntropyVirtualAddressSpace = 32, + DynamicBase = 64, + ForceIntegrity = 128, + NxCompatible = 256, + NoIsolation = 512, + NoSeh = 1024, + NoBind = 2048, + AppContainer = 4096, + WdmDriver = 8192, + ControlFlowGuard = 16384, + TerminalServerAware = 32768 + } + + public enum Machine : ushort + { + Unknown = 0, + I386 = 332, + WceMipsV2 = 361, + Alpha = 388, + SH3 = 418, + SH3Dsp = 419, + SH3E = 420, + SH4 = 422, + SH5 = 424, + Arm = 448, + Thumb = 450, + ArmThumb2 = 452, + AM33 = 467, + PowerPC = 496, + PowerPCFP = 497, + IA64 = 512, + MIPS16 = 614, + Alpha64 = 644, + MipsFpu = 870, + MipsFpu16 = 1126, + Tricore = 1312, + Ebc = 3772, + RiscV32 = 20530, + RiscV64 = 20580, + RiscV128 = 20776, + LoongArch32 = 25138, + LoongArch64 = 25188, + Amd64 = 34404, + M32R = 36929, + Arm64 = 43620 + } + + public partial class ManagedPEBuilder : PEBuilder + { + public const int ManagedResourcesDataAlignment = 8; + public const int MappedFieldDataAlignment = 8; + public ManagedPEBuilder(PEHeaderBuilder header, Metadata.Ecma335.MetadataRootBuilder metadataRootBuilder, Metadata.BlobBuilder ilStream, Metadata.BlobBuilder? mappedFieldData = null, Metadata.BlobBuilder? managedResources = null, ResourceSectionBuilder? nativeResources = null, DebugDirectoryBuilder? debugDirectoryBuilder = null, int strongNameSignatureSize = 128, Metadata.MethodDefinitionHandle entryPoint = default, CorFlags flags = CorFlags.ILOnly, Func, Metadata.BlobContentId>? deterministicIdProvider = null) : base(default!, default) { } + + protected override Collections.Immutable.ImmutableArray
CreateSections() { throw null; } + + protected internal override PEDirectoriesBuilder GetDirectories() { throw null; } + + protected override Metadata.BlobBuilder SerializeSection(string name, SectionLocation location) { throw null; } + + public void Sign(Metadata.BlobBuilder peImage, Func, byte[]> signatureProvider) { } + } + + public readonly partial struct PdbChecksumDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string AlgorithmName { get { throw null; } } + + public Collections.Immutable.ImmutableArray Checksum { get { throw null; } } + } + + public abstract partial class PEBuilder + { + protected PEBuilder(PEHeaderBuilder header, Func, Metadata.BlobContentId>? deterministicIdProvider) { } + + public PEHeaderBuilder Header { get { throw null; } } + + public Func, Metadata.BlobContentId> IdProvider { get { throw null; } } + + public bool IsDeterministic { get { throw null; } } + + protected abstract Collections.Immutable.ImmutableArray
CreateSections(); + protected internal abstract PEDirectoriesBuilder GetDirectories(); + protected Collections.Immutable.ImmutableArray
GetSections() { throw null; } + + public Metadata.BlobContentId Serialize(Metadata.BlobBuilder builder) { throw null; } + + protected abstract Metadata.BlobBuilder SerializeSection(string name, SectionLocation location); + protected readonly partial struct Section + { + public readonly SectionCharacteristics Characteristics; + public readonly string Name; + public Section(string name, SectionCharacteristics characteristics) { } + } + } + + public sealed partial class PEDirectoriesBuilder + { + public int AddressOfEntryPoint { get { throw null; } set { } } + + public DirectoryEntry BaseRelocationTable { get { throw null; } set { } } + + public DirectoryEntry BoundImportTable { get { throw null; } set { } } + + public DirectoryEntry CopyrightTable { get { throw null; } set { } } + + public DirectoryEntry CorHeaderTable { get { throw null; } set { } } + + public DirectoryEntry DebugTable { get { throw null; } set { } } + + public DirectoryEntry DelayImportTable { get { throw null; } set { } } + + public DirectoryEntry ExceptionTable { get { throw null; } set { } } + + public DirectoryEntry ExportTable { get { throw null; } set { } } + + public DirectoryEntry GlobalPointerTable { get { throw null; } set { } } + + public DirectoryEntry ImportAddressTable { get { throw null; } set { } } + + public DirectoryEntry ImportTable { get { throw null; } set { } } + + public DirectoryEntry LoadConfigTable { get { throw null; } set { } } + + public DirectoryEntry ResourceTable { get { throw null; } set { } } + + public DirectoryEntry ThreadLocalStorageTable { get { throw null; } set { } } + } + + public sealed partial class PEHeader + { + internal PEHeader() { } + + public int AddressOfEntryPoint { get { throw null; } } + + public int BaseOfCode { get { throw null; } } + + public int BaseOfData { get { throw null; } } + + public DirectoryEntry BaseRelocationTableDirectory { get { throw null; } } + + public DirectoryEntry BoundImportTableDirectory { get { throw null; } } + + public DirectoryEntry CertificateTableDirectory { get { throw null; } } + + public uint CheckSum { get { throw null; } } + + public DirectoryEntry CopyrightTableDirectory { get { throw null; } } + + public DirectoryEntry CorHeaderTableDirectory { get { throw null; } } + + public DirectoryEntry DebugTableDirectory { get { throw null; } } + + public DirectoryEntry DelayImportTableDirectory { get { throw null; } } + + public DllCharacteristics DllCharacteristics { get { throw null; } } + + public DirectoryEntry ExceptionTableDirectory { get { throw null; } } + + public DirectoryEntry ExportTableDirectory { get { throw null; } } + + public int FileAlignment { get { throw null; } } + + public DirectoryEntry GlobalPointerTableDirectory { get { throw null; } } + + public ulong ImageBase { get { throw null; } } + + public DirectoryEntry ImportAddressTableDirectory { get { throw null; } } + + public DirectoryEntry ImportTableDirectory { get { throw null; } } + + public DirectoryEntry LoadConfigTableDirectory { get { throw null; } } + + public PEMagic Magic { get { throw null; } } + + public ushort MajorImageVersion { get { throw null; } } + + public byte MajorLinkerVersion { get { throw null; } } + + public ushort MajorOperatingSystemVersion { get { throw null; } } + + public ushort MajorSubsystemVersion { get { throw null; } } + + public ushort MinorImageVersion { get { throw null; } } + + public byte MinorLinkerVersion { get { throw null; } } + + public ushort MinorOperatingSystemVersion { get { throw null; } } + + public ushort MinorSubsystemVersion { get { throw null; } } + + public int NumberOfRvaAndSizes { get { throw null; } } + + public DirectoryEntry ResourceTableDirectory { get { throw null; } } + + public int SectionAlignment { get { throw null; } } + + public int SizeOfCode { get { throw null; } } + + public int SizeOfHeaders { get { throw null; } } + + public ulong SizeOfHeapCommit { get { throw null; } } + + public ulong SizeOfHeapReserve { get { throw null; } } + + public int SizeOfImage { get { throw null; } } + + public int SizeOfInitializedData { get { throw null; } } + + public ulong SizeOfStackCommit { get { throw null; } } + + public ulong SizeOfStackReserve { get { throw null; } } + + public int SizeOfUninitializedData { get { throw null; } } + + public Subsystem Subsystem { get { throw null; } } + + public DirectoryEntry ThreadLocalStorageTableDirectory { get { throw null; } } + } + + public sealed partial class PEHeaderBuilder + { + public PEHeaderBuilder(Machine machine = Machine.Unknown, int sectionAlignment = 8192, int fileAlignment = 512, ulong imageBase = 4194304, byte majorLinkerVersion = 48, byte minorLinkerVersion = 0, ushort majorOperatingSystemVersion = 4, ushort minorOperatingSystemVersion = 0, ushort majorImageVersion = 0, ushort minorImageVersion = 0, ushort majorSubsystemVersion = 4, ushort minorSubsystemVersion = 0, Subsystem subsystem = Subsystem.WindowsCui, DllCharacteristics dllCharacteristics = DllCharacteristics.DynamicBase | DllCharacteristics.NxCompatible | DllCharacteristics.NoSeh | DllCharacteristics.TerminalServerAware, Characteristics imageCharacteristics = Characteristics.Dll, ulong sizeOfStackReserve = 1048576, ulong sizeOfStackCommit = 4096, ulong sizeOfHeapReserve = 1048576, ulong sizeOfHeapCommit = 4096) { } + + public DllCharacteristics DllCharacteristics { get { throw null; } } + + public int FileAlignment { get { throw null; } } + + public ulong ImageBase { get { throw null; } } + + public Characteristics ImageCharacteristics { get { throw null; } } + + public Machine Machine { get { throw null; } } + + public ushort MajorImageVersion { get { throw null; } } + + public byte MajorLinkerVersion { get { throw null; } } + + public ushort MajorOperatingSystemVersion { get { throw null; } } + + public ushort MajorSubsystemVersion { get { throw null; } } + + public ushort MinorImageVersion { get { throw null; } } + + public byte MinorLinkerVersion { get { throw null; } } + + public ushort MinorOperatingSystemVersion { get { throw null; } } + + public ushort MinorSubsystemVersion { get { throw null; } } + + public int SectionAlignment { get { throw null; } } + + public ulong SizeOfHeapCommit { get { throw null; } } + + public ulong SizeOfHeapReserve { get { throw null; } } + + public ulong SizeOfStackCommit { get { throw null; } } + + public ulong SizeOfStackReserve { get { throw null; } } + + public Subsystem Subsystem { get { throw null; } } + + public static PEHeaderBuilder CreateExecutableHeader() { throw null; } + + public static PEHeaderBuilder CreateLibraryHeader() { throw null; } + } + + public sealed partial class PEHeaders + { + public PEHeaders(IO.Stream peStream, int size, bool isLoadedImage) { } + + public PEHeaders(IO.Stream peStream, int size) { } + + public PEHeaders(IO.Stream peStream) { } + + public CoffHeader CoffHeader { get { throw null; } } + + public int CoffHeaderStartOffset { get { throw null; } } + + public CorHeader? CorHeader { get { throw null; } } + + public int CorHeaderStartOffset { get { throw null; } } + + public bool IsCoffOnly { get { throw null; } } + + public bool IsConsoleApplication { get { throw null; } } + + public bool IsDll { get { throw null; } } + + public bool IsExe { get { throw null; } } + + public int MetadataSize { get { throw null; } } + + public int MetadataStartOffset { get { throw null; } } + + public PEHeader? PEHeader { get { throw null; } } + + public int PEHeaderStartOffset { get { throw null; } } + + public Collections.Immutable.ImmutableArray SectionHeaders { get { throw null; } } + + public int GetContainingSectionIndex(int relativeVirtualAddress) { throw null; } + + public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset) { throw null; } + } + + public enum PEMagic : ushort + { + PE32 = 267, + PE32Plus = 523 + } + + public readonly partial struct PEMemoryBlock + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Length { get { throw null; } } + + public unsafe byte* Pointer { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray GetContent() { throw null; } + + public readonly Collections.Immutable.ImmutableArray GetContent(int start, int length) { throw null; } + + public readonly Metadata.BlobReader GetReader() { throw null; } + + public readonly Metadata.BlobReader GetReader(int start, int length) { throw null; } + } + + public sealed partial class PEReader : IDisposable + { + public unsafe PEReader(byte* peImage, int size, bool isLoadedImage) { } + + public unsafe PEReader(byte* peImage, int size) { } + + public PEReader(Collections.Immutable.ImmutableArray peImage) { } + + public PEReader(IO.Stream peStream, PEStreamOptions options, int size) { } + + public PEReader(IO.Stream peStream, PEStreamOptions options) { } + + public PEReader(IO.Stream peStream) { } + + public bool HasMetadata { get { throw null; } } + + public bool IsEntireImageAvailable { get { throw null; } } + + public bool IsLoadedImage { get { throw null; } } + + public PEHeaders PEHeaders { get { throw null; } } + + public void Dispose() { } + + public PEMemoryBlock GetEntireImage() { throw null; } + + public PEMemoryBlock GetMetadata() { throw null; } + + public PEMemoryBlock GetSectionData(int relativeVirtualAddress) { throw null; } + + public PEMemoryBlock GetSectionData(string sectionName) { throw null; } + + public CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public Collections.Immutable.ImmutableArray ReadDebugDirectory() { throw null; } + + public Metadata.MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public PdbChecksumDebugDirectoryData ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public bool TryOpenAssociatedPortablePdb(string peImagePath, Func pdbFileStreamProvider, out Metadata.MetadataReaderProvider? pdbReaderProvider, out string? pdbPath) { throw null; } + } + + [Flags] + public enum PEStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2, + PrefetchEntireImage = 4, + IsLoadedImage = 8 + } + + public abstract partial class ResourceSectionBuilder + { + protected internal abstract void Serialize(Metadata.BlobBuilder builder, SectionLocation location); + } + + [Flags] + public enum SectionCharacteristics : uint + { + MemWrite = 2147483648U, + TypeReg = 0U, + TypeDSect = 1U, + TypeNoLoad = 2U, + TypeGroup = 4U, + TypeNoPad = 8U, + TypeCopy = 16U, + ContainsCode = 32U, + ContainsInitializedData = 64U, + ContainsUninitializedData = 128U, + LinkerOther = 256U, + LinkerInfo = 512U, + TypeOver = 1024U, + LinkerRemove = 2048U, + LinkerComdat = 4096U, + MemProtected = 16384U, + NoDeferSpecExc = 16384U, + GPRel = 32768U, + MemFardata = 32768U, + MemSysheap = 65536U, + Mem16Bit = 131072U, + MemPurgeable = 131072U, + MemLocked = 262144U, + MemPreload = 524288U, + Align1Bytes = 1048576U, + Align2Bytes = 2097152U, + Align4Bytes = 3145728U, + Align8Bytes = 4194304U, + Align16Bytes = 5242880U, + Align32Bytes = 6291456U, + Align64Bytes = 7340032U, + Align128Bytes = 8388608U, + Align256Bytes = 9437184U, + Align512Bytes = 10485760U, + Align1024Bytes = 11534336U, + Align2048Bytes = 12582912U, + Align4096Bytes = 13631488U, + Align8192Bytes = 14680064U, + AlignMask = 15728640U, + LinkerNRelocOvfl = 16777216U, + MemDiscardable = 33554432U, + MemNotCached = 67108864U, + MemNotPaged = 134217728U, + MemShared = 268435456U, + MemExecute = 536870912U, + MemRead = 1073741824U + } + + public readonly partial struct SectionHeader + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string Name { get { throw null; } } + + public ushort NumberOfLineNumbers { get { throw null; } } + + public ushort NumberOfRelocations { get { throw null; } } + + public int PointerToLineNumbers { get { throw null; } } + + public int PointerToRawData { get { throw null; } } + + public int PointerToRelocations { get { throw null; } } + + public SectionCharacteristics SectionCharacteristics { get { throw null; } } + + public int SizeOfRawData { get { throw null; } } + + public int VirtualAddress { get { throw null; } } + + public int VirtualSize { get { throw null; } } + } + + public readonly partial struct SectionLocation + { + private readonly int _dummyPrimitive; + public SectionLocation(int relativeVirtualAddress, int pointerToRawData) { } + + public int PointerToRawData { get { throw null; } } + + public int RelativeVirtualAddress { get { throw null; } } + } + + public enum Subsystem : ushort + { + Unknown = 0, + Native = 1, + WindowsGui = 2, + WindowsCui = 3, + OS2Cui = 5, + PosixCui = 7, + NativeWindows = 8, + WindowsCEGui = 9, + EfiApplication = 10, + EfiBootServiceDriver = 11, + EfiRuntimeDriver = 12, + EfiRom = 13, + Xbox = 14, + WindowsBootApplication = 16 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/netstandard2.0/System.Reflection.Metadata.cs b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/netstandard2.0/System.Reflection.Metadata.cs new file mode 100644 index 0000000000..d44c72c865 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/lib/netstandard2.0/System.Reflection.Metadata.cs @@ -0,0 +1,5511 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// ------------------------------------------------------------------------------ +// Changes to this file must follow the http://aka.ms/api-review process. +// ------------------------------------------------------------------------------ +[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] +[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] +[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] +[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Reflection.Metadata.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004b86c4cb78549b34bab61a3b1800e23bfeb5b3ec390074041536a7e3cbd97f5f04cf0f857155a8928eaa29ebfd11cfbbad3ba70efea7bda3226c6a8d370a4cd303f714486b6ebc225985a638471e6ef571cc92a4613c00b8fa65d61ccee0cbe5f36330c9a01f4183559f1bef24cc2917c6d913e3a541333a1d05d9bed22b38cb")] +[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] +[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] +[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] +[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.Metadata")] +[assembly: System.Resources.NeutralResourcesLanguage("en-US")] +[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] +[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] +[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] +[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] +[assembly: System.Reflection.AssemblyDescription("This package provides a low-level .NET (ECMA-335) metadata reader and writer. It's geared for performance and is the ideal choice for building higher-level libraries that intend to provide their own object model, such as compilers. The metadata format is defined by the ECMA-335 - Common Language Infrastructure (CLI) specification.\r\n\r\nThe System.Reflection.Metadata library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks.")] +[assembly: System.Reflection.AssemblyFileVersion("9.0.24.52809")] +[assembly: System.Reflection.AssemblyInformationalVersion("9.0.0+9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3")] +[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] +[assembly: System.Reflection.AssemblyTitle("System.Reflection.Metadata")] +[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/runtime")] +[assembly: System.Reflection.AssemblyVersionAttribute("9.0.0.0")] +[assembly: System.Runtime.CompilerServices.ReferenceAssembly] +[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] +namespace System.Reflection +{ + [Flags] + public enum AssemblyFlags + { + PublicKey = 1, + Retargetable = 256, + WindowsRuntime = 512, + ContentTypeMask = 3584, + DisableJitCompileOptimizer = 16384, + EnableJitCompileTracking = 32768 + } + + public enum AssemblyHashAlgorithm + { + None = 0, + MD5 = 32771, + Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782 + } + + public enum DeclarativeSecurityAction : short + { + None = 0, + Demand = 2, + Assert = 3, + Deny = 4, + PermitOnly = 5, + LinkDemand = 6, + InheritanceDemand = 7, + RequestMinimum = 8, + RequestOptional = 9, + RequestRefuse = 10 + } + + [Flags] + public enum ManifestResourceAttributes + { + Public = 1, + Private = 2, + VisibilityMask = 7 + } + + [Flags] + public enum MethodImportAttributes : short + { + None = 0, + ExactSpelling = 1, + CharSetAnsi = 2, + CharSetUnicode = 4, + CharSetAuto = 6, + CharSetMask = 6, + BestFitMappingEnable = 16, + BestFitMappingDisable = 32, + BestFitMappingMask = 48, + SetLastError = 64, + CallingConventionWinApi = 256, + CallingConventionCDecl = 512, + CallingConventionStdCall = 768, + CallingConventionThisCall = 1024, + CallingConventionFastCall = 1280, + CallingConventionMask = 1792, + ThrowOnUnmappableCharEnable = 4096, + ThrowOnUnmappableCharDisable = 8192, + ThrowOnUnmappableCharMask = 12288 + } + + [Flags] + public enum MethodSemanticsAttributes + { + Setter = 1, + Getter = 2, + Other = 4, + Adder = 8, + Remover = 16, + Raiser = 32 + } +} + +namespace System.Reflection.Metadata +{ + public readonly partial struct ArrayShape + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + + public Collections.Immutable.ImmutableArray LowerBounds { get { throw null; } } + + public int Rank { get { throw null; } } + + public Collections.Immutable.ImmutableArray Sizes { get { throw null; } } + } + + public readonly partial struct AssemblyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + + public AssemblyFlags Flags { get { throw null; } } + + public AssemblyHashAlgorithm HashAlgorithm { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle PublicKey { get { throw null; } } + + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + } + + public readonly partial struct AssemblyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + + public static explicit operator AssemblyDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyDefinitionHandle handle) { throw null; } + + public static bool operator !=(AssemblyDefinitionHandle left, AssemblyDefinitionHandle right) { throw null; } + } + + public readonly partial struct AssemblyFile + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool ContainsMetadata { get { throw null; } } + + public BlobHandle HashValue { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyFileHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyFileHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + + public static explicit operator AssemblyFileHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyFileHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyFileHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyFileHandle handle) { throw null; } + + public static bool operator !=(AssemblyFileHandle left, AssemblyFileHandle right) { throw null; } + } + + public readonly partial struct AssemblyFileHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public AssemblyFileHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public sealed partial class AssemblyNameInfo + { + public AssemblyNameInfo(string name, Version? version = null, string? cultureName = null, AssemblyNameFlags flags = AssemblyNameFlags.None, Collections.Immutable.ImmutableArray publicKeyOrToken = default) { } + + public string? CultureName { get { throw null; } } + + public AssemblyNameFlags Flags { get { throw null; } } + + public string FullName { get { throw null; } } + + public string Name { get { throw null; } } + + public Collections.Immutable.ImmutableArray PublicKeyOrToken { get { throw null; } } + + public Version? Version { get { throw null; } } + + public static AssemblyNameInfo Parse(ReadOnlySpan assemblyName) { throw null; } + + public AssemblyName ToAssemblyName() { throw null; } + + public static bool TryParse(ReadOnlySpan assemblyName, out AssemblyNameInfo? result) { throw null; } + } + + public readonly partial struct AssemblyReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Culture { get { throw null; } } + + public AssemblyFlags Flags { get { throw null; } } + + public BlobHandle HashValue { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle PublicKeyOrToken { get { throw null; } } + + public Version Version { get { throw null; } } + + public readonly AssemblyName GetAssemblyName() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct AssemblyReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(AssemblyReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + + public static explicit operator AssemblyReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator AssemblyReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(AssemblyReferenceHandle handle) { throw null; } + + public static implicit operator Handle(AssemblyReferenceHandle handle) { throw null; } + + public static bool operator !=(AssemblyReferenceHandle left, AssemblyReferenceHandle right) { throw null; } + } + + public readonly partial struct AssemblyReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public AssemblyReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Blob + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public bool IsDefault { get { throw null; } } + + public int Length { get { throw null; } } + + public readonly ArraySegment GetBytes() { throw null; } + } + + public partial class BlobBuilder + { + public BlobBuilder(int capacity = 256) { } + + protected internal int ChunkCapacity { get { throw null; } } + + public int Count { get { throw null; } } + + protected int FreeBytes { get { throw null; } } + + public void Align(int alignment) { } + + protected virtual BlobBuilder AllocateChunk(int minimalSize) { throw null; } + + public void Clear() { } + + public bool ContentEquals(BlobBuilder other) { throw null; } + + protected void Free() { } + + protected virtual void FreeChunk() { } + + public Blobs GetBlobs() { throw null; } + + public void LinkPrefix(BlobBuilder prefix) { } + + public void LinkSuffix(BlobBuilder suffix) { } + + public void PadTo(int position) { } + + public Blob ReserveBytes(int byteCount) { throw null; } + + public byte[] ToArray() { throw null; } + + public byte[] ToArray(int start, int byteCount) { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + + public int TryWriteBytes(IO.Stream source, int byteCount) { throw null; } + + public void WriteBoolean(bool value) { } + + public void WriteByte(byte value) { } + + public void WriteBytes(byte value, int byteCount) { } + + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + + public void WriteBytes(byte[] buffer) { } + + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + + public void WriteCompressedInteger(int value) { } + + public void WriteCompressedSignedInteger(int value) { } + + public void WriteConstant(object? value) { } + + public void WriteContentTo(IO.Stream destination) { } + + public void WriteContentTo(BlobBuilder destination) { } + + public void WriteContentTo(ref BlobWriter destination) { } + + public void WriteDateTime(DateTime value) { } + + public void WriteDecimal(decimal value) { } + + public void WriteDouble(double value) { } + + public void WriteGuid(Guid value) { } + + public void WriteInt16(short value) { } + + public void WriteInt16BE(short value) { } + + public void WriteInt32(int value) { } + + public void WriteInt32BE(int value) { } + + public void WriteInt64(long value) { } + + public void WriteReference(int reference, bool isSmall) { } + + public void WriteSByte(sbyte value) { } + + public void WriteSerializedString(string? value) { } + + public void WriteSingle(float value) { } + + public void WriteUInt16(ushort value) { } + + public void WriteUInt16BE(ushort value) { } + + public void WriteUInt32(uint value) { } + + public void WriteUInt32BE(uint value) { } + + public void WriteUInt64(ulong value) { } + + public void WriteUserString(string value) { } + + public void WriteUTF16(char[] value) { } + + public void WriteUTF16(string value) { } + + public void WriteUTF8(string value, bool allowUnpairedSurrogates = true) { } + + public partial struct Blobs : Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + public Blob Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public Blobs GetEnumerator() { throw null; } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct BlobContentId : IEquatable + { + private readonly int _dummyPrimitive; + public BlobContentId(byte[] id) { } + + public BlobContentId(Collections.Immutable.ImmutableArray id) { } + + public BlobContentId(Guid guid, uint stamp) { } + + public Guid Guid { get { throw null; } } + + public bool IsDefault { get { throw null; } } + + public uint Stamp { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(BlobContentId other) { throw null; } + + public static BlobContentId FromHash(byte[] hashCode) { throw null; } + + public static BlobContentId FromHash(Collections.Immutable.ImmutableArray hashCode) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static Func, BlobContentId> GetTimeBasedProvider() { throw null; } + + public static bool operator ==(BlobContentId left, BlobContentId right) { throw null; } + + public static bool operator !=(BlobContentId left, BlobContentId right) { throw null; } + } + + public readonly partial struct BlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(BlobHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(BlobHandle left, BlobHandle right) { throw null; } + + public static explicit operator BlobHandle(Handle handle) { throw null; } + + public static implicit operator Handle(BlobHandle handle) { throw null; } + + public static bool operator !=(BlobHandle left, BlobHandle right) { throw null; } + } + + public partial struct BlobReader + { + private object _dummy; + private int _dummyPrimitive; + public unsafe BlobReader(byte* buffer, int length) { } + + public unsafe byte* CurrentPointer { get { throw null; } } + + public int Length { get { throw null; } } + + public int Offset { get { throw null; } set { } } + + public int RemainingBytes { get { throw null; } } + + public unsafe byte* StartPointer { get { throw null; } } + + public void Align(byte alignment) { } + + public int IndexOf(byte value) { throw null; } + + public BlobHandle ReadBlobHandle() { throw null; } + + public bool ReadBoolean() { throw null; } + + public byte ReadByte() { throw null; } + + public void ReadBytes(int byteCount, byte[] buffer, int bufferOffset) { } + + public byte[] ReadBytes(int byteCount) { throw null; } + + public char ReadChar() { throw null; } + + public int ReadCompressedInteger() { throw null; } + + public int ReadCompressedSignedInteger() { throw null; } + + public object? ReadConstant(ConstantTypeCode typeCode) { throw null; } + + public DateTime ReadDateTime() { throw null; } + + public decimal ReadDecimal() { throw null; } + + public double ReadDouble() { throw null; } + + public Guid ReadGuid() { throw null; } + + public short ReadInt16() { throw null; } + + public int ReadInt32() { throw null; } + + public long ReadInt64() { throw null; } + + public sbyte ReadSByte() { throw null; } + + public SerializationTypeCode ReadSerializationTypeCode() { throw null; } + + public string? ReadSerializedString() { throw null; } + + public SignatureHeader ReadSignatureHeader() { throw null; } + + public SignatureTypeCode ReadSignatureTypeCode() { throw null; } + + public float ReadSingle() { throw null; } + + public EntityHandle ReadTypeHandle() { throw null; } + + public ushort ReadUInt16() { throw null; } + + public uint ReadUInt32() { throw null; } + + public ulong ReadUInt64() { throw null; } + + public string ReadUTF16(int byteCount) { throw null; } + + public string ReadUTF8(int byteCount) { throw null; } + + public void Reset() { } + + public bool TryReadCompressedInteger(out int value) { throw null; } + + public bool TryReadCompressedSignedInteger(out int value) { throw null; } + } + + public partial struct BlobWriter + { + private object _dummy; + private int _dummyPrimitive; + public BlobWriter(byte[] buffer, int start, int count) { } + + public BlobWriter(byte[] buffer) { } + + public BlobWriter(int size) { } + + public BlobWriter(Blob blob) { } + + public Blob Blob { get { throw null; } } + + public int Length { get { throw null; } } + + public int Offset { get { throw null; } set { } } + + public int RemainingBytes { get { throw null; } } + + public void Align(int alignment) { } + + public void Clear() { } + + public bool ContentEquals(BlobWriter other) { throw null; } + + public void PadTo(int offset) { } + + public byte[] ToArray() { throw null; } + + public byte[] ToArray(int start, int byteCount) { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray() { throw null; } + + public Collections.Immutable.ImmutableArray ToImmutableArray(int start, int byteCount) { throw null; } + + public void WriteBoolean(bool value) { } + + public void WriteByte(byte value) { } + + public void WriteBytes(byte value, int byteCount) { } + + public void WriteBytes(byte[] buffer, int start, int byteCount) { } + + public void WriteBytes(byte[] buffer) { } + + public unsafe void WriteBytes(byte* buffer, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer, int start, int byteCount) { } + + public void WriteBytes(Collections.Immutable.ImmutableArray buffer) { } + + public int WriteBytes(IO.Stream source, int byteCount) { throw null; } + + public void WriteBytes(BlobBuilder source) { } + + public void WriteCompressedInteger(int value) { } + + public void WriteCompressedSignedInteger(int value) { } + + public void WriteConstant(object? value) { } + + public void WriteDateTime(DateTime value) { } + + public void WriteDecimal(decimal value) { } + + public void WriteDouble(double value) { } + + public void WriteGuid(Guid value) { } + + public void WriteInt16(short value) { } + + public void WriteInt16BE(short value) { } + + public void WriteInt32(int value) { } + + public void WriteInt32BE(int value) { } + + public void WriteInt64(long value) { } + + public void WriteReference(int reference, bool isSmall) { } + + public void WriteSByte(sbyte value) { } + + public void WriteSerializedString(string? str) { } + + public void WriteSingle(float value) { } + + public void WriteUInt16(ushort value) { } + + public void WriteUInt16BE(ushort value) { } + + public void WriteUInt32(uint value) { } + + public void WriteUInt32BE(uint value) { } + + public void WriteUInt64(ulong value) { } + + public void WriteUserString(string value) { } + + public void WriteUTF16(char[] value) { } + + public void WriteUTF16(string value) { } + + public void WriteUTF8(string value, bool allowUnpairedSurrogates) { } + } + + public readonly partial struct Constant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Parent { get { throw null; } } + + public ConstantTypeCode TypeCode { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct ConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ConstantHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ConstantHandle left, ConstantHandle right) { throw null; } + + public static explicit operator ConstantHandle(EntityHandle handle) { throw null; } + + public static explicit operator ConstantHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ConstantHandle handle) { throw null; } + + public static implicit operator Handle(ConstantHandle handle) { throw null; } + + public static bool operator !=(ConstantHandle left, ConstantHandle right) { throw null; } + } + + public enum ConstantTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + NullReference = 18 + } + + public readonly partial struct CustomAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Constructor { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + + public readonly CustomAttributeValue DecodeValue(ICustomAttributeTypeProvider provider) { throw null; } + } + + public readonly partial struct CustomAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(CustomAttributeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + + public static explicit operator CustomAttributeHandle(EntityHandle handle) { throw null; } + + public static explicit operator CustomAttributeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(CustomAttributeHandle handle) { throw null; } + + public static implicit operator Handle(CustomAttributeHandle handle) { throw null; } + + public static bool operator !=(CustomAttributeHandle left, CustomAttributeHandle right) { throw null; } + } + + public readonly partial struct CustomAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum CustomAttributeNamedArgumentKind : byte + { + Field = 83, + Property = 84 + } + + public readonly partial struct CustomAttributeNamedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgument(string? name, CustomAttributeNamedArgumentKind kind, TType type, object? value) { } + + public CustomAttributeNamedArgumentKind Kind { get { throw null; } } + + public string? Name { get { throw null; } } + + public TType Type { get { throw null; } } + + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeTypedArgument + { + private readonly TType _Type_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeTypedArgument(TType type, object? value) { } + + public TType Type { get { throw null; } } + + public object? Value { get { throw null; } } + } + + public readonly partial struct CustomAttributeValue + { + private readonly Collections.Immutable.ImmutableArray> _FixedArguments_k__BackingField; + private readonly Collections.Immutable.ImmutableArray> _NamedArguments_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeValue(Collections.Immutable.ImmutableArray> fixedArguments, Collections.Immutable.ImmutableArray> namedArguments) { } + + public Collections.Immutable.ImmutableArray> FixedArguments { get { throw null; } } + + public Collections.Immutable.ImmutableArray> NamedArguments { get { throw null; } } + } + + public readonly partial struct CustomDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle Kind { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Value { get { throw null; } } + } + + public readonly partial struct CustomDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(CustomDebugInformationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + + public static explicit operator CustomDebugInformationHandle(EntityHandle handle) { throw null; } + + public static explicit operator CustomDebugInformationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(CustomDebugInformationHandle handle) { throw null; } + + public static implicit operator Handle(CustomDebugInformationHandle handle) { throw null; } + + public static bool operator !=(CustomDebugInformationHandle left, CustomDebugInformationHandle right) { throw null; } + } + + public readonly partial struct CustomDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public CustomDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public sealed partial class DebugMetadataHeader + { + internal DebugMetadataHeader() { } + + public MethodDefinitionHandle EntryPoint { get { throw null; } } + + public Collections.Immutable.ImmutableArray Id { get { throw null; } } + + public int IdStartOffset { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttribute + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DeclarativeSecurityAction Action { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle PermissionSet { get { throw null; } } + } + + public readonly partial struct DeclarativeSecurityAttributeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DeclarativeSecurityAttributeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + + public static explicit operator DeclarativeSecurityAttributeHandle(EntityHandle handle) { throw null; } + + public static explicit operator DeclarativeSecurityAttributeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public static implicit operator Handle(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public static bool operator !=(DeclarativeSecurityAttributeHandle left, DeclarativeSecurityAttributeHandle right) { throw null; } + } + + public readonly partial struct DeclarativeSecurityAttributeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DeclarativeSecurityAttributeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct Document + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Hash { get { throw null; } } + + public GuidHandle HashAlgorithm { get { throw null; } } + + public GuidHandle Language { get { throw null; } } + + public DocumentNameBlobHandle Name { get { throw null; } } + } + + public readonly partial struct DocumentHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DocumentHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DocumentHandle left, DocumentHandle right) { throw null; } + + public static explicit operator DocumentHandle(EntityHandle handle) { throw null; } + + public static explicit operator DocumentHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(DocumentHandle handle) { throw null; } + + public static implicit operator Handle(DocumentHandle handle) { throw null; } + + public static bool operator !=(DocumentHandle left, DocumentHandle right) { throw null; } + } + + public readonly partial struct DocumentHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public DocumentHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct DocumentNameBlobHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(DocumentNameBlobHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + + public static explicit operator DocumentNameBlobHandle(BlobHandle handle) { throw null; } + + public static implicit operator BlobHandle(DocumentNameBlobHandle handle) { throw null; } + + public static bool operator !=(DocumentNameBlobHandle left, DocumentNameBlobHandle right) { throw null; } + } + + public readonly partial struct EntityHandle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EntityHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(EntityHandle left, EntityHandle right) { throw null; } + + public static explicit operator EntityHandle(Handle handle) { throw null; } + + public static implicit operator Handle(EntityHandle handle) { throw null; } + + public static bool operator !=(EntityHandle left, EntityHandle right) { throw null; } + } + + public readonly partial struct EventAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Adder { get { throw null; } } + + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + + public MethodDefinitionHandle Raiser { get { throw null; } } + + public MethodDefinitionHandle Remover { get { throw null; } } + } + + public readonly partial struct EventDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EventAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public EntityHandle Type { get { throw null; } } + + public readonly EventAccessors GetAccessors() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct EventDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EventDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + + public static explicit operator EventDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator EventDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(EventDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(EventDefinitionHandle handle) { throw null; } + + public static bool operator !=(EventDefinitionHandle left, EventDefinitionHandle right) { throw null; } + } + + public readonly partial struct EventDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public EventDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ExceptionRegion + { + private readonly int _dummyPrimitive; + public EntityHandle CatchType { get { throw null; } } + + public int FilterOffset { get { throw null; } } + + public int HandlerLength { get { throw null; } } + + public int HandlerOffset { get { throw null; } } + + public ExceptionRegionKind Kind { get { throw null; } } + + public int TryLength { get { throw null; } } + + public int TryOffset { get { throw null; } } + } + + public enum ExceptionRegionKind : ushort + { + Catch = 0, + Filter = 1, + Finally = 2, + Fault = 4 + } + + public readonly partial struct ExportedType + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + + public EntityHandle Implementation { get { throw null; } } + + public bool IsForwarder { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ExportedTypeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ExportedTypeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + + public static explicit operator ExportedTypeHandle(EntityHandle handle) { throw null; } + + public static explicit operator ExportedTypeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ExportedTypeHandle handle) { throw null; } + + public static implicit operator Handle(ExportedTypeHandle handle) { throw null; } + + public static bool operator !=(ExportedTypeHandle left, ExportedTypeHandle right) { throw null; } + } + + public readonly partial struct ExportedTypeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ExportedTypeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct FieldDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + + public readonly int GetOffset() { throw null; } + + public readonly int GetRelativeVirtualAddress() { throw null; } + } + + public readonly partial struct FieldDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(FieldDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + + public static explicit operator FieldDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator FieldDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(FieldDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(FieldDefinitionHandle handle) { throw null; } + + public static bool operator !=(FieldDefinitionHandle left, FieldDefinitionHandle right) { throw null; } + } + + public readonly partial struct FieldDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public FieldDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterAttributes Attributes { get { throw null; } } + + public int Index { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public readonly GenericParameterConstraintHandleCollection GetConstraints() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraint + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericParameterHandle Parameter { get { throw null; } } + + public EntityHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GenericParameterConstraintHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + + public static explicit operator GenericParameterConstraintHandle(EntityHandle handle) { throw null; } + + public static explicit operator GenericParameterConstraintHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(GenericParameterConstraintHandle handle) { throw null; } + + public static implicit operator Handle(GenericParameterConstraintHandle handle) { throw null; } + + public static bool operator !=(GenericParameterConstraintHandle left, GenericParameterConstraintHandle right) { throw null; } + } + + public readonly partial struct GenericParameterConstraintHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterConstraintHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterConstraintHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GenericParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GenericParameterHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + + public static explicit operator GenericParameterHandle(EntityHandle handle) { throw null; } + + public static explicit operator GenericParameterHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(GenericParameterHandle handle) { throw null; } + + public static implicit operator Handle(GenericParameterHandle handle) { throw null; } + + public static bool operator !=(GenericParameterHandle left, GenericParameterHandle right) { throw null; } + } + + public readonly partial struct GenericParameterHandleCollection : Collections.Generic.IReadOnlyList, Collections.Generic.IEnumerable, Collections.IEnumerable, Collections.Generic.IReadOnlyCollection + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public GenericParameterHandle this[int index] { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public GenericParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct GuidHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(GuidHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(GuidHandle left, GuidHandle right) { throw null; } + + public static explicit operator GuidHandle(Handle handle) { throw null; } + + public static implicit operator Handle(GuidHandle handle) { throw null; } + + public static bool operator !=(GuidHandle left, GuidHandle right) { throw null; } + } + + public readonly partial struct Handle : IEquatable + { + private readonly int _dummyPrimitive; + public static readonly AssemblyDefinitionHandle AssemblyDefinition; + public static readonly ModuleDefinitionHandle ModuleDefinition; + public bool IsNil { get { throw null; } } + + public HandleKind Kind { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(Handle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(Handle left, Handle right) { throw null; } + + public static bool operator !=(Handle left, Handle right) { throw null; } + } + + public sealed partial class HandleComparer : Collections.Generic.IEqualityComparer, Collections.Generic.IComparer, Collections.Generic.IEqualityComparer, Collections.Generic.IComparer + { + internal HandleComparer() { } + + public static HandleComparer Default { get { throw null; } } + + public int Compare(EntityHandle x, EntityHandle y) { throw null; } + + public int Compare(Handle x, Handle y) { throw null; } + + public bool Equals(EntityHandle x, EntityHandle y) { throw null; } + + public bool Equals(Handle x, Handle y) { throw null; } + + public int GetHashCode(EntityHandle obj) { throw null; } + + public int GetHashCode(Handle obj) { throw null; } + } + + public enum HandleKind : byte + { + ModuleDefinition = 0, + TypeReference = 1, + TypeDefinition = 2, + FieldDefinition = 4, + MethodDefinition = 6, + Parameter = 8, + InterfaceImplementation = 9, + MemberReference = 10, + Constant = 11, + CustomAttribute = 12, + DeclarativeSecurityAttribute = 14, + StandaloneSignature = 17, + EventDefinition = 20, + PropertyDefinition = 23, + MethodImplementation = 25, + ModuleReference = 26, + TypeSpecification = 27, + AssemblyDefinition = 32, + AssemblyReference = 35, + AssemblyFile = 38, + ExportedType = 39, + ManifestResource = 40, + GenericParameter = 42, + MethodSpecification = 43, + GenericParameterConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + CustomDebugInformation = 55, + UserString = 112, + Blob = 113, + Guid = 114, + String = 120, + NamespaceDefinition = 124 + } + + public partial interface IConstructedTypeProvider : ISZArrayTypeProvider + { + TType GetArrayType(TType elementType, ArrayShape shape); + TType GetByReferenceType(TType elementType); + TType GetGenericInstantiation(TType genericType, Collections.Immutable.ImmutableArray typeArguments); + TType GetPointerType(TType elementType); + } + + public partial interface ICustomAttributeTypeProvider : ISimpleTypeProvider, ISZArrayTypeProvider + { + TType GetSystemType(); + TType GetTypeFromSerializedName(string name); + PrimitiveTypeCode GetUnderlyingEnumType(TType type); + bool IsSystemType(TType type); + } + + public enum ILOpCode : ushort + { + Nop = 0, + Break = 1, + Ldarg_0 = 2, + Ldarg_1 = 3, + Ldarg_2 = 4, + Ldarg_3 = 5, + Ldloc_0 = 6, + Ldloc_1 = 7, + Ldloc_2 = 8, + Ldloc_3 = 9, + Stloc_0 = 10, + Stloc_1 = 11, + Stloc_2 = 12, + Stloc_3 = 13, + Ldarg_s = 14, + Ldarga_s = 15, + Starg_s = 16, + Ldloc_s = 17, + Ldloca_s = 18, + Stloc_s = 19, + Ldnull = 20, + Ldc_i4_m1 = 21, + Ldc_i4_0 = 22, + Ldc_i4_1 = 23, + Ldc_i4_2 = 24, + Ldc_i4_3 = 25, + Ldc_i4_4 = 26, + Ldc_i4_5 = 27, + Ldc_i4_6 = 28, + Ldc_i4_7 = 29, + Ldc_i4_8 = 30, + Ldc_i4_s = 31, + Ldc_i4 = 32, + Ldc_i8 = 33, + Ldc_r4 = 34, + Ldc_r8 = 35, + Dup = 37, + Pop = 38, + Jmp = 39, + Call = 40, + Calli = 41, + Ret = 42, + Br_s = 43, + Brfalse_s = 44, + Brtrue_s = 45, + Beq_s = 46, + Bge_s = 47, + Bgt_s = 48, + Ble_s = 49, + Blt_s = 50, + Bne_un_s = 51, + Bge_un_s = 52, + Bgt_un_s = 53, + Ble_un_s = 54, + Blt_un_s = 55, + Br = 56, + Brfalse = 57, + Brtrue = 58, + Beq = 59, + Bge = 60, + Bgt = 61, + Ble = 62, + Blt = 63, + Bne_un = 64, + Bge_un = 65, + Bgt_un = 66, + Ble_un = 67, + Blt_un = 68, + Switch = 69, + Ldind_i1 = 70, + Ldind_u1 = 71, + Ldind_i2 = 72, + Ldind_u2 = 73, + Ldind_i4 = 74, + Ldind_u4 = 75, + Ldind_i8 = 76, + Ldind_i = 77, + Ldind_r4 = 78, + Ldind_r8 = 79, + Ldind_ref = 80, + Stind_ref = 81, + Stind_i1 = 82, + Stind_i2 = 83, + Stind_i4 = 84, + Stind_i8 = 85, + Stind_r4 = 86, + Stind_r8 = 87, + Add = 88, + Sub = 89, + Mul = 90, + Div = 91, + Div_un = 92, + Rem = 93, + Rem_un = 94, + And = 95, + Or = 96, + Xor = 97, + Shl = 98, + Shr = 99, + Shr_un = 100, + Neg = 101, + Not = 102, + Conv_i1 = 103, + Conv_i2 = 104, + Conv_i4 = 105, + Conv_i8 = 106, + Conv_r4 = 107, + Conv_r8 = 108, + Conv_u4 = 109, + Conv_u8 = 110, + Callvirt = 111, + Cpobj = 112, + Ldobj = 113, + Ldstr = 114, + Newobj = 115, + Castclass = 116, + Isinst = 117, + Conv_r_un = 118, + Unbox = 121, + Throw = 122, + Ldfld = 123, + Ldflda = 124, + Stfld = 125, + Ldsfld = 126, + Ldsflda = 127, + Stsfld = 128, + Stobj = 129, + Conv_ovf_i1_un = 130, + Conv_ovf_i2_un = 131, + Conv_ovf_i4_un = 132, + Conv_ovf_i8_un = 133, + Conv_ovf_u1_un = 134, + Conv_ovf_u2_un = 135, + Conv_ovf_u4_un = 136, + Conv_ovf_u8_un = 137, + Conv_ovf_i_un = 138, + Conv_ovf_u_un = 139, + Box = 140, + Newarr = 141, + Ldlen = 142, + Ldelema = 143, + Ldelem_i1 = 144, + Ldelem_u1 = 145, + Ldelem_i2 = 146, + Ldelem_u2 = 147, + Ldelem_i4 = 148, + Ldelem_u4 = 149, + Ldelem_i8 = 150, + Ldelem_i = 151, + Ldelem_r4 = 152, + Ldelem_r8 = 153, + Ldelem_ref = 154, + Stelem_i = 155, + Stelem_i1 = 156, + Stelem_i2 = 157, + Stelem_i4 = 158, + Stelem_i8 = 159, + Stelem_r4 = 160, + Stelem_r8 = 161, + Stelem_ref = 162, + Ldelem = 163, + Stelem = 164, + Unbox_any = 165, + Conv_ovf_i1 = 179, + Conv_ovf_u1 = 180, + Conv_ovf_i2 = 181, + Conv_ovf_u2 = 182, + Conv_ovf_i4 = 183, + Conv_ovf_u4 = 184, + Conv_ovf_i8 = 185, + Conv_ovf_u8 = 186, + Refanyval = 194, + Ckfinite = 195, + Mkrefany = 198, + Ldtoken = 208, + Conv_u2 = 209, + Conv_u1 = 210, + Conv_i = 211, + Conv_ovf_i = 212, + Conv_ovf_u = 213, + Add_ovf = 214, + Add_ovf_un = 215, + Mul_ovf = 216, + Mul_ovf_un = 217, + Sub_ovf = 218, + Sub_ovf_un = 219, + Endfinally = 220, + Leave = 221, + Leave_s = 222, + Stind_i = 223, + Conv_u = 224, + Arglist = 65024, + Ceq = 65025, + Cgt = 65026, + Cgt_un = 65027, + Clt = 65028, + Clt_un = 65029, + Ldftn = 65030, + Ldvirtftn = 65031, + Ldarg = 65033, + Ldarga = 65034, + Starg = 65035, + Ldloc = 65036, + Ldloca = 65037, + Stloc = 65038, + Localloc = 65039, + Endfilter = 65041, + Unaligned = 65042, + Volatile = 65043, + Tail = 65044, + Initobj = 65045, + Constrained = 65046, + Cpblk = 65047, + Initblk = 65048, + Rethrow = 65050, + Sizeof = 65052, + Refanytype = 65053, + Readonly = 65054 + } + + public static partial class ILOpCodeExtensions + { + public static int GetBranchOperandSize(this ILOpCode opCode) { throw null; } + + public static ILOpCode GetLongBranch(this ILOpCode opCode) { throw null; } + + public static ILOpCode GetShortBranch(this ILOpCode opCode) { throw null; } + + public static bool IsBranch(this ILOpCode opCode) { throw null; } + } + + public partial class ImageFormatLimitationException : Exception + { + public ImageFormatLimitationException() { } + + protected ImageFormatLimitationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context) { } + + public ImageFormatLimitationException(string? message, Exception? innerException) { } + + public ImageFormatLimitationException(string? message) { } + } + + public readonly partial struct ImportDefinition + { + private readonly int _dummyPrimitive; + public BlobHandle Alias { get { throw null; } } + + public ImportDefinitionKind Kind { get { throw null; } } + + public AssemblyReferenceHandle TargetAssembly { get { throw null; } } + + public BlobHandle TargetNamespace { get { throw null; } } + + public EntityHandle TargetType { get { throw null; } } + } + + public readonly partial struct ImportDefinitionCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ImportDefinition Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum ImportDefinitionKind + { + ImportNamespace = 1, + ImportAssemblyNamespace = 2, + ImportType = 3, + ImportXmlNamespace = 4, + ImportAssemblyReferenceAlias = 5, + AliasAssemblyReference = 6, + AliasNamespace = 7, + AliasAssemblyNamespace = 8, + AliasType = 9 + } + + public readonly partial struct ImportScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle ImportsBlob { get { throw null; } } + + public ImportScopeHandle Parent { get { throw null; } } + + public readonly ImportDefinitionCollection GetImports() { throw null; } + } + + public readonly partial struct ImportScopeCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ImportScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ImportScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ImportScopeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + + public static explicit operator ImportScopeHandle(EntityHandle handle) { throw null; } + + public static explicit operator ImportScopeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ImportScopeHandle handle) { throw null; } + + public static implicit operator Handle(ImportScopeHandle handle) { throw null; } + + public static bool operator !=(ImportScopeHandle left, ImportScopeHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Interface { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct InterfaceImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(InterfaceImplementationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + + public static explicit operator InterfaceImplementationHandle(EntityHandle handle) { throw null; } + + public static explicit operator InterfaceImplementationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(InterfaceImplementationHandle handle) { throw null; } + + public static implicit operator Handle(InterfaceImplementationHandle handle) { throw null; } + + public static bool operator !=(InterfaceImplementationHandle left, InterfaceImplementationHandle right) { throw null; } + } + + public readonly partial struct InterfaceImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public InterfaceImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public partial interface ISignatureTypeProvider : ISimpleTypeProvider, IConstructedTypeProvider, ISZArrayTypeProvider + { + TType GetFunctionPointerType(MethodSignature signature); + TType GetGenericMethodParameter(TGenericContext genericContext, int index); + TType GetGenericTypeParameter(TGenericContext genericContext, int index); + TType GetModifiedType(TType modifier, TType unmodifiedType, bool isRequired); + TType GetPinnedType(TType elementType); + TType GetTypeFromSpecification(MetadataReader reader, TGenericContext genericContext, TypeSpecificationHandle handle, byte rawTypeKind); + } + + public partial interface ISimpleTypeProvider + { + TType GetPrimitiveType(PrimitiveTypeCode typeCode); + TType GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind); + TType GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind); + } + + public partial interface ISZArrayTypeProvider + { + TType GetSZArrayType(TType elementType); + } + + public readonly partial struct LocalConstant + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + } + + public readonly partial struct LocalConstantHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalConstantHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + + public static explicit operator LocalConstantHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalConstantHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalConstantHandle handle) { throw null; } + + public static implicit operator Handle(LocalConstantHandle handle) { throw null; } + + public static bool operator !=(LocalConstantHandle left, LocalConstantHandle right) { throw null; } + } + + public readonly partial struct LocalConstantHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalConstantHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalScope + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int EndOffset { get { throw null; } } + + public ImportScopeHandle ImportScope { get { throw null; } } + + public int Length { get { throw null; } } + + public MethodDefinitionHandle Method { get { throw null; } } + + public int StartOffset { get { throw null; } } + + public readonly LocalScopeHandleCollection.ChildrenEnumerator GetChildren() { throw null; } + + public readonly LocalConstantHandleCollection GetLocalConstants() { throw null; } + + public readonly LocalVariableHandleCollection GetLocalVariables() { throw null; } + } + + public readonly partial struct LocalScopeHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalScopeHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + + public static explicit operator LocalScopeHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalScopeHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalScopeHandle handle) { throw null; } + + public static implicit operator Handle(LocalScopeHandle handle) { throw null; } + + public static bool operator !=(LocalScopeHandle left, LocalScopeHandle right) { throw null; } + } + + public readonly partial struct LocalScopeHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct ChildrenEnumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalScopeHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct LocalVariable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableAttributes Attributes { get { throw null; } } + + public int Index { get { throw null; } } + + public StringHandle Name { get { throw null; } } + } + + [Flags] + public enum LocalVariableAttributes + { + None = 0, + DebuggerHidden = 1 + } + + public readonly partial struct LocalVariableHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LocalVariableHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + + public static explicit operator LocalVariableHandle(EntityHandle handle) { throw null; } + + public static explicit operator LocalVariableHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(LocalVariableHandle handle) { throw null; } + + public static implicit operator Handle(LocalVariableHandle handle) { throw null; } + + public static bool operator !=(LocalVariableHandle left, LocalVariableHandle right) { throw null; } + } + + public readonly partial struct LocalVariableHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public LocalVariableHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ManifestResource + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ManifestResourceAttributes Attributes { get { throw null; } } + + public EntityHandle Implementation { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public long Offset { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ManifestResourceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ManifestResourceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + + public static explicit operator ManifestResourceHandle(EntityHandle handle) { throw null; } + + public static explicit operator ManifestResourceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ManifestResourceHandle handle) { throw null; } + + public static implicit operator Handle(ManifestResourceHandle handle) { throw null; } + + public static bool operator !=(ManifestResourceHandle left, ManifestResourceHandle right) { throw null; } + } + + public readonly partial struct ManifestResourceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public ManifestResourceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MemberReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public EntityHandle Parent { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeFieldSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly MemberReferenceKind GetKind() { throw null; } + } + + public readonly partial struct MemberReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MemberReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + + public static explicit operator MemberReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator MemberReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MemberReferenceHandle handle) { throw null; } + + public static implicit operator Handle(MemberReferenceHandle handle) { throw null; } + + public static bool operator !=(MemberReferenceHandle left, MemberReferenceHandle right) { throw null; } + } + + public readonly partial struct MemberReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MemberReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum MemberReferenceKind + { + Method = 0, + Field = 1 + } + + public enum MetadataKind + { + Ecma335 = 0, + WindowsMetadata = 1, + ManagedWindowsMetadata = 2 + } + + public sealed partial class MetadataReader + { + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { } + + public unsafe MetadataReader(byte* metadata, int length, MetadataReaderOptions options) { } + + public unsafe MetadataReader(byte* metadata, int length) { } + + public AssemblyFileHandleCollection AssemblyFiles { get { throw null; } } + + public AssemblyReferenceHandleCollection AssemblyReferences { get { throw null; } } + + public CustomAttributeHandleCollection CustomAttributes { get { throw null; } } + + public CustomDebugInformationHandleCollection CustomDebugInformation { get { throw null; } } + + public DebugMetadataHeader? DebugMetadataHeader { get { throw null; } } + + public DeclarativeSecurityAttributeHandleCollection DeclarativeSecurityAttributes { get { throw null; } } + + public DocumentHandleCollection Documents { get { throw null; } } + + public EventDefinitionHandleCollection EventDefinitions { get { throw null; } } + + public ExportedTypeHandleCollection ExportedTypes { get { throw null; } } + + public FieldDefinitionHandleCollection FieldDefinitions { get { throw null; } } + + public ImportScopeCollection ImportScopes { get { throw null; } } + + public bool IsAssembly { get { throw null; } } + + public LocalConstantHandleCollection LocalConstants { get { throw null; } } + + public LocalScopeHandleCollection LocalScopes { get { throw null; } } + + public LocalVariableHandleCollection LocalVariables { get { throw null; } } + + public ManifestResourceHandleCollection ManifestResources { get { throw null; } } + + public MemberReferenceHandleCollection MemberReferences { get { throw null; } } + + public MetadataKind MetadataKind { get { throw null; } } + + public int MetadataLength { get { throw null; } } + + public unsafe byte* MetadataPointer { get { throw null; } } + + public string MetadataVersion { get { throw null; } } + + public MethodDebugInformationHandleCollection MethodDebugInformation { get { throw null; } } + + public MethodDefinitionHandleCollection MethodDefinitions { get { throw null; } } + + public MetadataReaderOptions Options { get { throw null; } } + + public PropertyDefinitionHandleCollection PropertyDefinitions { get { throw null; } } + + public MetadataStringComparer StringComparer { get { throw null; } } + + public TypeDefinitionHandleCollection TypeDefinitions { get { throw null; } } + + public TypeReferenceHandleCollection TypeReferences { get { throw null; } } + + public MetadataStringDecoder UTF8Decoder { get { throw null; } } + + public AssemblyDefinition GetAssemblyDefinition() { throw null; } + + public AssemblyFile GetAssemblyFile(AssemblyFileHandle handle) { throw null; } + + public static AssemblyName GetAssemblyName(string assemblyFile) { throw null; } + + public AssemblyReference GetAssemblyReference(AssemblyReferenceHandle handle) { throw null; } + + public byte[] GetBlobBytes(BlobHandle handle) { throw null; } + + public Collections.Immutable.ImmutableArray GetBlobContent(BlobHandle handle) { throw null; } + + public BlobReader GetBlobReader(BlobHandle handle) { throw null; } + + public BlobReader GetBlobReader(StringHandle handle) { throw null; } + + public Constant GetConstant(ConstantHandle handle) { throw null; } + + public CustomAttribute GetCustomAttribute(CustomAttributeHandle handle) { throw null; } + + public CustomAttributeHandleCollection GetCustomAttributes(EntityHandle handle) { throw null; } + + public CustomDebugInformation GetCustomDebugInformation(CustomDebugInformationHandle handle) { throw null; } + + public CustomDebugInformationHandleCollection GetCustomDebugInformation(EntityHandle handle) { throw null; } + + public DeclarativeSecurityAttribute GetDeclarativeSecurityAttribute(DeclarativeSecurityAttributeHandle handle) { throw null; } + + public Document GetDocument(DocumentHandle handle) { throw null; } + + public EventDefinition GetEventDefinition(EventDefinitionHandle handle) { throw null; } + + public ExportedType GetExportedType(ExportedTypeHandle handle) { throw null; } + + public FieldDefinition GetFieldDefinition(FieldDefinitionHandle handle) { throw null; } + + public GenericParameter GetGenericParameter(GenericParameterHandle handle) { throw null; } + + public GenericParameterConstraint GetGenericParameterConstraint(GenericParameterConstraintHandle handle) { throw null; } + + public Guid GetGuid(GuidHandle handle) { throw null; } + + public ImportScope GetImportScope(ImportScopeHandle handle) { throw null; } + + public InterfaceImplementation GetInterfaceImplementation(InterfaceImplementationHandle handle) { throw null; } + + public LocalConstant GetLocalConstant(LocalConstantHandle handle) { throw null; } + + public LocalScope GetLocalScope(LocalScopeHandle handle) { throw null; } + + public LocalScopeHandleCollection GetLocalScopes(MethodDebugInformationHandle handle) { throw null; } + + public LocalScopeHandleCollection GetLocalScopes(MethodDefinitionHandle handle) { throw null; } + + public LocalVariable GetLocalVariable(LocalVariableHandle handle) { throw null; } + + public ManifestResource GetManifestResource(ManifestResourceHandle handle) { throw null; } + + public MemberReference GetMemberReference(MemberReferenceHandle handle) { throw null; } + + public MethodDebugInformation GetMethodDebugInformation(MethodDebugInformationHandle handle) { throw null; } + + public MethodDebugInformation GetMethodDebugInformation(MethodDefinitionHandle handle) { throw null; } + + public MethodDefinition GetMethodDefinition(MethodDefinitionHandle handle) { throw null; } + + public MethodImplementation GetMethodImplementation(MethodImplementationHandle handle) { throw null; } + + public MethodSpecification GetMethodSpecification(MethodSpecificationHandle handle) { throw null; } + + public ModuleDefinition GetModuleDefinition() { throw null; } + + public ModuleReference GetModuleReference(ModuleReferenceHandle handle) { throw null; } + + public NamespaceDefinition GetNamespaceDefinition(NamespaceDefinitionHandle handle) { throw null; } + + public NamespaceDefinition GetNamespaceDefinitionRoot() { throw null; } + + public Parameter GetParameter(ParameterHandle handle) { throw null; } + + public PropertyDefinition GetPropertyDefinition(PropertyDefinitionHandle handle) { throw null; } + + public StandaloneSignature GetStandaloneSignature(StandaloneSignatureHandle handle) { throw null; } + + public string GetString(DocumentNameBlobHandle handle) { throw null; } + + public string GetString(NamespaceDefinitionHandle handle) { throw null; } + + public string GetString(StringHandle handle) { throw null; } + + public TypeDefinition GetTypeDefinition(TypeDefinitionHandle handle) { throw null; } + + public TypeReference GetTypeReference(TypeReferenceHandle handle) { throw null; } + + public TypeSpecification GetTypeSpecification(TypeSpecificationHandle handle) { throw null; } + + public string GetUserString(UserStringHandle handle) { throw null; } + } + + [Flags] + public enum MetadataReaderOptions + { + None = 0, + ApplyWindowsRuntimeProjections = 1, + Default = 1 + } + + public sealed partial class MetadataReaderProvider : IDisposable + { + internal MetadataReaderProvider() { } + + public void Dispose() { } + + public static unsafe MetadataReaderProvider FromMetadataImage(byte* start, int size) { throw null; } + + public static MetadataReaderProvider FromMetadataImage(Collections.Immutable.ImmutableArray image) { throw null; } + + public static MetadataReaderProvider FromMetadataStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + + public static unsafe MetadataReaderProvider FromPortablePdbImage(byte* start, int size) { throw null; } + + public static MetadataReaderProvider FromPortablePdbImage(Collections.Immutable.ImmutableArray image) { throw null; } + + public static MetadataReaderProvider FromPortablePdbStream(IO.Stream stream, MetadataStreamOptions options = MetadataStreamOptions.Default, int size = 0) { throw null; } + + public MetadataReader GetMetadataReader(MetadataReaderOptions options = MetadataReaderOptions.ApplyWindowsRuntimeProjections, MetadataStringDecoder? utf8Decoder = null) { throw null; } + } + + [Flags] + public enum MetadataStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2 + } + + public readonly partial struct MetadataStringComparer + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly bool Equals(DocumentNameBlobHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(DocumentNameBlobHandle handle, string value) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle handle, string value) { throw null; } + + public readonly bool Equals(StringHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool Equals(StringHandle handle, string value) { throw null; } + + public readonly bool StartsWith(StringHandle handle, string value, bool ignoreCase) { throw null; } + + public readonly bool StartsWith(StringHandle handle, string value) { throw null; } + } + + public partial class MetadataStringDecoder + { + public MetadataStringDecoder(Text.Encoding encoding) { } + + public static MetadataStringDecoder DefaultUTF8 { get { throw null; } } + + public Text.Encoding Encoding { get { throw null; } } + + public virtual unsafe string GetString(byte* bytes, int byteCount) { throw null; } + } + + public sealed partial class MethodBodyBlock + { + internal MethodBodyBlock() { } + + public Collections.Immutable.ImmutableArray ExceptionRegions { get { throw null; } } + + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + + public bool LocalVariablesInitialized { get { throw null; } } + + public int MaxStack { get { throw null; } } + + public int Size { get { throw null; } } + + public static MethodBodyBlock Create(BlobReader reader) { throw null; } + + public byte[]? GetILBytes() { throw null; } + + public Collections.Immutable.ImmutableArray GetILContent() { throw null; } + + public BlobReader GetILReader() { throw null; } + } + + public readonly partial struct MethodDebugInformation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DocumentHandle Document { get { throw null; } } + + public StandaloneSignatureHandle LocalSignature { get { throw null; } } + + public BlobHandle SequencePointsBlob { get { throw null; } } + + public readonly SequencePointCollection GetSequencePoints() { throw null; } + + public readonly MethodDefinitionHandle GetStateMachineKickoffMethod() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodDebugInformationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + + public static explicit operator MethodDebugInformationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodDebugInformationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodDebugInformationHandle handle) { throw null; } + + public static implicit operator Handle(MethodDebugInformationHandle handle) { throw null; } + + public static bool operator !=(MethodDebugInformationHandle left, MethodDebugInformationHandle right) { throw null; } + + public readonly MethodDefinitionHandle ToDefinitionHandle() { throw null; } + } + + public readonly partial struct MethodDebugInformationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDebugInformationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodAttributes Attributes { get { throw null; } } + + public MethodImplAttributes ImplAttributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public int RelativeVirtualAddress { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + + public readonly MethodImport GetImport() { throw null; } + + public readonly ParameterHandleCollection GetParameters() { throw null; } + } + + public readonly partial struct MethodDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + + public static explicit operator MethodDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(MethodDefinitionHandle handle) { throw null; } + + public static bool operator !=(MethodDefinitionHandle left, MethodDefinitionHandle right) { throw null; } + + public readonly MethodDebugInformationHandle ToDebugInformationHandle() { throw null; } + } + + public readonly partial struct MethodDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public MethodDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImplementation + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle MethodBody { get { throw null; } } + + public EntityHandle MethodDeclaration { get { throw null; } } + + public TypeDefinitionHandle Type { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodImplementationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodImplementationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + + public static explicit operator MethodImplementationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodImplementationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodImplementationHandle handle) { throw null; } + + public static implicit operator Handle(MethodImplementationHandle handle) { throw null; } + + public static bool operator !=(MethodImplementationHandle left, MethodImplementationHandle right) { throw null; } + } + + public readonly partial struct MethodImplementationHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public MethodImplementationHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct MethodImport + { + private readonly int _dummyPrimitive; + public MethodImportAttributes Attributes { get { throw null; } } + + public ModuleReferenceHandle Module { get { throw null; } } + + public StringHandle Name { get { throw null; } } + } + + public readonly partial struct MethodSignature + { + private readonly TType _ReturnType_k__BackingField; + private readonly Collections.Immutable.ImmutableArray _ParameterTypes_k__BackingField; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignature(SignatureHeader header, TType returnType, int requiredParameterCount, int genericParameterCount, Collections.Immutable.ImmutableArray parameterTypes) { } + + public int GenericParameterCount { get { throw null; } } + + public SignatureHeader Header { get { throw null; } } + + public Collections.Immutable.ImmutableArray ParameterTypes { get { throw null; } } + + public int RequiredParameterCount { get { throw null; } } + + public TType ReturnType { get { throw null; } } + } + + public readonly partial struct MethodSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EntityHandle Method { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct MethodSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(MethodSpecificationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + + public static explicit operator MethodSpecificationHandle(EntityHandle handle) { throw null; } + + public static explicit operator MethodSpecificationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(MethodSpecificationHandle handle) { throw null; } + + public static implicit operator Handle(MethodSpecificationHandle handle) { throw null; } + + public static bool operator !=(MethodSpecificationHandle left, MethodSpecificationHandle right) { throw null; } + } + + public readonly partial struct ModuleDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GuidHandle BaseGenerationId { get { throw null; } } + + public int Generation { get { throw null; } } + + public GuidHandle GenerationId { get { throw null; } } + + public GuidHandle Mvid { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ModuleDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + + public static explicit operator ModuleDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator ModuleDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ModuleDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(ModuleDefinitionHandle handle) { throw null; } + + public static bool operator !=(ModuleDefinitionHandle left, ModuleDefinitionHandle right) { throw null; } + } + + public readonly partial struct ModuleReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct ModuleReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ModuleReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + + public static explicit operator ModuleReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator ModuleReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ModuleReferenceHandle handle) { throw null; } + + public static implicit operator Handle(ModuleReferenceHandle handle) { throw null; } + + public static bool operator !=(ModuleReferenceHandle left, ModuleReferenceHandle right) { throw null; } + } + + public partial struct NamespaceDefinition + { + private object _dummy; + private int _dummyPrimitive; + public Collections.Immutable.ImmutableArray ExportedTypes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public Collections.Immutable.ImmutableArray NamespaceDefinitions { get { throw null; } } + + public NamespaceDefinitionHandle Parent { get { throw null; } } + + public Collections.Immutable.ImmutableArray TypeDefinitions { get { throw null; } } + } + + public readonly partial struct NamespaceDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(NamespaceDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + + public static explicit operator NamespaceDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator Handle(NamespaceDefinitionHandle handle) { throw null; } + + public static bool operator !=(NamespaceDefinitionHandle left, NamespaceDefinitionHandle right) { throw null; } + } + + public readonly partial struct Parameter + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public int SequenceNumber { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + + public readonly BlobHandle GetMarshallingDescriptor() { throw null; } + } + + public readonly partial struct ParameterHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(ParameterHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(ParameterHandle left, ParameterHandle right) { throw null; } + + public static explicit operator ParameterHandle(EntityHandle handle) { throw null; } + + public static explicit operator ParameterHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(ParameterHandle handle) { throw null; } + + public static implicit operator Handle(ParameterHandle handle) { throw null; } + + public static bool operator !=(ParameterHandle left, ParameterHandle right) { throw null; } + } + + public readonly partial struct ParameterHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public ParameterHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public static partial class PEReaderExtensions + { + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options, MetadataStringDecoder? utf8Decoder) { throw null; } + + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader, MetadataReaderOptions options) { throw null; } + + public static MetadataReader GetMetadataReader(this PortableExecutable.PEReader peReader) { throw null; } + + public static MethodBodyBlock GetMethodBody(this PortableExecutable.PEReader peReader, int relativeVirtualAddress) { throw null; } + } + + public enum PrimitiveSerializationTypeCode : byte + { + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14 + } + + public enum PrimitiveTypeCode : byte + { + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + Object = 28 + } + + public readonly partial struct PropertyAccessors + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodDefinitionHandle Getter { get { throw null; } } + + public Collections.Immutable.ImmutableArray Others { get { throw null; } } + + public MethodDefinitionHandle Setter { get { throw null; } } + } + + public readonly partial struct PropertyDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PropertyAttributes Attributes { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public BlobHandle Signature { get { throw null; } } + + public readonly MethodSignature DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly PropertyAccessors GetAccessors() { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly ConstantHandle GetDefaultValue() { throw null; } + } + + public readonly partial struct PropertyDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(PropertyDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + + public static explicit operator PropertyDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator PropertyDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(PropertyDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(PropertyDefinitionHandle handle) { throw null; } + + public static bool operator !=(PropertyDefinitionHandle left, PropertyDefinitionHandle right) { throw null; } + } + + public readonly partial struct PropertyDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private object _dummy; + private int _dummyPrimitive; + public PropertyDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct ReservedBlob + where THandle : struct + { + private readonly THandle _Handle_k__BackingField; + public Blob Content { get { throw null; } } + + public THandle Handle { get { throw null; } } + + public readonly BlobWriter CreateWriter() { throw null; } + } + + public readonly partial struct SequencePoint : IEquatable + { + private readonly int _dummyPrimitive; + public const int HiddenLine = 16707566; + public DocumentHandle Document { get { throw null; } } + + public int EndColumn { get { throw null; } } + + public int EndLine { get { throw null; } } + + public bool IsHidden { get { throw null; } } + + public int Offset { get { throw null; } } + + public int StartColumn { get { throw null; } } + + public int StartLine { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(SequencePoint other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + } + + public readonly partial struct SequencePointCollection : Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public SequencePoint Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + public void Reset() { } + + void IDisposable.Dispose() { } + } + } + + public enum SerializationTypeCode : byte + { + Invalid = 0, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + SZArray = 29, + Type = 80, + TaggedObject = 81, + Enum = 85 + } + + [Flags] + public enum SignatureAttributes : byte + { + None = 0, + Generic = 16, + Instance = 32, + ExplicitThis = 64 + } + + public enum SignatureCallingConvention : byte + { + Default = 0, + CDecl = 1, + StdCall = 2, + ThisCall = 3, + FastCall = 4, + VarArgs = 5, + Unmanaged = 9 + } + + public partial struct SignatureHeader : IEquatable + { + private int _dummyPrimitive; + public const byte CallingConventionOrKindMask = 15; + public SignatureHeader(byte rawValue) { } + + public SignatureHeader(SignatureKind kind, SignatureCallingConvention convention, SignatureAttributes attributes) { } + + public SignatureAttributes Attributes { get { throw null; } } + + public SignatureCallingConvention CallingConvention { get { throw null; } } + + public bool HasExplicitThis { get { throw null; } } + + public bool IsGeneric { get { throw null; } } + + public bool IsInstance { get { throw null; } } + + public SignatureKind Kind { get { throw null; } } + + public byte RawValue { get { throw null; } } + + public override bool Equals(object? obj) { throw null; } + + public bool Equals(SignatureHeader other) { throw null; } + + public override int GetHashCode() { throw null; } + + public static bool operator ==(SignatureHeader left, SignatureHeader right) { throw null; } + + public static bool operator !=(SignatureHeader left, SignatureHeader right) { throw null; } + + public override string ToString() { throw null; } + } + + public enum SignatureKind : byte + { + Method = 0, + Field = 6, + LocalVariables = 7, + Property = 8, + MethodSpecification = 10 + } + + public enum SignatureTypeCode : byte + { + Invalid = 0, + Void = 1, + Boolean = 2, + Char = 3, + SByte = 4, + Byte = 5, + Int16 = 6, + UInt16 = 7, + Int32 = 8, + UInt32 = 9, + Int64 = 10, + UInt64 = 11, + Single = 12, + Double = 13, + String = 14, + Pointer = 15, + ByReference = 16, + GenericTypeParameter = 19, + Array = 20, + GenericTypeInstance = 21, + TypedReference = 22, + IntPtr = 24, + UIntPtr = 25, + FunctionPointer = 27, + Object = 28, + SZArray = 29, + GenericMethodParameter = 30, + RequiredModifier = 31, + OptionalModifier = 32, + TypeHandle = 64, + Sentinel = 65, + Pinned = 69 + } + + public enum SignatureTypeKind : byte + { + Unknown = 0, + ValueType = 17, + Class = 18 + } + + public readonly partial struct StandaloneSignature + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly StandaloneSignatureKind GetKind() { throw null; } + } + + public readonly partial struct StandaloneSignatureHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(StandaloneSignatureHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + + public static explicit operator StandaloneSignatureHandle(EntityHandle handle) { throw null; } + + public static explicit operator StandaloneSignatureHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(StandaloneSignatureHandle handle) { throw null; } + + public static implicit operator Handle(StandaloneSignatureHandle handle) { throw null; } + + public static bool operator !=(StandaloneSignatureHandle left, StandaloneSignatureHandle right) { throw null; } + } + + public enum StandaloneSignatureKind + { + Method = 0, + LocalVariables = 1 + } + + public readonly partial struct StringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(StringHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(StringHandle left, StringHandle right) { throw null; } + + public static explicit operator StringHandle(Handle handle) { throw null; } + + public static implicit operator Handle(StringHandle handle) { throw null; } + + public static bool operator !=(StringHandle left, StringHandle right) { throw null; } + } + + public readonly partial struct TypeDefinition + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public TypeAttributes Attributes { get { throw null; } } + + public EntityHandle BaseType { get { throw null; } } + + public bool IsNested { get { throw null; } } + + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public NamespaceDefinitionHandle NamespaceDefinition { get { throw null; } } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + + public readonly DeclarativeSecurityAttributeHandleCollection GetDeclarativeSecurityAttributes() { throw null; } + + public readonly TypeDefinitionHandle GetDeclaringType() { throw null; } + + public readonly EventDefinitionHandleCollection GetEvents() { throw null; } + + public readonly FieldDefinitionHandleCollection GetFields() { throw null; } + + public readonly GenericParameterHandleCollection GetGenericParameters() { throw null; } + + public readonly InterfaceImplementationHandleCollection GetInterfaceImplementations() { throw null; } + + public readonly TypeLayout GetLayout() { throw null; } + + public readonly MethodImplementationHandleCollection GetMethodImplementations() { throw null; } + + public readonly MethodDefinitionHandleCollection GetMethods() { throw null; } + + public readonly Collections.Immutable.ImmutableArray GetNestedTypes() { throw null; } + + public readonly PropertyDefinitionHandleCollection GetProperties() { throw null; } + } + + public readonly partial struct TypeDefinitionHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeDefinitionHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + + public static explicit operator TypeDefinitionHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeDefinitionHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeDefinitionHandle handle) { throw null; } + + public static implicit operator Handle(TypeDefinitionHandle handle) { throw null; } + + public static bool operator !=(TypeDefinitionHandle left, TypeDefinitionHandle right) { throw null; } + } + + public readonly partial struct TypeDefinitionHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeDefinitionHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeLayout + { + private readonly int _dummyPrimitive; + public TypeLayout(int size, int packingSize) { } + + public bool IsDefault { get { throw null; } } + + public int PackingSize { get { throw null; } } + + public int Size { get { throw null; } } + } + + public sealed partial class TypeName + { + internal TypeName() { } + + public AssemblyNameInfo? AssemblyName { get { throw null; } } + + public string AssemblyQualifiedName { get { throw null; } } + + public TypeName DeclaringType { get { throw null; } } + + public string FullName { get { throw null; } } + + public bool IsArray { get { throw null; } } + + public bool IsByRef { get { throw null; } } + + public bool IsConstructedGenericType { get { throw null; } } + + public bool IsNested { get { throw null; } } + + public bool IsPointer { get { throw null; } } + + public bool IsSimple { get { throw null; } } + + public bool IsSZArray { get { throw null; } } + + public bool IsVariableBoundArrayType { get { throw null; } } + + public string Name { get { throw null; } } + + public int GetArrayRank() { throw null; } + + public TypeName GetElementType() { throw null; } + + public Collections.Immutable.ImmutableArray GetGenericArguments() { throw null; } + + public TypeName GetGenericTypeDefinition() { throw null; } + + public int GetNodeCount() { throw null; } + + public TypeName MakeArrayTypeName(int rank) { throw null; } + + public TypeName MakeByRefTypeName() { throw null; } + + public TypeName MakeGenericTypeName(Collections.Immutable.ImmutableArray typeArguments) { throw null; } + + public TypeName MakePointerTypeName() { throw null; } + + public TypeName MakeSZArrayTypeName() { throw null; } + + public static TypeName Parse(ReadOnlySpan typeName, TypeNameParseOptions? options = null) { throw null; } + + public static bool TryParse(ReadOnlySpan typeName, out TypeName? result, TypeNameParseOptions? options = null) { throw null; } + + public TypeName WithAssemblyName(AssemblyNameInfo? assemblyName) { throw null; } + } + + public sealed partial class TypeNameParseOptions + { + public int MaxNodes { get { throw null; } set { } } + } + + public readonly partial struct TypeReference + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public StringHandle Name { get { throw null; } } + + public StringHandle Namespace { get { throw null; } } + + public EntityHandle ResolutionScope { get { throw null; } } + } + + public readonly partial struct TypeReferenceHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeReferenceHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + + public static explicit operator TypeReferenceHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeReferenceHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeReferenceHandle handle) { throw null; } + + public static implicit operator Handle(TypeReferenceHandle handle) { throw null; } + + public static bool operator !=(TypeReferenceHandle left, TypeReferenceHandle right) { throw null; } + } + + public readonly partial struct TypeReferenceHandleCollection : Collections.Generic.IReadOnlyCollection, Collections.Generic.IEnumerable, Collections.IEnumerable + { + private readonly int _dummyPrimitive; + public int Count { get { throw null; } } + + public readonly Enumerator GetEnumerator() { throw null; } + + readonly Collections.Generic.IEnumerator Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + + readonly Collections.IEnumerator Collections.IEnumerable.GetEnumerator() { throw null; } + + public partial struct Enumerator : Collections.Generic.IEnumerator, Collections.IEnumerator, IDisposable + { + private int _dummyPrimitive; + public TypeReferenceHandle Current { get { throw null; } } + + object Collections.IEnumerator.Current { get { throw null; } } + + public bool MoveNext() { throw null; } + + void Collections.IEnumerator.Reset() { } + + void IDisposable.Dispose() { } + } + } + + public readonly partial struct TypeSpecification + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobHandle Signature { get { throw null; } } + + public readonly TType DecodeSignature(ISignatureTypeProvider provider, TGenericContext genericContext) { throw null; } + + public readonly CustomAttributeHandleCollection GetCustomAttributes() { throw null; } + } + + public readonly partial struct TypeSpecificationHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(TypeSpecificationHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + + public static explicit operator TypeSpecificationHandle(EntityHandle handle) { throw null; } + + public static explicit operator TypeSpecificationHandle(Handle handle) { throw null; } + + public static implicit operator EntityHandle(TypeSpecificationHandle handle) { throw null; } + + public static implicit operator Handle(TypeSpecificationHandle handle) { throw null; } + + public static bool operator !=(TypeSpecificationHandle left, TypeSpecificationHandle right) { throw null; } + } + + public readonly partial struct UserStringHandle : IEquatable + { + private readonly int _dummyPrimitive; + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(UserStringHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(UserStringHandle left, UserStringHandle right) { throw null; } + + public static explicit operator UserStringHandle(Handle handle) { throw null; } + + public static implicit operator Handle(UserStringHandle handle) { throw null; } + + public static bool operator !=(UserStringHandle left, UserStringHandle right) { throw null; } + } +} + +namespace System.Reflection.Metadata.Ecma335 +{ + public readonly partial struct ArrayShapeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ArrayShapeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Shape(int rank, Collections.Immutable.ImmutableArray sizes, Collections.Immutable.ImmutableArray lowerBounds) { } + } + + public readonly partial struct BlobEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void CustomAttributeSignature(Action fixedArguments, Action namedArguments) { } + + public readonly void CustomAttributeSignature(out FixedArgumentsEncoder fixedArguments, out CustomAttributeNamedArgumentsEncoder namedArguments) { throw null; } + + public readonly FieldTypeEncoder Field() { throw null; } + + public readonly SignatureTypeEncoder FieldSignature() { throw null; } + + public readonly LocalVariablesEncoder LocalVariableSignature(int variableCount) { throw null; } + + public readonly MethodSignatureEncoder MethodSignature(SignatureCallingConvention convention = SignatureCallingConvention.Default, int genericParameterCount = 0, bool isInstanceMethod = false) { throw null; } + + public readonly GenericTypeArgumentsEncoder MethodSpecificationSignature(int genericArgumentCount) { throw null; } + + public readonly NamedArgumentsEncoder PermissionSetArguments(int argumentCount) { throw null; } + + public readonly PermissionSetEncoder PermissionSetBlob(int attributeCount) { throw null; } + + public readonly MethodSignatureEncoder PropertySignature(bool isInstanceProperty = false) { throw null; } + + public readonly SignatureTypeEncoder TypeSpecificationSignature() { throw null; } + } + + public static partial class CodedIndex + { + public static int CustomAttributeType(EntityHandle handle) { throw null; } + + public static int HasConstant(EntityHandle handle) { throw null; } + + public static int HasCustomAttribute(EntityHandle handle) { throw null; } + + public static int HasCustomDebugInformation(EntityHandle handle) { throw null; } + + public static int HasDeclSecurity(EntityHandle handle) { throw null; } + + public static int HasFieldMarshal(EntityHandle handle) { throw null; } + + public static int HasSemantics(EntityHandle handle) { throw null; } + + public static int Implementation(EntityHandle handle) { throw null; } + + public static int MemberForwarded(EntityHandle handle) { throw null; } + + public static int MemberRefParent(EntityHandle handle) { throw null; } + + public static int MethodDefOrRef(EntityHandle handle) { throw null; } + + public static int ResolutionScope(EntityHandle handle) { throw null; } + + public static int TypeDefOrRef(EntityHandle handle) { throw null; } + + public static int TypeDefOrRefOrSpec(EntityHandle handle) { throw null; } + + public static int TypeOrMethodDef(EntityHandle handle) { throw null; } + } + + public sealed partial class ControlFlowBuilder + { + public void AddCatchRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, EntityHandle catchType) { } + + public void AddFaultRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + + public void AddFilterRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, LabelHandle filterStart) { } + + public void AddFinallyRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) { } + + public void Clear() { } + } + + public readonly partial struct CustomAttributeArrayTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeArrayTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomAttributeElementTypeEncoder ElementType() { throw null; } + + public readonly void ObjectArray() { } + } + + public readonly partial struct CustomAttributeElementTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeElementTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Boolean() { } + + public readonly void Byte() { } + + public readonly void Char() { } + + public readonly void Double() { } + + public readonly void Enum(string enumTypeName) { } + + public readonly void Int16() { } + + public readonly void Int32() { } + + public readonly void Int64() { } + + public readonly void PrimitiveType(PrimitiveSerializationTypeCode type) { } + + public readonly void SByte() { } + + public readonly void Single() { } + + public readonly void String() { } + + public readonly void SystemType() { } + + public readonly void UInt16() { } + + public readonly void UInt32() { } + + public readonly void UInt64() { } + } + + public readonly partial struct CustomAttributeNamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomAttributeNamedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly NamedArgumentsEncoder Count(int count) { throw null; } + } + + public readonly partial struct CustomModifiersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CustomModifiersEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder AddModifier(EntityHandle type, bool isOptional) { throw null; } + } + + public readonly partial struct EditAndContinueLogEntry : IEquatable + { + private readonly int _dummyPrimitive; + public EditAndContinueLogEntry(EntityHandle handle, EditAndContinueOperation operation) { } + + public EntityHandle Handle { get { throw null; } } + + public EditAndContinueOperation Operation { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(EditAndContinueLogEntry other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + } + + public enum EditAndContinueOperation + { + Default = 0, + AddMethod = 1, + AddField = 2, + AddParameter = 3, + AddProperty = 4, + AddEvent = 5 + } + + public readonly partial struct ExceptionRegionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public BlobBuilder Builder { get { throw null; } } + + public bool HasSmallFormat { get { throw null; } } + + public readonly ExceptionRegionEncoder Add(ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType = default, int filterOffset = 0) { throw null; } + + public readonly ExceptionRegionEncoder AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType) { throw null; } + + public readonly ExceptionRegionEncoder AddFault(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + + public readonly ExceptionRegionEncoder AddFilter(int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset) { throw null; } + + public readonly ExceptionRegionEncoder AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength) { throw null; } + + public static bool IsSmallExceptionRegion(int startOffset, int length) { throw null; } + + public static bool IsSmallRegionCount(int exceptionRegionCount) { throw null; } + } + + public static partial class ExportedTypeExtensions + { + public static int GetTypeDefinitionId(this ExportedType exportedType) { throw null; } + } + + public readonly partial struct FieldTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FieldTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + } + + public readonly partial struct FixedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public FixedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddArgument() { throw null; } + } + + public enum FunctionPointerAttributes + { + None = 0, + HasThis = 32, + HasExplicitThis = 96 + } + + public readonly partial struct GenericTypeArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public GenericTypeArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly SignatureTypeEncoder AddArgument() { throw null; } + } + + public enum HeapIndex + { + UserString = 0, + String = 1, + Blob = 2, + Guid = 3 + } + + public readonly partial struct InstructionEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public InstructionEncoder(BlobBuilder codeBuilder, ControlFlowBuilder? controlFlowBuilder = null) { } + + public BlobBuilder CodeBuilder { get { throw null; } } + + public ControlFlowBuilder? ControlFlowBuilder { get { throw null; } } + + public int Offset { get { throw null; } } + + public readonly void Branch(ILOpCode code, LabelHandle label) { } + + public readonly void Call(EntityHandle methodHandle) { } + + public readonly void Call(MemberReferenceHandle methodHandle) { } + + public readonly void Call(MethodDefinitionHandle methodHandle) { } + + public readonly void Call(MethodSpecificationHandle methodHandle) { } + + public readonly void CallIndirect(StandaloneSignatureHandle signature) { } + + public readonly LabelHandle DefineLabel() { throw null; } + + public readonly void LoadArgument(int argumentIndex) { } + + public readonly void LoadArgumentAddress(int argumentIndex) { } + + public readonly void LoadConstantI4(int value) { } + + public readonly void LoadConstantI8(long value) { } + + public readonly void LoadConstantR4(float value) { } + + public readonly void LoadConstantR8(double value) { } + + public readonly void LoadLocal(int slotIndex) { } + + public readonly void LoadLocalAddress(int slotIndex) { } + + public readonly void LoadString(UserStringHandle handle) { } + + public readonly void MarkLabel(LabelHandle label) { } + + public readonly void OpCode(ILOpCode code) { } + + public readonly void StoreArgument(int argumentIndex) { } + + public readonly void StoreLocal(int slotIndex) { } + + public readonly SwitchInstructionEncoder Switch(int branchCount) { throw null; } + + public readonly void Token(int token) { } + + public readonly void Token(EntityHandle handle) { } + } + + public readonly partial struct LabelHandle : IEquatable + { + private readonly int _dummyPrimitive; + public int Id { get { throw null; } } + + public bool IsNil { get { throw null; } } + + public override readonly bool Equals(object? obj) { throw null; } + + public readonly bool Equals(LabelHandle other) { throw null; } + + public override readonly int GetHashCode() { throw null; } + + public static bool operator ==(LabelHandle left, LabelHandle right) { throw null; } + + public static bool operator !=(LabelHandle left, LabelHandle right) { throw null; } + } + + public readonly partial struct LiteralEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly ScalarEncoder Scalar() { throw null; } + + public readonly void TaggedScalar(Action type, Action scalar) { } + + public readonly void TaggedScalar(out CustomAttributeElementTypeEncoder type, out ScalarEncoder scalar) { throw null; } + + public readonly void TaggedVector(Action arrayType, Action vector) { } + + public readonly void TaggedVector(out CustomAttributeArrayTypeEncoder arrayType, out VectorEncoder vector) { throw null; } + + public readonly VectorEncoder Vector() { throw null; } + } + + public readonly partial struct LiteralsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LiteralsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralEncoder AddLiteral() { throw null; } + } + + public readonly partial struct LocalVariablesEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariablesEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LocalVariableTypeEncoder AddVariable() { throw null; } + } + + public readonly partial struct LocalVariableTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public LocalVariableTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false, bool isPinned = false) { throw null; } + + public readonly void TypedReference() { } + } + + public sealed partial class MetadataAggregator + { + public MetadataAggregator(Collections.Generic.IReadOnlyList? baseTableRowCounts, Collections.Generic.IReadOnlyList? baseHeapSizes, Collections.Generic.IReadOnlyList? deltaReaders) { } + + public MetadataAggregator(MetadataReader baseReader, Collections.Generic.IReadOnlyList deltaReaders) { } + + public Handle GetGenerationHandle(Handle handle, out int generation) { throw null; } + } + + public sealed partial class MetadataBuilder + { + public MetadataBuilder(int userStringHeapStartOffset = 0, int stringHeapStartOffset = 0, int blobHeapStartOffset = 0, int guidHeapStartOffset = 0) { } + + public AssemblyDefinitionHandle AddAssembly(StringHandle name, Version version, StringHandle culture, BlobHandle publicKey, AssemblyFlags flags, AssemblyHashAlgorithm hashAlgorithm) { throw null; } + + public AssemblyFileHandle AddAssemblyFile(StringHandle name, BlobHandle hashValue, bool containsMetadata) { throw null; } + + public AssemblyReferenceHandle AddAssemblyReference(StringHandle name, Version version, StringHandle culture, BlobHandle publicKeyOrToken, AssemblyFlags flags, BlobHandle hashValue) { throw null; } + + public ConstantHandle AddConstant(EntityHandle parent, object? value) { throw null; } + + public CustomAttributeHandle AddCustomAttribute(EntityHandle parent, EntityHandle constructor, BlobHandle value) { throw null; } + + public CustomDebugInformationHandle AddCustomDebugInformation(EntityHandle parent, GuidHandle kind, BlobHandle value) { throw null; } + + public DeclarativeSecurityAttributeHandle AddDeclarativeSecurityAttribute(EntityHandle parent, DeclarativeSecurityAction action, BlobHandle permissionSet) { throw null; } + + public DocumentHandle AddDocument(BlobHandle name, GuidHandle hashAlgorithm, BlobHandle hash, GuidHandle language) { throw null; } + + public void AddEncLogEntry(EntityHandle entity, EditAndContinueOperation code) { } + + public void AddEncMapEntry(EntityHandle entity) { } + + public EventDefinitionHandle AddEvent(EventAttributes attributes, StringHandle name, EntityHandle type) { throw null; } + + public void AddEventMap(TypeDefinitionHandle declaringType, EventDefinitionHandle eventList) { } + + public ExportedTypeHandle AddExportedType(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle implementation, int typeDefinitionId) { throw null; } + + public FieldDefinitionHandle AddFieldDefinition(FieldAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + + public void AddFieldLayout(FieldDefinitionHandle field, int offset) { } + + public void AddFieldRelativeVirtualAddress(FieldDefinitionHandle field, int offset) { } + + public GenericParameterHandle AddGenericParameter(EntityHandle parent, GenericParameterAttributes attributes, StringHandle name, int index) { throw null; } + + public GenericParameterConstraintHandle AddGenericParameterConstraint(GenericParameterHandle genericParameter, EntityHandle constraint) { throw null; } + + public ImportScopeHandle AddImportScope(ImportScopeHandle parentScope, BlobHandle imports) { throw null; } + + public InterfaceImplementationHandle AddInterfaceImplementation(TypeDefinitionHandle type, EntityHandle implementedInterface) { throw null; } + + public LocalConstantHandle AddLocalConstant(StringHandle name, BlobHandle signature) { throw null; } + + public LocalScopeHandle AddLocalScope(MethodDefinitionHandle method, ImportScopeHandle importScope, LocalVariableHandle variableList, LocalConstantHandle constantList, int startOffset, int length) { throw null; } + + public LocalVariableHandle AddLocalVariable(LocalVariableAttributes attributes, int index, StringHandle name) { throw null; } + + public ManifestResourceHandle AddManifestResource(ManifestResourceAttributes attributes, StringHandle name, EntityHandle implementation, uint offset) { throw null; } + + public void AddMarshallingDescriptor(EntityHandle parent, BlobHandle descriptor) { } + + public MemberReferenceHandle AddMemberReference(EntityHandle parent, StringHandle name, BlobHandle signature) { throw null; } + + public MethodDebugInformationHandle AddMethodDebugInformation(DocumentHandle document, BlobHandle sequencePoints) { throw null; } + + public MethodDefinitionHandle AddMethodDefinition(MethodAttributes attributes, MethodImplAttributes implAttributes, StringHandle name, BlobHandle signature, int bodyOffset, ParameterHandle parameterList) { throw null; } + + public MethodImplementationHandle AddMethodImplementation(TypeDefinitionHandle type, EntityHandle methodBody, EntityHandle methodDeclaration) { throw null; } + + public void AddMethodImport(MethodDefinitionHandle method, MethodImportAttributes attributes, StringHandle name, ModuleReferenceHandle module) { } + + public void AddMethodSemantics(EntityHandle association, MethodSemanticsAttributes semantics, MethodDefinitionHandle methodDefinition) { } + + public MethodSpecificationHandle AddMethodSpecification(EntityHandle method, BlobHandle instantiation) { throw null; } + + public ModuleDefinitionHandle AddModule(int generation, StringHandle moduleName, GuidHandle mvid, GuidHandle encId, GuidHandle encBaseId) { throw null; } + + public ModuleReferenceHandle AddModuleReference(StringHandle moduleName) { throw null; } + + public void AddNestedType(TypeDefinitionHandle type, TypeDefinitionHandle enclosingType) { } + + public ParameterHandle AddParameter(ParameterAttributes attributes, StringHandle name, int sequenceNumber) { throw null; } + + public PropertyDefinitionHandle AddProperty(PropertyAttributes attributes, StringHandle name, BlobHandle signature) { throw null; } + + public void AddPropertyMap(TypeDefinitionHandle declaringType, PropertyDefinitionHandle propertyList) { } + + public StandaloneSignatureHandle AddStandaloneSignature(BlobHandle signature) { throw null; } + + public void AddStateMachineMethod(MethodDefinitionHandle moveNextMethod, MethodDefinitionHandle kickoffMethod) { } + + public TypeDefinitionHandle AddTypeDefinition(TypeAttributes attributes, StringHandle @namespace, StringHandle name, EntityHandle baseType, FieldDefinitionHandle fieldList, MethodDefinitionHandle methodList) { throw null; } + + public void AddTypeLayout(TypeDefinitionHandle type, ushort packingSize, uint size) { } + + public TypeReferenceHandle AddTypeReference(EntityHandle resolutionScope, StringHandle @namespace, StringHandle name) { throw null; } + + public TypeSpecificationHandle AddTypeSpecification(BlobHandle signature) { throw null; } + + public BlobHandle GetOrAddBlob(byte[] value) { throw null; } + + public BlobHandle GetOrAddBlob(Collections.Immutable.ImmutableArray value) { throw null; } + + public BlobHandle GetOrAddBlob(BlobBuilder value) { throw null; } + + public BlobHandle GetOrAddBlobUTF16(string value) { throw null; } + + public BlobHandle GetOrAddBlobUTF8(string value, bool allowUnpairedSurrogates = true) { throw null; } + + public BlobHandle GetOrAddConstantBlob(object? value) { throw null; } + + public BlobHandle GetOrAddDocumentName(string value) { throw null; } + + public GuidHandle GetOrAddGuid(Guid guid) { throw null; } + + public StringHandle GetOrAddString(string value) { throw null; } + + public UserStringHandle GetOrAddUserString(string value) { throw null; } + + public int GetRowCount(TableIndex table) { throw null; } + + public Collections.Immutable.ImmutableArray GetRowCounts() { throw null; } + + public ReservedBlob ReserveGuid() { throw null; } + + public ReservedBlob ReserveUserString(int length) { throw null; } + + public void SetCapacity(HeapIndex heap, int byteCount) { } + + public void SetCapacity(TableIndex table, int rowCount) { } + } + + public static partial class MetadataReaderExtensions + { + public static Collections.Generic.IEnumerable GetEditAndContinueLogEntries(this MetadataReader reader) { throw null; } + + public static Collections.Generic.IEnumerable GetEditAndContinueMapEntries(this MetadataReader reader) { throw null; } + + public static int GetHeapMetadataOffset(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + + public static int GetHeapSize(this MetadataReader reader, HeapIndex heapIndex) { throw null; } + + public static BlobHandle GetNextHandle(this MetadataReader reader, BlobHandle handle) { throw null; } + + public static StringHandle GetNextHandle(this MetadataReader reader, StringHandle handle) { throw null; } + + public static UserStringHandle GetNextHandle(this MetadataReader reader, UserStringHandle handle) { throw null; } + + public static int GetTableMetadataOffset(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static int GetTableRowCount(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static int GetTableRowSize(this MetadataReader reader, TableIndex tableIndex) { throw null; } + + public static Collections.Generic.IEnumerable GetTypesWithEvents(this MetadataReader reader) { throw null; } + + public static Collections.Generic.IEnumerable GetTypesWithProperties(this MetadataReader reader) { throw null; } + + public static SignatureTypeKind ResolveSignatureTypeKind(this MetadataReader reader, EntityHandle typeHandle, byte rawTypeKind) { throw null; } + } + + public sealed partial class MetadataRootBuilder + { + public MetadataRootBuilder(MetadataBuilder tablesAndHeaps, string? metadataVersion = null, bool suppressValidation = false) { } + + public string MetadataVersion { get { throw null; } } + + public MetadataSizes Sizes { get { throw null; } } + + public bool SuppressValidation { get { throw null; } } + + public void Serialize(BlobBuilder builder, int methodBodyStreamRva, int mappedFieldDataStreamRva) { } + } + + public sealed partial class MetadataSizes + { + internal MetadataSizes() { } + + public Collections.Immutable.ImmutableArray ExternalRowCounts { get { throw null; } } + + public Collections.Immutable.ImmutableArray HeapSizes { get { throw null; } } + + public Collections.Immutable.ImmutableArray RowCounts { get { throw null; } } + + public int GetAlignedHeapSize(HeapIndex index) { throw null; } + } + + public static partial class MetadataTokens + { + public static readonly int HeapCount; + public static readonly int TableCount; + public static AssemblyFileHandle AssemblyFileHandle(int rowNumber) { throw null; } + + public static AssemblyReferenceHandle AssemblyReferenceHandle(int rowNumber) { throw null; } + + public static BlobHandle BlobHandle(int offset) { throw null; } + + public static ConstantHandle ConstantHandle(int rowNumber) { throw null; } + + public static CustomAttributeHandle CustomAttributeHandle(int rowNumber) { throw null; } + + public static CustomDebugInformationHandle CustomDebugInformationHandle(int rowNumber) { throw null; } + + public static DeclarativeSecurityAttributeHandle DeclarativeSecurityAttributeHandle(int rowNumber) { throw null; } + + public static DocumentHandle DocumentHandle(int rowNumber) { throw null; } + + public static DocumentNameBlobHandle DocumentNameBlobHandle(int offset) { throw null; } + + public static EntityHandle EntityHandle(int token) { throw null; } + + public static EntityHandle EntityHandle(TableIndex tableIndex, int rowNumber) { throw null; } + + public static EventDefinitionHandle EventDefinitionHandle(int rowNumber) { throw null; } + + public static ExportedTypeHandle ExportedTypeHandle(int rowNumber) { throw null; } + + public static FieldDefinitionHandle FieldDefinitionHandle(int rowNumber) { throw null; } + + public static GenericParameterConstraintHandle GenericParameterConstraintHandle(int rowNumber) { throw null; } + + public static GenericParameterHandle GenericParameterHandle(int rowNumber) { throw null; } + + public static int GetHeapOffset(BlobHandle handle) { throw null; } + + public static int GetHeapOffset(GuidHandle handle) { throw null; } + + public static int GetHeapOffset(Handle handle) { throw null; } + + public static int GetHeapOffset(this MetadataReader reader, Handle handle) { throw null; } + + public static int GetHeapOffset(StringHandle handle) { throw null; } + + public static int GetHeapOffset(UserStringHandle handle) { throw null; } + + public static int GetRowNumber(EntityHandle handle) { throw null; } + + public static int GetRowNumber(this MetadataReader reader, EntityHandle handle) { throw null; } + + public static int GetToken(EntityHandle handle) { throw null; } + + public static int GetToken(Handle handle) { throw null; } + + public static int GetToken(this MetadataReader reader, EntityHandle handle) { throw null; } + + public static int GetToken(this MetadataReader reader, Handle handle) { throw null; } + + public static GuidHandle GuidHandle(int offset) { throw null; } + + public static Handle Handle(int token) { throw null; } + + public static EntityHandle Handle(TableIndex tableIndex, int rowNumber) { throw null; } + + public static ImportScopeHandle ImportScopeHandle(int rowNumber) { throw null; } + + public static InterfaceImplementationHandle InterfaceImplementationHandle(int rowNumber) { throw null; } + + public static LocalConstantHandle LocalConstantHandle(int rowNumber) { throw null; } + + public static LocalScopeHandle LocalScopeHandle(int rowNumber) { throw null; } + + public static LocalVariableHandle LocalVariableHandle(int rowNumber) { throw null; } + + public static ManifestResourceHandle ManifestResourceHandle(int rowNumber) { throw null; } + + public static MemberReferenceHandle MemberReferenceHandle(int rowNumber) { throw null; } + + public static MethodDebugInformationHandle MethodDebugInformationHandle(int rowNumber) { throw null; } + + public static MethodDefinitionHandle MethodDefinitionHandle(int rowNumber) { throw null; } + + public static MethodImplementationHandle MethodImplementationHandle(int rowNumber) { throw null; } + + public static MethodSpecificationHandle MethodSpecificationHandle(int rowNumber) { throw null; } + + public static ModuleReferenceHandle ModuleReferenceHandle(int rowNumber) { throw null; } + + public static ParameterHandle ParameterHandle(int rowNumber) { throw null; } + + public static PropertyDefinitionHandle PropertyDefinitionHandle(int rowNumber) { throw null; } + + public static StandaloneSignatureHandle StandaloneSignatureHandle(int rowNumber) { throw null; } + + public static StringHandle StringHandle(int offset) { throw null; } + + public static bool TryGetHeapIndex(HandleKind type, out HeapIndex index) { throw null; } + + public static bool TryGetTableIndex(HandleKind type, out TableIndex index) { throw null; } + + public static TypeDefinitionHandle TypeDefinitionHandle(int rowNumber) { throw null; } + + public static TypeReferenceHandle TypeReferenceHandle(int rowNumber) { throw null; } + + public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber) { throw null; } + + public static UserStringHandle UserStringHandle(int offset) { throw null; } + } + + [Flags] + public enum MethodBodyAttributes + { + None = 0, + InitLocals = 1 + } + + public readonly partial struct MethodBodyStreamEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodBodyStreamEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack = 8, int exceptionRegionCount = 0, bool hasSmallExceptionRegions = true, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + + public readonly MethodBody AddMethodBody(int codeSize, int maxStack, int exceptionRegionCount, bool hasSmallExceptionRegions, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack = 8, StandaloneSignatureHandle localVariablesSignature = default, MethodBodyAttributes attributes = MethodBodyAttributes.InitLocals, bool hasDynamicStackAllocation = false) { throw null; } + + public readonly int AddMethodBody(InstructionEncoder instructionEncoder, int maxStack, StandaloneSignatureHandle localVariablesSignature, MethodBodyAttributes attributes) { throw null; } + + public readonly partial struct MethodBody + { + private readonly int _dummyPrimitive; + public ExceptionRegionEncoder ExceptionRegions { get { throw null; } } + + public Blob Instructions { get { throw null; } } + + public int Offset { get { throw null; } } + } + } + + public readonly partial struct MethodSignatureEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MethodSignatureEncoder(BlobBuilder builder, bool hasVarArgs) { } + + public BlobBuilder Builder { get { throw null; } } + + public bool HasVarArgs { get { throw null; } } + + public readonly void Parameters(int parameterCount, Action returnType, Action parameters) { } + + public readonly void Parameters(int parameterCount, out ReturnTypeEncoder returnType, out ParametersEncoder parameters) { throw null; } + } + + public readonly partial struct NamedArgumentsEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentsEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void AddArgument(bool isField, Action type, Action name, Action literal) { } + + public readonly void AddArgument(bool isField, out NamedArgumentTypeEncoder type, out NameEncoder name, out LiteralEncoder literal) { throw null; } + } + + public readonly partial struct NamedArgumentTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NamedArgumentTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Object() { } + + public readonly CustomAttributeElementTypeEncoder ScalarType() { throw null; } + + public readonly CustomAttributeArrayTypeEncoder SZArray() { throw null; } + } + + public readonly partial struct NameEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NameEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Name(string name) { } + } + + public readonly partial struct ParametersEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParametersEncoder(BlobBuilder builder, bool hasVarArgs = false) { } + + public BlobBuilder Builder { get { throw null; } } + + public bool HasVarArgs { get { throw null; } } + + public readonly ParameterTypeEncoder AddParameter() { throw null; } + + public readonly ParametersEncoder StartVarArgs() { throw null; } + } + + public readonly partial struct ParameterTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ParameterTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + } + + public readonly partial struct PermissionSetEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public PermissionSetEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly PermissionSetEncoder AddPermission(string typeName, Collections.Immutable.ImmutableArray encodedArguments) { throw null; } + + public readonly PermissionSetEncoder AddPermission(string typeName, BlobBuilder encodedArguments) { throw null; } + } + + public sealed partial class PortablePdbBuilder + { + public PortablePdbBuilder(MetadataBuilder tablesAndHeaps, Collections.Immutable.ImmutableArray typeSystemRowCounts, MethodDefinitionHandle entryPoint, Func, BlobContentId>? idProvider = null) { } + + public ushort FormatVersion { get { throw null; } } + + public Func, BlobContentId> IdProvider { get { throw null; } } + + public string MetadataVersion { get { throw null; } } + + public BlobContentId Serialize(BlobBuilder builder) { throw null; } + } + + public readonly partial struct ReturnTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ReturnTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly SignatureTypeEncoder Type(bool isByRef = false) { throw null; } + + public readonly void TypedReference() { } + + public readonly void Void() { } + } + + public readonly partial struct ScalarEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ScalarEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Constant(object? value) { } + + public readonly void NullArray() { } + + public readonly void SystemType(string? serializedTypeName) { } + } + + public readonly partial struct SignatureDecoder + { + private readonly ISignatureTypeProvider _provider; + private readonly TGenericContext _genericContext; + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureDecoder(ISignatureTypeProvider provider, MetadataReader metadataReader, TGenericContext genericContext) { } + + public readonly TType DecodeFieldSignature(ref BlobReader blobReader) { throw null; } + + public readonly Collections.Immutable.ImmutableArray DecodeLocalSignature(ref BlobReader blobReader) { throw null; } + + public readonly MethodSignature DecodeMethodSignature(ref BlobReader blobReader) { throw null; } + + public readonly Collections.Immutable.ImmutableArray DecodeMethodSpecificationSignature(ref BlobReader blobReader) { throw null; } + + public readonly TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications = false) { throw null; } + } + + public readonly partial struct SignatureTypeEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SignatureTypeEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly void Array(Action elementType, Action arrayShape) { } + + public readonly void Array(out SignatureTypeEncoder elementType, out ArrayShapeEncoder arrayShape) { throw null; } + + public readonly void Boolean() { } + + public readonly void Byte() { } + + public readonly void Char() { } + + public readonly CustomModifiersEncoder CustomModifiers() { throw null; } + + public readonly void Double() { } + + public readonly MethodSignatureEncoder FunctionPointer(SignatureCallingConvention convention = SignatureCallingConvention.Default, FunctionPointerAttributes attributes = FunctionPointerAttributes.None, int genericParameterCount = 0) { throw null; } + + public readonly GenericTypeArgumentsEncoder GenericInstantiation(EntityHandle genericType, int genericArgumentCount, bool isValueType) { throw null; } + + public readonly void GenericMethodTypeParameter(int parameterIndex) { } + + public readonly void GenericTypeParameter(int parameterIndex) { } + + public readonly void Int16() { } + + public readonly void Int32() { } + + public readonly void Int64() { } + + public readonly void IntPtr() { } + + public readonly void Object() { } + + public readonly SignatureTypeEncoder Pointer() { throw null; } + + public readonly void PrimitiveType(PrimitiveTypeCode type) { } + + public readonly void SByte() { } + + public readonly void Single() { } + + public readonly void String() { } + + public readonly SignatureTypeEncoder SZArray() { throw null; } + + public readonly void Type(EntityHandle type, bool isValueType) { } + + public readonly void TypedReference() { } + + public readonly void UInt16() { } + + public readonly void UInt32() { } + + public readonly void UInt64() { } + + public readonly void UIntPtr() { } + + public readonly void VoidPointer() { } + } + + public readonly partial struct SwitchInstructionEncoder + { + private readonly int _dummyPrimitive; + public readonly void Branch(LabelHandle label) { } + } + + public enum TableIndex : byte + { + Module = 0, + TypeRef = 1, + TypeDef = 2, + FieldPtr = 3, + Field = 4, + MethodPtr = 5, + MethodDef = 6, + ParamPtr = 7, + Param = 8, + InterfaceImpl = 9, + MemberRef = 10, + Constant = 11, + CustomAttribute = 12, + FieldMarshal = 13, + DeclSecurity = 14, + ClassLayout = 15, + FieldLayout = 16, + StandAloneSig = 17, + EventMap = 18, + EventPtr = 19, + Event = 20, + PropertyMap = 21, + PropertyPtr = 22, + Property = 23, + MethodSemantics = 24, + MethodImpl = 25, + ModuleRef = 26, + TypeSpec = 27, + ImplMap = 28, + FieldRva = 29, + EncLog = 30, + EncMap = 31, + Assembly = 32, + AssemblyProcessor = 33, + AssemblyOS = 34, + AssemblyRef = 35, + AssemblyRefProcessor = 36, + AssemblyRefOS = 37, + File = 38, + ExportedType = 39, + ManifestResource = 40, + NestedClass = 41, + GenericParam = 42, + MethodSpec = 43, + GenericParamConstraint = 44, + Document = 48, + MethodDebugInformation = 49, + LocalScope = 50, + LocalVariable = 51, + LocalConstant = 52, + ImportScope = 53, + StateMachineMethod = 54, + CustomDebugInformation = 55 + } + + public readonly partial struct VectorEncoder + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public VectorEncoder(BlobBuilder builder) { } + + public BlobBuilder Builder { get { throw null; } } + + public readonly LiteralsEncoder Count(int count) { throw null; } + } +} + +namespace System.Reflection.PortableExecutable +{ + [Flags] + public enum Characteristics : ushort + { + RelocsStripped = 1, + ExecutableImage = 2, + LineNumsStripped = 4, + LocalSymsStripped = 8, + AggressiveWSTrim = 16, + LargeAddressAware = 32, + BytesReversedLo = 128, + Bit32Machine = 256, + DebugStripped = 512, + RemovableRunFromSwap = 1024, + NetRunFromSwap = 2048, + System = 4096, + Dll = 8192, + UpSystemOnly = 16384, + BytesReversedHi = 32768 + } + + public readonly partial struct CodeViewDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Age { get { throw null; } } + + public Guid Guid { get { throw null; } } + + public string Path { get { throw null; } } + } + + public sealed partial class CoffHeader + { + internal CoffHeader() { } + + public Characteristics Characteristics { get { throw null; } } + + public Machine Machine { get { throw null; } } + + public short NumberOfSections { get { throw null; } } + + public int NumberOfSymbols { get { throw null; } } + + public int PointerToSymbolTable { get { throw null; } } + + public short SizeOfOptionalHeader { get { throw null; } } + + public int TimeDateStamp { get { throw null; } } + } + + [Flags] + public enum CorFlags + { + ILOnly = 1, + Requires32Bit = 2, + ILLibrary = 4, + StrongNameSigned = 8, + NativeEntryPoint = 16, + TrackDebugData = 65536, + Prefers32Bit = 131072 + } + + public sealed partial class CorHeader + { + internal CorHeader() { } + + public DirectoryEntry CodeManagerTableDirectory { get { throw null; } } + + public int EntryPointTokenOrRelativeVirtualAddress { get { throw null; } } + + public DirectoryEntry ExportAddressTableJumpsDirectory { get { throw null; } } + + public CorFlags Flags { get { throw null; } } + + public ushort MajorRuntimeVersion { get { throw null; } } + + public DirectoryEntry ManagedNativeHeaderDirectory { get { throw null; } } + + public DirectoryEntry MetadataDirectory { get { throw null; } } + + public ushort MinorRuntimeVersion { get { throw null; } } + + public DirectoryEntry ResourcesDirectory { get { throw null; } } + + public DirectoryEntry StrongNameSignatureDirectory { get { throw null; } } + + public DirectoryEntry VtableFixupsDirectory { get { throw null; } } + } + + public sealed partial class DebugDirectoryBuilder + { + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion, int age) { } + + public void AddCodeViewEntry(string pdbPath, Metadata.BlobContentId pdbContentId, ushort portablePdbVersion) { } + + public void AddEmbeddedPortablePdbEntry(Metadata.BlobBuilder debugMetadata, ushort portablePdbVersion) { } + + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp) { } + + public void AddEntry(DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action dataSerializer) { } + + public void AddPdbChecksumEntry(string algorithmName, Collections.Immutable.ImmutableArray checksum) { } + + public void AddReproducibleEntry() { } + } + + public readonly partial struct DebugDirectoryEntry + { + private readonly int _dummyPrimitive; + public DebugDirectoryEntry(uint stamp, ushort majorVersion, ushort minorVersion, DebugDirectoryEntryType type, int dataSize, int dataRelativeVirtualAddress, int dataPointer) { } + + public int DataPointer { get { throw null; } } + + public int DataRelativeVirtualAddress { get { throw null; } } + + public int DataSize { get { throw null; } } + + public bool IsPortableCodeView { get { throw null; } } + + public ushort MajorVersion { get { throw null; } } + + public ushort MinorVersion { get { throw null; } } + + public uint Stamp { get { throw null; } } + + public DebugDirectoryEntryType Type { get { throw null; } } + } + + public enum DebugDirectoryEntryType + { + Unknown = 0, + Coff = 1, + CodeView = 2, + Reproducible = 16, + EmbeddedPortablePdb = 17, + PdbChecksum = 19 + } + + public readonly partial struct DirectoryEntry + { + public readonly int RelativeVirtualAddress; + public readonly int Size; + public DirectoryEntry(int relativeVirtualAddress, int size) { } + } + + [Flags] + public enum DllCharacteristics : ushort + { + ProcessInit = 1, + ProcessTerm = 2, + ThreadInit = 4, + ThreadTerm = 8, + HighEntropyVirtualAddressSpace = 32, + DynamicBase = 64, + ForceIntegrity = 128, + NxCompatible = 256, + NoIsolation = 512, + NoSeh = 1024, + NoBind = 2048, + AppContainer = 4096, + WdmDriver = 8192, + ControlFlowGuard = 16384, + TerminalServerAware = 32768 + } + + public enum Machine : ushort + { + Unknown = 0, + I386 = 332, + WceMipsV2 = 361, + Alpha = 388, + SH3 = 418, + SH3Dsp = 419, + SH3E = 420, + SH4 = 422, + SH5 = 424, + Arm = 448, + Thumb = 450, + ArmThumb2 = 452, + AM33 = 467, + PowerPC = 496, + PowerPCFP = 497, + IA64 = 512, + MIPS16 = 614, + Alpha64 = 644, + MipsFpu = 870, + MipsFpu16 = 1126, + Tricore = 1312, + Ebc = 3772, + RiscV32 = 20530, + RiscV64 = 20580, + RiscV128 = 20776, + LoongArch32 = 25138, + LoongArch64 = 25188, + Amd64 = 34404, + M32R = 36929, + Arm64 = 43620 + } + + public partial class ManagedPEBuilder : PEBuilder + { + public const int ManagedResourcesDataAlignment = 8; + public const int MappedFieldDataAlignment = 8; + public ManagedPEBuilder(PEHeaderBuilder header, Metadata.Ecma335.MetadataRootBuilder metadataRootBuilder, Metadata.BlobBuilder ilStream, Metadata.BlobBuilder? mappedFieldData = null, Metadata.BlobBuilder? managedResources = null, ResourceSectionBuilder? nativeResources = null, DebugDirectoryBuilder? debugDirectoryBuilder = null, int strongNameSignatureSize = 128, Metadata.MethodDefinitionHandle entryPoint = default, CorFlags flags = CorFlags.ILOnly, Func, Metadata.BlobContentId>? deterministicIdProvider = null) : base(default!, default) { } + + protected override Collections.Immutable.ImmutableArray
CreateSections() { throw null; } + + protected internal override PEDirectoriesBuilder GetDirectories() { throw null; } + + protected override Metadata.BlobBuilder SerializeSection(string name, SectionLocation location) { throw null; } + + public void Sign(Metadata.BlobBuilder peImage, Func, byte[]> signatureProvider) { } + } + + public readonly partial struct PdbChecksumDebugDirectoryData + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string AlgorithmName { get { throw null; } } + + public Collections.Immutable.ImmutableArray Checksum { get { throw null; } } + } + + public abstract partial class PEBuilder + { + protected PEBuilder(PEHeaderBuilder header, Func, Metadata.BlobContentId>? deterministicIdProvider) { } + + public PEHeaderBuilder Header { get { throw null; } } + + public Func, Metadata.BlobContentId> IdProvider { get { throw null; } } + + public bool IsDeterministic { get { throw null; } } + + protected abstract Collections.Immutable.ImmutableArray
CreateSections(); + protected internal abstract PEDirectoriesBuilder GetDirectories(); + protected Collections.Immutable.ImmutableArray
GetSections() { throw null; } + + public Metadata.BlobContentId Serialize(Metadata.BlobBuilder builder) { throw null; } + + protected abstract Metadata.BlobBuilder SerializeSection(string name, SectionLocation location); + protected readonly partial struct Section + { + public readonly SectionCharacteristics Characteristics; + public readonly string Name; + public Section(string name, SectionCharacteristics characteristics) { } + } + } + + public sealed partial class PEDirectoriesBuilder + { + public int AddressOfEntryPoint { get { throw null; } set { } } + + public DirectoryEntry BaseRelocationTable { get { throw null; } set { } } + + public DirectoryEntry BoundImportTable { get { throw null; } set { } } + + public DirectoryEntry CopyrightTable { get { throw null; } set { } } + + public DirectoryEntry CorHeaderTable { get { throw null; } set { } } + + public DirectoryEntry DebugTable { get { throw null; } set { } } + + public DirectoryEntry DelayImportTable { get { throw null; } set { } } + + public DirectoryEntry ExceptionTable { get { throw null; } set { } } + + public DirectoryEntry ExportTable { get { throw null; } set { } } + + public DirectoryEntry GlobalPointerTable { get { throw null; } set { } } + + public DirectoryEntry ImportAddressTable { get { throw null; } set { } } + + public DirectoryEntry ImportTable { get { throw null; } set { } } + + public DirectoryEntry LoadConfigTable { get { throw null; } set { } } + + public DirectoryEntry ResourceTable { get { throw null; } set { } } + + public DirectoryEntry ThreadLocalStorageTable { get { throw null; } set { } } + } + + public sealed partial class PEHeader + { + internal PEHeader() { } + + public int AddressOfEntryPoint { get { throw null; } } + + public int BaseOfCode { get { throw null; } } + + public int BaseOfData { get { throw null; } } + + public DirectoryEntry BaseRelocationTableDirectory { get { throw null; } } + + public DirectoryEntry BoundImportTableDirectory { get { throw null; } } + + public DirectoryEntry CertificateTableDirectory { get { throw null; } } + + public uint CheckSum { get { throw null; } } + + public DirectoryEntry CopyrightTableDirectory { get { throw null; } } + + public DirectoryEntry CorHeaderTableDirectory { get { throw null; } } + + public DirectoryEntry DebugTableDirectory { get { throw null; } } + + public DirectoryEntry DelayImportTableDirectory { get { throw null; } } + + public DllCharacteristics DllCharacteristics { get { throw null; } } + + public DirectoryEntry ExceptionTableDirectory { get { throw null; } } + + public DirectoryEntry ExportTableDirectory { get { throw null; } } + + public int FileAlignment { get { throw null; } } + + public DirectoryEntry GlobalPointerTableDirectory { get { throw null; } } + + public ulong ImageBase { get { throw null; } } + + public DirectoryEntry ImportAddressTableDirectory { get { throw null; } } + + public DirectoryEntry ImportTableDirectory { get { throw null; } } + + public DirectoryEntry LoadConfigTableDirectory { get { throw null; } } + + public PEMagic Magic { get { throw null; } } + + public ushort MajorImageVersion { get { throw null; } } + + public byte MajorLinkerVersion { get { throw null; } } + + public ushort MajorOperatingSystemVersion { get { throw null; } } + + public ushort MajorSubsystemVersion { get { throw null; } } + + public ushort MinorImageVersion { get { throw null; } } + + public byte MinorLinkerVersion { get { throw null; } } + + public ushort MinorOperatingSystemVersion { get { throw null; } } + + public ushort MinorSubsystemVersion { get { throw null; } } + + public int NumberOfRvaAndSizes { get { throw null; } } + + public DirectoryEntry ResourceTableDirectory { get { throw null; } } + + public int SectionAlignment { get { throw null; } } + + public int SizeOfCode { get { throw null; } } + + public int SizeOfHeaders { get { throw null; } } + + public ulong SizeOfHeapCommit { get { throw null; } } + + public ulong SizeOfHeapReserve { get { throw null; } } + + public int SizeOfImage { get { throw null; } } + + public int SizeOfInitializedData { get { throw null; } } + + public ulong SizeOfStackCommit { get { throw null; } } + + public ulong SizeOfStackReserve { get { throw null; } } + + public int SizeOfUninitializedData { get { throw null; } } + + public Subsystem Subsystem { get { throw null; } } + + public DirectoryEntry ThreadLocalStorageTableDirectory { get { throw null; } } + } + + public sealed partial class PEHeaderBuilder + { + public PEHeaderBuilder(Machine machine = Machine.Unknown, int sectionAlignment = 8192, int fileAlignment = 512, ulong imageBase = 4194304, byte majorLinkerVersion = 48, byte minorLinkerVersion = 0, ushort majorOperatingSystemVersion = 4, ushort minorOperatingSystemVersion = 0, ushort majorImageVersion = 0, ushort minorImageVersion = 0, ushort majorSubsystemVersion = 4, ushort minorSubsystemVersion = 0, Subsystem subsystem = Subsystem.WindowsCui, DllCharacteristics dllCharacteristics = DllCharacteristics.DynamicBase | DllCharacteristics.NxCompatible | DllCharacteristics.NoSeh | DllCharacteristics.TerminalServerAware, Characteristics imageCharacteristics = Characteristics.Dll, ulong sizeOfStackReserve = 1048576, ulong sizeOfStackCommit = 4096, ulong sizeOfHeapReserve = 1048576, ulong sizeOfHeapCommit = 4096) { } + + public DllCharacteristics DllCharacteristics { get { throw null; } } + + public int FileAlignment { get { throw null; } } + + public ulong ImageBase { get { throw null; } } + + public Characteristics ImageCharacteristics { get { throw null; } } + + public Machine Machine { get { throw null; } } + + public ushort MajorImageVersion { get { throw null; } } + + public byte MajorLinkerVersion { get { throw null; } } + + public ushort MajorOperatingSystemVersion { get { throw null; } } + + public ushort MajorSubsystemVersion { get { throw null; } } + + public ushort MinorImageVersion { get { throw null; } } + + public byte MinorLinkerVersion { get { throw null; } } + + public ushort MinorOperatingSystemVersion { get { throw null; } } + + public ushort MinorSubsystemVersion { get { throw null; } } + + public int SectionAlignment { get { throw null; } } + + public ulong SizeOfHeapCommit { get { throw null; } } + + public ulong SizeOfHeapReserve { get { throw null; } } + + public ulong SizeOfStackCommit { get { throw null; } } + + public ulong SizeOfStackReserve { get { throw null; } } + + public Subsystem Subsystem { get { throw null; } } + + public static PEHeaderBuilder CreateExecutableHeader() { throw null; } + + public static PEHeaderBuilder CreateLibraryHeader() { throw null; } + } + + public sealed partial class PEHeaders + { + public PEHeaders(IO.Stream peStream, int size, bool isLoadedImage) { } + + public PEHeaders(IO.Stream peStream, int size) { } + + public PEHeaders(IO.Stream peStream) { } + + public CoffHeader CoffHeader { get { throw null; } } + + public int CoffHeaderStartOffset { get { throw null; } } + + public CorHeader? CorHeader { get { throw null; } } + + public int CorHeaderStartOffset { get { throw null; } } + + public bool IsCoffOnly { get { throw null; } } + + public bool IsConsoleApplication { get { throw null; } } + + public bool IsDll { get { throw null; } } + + public bool IsExe { get { throw null; } } + + public int MetadataSize { get { throw null; } } + + public int MetadataStartOffset { get { throw null; } } + + public PEHeader? PEHeader { get { throw null; } } + + public int PEHeaderStartOffset { get { throw null; } } + + public Collections.Immutable.ImmutableArray SectionHeaders { get { throw null; } } + + public int GetContainingSectionIndex(int relativeVirtualAddress) { throw null; } + + public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset) { throw null; } + } + + public enum PEMagic : ushort + { + PE32 = 267, + PE32Plus = 523 + } + + public readonly partial struct PEMemoryBlock + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public int Length { get { throw null; } } + + public unsafe byte* Pointer { get { throw null; } } + + public readonly Collections.Immutable.ImmutableArray GetContent() { throw null; } + + public readonly Collections.Immutable.ImmutableArray GetContent(int start, int length) { throw null; } + + public readonly Metadata.BlobReader GetReader() { throw null; } + + public readonly Metadata.BlobReader GetReader(int start, int length) { throw null; } + } + + public sealed partial class PEReader : IDisposable + { + public unsafe PEReader(byte* peImage, int size, bool isLoadedImage) { } + + public unsafe PEReader(byte* peImage, int size) { } + + public PEReader(Collections.Immutable.ImmutableArray peImage) { } + + public PEReader(IO.Stream peStream, PEStreamOptions options, int size) { } + + public PEReader(IO.Stream peStream, PEStreamOptions options) { } + + public PEReader(IO.Stream peStream) { } + + public bool HasMetadata { get { throw null; } } + + public bool IsEntireImageAvailable { get { throw null; } } + + public bool IsLoadedImage { get { throw null; } } + + public PEHeaders PEHeaders { get { throw null; } } + + public void Dispose() { } + + public PEMemoryBlock GetEntireImage() { throw null; } + + public PEMemoryBlock GetMetadata() { throw null; } + + public PEMemoryBlock GetSectionData(int relativeVirtualAddress) { throw null; } + + public PEMemoryBlock GetSectionData(string sectionName) { throw null; } + + public CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public Collections.Immutable.ImmutableArray ReadDebugDirectory() { throw null; } + + public Metadata.MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public PdbChecksumDebugDirectoryData ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry entry) { throw null; } + + public bool TryOpenAssociatedPortablePdb(string peImagePath, Func pdbFileStreamProvider, out Metadata.MetadataReaderProvider? pdbReaderProvider, out string? pdbPath) { throw null; } + } + + [Flags] + public enum PEStreamOptions + { + Default = 0, + LeaveOpen = 1, + PrefetchMetadata = 2, + PrefetchEntireImage = 4, + IsLoadedImage = 8 + } + + public abstract partial class ResourceSectionBuilder + { + protected internal abstract void Serialize(Metadata.BlobBuilder builder, SectionLocation location); + } + + [Flags] + public enum SectionCharacteristics : uint + { + MemWrite = 2147483648U, + TypeReg = 0U, + TypeDSect = 1U, + TypeNoLoad = 2U, + TypeGroup = 4U, + TypeNoPad = 8U, + TypeCopy = 16U, + ContainsCode = 32U, + ContainsInitializedData = 64U, + ContainsUninitializedData = 128U, + LinkerOther = 256U, + LinkerInfo = 512U, + TypeOver = 1024U, + LinkerRemove = 2048U, + LinkerComdat = 4096U, + MemProtected = 16384U, + NoDeferSpecExc = 16384U, + GPRel = 32768U, + MemFardata = 32768U, + MemSysheap = 65536U, + Mem16Bit = 131072U, + MemPurgeable = 131072U, + MemLocked = 262144U, + MemPreload = 524288U, + Align1Bytes = 1048576U, + Align2Bytes = 2097152U, + Align4Bytes = 3145728U, + Align8Bytes = 4194304U, + Align16Bytes = 5242880U, + Align32Bytes = 6291456U, + Align64Bytes = 7340032U, + Align128Bytes = 8388608U, + Align256Bytes = 9437184U, + Align512Bytes = 10485760U, + Align1024Bytes = 11534336U, + Align2048Bytes = 12582912U, + Align4096Bytes = 13631488U, + Align8192Bytes = 14680064U, + AlignMask = 15728640U, + LinkerNRelocOvfl = 16777216U, + MemDiscardable = 33554432U, + MemNotCached = 67108864U, + MemNotPaged = 134217728U, + MemShared = 268435456U, + MemExecute = 536870912U, + MemRead = 1073741824U + } + + public readonly partial struct SectionHeader + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public string Name { get { throw null; } } + + public ushort NumberOfLineNumbers { get { throw null; } } + + public ushort NumberOfRelocations { get { throw null; } } + + public int PointerToLineNumbers { get { throw null; } } + + public int PointerToRawData { get { throw null; } } + + public int PointerToRelocations { get { throw null; } } + + public SectionCharacteristics SectionCharacteristics { get { throw null; } } + + public int SizeOfRawData { get { throw null; } } + + public int VirtualAddress { get { throw null; } } + + public int VirtualSize { get { throw null; } } + } + + public readonly partial struct SectionLocation + { + private readonly int _dummyPrimitive; + public SectionLocation(int relativeVirtualAddress, int pointerToRawData) { } + + public int PointerToRawData { get { throw null; } } + + public int RelativeVirtualAddress { get { throw null; } } + } + + public enum Subsystem : ushort + { + Unknown = 0, + Native = 1, + WindowsGui = 2, + WindowsCui = 3, + OS2Cui = 5, + PosixCui = 7, + NativeWindows = 8, + WindowsCEGui = 9, + EfiApplication = 10, + EfiBootServiceDriver = 11, + EfiRuntimeDriver = 12, + EfiRom = 13, + Xbox = 14, + WindowsBootApplication = 16 + } +} \ No newline at end of file diff --git a/src/referencePackages/src/system.reflection.metadata/9.0.0/system.reflection.metadata.nuspec b/src/referencePackages/src/system.reflection.metadata/9.0.0/system.reflection.metadata.nuspec new file mode 100644 index 0000000000..1d1b892592 --- /dev/null +++ b/src/referencePackages/src/system.reflection.metadata/9.0.0/system.reflection.metadata.nuspec @@ -0,0 +1,28 @@ + + + + System.Reflection.Metadata + 9.0.0 + Microsoft + MIT + https://licenses.nuget.org/MIT + https://dot.net/ + This package provides a low-level .NET (ECMA-335) metadata reader and writer. It's geared for performance and is the ideal choice for building higher-level libraries that intend to provide their own object model, such as compilers. The metadata format is defined by the ECMA-335 - Common Language Infrastructure (CLI) specification. + +The System.Reflection.Metadata library is built-in as part of the shared framework in .NET Runtime. The package can be installed when you need to use it in other target frameworks. + https://go.microsoft.com/fwlink/?LinkID=799421 + © Microsoft Corporation. All rights reserved. + true + + + + + + + + + + + + + \ No newline at end of file