Home
last modified time | relevance | path

Searched refs:Throws (Results 1 – 25 of 4015) sorted by relevance

12345678910>>...161

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Dynamic.Runtime/tests/Dynamic.Context/
H A DConformance.dynamic.context.operator.compound.lift.ShiftLeftEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d <<= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d <<= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d <<= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d <<= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d <<= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d <<= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d <<= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d <<= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d <<= s_short); in Bool()
31 Assert.Throws<RuntimeBinderException>(() => d <<= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.ShiftLeftEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d <<= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d <<= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d <<= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d <<= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d <<= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d <<= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d <<= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d <<= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d <<= s_short); in Bool()
31 Assert.Throws<RuntimeBinderException>(() => d <<= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.lift.ShiftRightEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d >>= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d >>= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d >>= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d >>= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d >>= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d >>= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d >>= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d >>= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d >>= s_short); in Bool()
31 Assert.Throws<RuntimeBinderException>(() => d >>= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.ShiftRightEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d >>= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d >>= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d >>= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d >>= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d >>= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d >>= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d >>= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d >>= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d >>= s_short); in Bool()
31 Assert.Throws<RuntimeBinderException>(() => d >>= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.lift.OrEqual.cs21 Assert.Throws<RuntimeBinderException>(() => d |= s_byte); in Bool()
22 Assert.Throws<RuntimeBinderException>(() => d |= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d |= s_decimal); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d |= s_double); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d |= s_float); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d |= s_int); in Bool()
27 Assert.Throws<RuntimeBinderException>(() => d |= s_long); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d |= s_sbyte); in Bool()
30 Assert.Throws<RuntimeBinderException>(() => d |= s_short); in Bool()
32 Assert.Throws<RuntimeBinderException>(() => d |= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.lift.XOREqual.cs21 Assert.Throws<RuntimeBinderException>(() => d ^= s_byte); in Bool()
22 Assert.Throws<RuntimeBinderException>(() => d ^= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d ^= s_decimal); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d ^= s_double); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d ^= s_float); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d ^= s_int); in Bool()
27 Assert.Throws<RuntimeBinderException>(() => d ^= s_long); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d ^= s_sbyte); in Bool()
30 Assert.Throws<RuntimeBinderException>(() => d ^= s_short); in Bool()
32 Assert.Throws<RuntimeBinderException>(() => d ^= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.XOREqual.cs21 Assert.Throws<RuntimeBinderException>(() => d ^= s_byte); in Bool()
22 Assert.Throws<RuntimeBinderException>(() => d ^= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d ^= s_decimal); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d ^= s_double); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d ^= s_float); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d ^= s_int); in Bool()
27 Assert.Throws<RuntimeBinderException>(() => d ^= s_long); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d ^= s_sbyte); in Bool()
30 Assert.Throws<RuntimeBinderException>(() => d ^= s_short); in Bool()
32 Assert.Throws<RuntimeBinderException>(() => d ^= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.lift.AndEqual.cs21 Assert.Throws<RuntimeBinderException>(() => d &= s_byte); in Bool()
22 Assert.Throws<RuntimeBinderException>(() => d &= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d &= s_decimal); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d &= s_double); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d &= s_float); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d &= s_int); in Bool()
27 Assert.Throws<RuntimeBinderException>(() => d &= s_long); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d &= s_sbyte); in Bool()
30 Assert.Throws<RuntimeBinderException>(() => d &= s_short); in Bool()
32 Assert.Throws<RuntimeBinderException>(() => d &= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.AndEqual.cs21 Assert.Throws<RuntimeBinderException>(() => d &= s_byte); in Bool()
22 Assert.Throws<RuntimeBinderException>(() => d &= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d &= s_decimal); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d &= s_double); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d &= s_float); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d &= s_int); in Bool()
27 Assert.Throws<RuntimeBinderException>(() => d &= s_long); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d &= s_sbyte); in Bool()
30 Assert.Throws<RuntimeBinderException>(() => d &= s_short); in Bool()
32 Assert.Throws<RuntimeBinderException>(() => d &= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.OrEqual.cs21 Assert.Throws<RuntimeBinderException>(() => d |= s_byte); in Bool()
22 Assert.Throws<RuntimeBinderException>(() => d |= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d |= s_decimal); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d |= s_double); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d |= s_float); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d |= s_int); in Bool()
27 Assert.Throws<RuntimeBinderException>(() => d |= s_long); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d |= s_sbyte); in Bool()
30 Assert.Throws<RuntimeBinderException>(() => d |= s_short); in Bool()
32 Assert.Throws<RuntimeBinderException>(() => d |= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.ModEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d %= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d %= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d %= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d %= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d %= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d %= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d %= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d %= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d %= s_short); in Bool()
31 Assert.Throws<RuntimeBinderException>(() => d %= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.lift.ModEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d %= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d %= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d %= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d %= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d %= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d %= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d %= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d %= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d %= s_short); in Bool()
31 Assert.Throws<RuntimeBinderException>(() => d %= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.lift.SubEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d -= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d -= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d -= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d -= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d -= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d -= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d -= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d -= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d -= s_short); in Bool()
35 Assert.Throws<RuntimeBinderException>(() => d -= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.SubEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d -= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d -= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d -= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d -= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d -= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d -= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d -= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d -= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d -= s_short); in Bool()
35 Assert.Throws<RuntimeBinderException>(() => d -= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.lift.DivideEqual.cs18 Assert.Throws<RuntimeBinderException>(() => d /= s_bool); in Bool()
19 Assert.Throws<RuntimeBinderException>(() => d /= s_byte); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d /= s_char); in Bool()
22 Assert.Throws<RuntimeBinderException>(() => d /= s_double); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d /= s_float); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d /= s_int); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d /= s_long); in Bool()
27 Assert.Throws<RuntimeBinderException>(() => d /= s_sbyte); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d /= s_short); in Bool()
30 Assert.Throws<RuntimeBinderException>(() => d /= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.lift.MultiEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d *= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d *= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d *= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d *= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d *= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d *= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d *= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d *= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d *= s_short); in Bool()
31 Assert.Throws<RuntimeBinderException>(() => d *= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.DivideEqual.cs18 Assert.Throws<RuntimeBinderException>(() => d /= s_bool); in Bool()
19 Assert.Throws<RuntimeBinderException>(() => d /= s_byte); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d /= s_char); in Bool()
22 Assert.Throws<RuntimeBinderException>(() => d /= s_double); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d /= s_float); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d /= s_int); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d /= s_long); in Bool()
27 Assert.Throws<RuntimeBinderException>(() => d /= s_sbyte); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d /= s_short); in Bool()
30 Assert.Throws<RuntimeBinderException>(() => d /= s_uint); in Bool()
[all …]
H A DConformance.dynamic.context.operator.compound.type.MultiEqual.cs19 Assert.Throws<RuntimeBinderException>(() => d *= s_bool); in Bool()
20 Assert.Throws<RuntimeBinderException>(() => d *= s_byte); in Bool()
21 Assert.Throws<RuntimeBinderException>(() => d *= s_char); in Bool()
23 Assert.Throws<RuntimeBinderException>(() => d *= s_double); in Bool()
24 Assert.Throws<RuntimeBinderException>(() => d *= s_float); in Bool()
25 Assert.Throws<RuntimeBinderException>(() => d *= s_int); in Bool()
26 Assert.Throws<RuntimeBinderException>(() => d *= s_long); in Bool()
28 Assert.Throws<RuntimeBinderException>(() => d *= s_sbyte); in Bool()
29 Assert.Throws<RuntimeBinderException>(() => d *= s_short); in Bool()
31 Assert.Throws<RuntimeBinderException>(() => d *= s_uint); in Bool()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Text.Encoding/tests/
H A DNegativeEncodingTests.cs75 … AssertExtensions.Throws<ArgumentNullException>("s", () => encoding.GetBytes((string)null)); in GetBytes_Invalid()
182 AssertExtensions.Throws<ArgumentNullException>("bytes", () => encoding.GetChars(null)); in GetChars_Invalid()
308 Assert.Throws<EncoderFallbackException>(() => encoding.GetByteCount(chars)); in Encode_Invalid()
309 Assert.Throws<EncoderFallbackException>(() => encoding.GetByteCount(charsArray)); in Encode_Invalid()
311 Assert.Throws<EncoderFallbackException>(() => encoding.GetBytes(chars)); in Encode_Invalid()
312 Assert.Throws<EncoderFallbackException>(() => encoding.GetBytes(charsArray)); in Encode_Invalid()
341 Assert.Throws<DecoderFallbackException>(() => encoding.GetCharCount(bytes)); in Decode_Invalid()
343 Assert.Throws<DecoderFallbackException>(() => encoding.GetChars(bytes)); in Decode_Invalid()
344 Assert.Throws<DecoderFallbackException>(() => encoding.GetString(bytes)); in Decode_Invalid()
349 Assert.Throws<DecoderFallbackException>(() => encoding.GetChars(bytes, index, count)); in Decode_Invalid()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Threading.Tasks.Dataflow/Test/System.Threading.Tasks.Dataflow/
H A DInvalidArgumentsTest.cs43 AssertEx.Throws<ArgumentNullException> ( in ActionBlockTest()
45 AssertEx.Throws<ArgumentNullException> ( in ActionBlockTest()
68 AssertEx.Throws<ArgumentException> ( in BatchedJoinBlockTest()
71 AssertEx.Throws<ArgumentException> ( in BatchedJoinBlockTest()
84 AssertEx.Throws<ArgumentException> ( in BatchedJoinBlock3Test()
87 AssertEx.Throws<ArgumentException> ( in BatchedJoinBlock3Test()
170 AssertEx.Throws<ArgumentException> ( in SourceBlockTestInternal()
182 AssertEx.Throws<ArgumentException> ( in SourceBlockTestInternal()
193 AssertEx.Throws<ArgumentException> ( in SourceBlockTestInternal()
207 AssertEx.Throws<ArgumentException> ( in TargetBlockTest()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/tests/FunctionalTests/
H A DDisposedSocketTests.cs57 Assert.Throws<ObjectDisposedException>(() => in SetBlocking_Throws_ObjectDisposed()
72 Assert.Throws<ObjectDisposedException>(() => in SetExclusiveAddressUse_Throws_ObjectDisposed()
87 Assert.Throws<ObjectDisposedException>(() => in SetReceiveBufferSize_Throws_ObjectDisposed()
102 Assert.Throws<ObjectDisposedException>(() => in SetSendBufferSize_Throws_ObjectDisposed()
117 Assert.Throws<ObjectDisposedException>(() => in SetReceiveTimeout_Throws_ObjectDisposed()
132 Assert.Throws<ObjectDisposedException>(() => in SetSendTimeout_Throws_ObjectDisposed()
147 Assert.Throws<ObjectDisposedException>(() => in SetLingerState_Throws_ObjectDisposed()
162 Assert.Throws<ObjectDisposedException>(() => in SetNoDelay_Throws_ObjectDisposed()
177 Assert.Throws<ObjectDisposedException>(() => in SetTtl_IPv4_Throws_ObjectDisposed()
192 Assert.Throws<ObjectDisposedException>(() => in SetTtl_IPv6_Throws_ObjectDisposed()
[all …]
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/qml/jsruntime/
H A Dqv4runtimeapi_p.h67 enum class Throws { No, Yes }; enum
76 static constexpr bool throws = t == Throws::Yes;
361 struct Q_QML_PRIVATE_EXPORT In : Method<Throws::Yes>
365 struct Q_QML_PRIVATE_EXPORT Add : Method<Throws::Yes>
369 struct Q_QML_PRIVATE_EXPORT Sub : Method<Throws::Yes>
373 struct Q_QML_PRIVATE_EXPORT Mul : Method<Throws::Yes>
377 struct Q_QML_PRIVATE_EXPORT Div : Method<Throws::Yes>
381 struct Q_QML_PRIVATE_EXPORT Mod : Method<Throws::Yes>
385 struct Q_QML_PRIVATE_EXPORT Exp : Method<Throws::Yes>
401 struct Q_QML_PRIVATE_EXPORT Shl : Method<Throws::Yes>
[all …]
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/qml/jsruntime/
H A Dqv4runtimeapi_p.h67 enum class Throws { No, Yes }; enum
76 static constexpr bool throws = t == Throws::Yes;
361 struct Q_QML_PRIVATE_EXPORT In : Method<Throws::Yes>
365 struct Q_QML_PRIVATE_EXPORT Add : Method<Throws::Yes>
369 struct Q_QML_PRIVATE_EXPORT Sub : Method<Throws::Yes>
373 struct Q_QML_PRIVATE_EXPORT Mul : Method<Throws::Yes>
377 struct Q_QML_PRIVATE_EXPORT Div : Method<Throws::Yes>
381 struct Q_QML_PRIVATE_EXPORT Mod : Method<Throws::Yes>
385 struct Q_QML_PRIVATE_EXPORT Exp : Method<Throws::Yes>
401 struct Q_QML_PRIVATE_EXPORT Shl : Method<Throws::Yes>
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Reflection/
H A DFieldInfoTest.cs562 Throws (field, instance, true); in SetValuePrimitiveConversions()
589 Throws (field, instance, true); in SetValuePrimitiveConversions()
642 Throws (field, instance, true); in SetValuePrimitiveConversions()
673 Throws (field, instance, true); in SetValuePrimitiveConversions()
703 Throws (field, instance, true); in SetValuePrimitiveConversions()
734 Throws (field, instance, true); in SetValuePrimitiveConversions()
769 Throws (field, instance, true); in SetValuePrimitiveConversions()
802 Throws (field, instance, true); in SetValuePrimitiveConversions()
841 Throws (field, instance, true); in SetValuePrimitiveConversions()
876 Throws (field, instance, true); in SetValuePrimitiveConversions()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/
H A DDomainControllerTests.cs201 Assert.Throws<NullReferenceException>(() => controller.CurrentTime); in CurrentTime_GetWithNoContext_ThrowsNullReferenceException()
208 Assert.Throws<NullReferenceException>(() => controller.Domain); in Domain_GetWithNoContext_ThrowsNullReferenceException()
415 Assert.Throws<NullReferenceException>(() => controller.InboundConnections); in InboundConnections_GetWithNoContext_ThrowsNullReferenceException()
438 Assert.Throws<NullReferenceException>(() => controller.IsGlobalCatalog()); in IsGlobalCatalog_NoContext_ThrowsNullReferenceException()
485 Assert.Throws<ObjectDisposedException>(() => controller.OSVersion); in OSVersion_GetWhenDisposed_ThrowsObjectDisposedException()
492 Assert.Throws<NullReferenceException>(() => controller.OSVersion); in OSVersion_GetWithNoContext_ThrowsNullReferenceException()
515 Assert.Throws<NullReferenceException>(() => controller.Partitions); in Partitions_GetWithNoContext_ThrowsNullReferenceException()
524 Assert.Throws<ObjectDisposedException>(() => controller.Roles); in Roles_GetWhenDisposed_ThrowsObjectDisposedException()
531 Assert.Throws<NullReferenceException>(() => controller.Roles); in Roles_GetWithNoContext_ThrowsNullReferenceException()
560 Assert.Throws<ObjectDisposedException>(() => controller.SiteName); in SiteName_GetWhenDisposed_ThrowsObjectDisposedException()
[all …]

12345678910>>...161