9 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 (7)
Dbi\DacDbiImpl.cs (5)
1072
if (_target.Contracts.
TryGetContract
<IComWrappers>(out IComWrappers? comWrappers))
1081
if (!comWrappersSuccess && _target.Contracts.
TryGetContract
<IBuiltInCOM>(out IBuiltInCOM? builtInCOM))
1990
IRuntimeMutableTypeSystem? mts = _target.Contracts.
TryGetContract
<IRuntimeMutableTypeSystem>(out IRuntimeMutableTypeSystem enc) ? enc : null;
3947
if (_target.Contracts.
TryGetContract
<IReJIT>(out IReJIT rejit))
4052
if (!_target.Contracts.
TryGetContract
<IReJIT>(out IReJIT rejit))
SOSDacImpl.cs (2)
6301
if (_target.Contracts.
TryGetContract
<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract))
6341
if (_target.Contracts.
TryGetContract
<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract))