diff options
Diffstat (limited to 'src/Interface.cs')
| -rw-r--r-- | src/Interface.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Interface.cs b/src/Interface.cs index 1b6f2437..aa3720fb 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -139,9 +139,9 @@ namespace go if (!string.IsNullOrEmpty (ClassName)) break; if (CurrentGOMLPath.StartsWith ("#")) - ClassName = Path.GetFileNameWithoutExtension (CurrentGOMLPath.Substring (1)); + ClassName = System.IO.Path.GetFileNameWithoutExtension (CurrentGOMLPath.Substring (1)); else - ClassName = Path.GetFileNameWithoutExtension (CurrentGOMLPath); + ClassName = System.IO.Path.GetFileNameWithoutExtension (CurrentGOMLPath); break; } } @@ -228,9 +228,9 @@ namespace go newClassName = reader.GetAttribute ("Class"); if (string.IsNullOrEmpty (newClassName)) { if (path.StartsWith ("#")) - newClassName = Path.GetFileNameWithoutExtension (path.Substring (1)); + newClassName = System.IO.Path.GetFileNameWithoutExtension (path.Substring (1)); else - newClassName = Path.GetFileNameWithoutExtension (path); + newClassName = System.IO.Path.GetFileNameWithoutExtension (path); } curType = Type.GetType ("go." + root); |