File: Contracts\IRuntimeMutableTypeSystem.cs
Web Access
Project: src\runtime\src\native\managed\cdac\Microsoft.Diagnostics.DataContractReader.Abstractions\Microsoft.Diagnostics.DataContractReader.Abstractions.csproj (Microsoft.Diagnostics.DataContractReader.Abstractions)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using System.Collections.Generic;

namespace Microsoft.Diagnostics.DataContractReader.Contracts;

public interface IRuntimeMutableTypeSystem : IContract
{
    static string IContract.Name { get; } = nameof(IRuntimeMutableTypeSystem);

    IEnumerable<TargetPointer> EnumerateAddedFieldDescs(TypeHandle typeHandle, bool staticFields)
        => throw new NotImplementedException();

    bool IsFieldDescEnCNew(TargetPointer fieldDescPointer) => throw new NotImplementedException();
}

public readonly struct RuntimeMutableTypeSystem : IRuntimeMutableTypeSystem
{
    // Everything throws NotImplementedException
}