Method ThrowCodeGenException
ThrowCodeGenException<TDescription>()
Used internally. It throws an an Exception if source generation did not run.
Declaration
public static TDescription ThrowCodeGenException<TDescription>()
Returns
| Type | Description | 
|---|---|
| TDescription | Not applicable; the function always throws.  | 
    
Type Parameters
| Name | Description | 
|---|---|
| TDescription | Type of target object.  | 
    
Exceptions
| Type | Condition | 
|---|---|
| Exception | Source-gen not run  |