Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Filter out more compiler attributes

  • Loading branch information...
commit 09c0957ea859b9ec71a857941ced41286f57e412 1 parent 9a40fe7
Marek Safar marek-safar authored

Showing 1 changed file with 8 additions and 3 deletions. Show diff stats Hide diff stats

  1. +8 3 gui-compare/CompareContext.cs
11 gui-compare/CompareContext.cs
@@ -327,10 +327,15 @@ void CompareTypeParameters (ComparisonNode parent, ICompGenericParameter referen
327 327 while (m < reference_attrs.Count || a < target_attrs.Count) {
328 328 if (m == reference_attrs.Count) {
329 329
330   - if (target_attrs[a].Name == "System.Diagnostics.DebuggerDisplayAttribute") {
331   - // Ignore additional debugging attributes in Mono source code
332   - } else {
  330 + switch (target_attrs[a].Name) {
  331 + case "System.Diagnostics.DebuggerDisplayAttribute":
  332 + case "System.Runtime.CompilerServices.AsyncStateMachineAttribute":
  333 + case "System.Runtime.CompilerServices.IteratorStateMachineAttribute":
  334 + // Ignore extra attributes in Mono source code
  335 + break;
  336 + default:
333 337 AddExtra (parent, target_attrs[a]);
  338 + break;
334 339 }
335 340
336 341 a++;

0 comments on commit 09c0957

Please sign in to comment.
Something went wrong with that request. Please try again.