Identifying 'using' (C#)

I'm trying to write a rule to check a certain object type is always used as part of a 'using' code block. I get the impression that the only way to do this is by doing some source walking - I find no 'VisitUsing' method. Looking at my source in ILDASM, it appears that using blocks are compiled to try --> finally blocks, with object initialisation before the try. I assume, therefore, that there is no explicit way to identify this in FxCop?
[451 byte] By [JamesJackson] at [2008-2-7]
# 1
You cannot walk source in FxCop, of course, as it's a binary checker. The C# 'using' construct compiles to a reliable IL pattern, which you could check for using the Method.Instructions. Ideally, the FxCop abstract syntax trees (published in the Method.Body) would understand this pattern. Currently, however, no exception handling information is expressed here. We are looking at adding this for the next release of the tool.

Michael Fanning
VSTS Development: Code Analysis

MichaelFanning-MS at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 2
Sorry Michael, when I said source walking I meant looking at the IL... I was just checking there wasn't an easy way to get at this code pattern from the FxCop analysis. Not to worry, as you say the compilation pattern is easy to spot so I'll do it that way. Cheers.
JamesJackson at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...

Visual Studio Team System

Site Classified