ILSpy
ILSpy copied to clipboard
Explicit interface declaration is not a member of interface
Input code
Please see https://github.com/icsharpcode/ILSpy/issues/2389
Relevant sections EditorElement: https://github.com/Unity-Technologies/UnityCsReference/blob/61f92bd79ae862c4465d35270f9d1d57befd1761/Modules/UIElementsEditor/Inspector/EditorElement.cs#L491 Interface: https://github.com/Unity-Technologies/UnityCsReference/blob/61f92bd79ae862c4465d35270f9d1d57befd1761/Editor/Mono/Inspector/IEditorElement.cs#L21
Erroneous output
<UnityEditor>\UnityEditor\UIElements\EditorElement.cs:12191 'string IEditorElement.get_name()' in explicit interface declaration is not a member of interface 'UnityEditor.IEditorElement'
<UnityEditor>\UnityEditor\UIElements\EditorElement.cs:12270 'void IEditorElement.set_name(string)' in explicit interface declaration is not a member of interface 'UnityEditor.IEditorElement'
[SpecialName]
string IEditorElement.get_name()
{
return base.name;
}
[SpecialName]
void IEditorElement.set_name(string value)
{
base.name = value;
}
Details
Please see https://github.com/icsharpcode/ILSpy/issues/2389
Duplicate of #1682 and #1949