Home
last modified time | relevance | path

Searched refs:Throws (Results 226 – 250 of 16431) sorted by relevance

12345678910>>...658

/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/web-sys-0.3.35/webidls/enabled/
H A DBaseAudioContext.webidl38 [Throws]
43 [NewObject, Throws]
48 [Throws]
54 [NewObject, Throws]
57 [NewObject, Throws]
60 [NewObject, Throws]
65 [NewObject, Throws]
68 [NewObject, Throws]
71 [NewObject, Throws]
74 [NewObject, Throws]
[all …]
/dports/net-im/zkgroup/zkgroup-0.7.4/cargo-crates/web-sys-0.3.51/webidls/enabled/
H A DBaseAudioContext.webidl38 [Throws]
43 [NewObject, Throws]
48 [Throws]
54 [NewObject, Throws]
57 [NewObject, Throws]
60 [NewObject, Throws]
65 [NewObject, Throws]
68 [NewObject, Throws]
71 [NewObject, Throws]
74 [NewObject, Throws]
[all …]
/dports/sysutils/tealdeer/tealdeer-1.4.1/cargo-crates/web-sys-0.3.44/webidls/enabled/
H A DBaseAudioContext.webidl38 [Throws]
43 [NewObject, Throws]
48 [Throws]
54 [NewObject, Throws]
57 [NewObject, Throws]
60 [NewObject, Throws]
65 [NewObject, Throws]
68 [NewObject, Throws]
71 [NewObject, Throws]
74 [NewObject, Throws]
[all …]
/dports/www/monolith/monolith-2.6.1/cargo-crates/web-sys-0.3.51/webidls/enabled/
H A DBaseAudioContext.webidl38 [Throws]
43 [NewObject, Throws]
48 [Throws]
54 [NewObject, Throws]
57 [NewObject, Throws]
60 [NewObject, Throws]
65 [NewObject, Throws]
68 [NewObject, Throws]
71 [NewObject, Throws]
74 [NewObject, Throws]
[all …]
/dports/devel/py-maturin/maturin-0.11.3/cargo-crates/web-sys-0.3.53/webidls/enabled/
H A DBaseAudioContext.webidl38 [Throws]
43 [NewObject, Throws]
48 [Throws]
54 [NewObject, Throws]
57 [NewObject, Throws]
60 [NewObject, Throws]
65 [NewObject, Throws]
68 [NewObject, Throws]
71 [NewObject, Throws]
74 [NewObject, Throws]
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/tests/Dynamic/
H A DDynamicObjectTests.cs629 Assert.Throws<RuntimeBinderException>(() => s = d); in ConvertHidingTryConvert()
645 Assert.Throws<RuntimeBinderException>(() => d(9)); in DynamicInvokeMismatch()
646 Assert.Throws<RuntimeBinderException>(() => d()); in DynamicInvokeMismatch()
707 Assert.Throws<RuntimeBinderException>(() => ~d); in DynamicUnaryOperationNotSupported()
714 Assert.Throws<RuntimeBinderException>(() => -d); in DynamicUnaryOperationNoOverrides()
731 Assert.Throws<RuntimeBinderException>(() => x * y); in DynamicBinaryUnsupported()
741 Assert.Throws<RuntimeBinderException>(() => y + x); in DynamicBinaryUnidirectional()
781 Assert.Throws<KeyNotFoundException>(() => d[1]); in IndexGetAndRetrieve()
787 Assert.Throws<RuntimeBinderException>(() => in IndexGetAndRetrieve()
791 Assert.Throws<RuntimeBinderException>(() => in IndexGetAndRetrieve()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.PerformanceCounter/tests/
H A DPerformanceCounterCategoryTests.cs43 Assert.Throws<ArgumentNullException>(() => pcc.CategoryName = null); in PerformanceCounterCategory_SetCategoryName_Invalid()
44 Assert.Throws<ArgumentException>(() => pcc.CategoryName = string.Empty); in PerformanceCounterCategory_SetCategoryName_Invalid()
52 Assert.Throws<ArgumentException>(() => pcc.MachineName = string.Empty); in PerformanceCounterCategory_SetMachineName_Invalid()
79 Assert.Throws<InvalidOperationException>(() => pcc.CategoryHelp); in PerformanceCounterCategory_GetCounterHelp_Invalid()
184 Assert.Throws<ArgumentNullException>(() => pcc.CounterExists(null)); in PerformanceCounterCategory_CounterExists_Invalid()
246 Assert.Throws<ArgumentNullException>(() => pcc.GetCounters(null)); in PerformanceCounterCategory_GetCounters_Invalid()
247 Assert.Throws<InvalidOperationException>(() => pcc.GetCounters(string.Empty)); in PerformanceCounterCategory_GetCounters_Invalid()
259 Assert.Throws<InvalidOperationException>(() => pcc.GetInstanceNames()); in PerformanceCounterCategory_GetInstanceNames_Invalid()
267 Assert.Throws<ArgumentNullException>(() => pcc.InstanceExists(null)); in PerformanceCounterCategory_InstanceExists_Invalid()
268 Assert.Throws<InvalidOperationException>(() => pcc.InstanceExists("")); in PerformanceCounterCategory_InstanceExists_Invalid()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/webidl/
H A DRange.webidl17 [Throws]
20 [Throws]
46 [Throws]
48 [CEReactions, Throws]
50 [CEReactions, Throws]
52 [CEReactions, Throws]
54 [CEReactions, Throws]
62 [Throws]
64 [Throws]
67 [Throws]
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/tests/PortableExecutable/
H A DPEMemoryBlockTests.cs35 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetContent(1, 0)); in Default_Errors()
36 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetContent(0, 1)); in Default_Errors()
37 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetContent(-1, 0)); in Default_Errors()
38 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetContent(0, -1)); in Default_Errors()
41 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetReader(1, 0)); in Default_Errors()
42 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetReader(0, 1)); in Default_Errors()
43 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetReader(-1, 0)); in Default_Errors()
44 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetReader(0, -1)); in Default_Errors()
70 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetReader(0, 5)); in GetReader_NoOffset()
71 Assert.Throws<ArgumentOutOfRangeException>(() => peBlock.GetReader(4, 1)); in GetReader_NoOffset()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/webidl/
H A DRange.webidl17 [Throws]
20 [Throws]
46 [Throws]
48 [CEReactions, Throws]
50 [CEReactions, Throws]
52 [CEReactions, Throws]
54 [CEReactions, Throws]
62 [Throws]
64 [Throws]
67 [Throws]
[all …]
/dports/www/firefox/firefox-99.0/dom/webidl/
H A DRange.webidl17 [Throws]
20 [Throws]
46 [Throws]
48 [CEReactions, Throws]
50 [CEReactions, Throws]
52 [CEReactions, Throws]
54 [CEReactions, Throws]
62 [Throws]
64 [Throws]
67 [Throws]
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/webidl/
H A DRange.webidl17 [Throws]
20 [Throws]
46 [Throws]
48 [CEReactions, Throws]
50 [CEReactions, Throws]
52 [CEReactions, Throws]
54 [CEReactions, Throws]
62 [Throws]
64 [Throws]
67 [Throws]
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/
H A DStringTests.cs92 AssertExtensions.Throws<ArgumentOutOfRangeException>("startIndex", () => in Ctor_CharPtr_Int_Int_Invalid()
97 AssertExtensions.Throws<ArgumentOutOfRangeException>("length", () => in Ctor_CharPtr_Int_Int_Invalid()
975 Assert.Throws<NullReferenceException>(() => enumerator.Current); in GetEnumerator_NonGeneric_IsIDisposable()
990 Assert.Throws<InvalidOperationException>(() => enumerator.Current); in GetEnumerator_NonGeneric_Invalid()
995 Assert.Throws<InvalidOperationException>(() => enumerator.Current); in GetEnumerator_NonGeneric_Invalid()
999 Assert.Throws<InvalidOperationException>(() => enumerator.Current); in GetEnumerator_NonGeneric_Invalid()
1031 Assert.Throws<InvalidOperationException>(() => enumerator.Current); in GetEnumerator_Generic_Invalid()
1036 Assert.Throws<InvalidOperationException>(() => enumerator.Current); in GetEnumerator_Generic_Invalid()
1040 Assert.Throws<InvalidOperationException>(() => enumerator.Current); in GetEnumerator_Generic_Invalid()
1231 Assert.Throws<FormatException>(() => string.Format("{-1}", obj1)); in Format_Invalid()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/webidl/
H A DURL.webidl22 [Throws]
25 [Throws]
27 [Throws]
29 [Throws]
31 [Throws]
33 [Throws]
35 [Throws]
37 [Throws]
39 [Throws]
41 [Throws]
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.NetworkInformation/tests/FunctionalTests/
H A DIPInterfacePropertiesTest_OSX.cs36 Assert.Throws<PlatformNotSupportedException>(() => ipProperties.AnycastAddresses); in IPInfoTest_AccessAllProperties_NoErrors()
61 Assert.Throws<PlatformNotSupportedException>(() => ipProperties.IsDnsEnabled); in IPInfoTest_AccessAllProperties_NoErrors()
70 Assert.Throws<PlatformNotSupportedException>(() => multi.IsDnsEligible); in IPInfoTest_AccessAllProperties_NoErrors()
71 Assert.Throws<PlatformNotSupportedException>(() => multi.IsTransient); in IPInfoTest_AccessAllProperties_NoErrors()
81 Assert.Throws<PlatformNotSupportedException>(() => uni.DhcpLeaseLifetime); in IPInfoTest_AccessAllProperties_NoErrors()
86 Assert.Throws<PlatformNotSupportedException>(() => uni.IsDnsEligible); in IPInfoTest_AccessAllProperties_NoErrors()
87 Assert.Throws<PlatformNotSupportedException>(() => uni.IsTransient); in IPInfoTest_AccessAllProperties_NoErrors()
88 Assert.Throws<PlatformNotSupportedException>(() => uni.PrefixOrigin); in IPInfoTest_AccessAllProperties_NoErrors()
89 Assert.Throws<PlatformNotSupportedException>(() => uni.SuffixOrigin); in IPInfoTest_AccessAllProperties_NoErrors()
92 Assert.Throws<PlatformNotSupportedException>(() => uni.PrefixLength); in IPInfoTest_AccessAllProperties_NoErrors()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Runtime.Versioning/
H A DFrameworkNameTest.cs42 void Throws<TEx> (string message, Action code) in Throws() method in MonoTests.System.Runtime.Versioning.FrameworkNameTest
71 Throws <ArgumentNullException> ("#A1", () => { in Constructor_String()
75 Throws<ArgumentException> ("#A1-1", () => { in Constructor_String()
79 Throws <ArgumentException> ("#A1-2", () => { in Constructor_String()
83 Throws <ArgumentException> ("#A1-3", () => { in Constructor_String()
87 Throws <ArgumentException> ("#A1-4", () => { in Constructor_String()
91 Throws <ArgumentException> ("#A1-5", () => { in Constructor_String()
95 Throws <ArgumentException> ("#A1-6", () => { in Constructor_String()
99 Throws <ArgumentException> ("#A1-7", () => { in Constructor_String()
103 Throws <ArgumentException> ("#A1-8", () => { in Constructor_String()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit.Lightweight/tests/
H A DDynamicMethodCtor.cs100 …AssertExtensions.Throws<ArgumentNullException>("name", () => new DynamicMethod(null, typeof(void),… in NullName_ThrowsArgumentNullException()
102 …AssertExtensions.Throws<ArgumentNullException>("name", () => new DynamicMethod(null, typeof(void),… in NullName_ThrowsArgumentNullException()
103 …AssertExtensions.Throws<ArgumentNullException>("name", () => new DynamicMethod(null, typeof(void),… in NullName_ThrowsArgumentNullException()
108 …AssertExtensions.Throws<ArgumentNullException>("name", () => new DynamicMethod(null, typeof(void),… in NullName_ThrowsArgumentNullException()
141 …AssertExtensions.Throws<ArgumentNullException>("m", () => new DynamicMethod("Method", typeof(void)… in NullModule_ThrowsArgumentNullException()
143 …AssertExtensions.Throws<ArgumentNullException>("m", () => new DynamicMethod("Method", typeof(void)… in NullModule_ThrowsArgumentNullException()
144 …AssertExtensions.Throws<ArgumentNullException>("m", () => new DynamicMethod("Method", typeof(void)… in NullModule_ThrowsArgumentNullException()
153 …AssertExtensions.Throws<ArgumentNullException>("owner", () => new DynamicMethod("Method", typeof(v… in NullOwner_ThrowsArgumentNullException()
169 …AssertExtensions.Throws<ArgumentException>(null, () => new DynamicMethod("Method", typeof(void), n… in InvalidOwner_ThrowsArgumentException()
171 …AssertExtensions.Throws<ArgumentException>(null, () => new DynamicMethod("Method", typeof(void), n… in InvalidOwner_ThrowsArgumentException()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/tests/FunctionalTests/
H A DNetworkStreamTest.cs39 Assert.Throws<IOException>(() => new NetworkStream(client)); in Ctor_NotStream_ThrowsIOException()
57 Assert.Throws<IOException>(() => new NetworkStream(server)); in Ctor_NonBlockingSocket_ThrowsIOException()
282 Assert.Throws<ObjectDisposedException>(() => server.DataAvailable); in DisposedClosed_MembersThrowObjectDisposedException()
290 Assert.Throws<ObjectDisposedException>(() => server.EndRead(null)); in DisposedClosed_MembersThrowObjectDisposedException()
346 Assert.Throws<ArgumentOutOfRangeException>(() => server.Close(-2)); in Close_InvalidArgument_Throws()
394 Assert.Throws<ArgumentNullException>(() => server.EndRead(null)); in ReadWrite_InvalidArguments_Throws()
395 Assert.Throws<ArgumentNullException>(() => server.EndWrite(null)); in ReadWrite_InvalidArguments_Throws()
408 Assert.Throws<NotSupportedException>(() => server.Length); in NotSeekable_OperationsThrowExceptions()
410 Assert.Throws<NotSupportedException>(() => server.Position); in NotSeekable_OperationsThrowExceptions()
411 Assert.Throws<NotSupportedException>(() => server.Position = 0); in NotSeekable_OperationsThrowExceptions()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Serialization.Formatters/tests/
H A DFormatterConverterTests.cs19 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToBoolean(null)); in InvalidArguments_ThrowExceptions()
20 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToByte(null)); in InvalidArguments_ThrowExceptions()
21 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToChar(null)); in InvalidArguments_ThrowExceptions()
23 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToDecimal(null)); in InvalidArguments_ThrowExceptions()
24 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToDouble(null)); in InvalidArguments_ThrowExceptions()
25 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToInt16(null)); in InvalidArguments_ThrowExceptions()
26 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToInt32(null)); in InvalidArguments_ThrowExceptions()
27 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToInt64(null)); in InvalidArguments_ThrowExceptions()
28 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToSByte(null)); in InvalidArguments_ThrowExceptions()
29 AssertExtensions.Throws<ArgumentNullException>("value", () => f.ToSingle(null)); in InvalidArguments_ThrowExceptions()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO/tests/StreamReader/
H A DStreamReader.StringCtorTests.cs17 … AssertExtensions.Throws<ArgumentNullException>("path", () => new StreamReader((string)null)); in NullArgs_ThrowsArgumentNullException()
18 …AssertExtensions.Throws<ArgumentNullException>("path", () => new StreamReader((string)null, null)); in NullArgs_ThrowsArgumentNullException()
19 …AssertExtensions.Throws<ArgumentNullException>("path", () => new StreamReader((string)null, null, … in NullArgs_ThrowsArgumentNullException()
20 …AssertExtensions.Throws<ArgumentNullException>("path", () => new StreamReader((string)null, null, … in NullArgs_ThrowsArgumentNullException()
21 … AssertExtensions.Throws<ArgumentNullException>("encoding", () => new StreamReader("", null)); in NullArgs_ThrowsArgumentNullException()
22 …AssertExtensions.Throws<ArgumentNullException>("encoding", () => new StreamReader("", null, true)); in NullArgs_ThrowsArgumentNullException()
23 …AssertExtensions.Throws<ArgumentNullException>("encoding", () => new StreamReader("", null, true, … in NullArgs_ThrowsArgumentNullException()
30 AssertExtensions.Throws<ArgumentException>(null, () => new StreamReader("")); in EmptyPath_ThrowsArgumentException()
31 … AssertExtensions.Throws<ArgumentException>(null, () => new StreamReader("", Encoding.UTF8)); in EmptyPath_ThrowsArgumentException()
32 … AssertExtensions.Throws<ArgumentException>(null, () => new StreamReader("", Encoding.UTF8, true)); in EmptyPath_ThrowsArgumentException()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/
H A DUnixTests.cs14 … Assert.Throws<PlatformNotSupportedException>(() => new DefaultInterfaceAttribute(typeof(int))); in DefaultInterfaceAttribute_Ctor_ThrowsPlatformNotSupportedException()
26 Assert.Throws<PlatformNotSupportedException>(() => new ReadOnlyArrayAttribute()); in ReadOnlyArrayAttribute_Ctor_ThrowsPlatformNotSupportedException()
32 … Assert.Throws<PlatformNotSupportedException>(() => new ReturnValueNameAttribute("Name")); in ReturnValueNameAttribute_Ctor_ThrowsPlatformNotSupportedException()
38 Assert.Throws<PlatformNotSupportedException>(() => new WriteOnlyArrayAttribute()); in WriteOnlyArrayAttribute_Ctor_ThrowsPlatformNotSupportedException()
44 … Assert.Throws<PlatformNotSupportedException>(() => new EventRegistrationTokenTable<Delegate>()); in EventRegistrationTokenTake_Ctor_ThrowsPlatformNotSupportedException()
50 …Assert.Throws<PlatformNotSupportedException>(() => WindowsRuntimeMarshal.AddEventHandler(null, nul… in WindowsRuntimeMarshal_AddEventHandler_ThrowsPlatformNotSupportedException()
56 …Assert.Throws<PlatformNotSupportedException>(() => WindowsRuntimeMarshal.RemoveEventHandler(null, … in WindowsRuntimeMarshal_RemoveEventHandler_ThrowsPlatformNotSupportedException()
62 …Assert.Throws<PlatformNotSupportedException>(() => WindowsRuntimeMarshal.RemoveAllEventHandlers(nu… in WindowsRuntimeMarshal_RemoveAllEventHandlers_ThrowsPlatformNotSupportedException()
68 … Assert.Throws<PlatformNotSupportedException>(() => WindowsRuntimeMarshal.StringToHString(null)); in WindowsRuntimeMarshal_StringToHString_ThrowsPlatformNotSupportedException()
80 …Assert.Throws<PlatformNotSupportedException>(() => WindowsRuntimeMarshal.FreeHString(IntPtr.Zero)); in WindowsRuntimeMarshal_FreeHString_ThrowsPlatformNotSupportedException()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq/tests/
H A DAverageTests.cs91 Assert.Throws<InvalidOperationException>(() => source.Average()); in Int_EmptySource_ThrowsInvalidOperationException()
92 Assert.Throws<InvalidOperationException>(() => source.Average(i => i)); in Int_EmptySource_ThrowsInvalidOperationException()
196 Assert.Throws<InvalidOperationException>(() => source.Average()); in Long_EmptySource_ThrowsInvalidOperationException()
197 Assert.Throws<InvalidOperationException>(() => source.Average(i => i)); in Long_EmptySource_ThrowsInvalidOperationException()
248 Assert.Throws<OverflowException>(() => source.Average()); in Long_SumTooLarge_ThrowsOverflowException()
302 Assert.Throws<InvalidOperationException>(() => source.Average()); in Double_EmptySource_ThrowsInvalidOperationException()
303 Assert.Throws<InvalidOperationException>(() => source.Average(i => i)); in Double_EmptySource_ThrowsInvalidOperationException()
402 Assert.Throws<InvalidOperationException>(() => source.Average()); in Decimal_EmptySource_ThrowsInvalidOperationException()
403 Assert.Throws<InvalidOperationException>(() => source.Average(i => i)); in Decimal_EmptySource_ThrowsInvalidOperationException()
500 Assert.Throws<OverflowException>(() => source.Average()); in NullableDecimal_SumTooLarge_ThrowsOverflowException()
[all …]
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKTests/GDModel/Providers/GEDCOM/
H A DAnselEncodingTests.cs52 … Assert.Throws(typeof(ArgumentOutOfRangeException), () => { ansel.GetMaxCharCount(-1); }); in Test_GetMaxCharCount()
61 … Assert.Throws(typeof(ArgumentOutOfRangeException), () => { ansel.GetMaxByteCount(-1); }); in Test_GetMaxByteCount()
70 … Assert.Throws(typeof(ArgumentNullException), () => { ansel.GetByteCount(chars, 0, 0); }); in Test_GetByteCount()
76 Assert.Throws(typeof(ArgumentNullException), () => { ansel.GetByteCount(s); }); in Test_GetByteCount()
85 … Assert.Throws(typeof(ArgumentNullException), () => { ansel.GetBytes(chars, 0, 0, null, 0); }); in Test_GetBytes()
93 … Assert.Throws(typeof(ArgumentNullException), () => { ansel.GetBytes(s, 0, 0, null, 0); }); in Test_GetBytes()
101 Assert.Throws(typeof(ArgumentNullException), () => { ansel.GetCharCount(null, 0, 0); }); in Test_GetCharCount()
114 … Assert.Throws(typeof(ArgumentNullException), () => { ansel.GetChars(null, 0, 0, null, 0); }); in Test_GetChars()
126 … Assert.Throws(typeof(ArgumentNullException), () => { ansel.GetByteCount(chars, 0, 0); }); in Test_GetString()
129 Assert.Throws(typeof(ArgumentNullException), () => { ansel.GetByteCount(s); }); in Test_GetString()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/tests/FunctionalTests/
H A DMultipartContentTest.cs18 AssertExtensions.Throws<ArgumentException>("subtype", () => new MultipartContent(null)); in Ctor_NullOrEmptySubType_ThrowsArgumentException()
19 AssertExtensions.Throws<ArgumentException>("subtype", () => new MultipartContent("")); in Ctor_NullOrEmptySubType_ThrowsArgumentException()
20 AssertExtensions.Throws<ArgumentException>("subtype", () => new MultipartContent(" ")); in Ctor_NullOrEmptySubType_ThrowsArgumentException()
26 … AssertExtensions.Throws<ArgumentException>("boundary", () => new MultipartContent("Some", null)); in Ctor_NullOrEmptyBoundary_ThrowsArgumentException()
27 … AssertExtensions.Throws<ArgumentException>("boundary", () => new MultipartContent("Some", "")); in Ctor_NullOrEmptyBoundary_ThrowsArgumentException()
28 … AssertExtensions.Throws<ArgumentException>("boundary", () => new MultipartContent("Some", " ")); in Ctor_NullOrEmptyBoundary_ThrowsArgumentException()
34 Assert.Throws<ArgumentOutOfRangeException>(() => new MultipartContent("Some", in Ctor_TooLongBoundary_ThrowsArgumentOutOfRangeException()
314 AssertExtensions.Throws<ArgumentNullException>("buffer", () => s.Read(null, 0, 0)); in ReadAsStreamAsync_InvalidArgs_Throw()
328 Assert.Throws<NotSupportedException>(() => s.Write(new byte[1], 0, 0)); in ReadAsStreamAsync_InvalidArgs_Throw()
330 Assert.Throws<NotSupportedException>(() => { s.WriteAsync(new byte[1], 0, 0); }); in ReadAsStreamAsync_InvalidArgs_Throw()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/Compiler/
H A DCodeDomProviderTests.cs65 …AssertExtensions.Throws<ArgumentNullException>("type", () => new CustomProvider().GetConverter(nul… in GetConverter_NullType_ThrowsArgumentNullException()
121 …AssertExtensions.Throws<ArgumentNullException>("language", () => CodeDomProvider.CreateProvider(nu… in CreateProvider_NullLanguage_ThrowsArgumentNullException()
160 …AssertExtensions.Throws<ArgumentNullException>("language", () => CodeDomProvider.IsDefinedLanguage… in IsDefinedLanguage_NullLanguage_ThrowsArgumentNullException()
234 …AssertExtensions.Throws<ArgumentNullException>("language", () => CodeDomProvider.GetCompilerInfo(n… in GetCompilerInfo_NullLanguage_ThrowsArgumentNullException()
292 … Assert.Throws<NotImplementedException>(() => new NullProvider().CreateEscapedIdentifier("value")); in CreateEscapedIdentifier_NullGenerator_ThrowsNotImplementedException()
304 … Assert.Throws<NotImplementedException>(() => new NullProvider().CreateValidIdentifier("value")); in CreateValidIdentifier_NullGenerator_ThrowsNotImplementedException()
370 …Assert.Throws<DataMisalignedException>(() => new CustomProvider().GetTypeOutput(new CodeTypeRefere… in GetTypeOutput_CallsGeneratorMethod()
376 …Assert.Throws<NotImplementedException>(() => new NullProvider().GetTypeOutput(new CodeTypeReferenc… in GetTypeOutput_NullGenerator_ThrowsNotImplementedException()
382 … Assert.Throws<DirectoryNotFoundException>(() => new CustomProvider().IsValidIdentifier("value")); in IsValidIdentifier_CallsGeneratorMethod()
388 … Assert.Throws<NotImplementedException>(() => new NullProvider().IsValidIdentifier("value")); in IsValidIdentifier_NullGenerator_ThrowsNotImplementedException()
[all …]

12345678910>>...658