public GoQuickInfoSource(ITextBuffer textBuffer, GoQuickInfoSourceProvider provider) { Contract.Requires <ArgumentNullException>(textBuffer != null, "textBuffer"); Contract.Requires <ArgumentNullException>(provider != null, "provider"); _textBuffer = textBuffer; _provider = provider; }
public GoQuickInfoSource(ITextBuffer textBuffer, GoQuickInfoSourceProvider provider) { Contract.Requires<ArgumentNullException>(textBuffer != null, "textBuffer"); Contract.Requires<ArgumentNullException>(provider != null, "provider"); _textBuffer = textBuffer; _provider = provider; }
public GoQuickInfoSource([NotNull] ITextBuffer textBuffer, [NotNull] GoQuickInfoSourceProvider provider) { Requires.NotNull(textBuffer, nameof(textBuffer)); Requires.NotNull(provider, nameof(provider)); _textBuffer = textBuffer; _provider = provider; }