Hi,
I have a xaml file and FxCop reports following issue:
Warning, Certainty 75, for AvoidUncalledPrivateCode
{
Target : #_CreateDelegate(System.Type,System.String) (IntrospectionTargetMember)
Resolution : "'MyView._CreateDelegate(Type,
string)' appears to have no upstream public or protected
callers."
Help : http://msdn.microsoft.com/library/ms182264(VS.100).aspx (String)
Category : Microsoft.Performance (String)
CheckId : CA1811 (String)
RuleFile : Performance Rules (String)
Info : "There is uncalled code that is not externally visible
and is not a known runtime entry point. If this violation
fires in error, please send a problem report to the
Visual Studio Code Analysis team."
Created : 6/10/2015 4:07:40 AM (DateTime)
LastSeen : 6/10/2015 4:07:40 AM (DateTime)
Status : Active (MessageStatus)
Fix Category : NonBreaking (FixCategories)
}
The function CreateDelegate cannot be found in MyView.xaml
The CreateDelegate method can only be seen in the MyView.g.cs only.
What should be the best method to either suppress or fix this kind of FxCop warning?
Thanks,
Meha