|
[jira] Commented: (BOO-492) Can't compile class which implements IResourceR: msg#00076lang.boo.devel
[ http://jira.codehaus.org/browse/BOO-492?page=comments#action_46462 ] Doug Holton commented on BOO-492: --------------------------------- Look up explicit interface implementations, like here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkexplicitinterfaceimplementationtutorial.asp See also how the ResourceReader class implements this interface: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemResourcesResourceReaderMethodsTopic.asp import System.Resources import System.Collections class Demo2(IResourceReader): def IResourceReader.GetEnumerator() as IDictionaryEnumerator: pass def Close() : pass def Dispose(): pass def IEnumerable.GetEnumerator() as IEnumerator: pass > Can't compile class which implements IResourceReader > ---------------------------------------------------- > > Key: BOO-492 > URL: http://jira.codehaus.org/browse/BOO-492 > Project: Boo > Type: Bug > Components: Compiler > Versions: 0.6 > Environment: Sharpdevelop, dotnet > Reporter: Tomislav Tustonic > > > Compiler fails on compiling the class which implements > System.Resources.IResourceReader (like this one) > class Demo2(IResourceReader): > def GetEnumerator(): > return null ; > def Close() : > pass > def Dispose(): > pass > with the message: > 'classname.GetEnumerator' conflicts with inherited member > System.Resources.IResourceReader.GetEnumerator -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [jira] Created: (BOO-492) Can't compile class which implements IResourceReader, Tomislav Tustonic (JIRA) |
|---|---|
| Next by Date: | mono -svn 50139 don't not compile boo-svn-1898, 황윤성 |
| Previous by Thread: | [jira] Created: (BOO-492) Can't compile class which implements IResourceReader, Tomislav Tustonic (JIRA) |
| Next by Thread: | mono -svn 50139 don't not compile boo-svn-1898, 황윤성 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |