Exemple #1
0
 /// <summary>
 /// Checks whether the element name is reserved.
 ///
 /// For example:
 /// "Item3" is reserved (at certain positions).
 /// "Rest", "ToString" and other members of System.ValueTuple are reserved (in any position).
 /// Names that are not reserved return false.
 /// </summary>
 public static bool IsReservedTupleElementName(string elementName)
 {
     return(TupleTypeSymbol.IsElementNameReserved(elementName) != -1);
 }