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