13 references to TryGetContract
Microsoft.Diagnostics.DataContractReader.Contracts (2)
_generated\0\LayoutSet.g.cs (1)
80if (target.Contracts.TryGetContract(out IManagedTypeSource mts))
_generated\1\TypeNameResolver.g.cs (1)
42if (target.Contracts.TryGetContract(out IManagedTypeSource mts))
Microsoft.Diagnostics.DataContractReader.Legacy (11)
ClrDataMethodDefinition.cs (1)
70if (methodDesc != TargetPointer.Null && _target.Contracts.TryGetContract(out ICodeVersions codeVersions))
Dbi\DacDbiImpl.cs (8)
1485if (_target.Contracts.TryGetContract<IComWrappers>(out IComWrappers? comWrappers)) 1494if (!comWrappersSuccess && _target.Contracts.TryGetContract<IBuiltInCOM>(out IBuiltInCOM? builtInCOM)) 2916if (_target.Contracts.TryGetContract(out ICodeVersions codeVersions)) 2987if (_target.Contracts.TryGetContract(out ICodeVersions codeVersions)) 3241IRuntimeMutableTypeSystem? mts = _target.Contracts.TryGetContract<IRuntimeMutableTypeSystem>(out IRuntimeMutableTypeSystem enc) ? enc : null; 5824if (_target.Contracts.TryGetContract<IReJIT>(out IReJIT rejit)) 5875if (!_target.Contracts.TryGetContract<IReJIT>(out IReJIT rejit)) 6080if (_target.Contracts.TryGetContract<IReJIT>(out _))
SOSDacImpl.cs (2)
6454if (_target.Contracts.TryGetContract<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract)) 6495if (_target.Contracts.TryGetContract<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract))