using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.FxCop; //using Microsoft.cci; using Microsoft.FxCop.Sdk; namespace CustomFxCopRule { public class classc1 : BaseIntrospectionRule { int flag = 0; public classc1() : base("classc1", "CustomFxCopRule.Rules", typeof(classc1).Assembly) { } public override void BeforeAnalysis() { // Do once-per-thread initialization. } public override void AfterAnalysis() { // Do once-per-thread cleanup. Rarely needed. } public override ProblemCollection Check(Member member) { //Logic here return Problems; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)