16 references to TryGetContract
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\RuntimeTypeSystem_1.cs (1)
2002
if (_target.Contracts.
TryGetContract
(out IReJIT reJit) && reJit.IsEnabled())
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LayoutSet.g.cs (1)
80
if (target.Contracts.
TryGetContract
(out IManagedTypeSource mts))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TypeNameResolver.g.cs (1)
42
if (target.Contracts.
TryGetContract
(out IManagedTypeSource mts))
RuntimeTypeSystemHelpers\MethodValidation.cs (1)
194
TargetPointer methodDesc = _target.Contracts.
TryGetContract
(out IPrecodeStubs precodeStubs)
Microsoft.Diagnostics.DataContractReader.Legacy (12)
ClrDataMethodDefinition.cs (1)
70
if (methodDesc != TargetPointer.Null && _target.Contracts.
TryGetContract
(out ICodeVersions codeVersions))
Dbi\DacDbiImpl.cs (8)
1504
if (_target.Contracts.
TryGetContract
<IComWrappers>(out IComWrappers? comWrappers))
1513
if (!comWrappersSuccess && _target.Contracts.
TryGetContract
<IBuiltInCOM>(out IBuiltInCOM? builtInCOM))
2935
if (_target.Contracts.
TryGetContract
(out ICodeVersions codeVersions))
3006
if (_target.Contracts.
TryGetContract
(out ICodeVersions codeVersions))
3260
IRuntimeMutableTypeSystem? mts = _target.Contracts.
TryGetContract
<IRuntimeMutableTypeSystem>(out IRuntimeMutableTypeSystem enc) ? enc : null;
5843
if (_target.Contracts.
TryGetContract
<IReJIT>(out IReJIT rejit))
5894
if (!_target.Contracts.
TryGetContract
<IReJIT>(out IReJIT rejit))
6099
if (_target.Contracts.
TryGetContract
<IReJIT>(out _))
Dbi\Helpers\RefWalk.cs (1)
138
if (!_target.Contracts.
TryGetContract
(out IExternalMemoryHandles externalMemoryHandles))
SOSDacImpl.cs (2)
6495
if (_target.Contracts.
TryGetContract
<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract))
6536
if (_target.Contracts.
TryGetContract
<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract))