private void ProcessMethodImplementation(Method method, IMethod baseMethod) { IMethod methodEntity = GetEntity(method); CallableSignature baseSignature = TypeSystemServices.GetOverriddenSignature(baseMethod, methodEntity); if (IsUnknown(methodEntity.ReturnType)) { method.ReturnType = CodeBuilder.CreateTypeReference(baseSignature.ReturnType); } else if (baseSignature.ReturnType != methodEntity.ReturnType) { Error(CompilerErrorFactory.ConflictWithInheritedMember(method, methodEntity, baseMethod)); } }