Skip to content

Instantly share code, notes, and snippets.

@fekberg
Created September 17, 2012 19:30
Show Gist options
  • Select an option

  • Save fekberg/3739275 to your computer and use it in GitHub Desktop.

Select an option

Save fekberg/3739275 to your computer and use it in GitHub Desktop.
Listing 10.12
var dataFlowAnalysis = semanticModel.AnalyzeDataFlow(containingBlock);
var variable = localDeclaration.Declaration.Variables.First();
var symbol = semanticModel.GetDeclaredSymbol(variable);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment