# Module Assignment

Provides all assignment classes.

All assignments have the common base class `Assignment`

.

## Import path

`import semmle.code.csharp.exprs.Assignment`

## Imports

Expr | Provides all expression classes. |

## Classes

AddEventExpr | An event addition, for example line 9 in |

AddOrRemoveEventExpr | An event assignment. Either an event addition ( |

AssignAddExpr | An addition assignment operation, for example |

AssignAndExpr | A bitwise-and assignment operation, for example |

AssignArithmeticOperation | An arithmetic assignment operation. Either an addition assignment operation ( |

AssignBitwiseOperation | A bitwise assignment operation. Either a bitwise-and assignment operation ( |

AssignCoalesceExpr | A null-coalescing assignment operation, for example |

AssignDivExpr | An division assignment operation, for example |

AssignExpr | A simple assignment, for example |

AssignLShiftExpr | A left-shift assignment operation, for example |

AssignMulExpr | An multiplication assignment operation, for example |

AssignOperation | An assignment operation. Either an arithmetic assignment operation ( |

AssignOrExpr | A bitwise-or assignment operation, for example |

AssignRShiftExpr | A right-shift assignment operation, for example |

AssignRemExpr | A remainder assignment operation, for example |

AssignSubExpr | A subtraction assignment operation, for example |

AssignXorExpr | A bitwise exclusive-or assignment operation, for example |

Assignment | An assignment. Either a local variable initialization ( |

LocalVariableDeclAndInitExpr | A local variable initialization, for example |

RemoveEventExpr | An event removal, for example line 9 in |