Example #1
0
 public override void VisitDelegateDeclaration(DelegateDeclarationSyntax node)
 {
     InsertLLOCMap(node.GetLocation());
     foreach (var modifier in node.Modifiers)
     {
         InsertLLOCMap(modifier.GetLocation());
     }
     foreach (var attributeListSyntax in node.AttributeLists)
     {
         InsertLLOCMap(attributeListSyntax.GetLocation());
     }
     foreach (var typeParameterConstraintClauseSyntax in node.ConstraintClauses)
     {
         InsertLLOCMap(typeParameterConstraintClauseSyntax.GetLocation());
     }
     foreach (var parameterSyntax in node.ParameterList.Parameters)
     {
         InsertLLOCMap(parameterSyntax.GetLocation());
     }
 }