示例#1
0
        internal string GetFullyQualifiedName()
        {
            string s = (string)null;

            RuntimeModule.GetFullyQualifiedName(this.GetNativeHandle(), JitHelpers.GetStringHandleOnStack(ref s));
            return(s);
        }
示例#2
0
        internal string GetFullyQualifiedName()
        {
            string result = null;

            RuntimeModule.GetFullyQualifiedName(this.GetNativeHandle(), JitHelpers.GetStringHandleOnStack(ref result));
            return(result);
        }
示例#3
0
        public override FileStream GetFile(string name)
        {
            RuntimeModule module = (RuntimeModule)this.GetModule(name);

            if (module == null)
            {
                return(null);
            }
            return(new FileStream(module.GetFullyQualifiedName(), FileMode.Open, FileAccess.Read, FileShare.Read));
        }
示例#4
0
        // Returns the file in the File table of the manifest that matches the
        // given name.  (Name should not include path.)
        public override FileStream GetFile(string name)
        {
            RuntimeModule m = (RuntimeModule)GetModule(name);

            if (m == null)
            {
                return(null);
            }

            return(new FileStream(m.GetFullyQualifiedName(),
                                  FileMode.Open,
                                  FileAccess.Read, FileShare.Read, FileStream.DefaultBufferSize, false));
        }