Пример #1
0
 public NonNullTypeNode WithType(INullableTypeNode type)
 {
     return(new NonNullTypeNode(Location, type));
 }
Пример #2
0
 public NonNullTypeNode(INullableTypeNode type)
     : this(null, type)
 {
 }
Пример #3
0
 public NonNullTypeNode(Location?location, INullableTypeNode type)
 {
     Location = location;
     Type     = type ?? throw new ArgumentNullException(nameof(type));
 }