Beispiel #1
0
 /// <summary>Initializes a new instance of the <see cref="DILocation"/> class.</summary>
 /// <param name="context">Context that owns this location</param>
 /// <param name="line">line number for the location</param>
 /// <param name="column">Column number for the location</param>
 /// <param name="scope">Containing scope for the location</param>
 /// <param name="inlinedAt">Scope where this scope is inlined at/into</param>
 public DILocation(Context context, uint line, uint column, DILocalScope scope, DILocation inlinedAt)
     : base(LLVMDILocation(context.ValidateNotNull(nameof(context)).ContextHandle
                           , line
                           , column
                           , scope.ValidateNotNull(nameof(scope)).MetadataHandle
                           , inlinedAt?.MetadataHandle ?? default
                           )
            )
 {
 }