|
|
|
|
@ -420,6 +420,7 @@ namespace ICSharpCode.NRefactory.CSharp.TypeSystem
@@ -420,6 +420,7 @@ namespace ICSharpCode.NRefactory.CSharp.TypeSystem
|
|
|
|
|
ConvertParameters(m.Parameters, methodDeclaration.Parameters); |
|
|
|
|
if (!methodDeclaration.PrivateImplementationType.IsNull) { |
|
|
|
|
m.Accessibility = Accessibility.None; |
|
|
|
|
m.IsExplicitInterfaceImplementation = true; |
|
|
|
|
m.ExplicitInterfaceImplementations.Add(new DefaultMemberReference( |
|
|
|
|
m.EntityType, ConvertType(methodDeclaration.PrivateImplementationType), m.Name, |
|
|
|
|
m.TypeParameters.Count, GetParameterTypes(m.Parameters))); |
|
|
|
|
@ -597,6 +598,7 @@ namespace ICSharpCode.NRefactory.CSharp.TypeSystem
@@ -597,6 +598,7 @@ namespace ICSharpCode.NRefactory.CSharp.TypeSystem
|
|
|
|
|
ConvertAttributes(p.Attributes, propertyDeclaration.Attributes); |
|
|
|
|
if (!propertyDeclaration.PrivateImplementationType.IsNull) { |
|
|
|
|
p.Accessibility = Accessibility.None; |
|
|
|
|
p.IsExplicitInterfaceImplementation = true; |
|
|
|
|
p.ExplicitInterfaceImplementations.Add(new DefaultMemberReference( |
|
|
|
|
p.EntityType, ConvertType(propertyDeclaration.PrivateImplementationType), p.Name)); |
|
|
|
|
} |
|
|
|
|
@ -625,6 +627,7 @@ namespace ICSharpCode.NRefactory.CSharp.TypeSystem
@@ -625,6 +627,7 @@ namespace ICSharpCode.NRefactory.CSharp.TypeSystem
|
|
|
|
|
|
|
|
|
|
if (!indexerDeclaration.PrivateImplementationType.IsNull) { |
|
|
|
|
p.Accessibility = Accessibility.None; |
|
|
|
|
p.IsExplicitInterfaceImplementation = true; |
|
|
|
|
p.ExplicitInterfaceImplementations.Add(new DefaultMemberReference( |
|
|
|
|
p.EntityType, ConvertType(indexerDeclaration.PrivateImplementationType), p.Name, 0, GetParameterTypes(p.Parameters))); |
|
|
|
|
} |
|
|
|
|
@ -726,6 +729,7 @@ namespace ICSharpCode.NRefactory.CSharp.TypeSystem
@@ -726,6 +729,7 @@ namespace ICSharpCode.NRefactory.CSharp.TypeSystem
|
|
|
|
|
|
|
|
|
|
if (!eventDeclaration.PrivateImplementationType.IsNull) { |
|
|
|
|
e.Accessibility = Accessibility.None; |
|
|
|
|
e.IsExplicitInterfaceImplementation = true; |
|
|
|
|
e.ExplicitInterfaceImplementations.Add(new DefaultMemberReference( |
|
|
|
|
e.EntityType, ConvertType(eventDeclaration.PrivateImplementationType), e.Name)); |
|
|
|
|
} |
|
|
|
|
|