Exemplo n.º 1
0
 public static ImmutableArray <ParameterSymbol> DelegateParameters(this TypeSymbol type)
 {
     Debug.Assert((object)type.DelegateInvokeMethod() != null && !type.DelegateInvokeMethod().HasUseSiteError,
                  "This method should only be called on valid delegate types.");
     return(type.DelegateInvokeMethod().Parameters);
 }