12 references to TryGetContract
Microsoft.Diagnostics.DataContractReader.Contracts (2)
_generated\0\LayoutSet.g.cs (1)
80
if (target.Contracts.
TryGetContract
(out IManagedTypeSource mts))
_generated\1\TypeNameResolver.g.cs (1)
42
if (target.Contracts.
TryGetContract
(out IManagedTypeSource mts))
Microsoft.Diagnostics.DataContractReader.Legacy (10)
Dbi\DacDbiImpl.cs (8)
1416
if (_target.Contracts.
TryGetContract
<IComWrappers>(out IComWrappers? comWrappers))
1425
if (!comWrappersSuccess && _target.Contracts.
TryGetContract
<IBuiltInCOM>(out IBuiltInCOM? builtInCOM))
2818
if (_target.Contracts.
TryGetContract
(out ICodeVersions codeVersions))
2888
if (_target.Contracts.
TryGetContract
(out ICodeVersions codeVersions))
3136
IRuntimeMutableTypeSystem? mts = _target.Contracts.
TryGetContract
<IRuntimeMutableTypeSystem>(out IRuntimeMutableTypeSystem enc) ? enc : null;
5643
if (_target.Contracts.
TryGetContract
<IReJIT>(out IReJIT rejit))
5690
if (!_target.Contracts.
TryGetContract
<IReJIT>(out IReJIT rejit))
5889
if (_target.Contracts.
TryGetContract
<IReJIT>(out _))
SOSDacImpl.cs (2)
6306
if (_target.Contracts.
TryGetContract
<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract))
6346
if (_target.Contracts.
TryGetContract
<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract))