Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 88365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:32:55+00:00 2026-05-10T22:32:55+00:00

When using FxCop 1.36 for a WPF application with a single window that has

  • 0

When using FxCop 1.36 for a WPF application with a single window that has yet to be modified, I get the InterfaceMethodsShouldBeCallableByChildTypes error with the following details:

    Target       : #System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)  (IntrospectionTargetMember)     Resolution   : 'Make 'MainWindow' sealed (a breaking change if                     this class has previously shipped), implement the method                     non-explicitly, or implement a new method that exposes                     the functionality of 'IComponentConnector.Connect(int,                     object)' and is visible to derived classes.'     Help         : http://msdn2.microsoft.com/library/ms182153(VS.90).aspx  (String)     Category     : Microsoft.Design  (String)     CheckId      : CA1033  (String)     RuleFile     : Design Rules  (String)     Info         : 'Explicit method implementations are defined with private                     accessibility. Classes that derive from classes with                     explicit method implementations and choose to re-declare                     them on the class will not be able to call into the                     base class implementation unless the base class has                     provided an alternate method with appropriate accessibility.                     When overriding a base class method that has been hidden                     by explicit interface implementation, in order to call                     into the base class implementation, a derived class                     must cast the base pointer to the relevant interface.                     When calling through this reference, however, the                     derived class implementation will actually be invoked,                     resulting in recursion and an eventual stack overflow.'     Created      : 08/12/2008 22:26:37  (DateTime)     LastSeen     : 08/12/2008 22:41:05  (DateTime)     Status       : Active  (MessageStatus)     Fix Category : NonBreaking  (FixCategories) } 

Should this simply be ignored?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:32:55+00:00Added an answer on May 10, 2026 at 10:32 pm

    Ignore it, this is standard code that is in every WPF application and you don’t see people complaining about net being able to call IComponentConnector.Connect from derived classes – so it’s probably safe.

    In general I think you should handle FxCop output as suggestions that have to be considered carefully, I’ve got a lot of bad advice from FxCop in the past.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 76k
  • Answers 76k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Well, i'll answer what i put as comment already so… May 11, 2026 at 3:10 pm
  • added an answer If you are part of the iphone developer network (http://developer.apple.com/)… May 11, 2026 at 3:10 pm
  • added an answer There is no equivalents for these two functions. OpenGL|ES is… May 11, 2026 at 3:10 pm

Related Questions

Perhaps not a fully fledged programming quiestion, but to help drive the quality and
I am creating a Windows service. When an exception occurrs, I handle it appropriately
I've got a C# class with a Dispose function via IDisposable . It's intended
Is there a problem with using IEnumerable<T> as a return type? FxCop complains about

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.