34 interfaces inheriting from IContract
Microsoft.Diagnostics.DataContractReader.Abstractions (34)
Contracts\IAuxiliarySymbols.cs (1)
9
public interface IAuxiliarySymbols :
IContract
Contracts\IBuiltInCOM.cs (1)
46
public interface IBuiltInCOM :
IContract
Contracts\ICallingConvention.cs (1)
8
public interface ICallingConvention :
IContract
Contracts\ICodeNotifications.cs (1)
27
public interface ICodeNotifications :
IContract
Contracts\ICodeVersions.cs (1)
16
public interface ICodeVersions :
IContract
Contracts\IComWrappers.cs (1)
9
public interface IComWrappers :
IContract
Contracts\IConditionalWeakTable.cs (1)
8
public interface IConditionalWeakTable :
IContract
Contracts\IDacStreams.cs (1)
8
public interface IDacStreams :
IContract
Contracts\IDebugger.cs (1)
17
public interface IDebugger :
IContract
Contracts\IDebugInfo.cs (1)
112
public interface IDebugInfo :
IContract
Contracts\IEcmaMetadata.cs (1)
9
public interface IEcmaMetadata :
IContract
Contracts\IException.cs (1)
24
public interface IException :
IContract
Contracts\IExecutionManager.cs (1)
96
public interface IExecutionManager :
IContract
Contracts\IFeatureFlags.cs (1)
22
public interface IFeatureFlags :
IContract
Contracts\IGC.cs (1)
134
public interface IGC :
IContract
Contracts\IGCInfo.cs (1)
128
public interface IGCInfo :
IContract
Contracts\ILoader.cs (1)
87
public interface ILoader :
IContract
Contracts\IManagedTypeSource.cs (1)
13
public interface IManagedTypeSource :
IContract
Contracts\INotifications.cs (1)
59
public interface INotifications :
IContract
Contracts\IObject.cs (1)
25
public interface IObject :
IContract
Contracts\IObjectiveCMarshal.cs (1)
8
public interface IObjectiveCMarshal :
IContract
Contracts\IPlatformMetadata.cs (1)
14
public interface IPlatformMetadata :
IContract
Contracts\IPrecodeStubs.cs (1)
8
public interface IPrecodeStubs :
IContract
Contracts\IReJIT.cs (1)
15
public interface IReJIT :
IContract
Contracts\IRuntimeInfo.cs (1)
40
public interface IRuntimeInfo :
IContract
Contracts\IRuntimeMutableTypeSystem.cs (1)
9
public interface IRuntimeMutableTypeSystem :
IContract
Contracts\IRuntimeTypeSystem.cs (1)
147
public interface IRuntimeTypeSystem :
IContract
Contracts\ISHash.cs (1)
23
public interface ISHash :
IContract
Contracts\ISignature.cs (1)
9
public interface ISignature :
IContract
Contracts\IStackWalk.cs (1)
85
public interface IStackWalk :
IContract
Contracts\IStressLog.cs (1)
35
public interface IStressLog :
IContract
Contracts\ISyncBlock.cs (1)
7
public interface ISyncBlock :
IContract
Contracts\IThread.cs (1)
79
public interface IThread :
IContract
Contracts\IWindowsErrorReporting.cs (1)
8
public interface IWindowsErrorReporting :
IContract
50 references to IContract
Microsoft.Diagnostics.DataContractReader (6)
CachingContractRegistry.cs (6)
20
private readonly Dictionary<Type,
IContract
> _contracts = [];
21
private readonly Dictionary<(Type, string), Func<Target,
IContract
>> _creators = [];
51
if (_contracts.TryGetValue(typeof(TContract), out
IContract
? cached))
57
if (!TryResolveCreator(typeof(TContract), TContract.Name, out Func<Target,
IContract
>? creator, out failureException))
99
[NotNullWhen(true)] out Func<Target,
IContract
>? creator,
129
foreach (
IContract
contract in _contracts.Values)
Microsoft.Diagnostics.DataContractReader.Abstractions (42)
ContractRegistry.cs (6)
166
public abstract bool TryGetContract<TContract>([NotNullWhen(true)] out TContract contract, [NotNullWhen(false)] out System.Exception? failureException) where TContract :
IContract
;
168
public TContract GetContract<TContract>() where TContract :
IContract
177
public bool TryGetContract<TContract>([NotNullWhen(true)] out TContract contract) where TContract :
IContract
202
public virtual bool TryValidate<TContract>([NotNullWhen(false)] out System.Exception? failureException) where TContract :
IContract
212
where TContract :
IContract
;
218
where TContract :
IContract
;
Contracts\IAuxiliarySymbols.cs (1)
11
static string
IContract
.Name { get; } = nameof(AuxiliarySymbols);
Contracts\IBuiltInCOM.cs (1)
48
static string
IContract
.Name { get; } = nameof(BuiltInCOM);
Contracts\ICallingConvention.cs (1)
10
static string
IContract
.Name => nameof(CallingConvention);
Contracts\ICodeNotifications.cs (1)
29
static string
IContract
.Name { get; } = nameof(CodeNotifications);
Contracts\ICodeVersions.cs (1)
18
static string
IContract
.Name { get; } = nameof(CodeVersions);
Contracts\IComWrappers.cs (1)
11
static string
IContract
.Name { get; } = nameof(ComWrappers);
Contracts\IConditionalWeakTable.cs (1)
10
static string
IContract
.Name { get; } = nameof(ConditionalWeakTable);
Contracts\IDacStreams.cs (1)
10
static string
IContract
.Name { get; } = nameof(DacStreams);
Contracts\IDebugger.cs (1)
19
static string
IContract
.Name { get; } = nameof(Debugger);
Contracts\IDebugInfo.cs (1)
114
static string
IContract
.Name { get; } = nameof(DebugInfo);
Contracts\IEcmaMetadata.cs (1)
11
static string
IContract
.Name { get; } = nameof(EcmaMetadata);
Contracts\IException.cs (1)
26
static string
IContract
.Name { get; } = nameof(Exception);
Contracts\IExecutionManager.cs (1)
98
static string
IContract
.Name { get; } = nameof(ExecutionManager);
Contracts\IFeatureFlags.cs (1)
24
static string
IContract
.Name { get; } = nameof(FeatureFlags);
Contracts\IGC.cs (1)
136
static string
IContract
.Name { get; } = nameof(GC);
Contracts\IGCInfo.cs (1)
130
static string
IContract
.Name { get; } = nameof(GCInfo);
Contracts\ILoader.cs (1)
89
static string
IContract
.Name => nameof(Loader);
Contracts\IManagedTypeSource.cs (1)
15
static string
IContract
.Name { get; } = nameof(ManagedTypeSource);
Contracts\INotifications.cs (1)
61
static string
IContract
.Name { get; } = nameof(Notifications);
Contracts\IObject.cs (1)
27
static string
IContract
.Name { get; } = nameof(Object);
Contracts\IObjectiveCMarshal.cs (1)
10
static string
IContract
.Name { get; } = nameof(ObjectiveCMarshal);
Contracts\IPlatformMetadata.cs (1)
16
static string
IContract
.Name { get; } = nameof(PlatformMetadata);
Contracts\IPrecodeStubs.cs (1)
10
static string
IContract
.Name { get; } = nameof(PrecodeStubs);
Contracts\IReJIT.cs (1)
17
static string
IContract
.Name { get; } = nameof(ReJIT);
Contracts\IRuntimeInfo.cs (1)
42
static string
IContract
.Name { get; } = nameof(RuntimeInfo);
Contracts\IRuntimeMutableTypeSystem.cs (1)
11
static string
IContract
.Name { get; } = nameof(RuntimeMutableTypeSystem);
Contracts\IRuntimeTypeSystem.cs (1)
149
static string
IContract
.Name => nameof(RuntimeTypeSystem);
Contracts\ISHash.cs (1)
25
static string
IContract
.Name { get; } = nameof(SHash);
Contracts\ISignature.cs (1)
11
static string
IContract
.Name { get; } = nameof(Signature);
Contracts\IStackWalk.cs (1)
87
static string
IContract
.Name => nameof(StackWalk);
Contracts\IStressLog.cs (1)
37
static string
IContract
.Name { get; } = nameof(StressLog);
Contracts\ISyncBlock.cs (1)
9
static string
IContract
.Name { get; } = nameof(SyncBlock);
Contracts\IThread.cs (1)
81
static string
IContract
.Name { get; } = nameof(Thread);
Contracts\IWindowsErrorReporting.cs (1)
10
static string
IContract
.Name => nameof(WindowsErrorReporting);
FlushScope.cs (1)
34
/// <see cref="Contracts.
IContract
.Flush(FlushScope)"/> implementation when
IContractFactory.cs (1)
8
public interface IContractFactory<out TContract> where TContract : Contracts.
IContract
Microsoft.Diagnostics.DataContractReader.Contracts (2)
CoreCLRContracts.cs (2)
167
static void Validate<TContract>(ContractRegistry registry) where TContract :
IContract
183
static void ValidateSubDescriptorContract<TContract>(Target target) where TContract :
IContract