public bool SerializedVersionExists(ReferenceInfo reference)
 {
     lock (_lockObject)
     {
         return(CachedReferences.TryGetValue(reference, out _) || _baseDeserializer.SerializedVersionExists(reference));
     }
 }
Esempio n. 2
0
        public override IReadOnlyCollection <Declaration> CollectedDeclarations(ReferenceInfo reference)
        {
            if (!_deserializer.SerializedVersionExists(reference))
            {
                return(new List <Declaration>());
            }

            return(LoadDeclarationsFromProvider(reference));
        }