This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```cs | |
/// <summary> | |
/// A packed data structure which stored various attributes and can be used to determine how similar or diferrent a something is to something else | |
/// It achieves this by containing 32 bytes (2 <see cref="decimal"/>'s) with overlapped parts which are bit packed. | |
/// All values are stored in <see cref="Common.Binary.IsLittleEndian"/> so are only reversed when reading or writing <see cref="Common.Binary.IsBigEndian"/>. | |
/// </summary> | |
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Size = 32)] | |
public ref struct Chirality | |
{ | |
#region Fields |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Discussions @ | |
// https://github.com/dotnet/runtime/issues/39601 | |
// https://discord.com/channels/734490970309001236/734490970309001239 | |
//----------------------------------------------------- | |
namespace System.IO | |
{ | |
public interface IDisposed : IDisposable { bool ShouldDispose { get; } bool IsDisposed { get; } } | |
public interface IStream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Of 8 bytes. | |
/// A structure which represents an: | |
/// <see cref="System.Object"/>, <see cref="System.Array"/> or <see cref="System.String"/>. | |
/// </summary> | |
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Explicit, Size = 8)] | |
public struct Invariant | |
{ | |
[System.Runtime.InteropServices.FieldOffset(0)] | |
public System.Array Array; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// | |
/// </summary> | |
/// <typeparam name="T"></typeparam> | |
public class IndirectEnumerator<T> : System.Collections.Generic.IEnumerator<T> | |
{ | |
public readonly System.Collections.Generic.IEnumerator<T> Enumerator; | |
T Current; |