7 instantiations of RaisedEvent
Microsoft.DotNet.XUnitAssert.Tests (1)
xunit.assert (6)
63 references to RaisedEvent
Microsoft.DotNet.XUnitAssert.Tests (18)
xunit.assert (45)
EventAsserts.cs (45)
60 public static RaisedEvent<T> Raises<T>(
65 var raisedEvent = RaisesInternal(attach, detach, testCode);
85 public static RaisedEvent<T> Raises<T>(
90 var raisedEvent = RaisesInternal(attach, detach, testCode);
111 public static RaisedEvent<T> Raises<T>(
113 Func<RaisedEvent<T>?> handler,
121 var raisedEvent = RaisesInternal(handler, attach, detach, testCode);
140 public static RaisedEvent<EventArgs> RaisesAny(
145 var raisedEvent = RaisesInternal(attach, detach, testCode);
162 public static RaisedEvent<T> RaisesAny<T>(
167 var raisedEvent = RaisesInternal(attach, detach, testCode);
184 public static RaisedEvent<T> RaisesAny<T>(
189 var raisedEvent = RaisesInternal(attach, detach, testCode);
205 public static async Task<RaisedEvent<EventArgs>> RaisesAnyAsync(
210 var raisedEvent = await RaisesAsyncInternal(attach, detach, testCode);
227 public static async Task<RaisedEvent<T>> RaisesAnyAsync<T>(
232 var raisedEvent = await RaisesAsyncInternal(attach, detach, testCode);
249 public static async Task<RaisedEvent<T>> RaisesAnyAsync<T>(
254 var raisedEvent = await RaisesAsyncInternal(attach, detach, testCode);
288 public static async Task<RaisedEvent<T>> RaisesAsync<T>(
293 var raisedEvent = await RaisesAsyncInternal(attach, detach, testCode);
313 public static async Task<RaisedEvent<T>> RaisesAsync<T>(
318 var raisedEvent = await RaisesAsyncInternal(attach, detach, testCode);
350 static RaisedEvent<EventArgs>? RaisesInternal(
362 var raisedEvent = default(RaisedEvent<EventArgs>);
375 static RaisedEvent<T>? RaisesInternal<T>(
383 var raisedEvent = default(RaisedEvent<T>);
394 static RaisedEvent<T>? RaisesInternal<T>(
402 var raisedEvent = default(RaisedEvent<T>);
416 static RaisedEvent<T>? RaisesInternal<T>(
417 Func<RaisedEvent<T>?> handler,
456 static async Task<RaisedEvent<EventArgs>?> RaisesAsyncInternal(
468 var raisedEvent = default(RaisedEvent<EventArgs>);
481 static async Task<RaisedEvent<T>?> RaisesAsyncInternal<T>(
493 var raisedEvent = default(RaisedEvent<T>);
503 static async Task<RaisedEvent<T>?> RaisesAsyncInternal<T>(
515 var raisedEvent = default(RaisedEvent<T>);
550 /// Creates a new instance of the <see cref="RaisedEvent{T}" /> class.
558 /// Creates a new instance of the <see cref="RaisedEvent{T}" /> class.