diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-10-21 22:00:20 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-10-21 22:00:20 +0200 |
| commit | 8099f1775b6d9083e04b2f39700c2e90a0724aca (patch) | |
| tree | a145c7f1ec8aeb4aade2ffae4e2c50771ef9ec86 /src/Interface.cs | |
| parent | f31ffd683210c50b777dce4e76d0d9912ca925a8 (diff) | |
glbackend tests, copy first try from hg reposglbackend
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); |