private ArrayTypeSymbol DecodeArrayType(ArrayTypeSymbol type) { var decodedElementType = DecodeType(type.ElementType); return(ReferenceEquals(decodedElementType, type.ElementType) ? type : type.WithElementType(decodedElementType)); }
private ArrayTypeSymbol DecodeArrayType(ArrayTypeSymbol type) { TypeSymbolWithAnnotations elementType = type.ElementType; TypeSymbolWithAnnotations decodedElementType = DecodeTypeInternal(elementType); return(decodedElementType.IsSameAs(elementType) ? type : type.WithElementType(decodedElementType)); }
private ArrayTypeSymbol DecodeArrayType(ArrayTypeSymbol type) { TypeWithAnnotations decodedElementType = DecodeTypeInternal(type.ElementTypeWithAnnotations); return(type.WithElementType(decodedElementType)); }
private ArrayTypeSymbol DecodeArrayType(ArrayTypeSymbol type) { var decodedElementType = DecodeType(type.ElementType); return ReferenceEquals(decodedElementType, type.ElementType) ? type : type.WithElementType(decodedElementType); }
private ArrayTypeSymbol TransformArrayType(ArrayTypeSymbol type) { Increment(); return(type.WithElementType(TransformTypeWithAnnotations(type.ElementTypeWithAnnotations))); }