Boo.Lang.Parser.BooParser.CreateModuleName C# (CSharp) Method

CreateModuleName() public static method

public static CreateModuleName ( string readerName ) : string
readerName string
return string
        public static string CreateModuleName(string readerName)
        {
            if (readerName.IndexOfAny(Path.InvalidPathChars) > -1)
            {
                return EncodeModuleName(readerName);
            }
            return Path.GetFileNameWithoutExtension(Path.GetFileName(readerName));
        }