Browse Source

Rename unresolved InterfaceImplementations to ExplicitInterfaceImplementations.

newNRvisualizers
Daniel Grunwald 14 years ago
parent
commit
0fd4f5b297
  1. 8
      ICSharpCode.NRefactory.CSharp/TypeSystem/TypeSystemConvertVisitor.cs
  2. 2
      ICSharpCode.NRefactory/TypeSystem/IMember.cs
  3. 2
      ICSharpCode.NRefactory/TypeSystem/Implementation/AbstractUnresolvedMember.cs

8
ICSharpCode.NRefactory.CSharp/TypeSystem/TypeSystemConvertVisitor.cs

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

2
ICSharpCode.NRefactory/TypeSystem/IMember.cs

@ -43,7 +43,7 @@ namespace ICSharpCode.NRefactory.TypeSystem @@ -43,7 +43,7 @@ namespace ICSharpCode.NRefactory.TypeSystem
/// <summary>
/// Gets the interfaces that are explicitly implemented by this member.
/// </summary>
IList<IMemberReference> InterfaceImplementations { get; }
IList<IMemberReference> ExplicitInterfaceImplementations { get; }
/// <summary>
/// Gets if the member is virtual. Is true only if the "virtual" modifier was used, but non-virtual

2
ICSharpCode.NRefactory/TypeSystem/Implementation/AbstractUnresolvedMember.cs

@ -94,7 +94,7 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation @@ -94,7 +94,7 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation
}
}*/
public IList<IMemberReference> InterfaceImplementations {
public IList<IMemberReference> ExplicitInterfaceImplementations {
get {
if (interfaceImplementations == null)
interfaceImplementations = new List<IMemberReference>();

Loading…
Cancel
Save