Example #1
0
 public IContentSource GetContentSource()
 {
     //IL_001c: Unknown result type (might be due to invalid IL or missing references)
     //IL_0026: Expected O, but got Unknown
     //IL_0039: Unknown result type (might be due to invalid IL or missing references)
     //IL_0043: Expected O, but got Unknown
     if (_needsReload)
     {
         if (_isCompressed)
         {
             _contentSource = (IContentSource)(object)new ZipContentSource(FullPath, "Content");
         }
         else
         {
             _contentSource = (IContentSource)(object)new FileSystemContentSource(Path.Combine(FullPath, "Content"));
         }
         _contentSource.set_ContentValidator((IContentValidator)(object)VanillaContentValidator.Instance);
         _needsReload = false;
     }
     return(_contentSource);
 }