Home
last modified time | relevance | path

Searched refs:CodeCatchClause (Results 1 – 25 of 40) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom/
H A DCodeCatchClauseCollectionTest.cs53 CodeCatchClause cc1 = new CodeCatchClause (); in Constructor1()
54 CodeCatchClause cc2 = new CodeCatchClause (); in Constructor1()
86 CodeCatchClause cc1 = new CodeCatchClause (); in Constructor2()
87 CodeCatchClause cc2 = new CodeCatchClause (); in Constructor2()
110 CodeCatchClause cc1 = new CodeCatchClause (); in Add()
111 CodeCatchClause cc2 = new CodeCatchClause (); in Add()
133 CodeCatchClause cc1 = new CodeCatchClause (); in Insert()
134 CodeCatchClause cc2 = new CodeCatchClause (); in Insert()
157 CodeCatchClause cc1 = new CodeCatchClause (); in AddRange()
158 CodeCatchClause cc2 = new CodeCatchClause (); in AddRange()
[all …]
H A DCodeCatchClauseCas.cs55 CodeCatchClause ccc = new CodeCatchClause (); in Constructor0_Deny_Unrestricted()
67 CodeCatchClause ccc = new CodeCatchClause ("mono"); in Constructor1_Deny_Unrestricted()
80 CodeCatchClause ccc = new CodeCatchClause ("mono", ctr); in Constructor2_Deny_Unrestricted()
94 CodeCatchClause ccc = new CodeCatchClause ("mono", ctr, statements); in Constructor3_Deny_Unrestricted()
106 ConstructorInfo ci = typeof (CodeCatchClause).GetConstructor (new Type[0]); in LinkDemand_Deny_Unrestricted()
H A DCodeCatchClauseTest.cs43 CodeCatchClause ccc = new CodeCatchClause (); in Constructor0()
75 CodeCatchClause ccc = new CodeCatchClause (localName); in Constructor1()
91 ccc = new CodeCatchClause ((string) null); in Constructor1()
101 CodeCatchClause ccc = new CodeCatchClause (localName, cet); in Constructor2()
121 ccc = new CodeCatchClause ((string) null, (CodeTypeReference) null); in Constructor2()
135 CodeCatchClause ccc = new CodeCatchClause (localName, cet, cs1, cs2); in Constructor3()
157 ccc = new CodeCatchClause ((string) null, (CodeTypeReference) null, cs1); in Constructor3()
H A DCodeTryCatchFinallyStatementCas.cs66 CodeCatchClause[] catch_clauses = new CodeCatchClause[1] { new CodeCatchClause () }; in Constructor1_Deny_Unrestricted()
78 CodeCatchClause[] catch_clauses = new CodeCatchClause[1] { new CodeCatchClause () }; in Constructor2_Deny_Unrestricted()
H A DCodeCatchClauseCollectionCas.cs44 private CodeCatchClause ccc;
45 private CodeCatchClause[] array;
50 ccc = new CodeCatchClause (); in FixtureSetUp()
51 array = new CodeCatchClause[1] { ccc }; in FixtureSetUp()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeStatements/
H A DCodeTryCatchFinallyStatementTests.cs24 yield return new object[] { new CodeStatement[0], new CodeCatchClause[0] }; in Ctor_CodeStatementArray_CodeCatchClauseArray_TestData()
26 …yield return new object[] { new CodeStatement[0], new CodeCatchClause[] { new CodeCatchClause("Loc… in Ctor_CodeStatementArray_CodeCatchClauseArray_TestData()
27 …Statement[] { new CodeCommentStatement("Comment") }, new CodeCatchClause[] { new CodeCatchClause("… in Ctor_CodeStatementArray_CodeCatchClauseArray_TestData()
36 Assert.Equal(catchClauses, tryCatchFinally.CatchClauses.Cast<CodeCatchClause>()); in Ctor_CodeStatementArray_CodeCatchClauseArray()
44 …yield return new object[] { new CodeStatement[0], new CodeCatchClause[] { new CodeCatchClause("Loc… in Ctor_CodeStatementArray_CodeCatchClauseArray_CodeStatementArray_TestData()
55 Assert.Equal(catchClauses, tryCatchFinally.CatchClauses.Cast<CodeCatchClause>()); in Ctor_CodeStatementArray_CodeCatchClauseArray_CodeStatementArray()
84 CodeCatchClause[] catchClauses = new CodeCatchClause[] { null }; in Ctor_NullObjectInCodeCatchClauses_ThrowsArgumentNullException()
121 CodeCatchClause catchClause1 = new CodeCatchClause("Local1"); in CatchClauses_AddMultiple_ReturnsExpected()
123 …Assert.Equal(new CodeCatchClause[] { catchClause1 }, tryCatchFinally.CatchClauses.Cast<CodeCatchCl… in CatchClauses_AddMultiple_ReturnsExpected()
125 CodeCatchClause catchClause2 = new CodeCatchClause("Local2"); in CatchClauses_AddMultiple_ReturnsExpected()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeCollections/
H A DCodeCatchClauseCollectionTests.cs7 …CodeCatchClauseCollectionTests : CodeCollectionTestBase<CodeCatchClauseCollection, CodeCatchClause>
10 …public override CodeCatchClauseCollection CtorArray(CodeCatchClause[] array) => new CodeCatchClaus…
15 …public override CodeCatchClause GetItem(CodeCatchClauseCollection collection, int index) => collec… in GetItem()
16 …erride void SetItem(CodeCatchClauseCollection collection, int index, CodeCatchClause value) => col… in SetItem()
18 …public override void AddRange(CodeCatchClauseCollection collection, CodeCatchClause[] array) => co… in AddRange()
21 …public override object Add(CodeCatchClauseCollection collection, CodeCatchClause obj) => collectio… in Add()
23 …verride void Insert(CodeCatchClauseCollection collection, int index, CodeCatchClause value) => col… in Insert()
25 …public override void Remove(CodeCatchClauseCollection collection, CodeCatchClause value) => collec… in Remove()
27 …public override int IndexOf(CodeCatchClauseCollection collection, CodeCatchClause value) => collec… in IndexOf()
28 …public override bool Contains(CodeCatchClauseCollection collection, CodeCatchClause value) => coll… in Contains()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/src/System/CodeDom/
H A DCodeCatchClauseCollection.cs19 public CodeCatchClauseCollection(CodeCatchClause[] value) in CodeCatchClauseCollection()
24 public CodeCatchClause this[int index]
26 get { return ((CodeCatchClause)(List[index])); }
30 public int Add(CodeCatchClause value) => List.Add(value);
32 public void AddRange(CodeCatchClause[] value) in AddRange()
59 public bool Contains(CodeCatchClause value) => List.Contains(value);
61 public void CopyTo(CodeCatchClause[] array, int index) => List.CopyTo(array, index); in CopyTo()
63 public int IndexOf(CodeCatchClause value) => List.IndexOf(value);
65 public void Insert(int index, CodeCatchClause value) => List.Insert(index, value); in Insert()
67 public void Remove(CodeCatchClause value) => List.Remove(value);
H A DCodeCatchClause.cs8 public class CodeCatchClause class
14 public CodeCatchClause() { } in CodeCatchClause() method in System.CodeDom.CodeCatchClause
16 public CodeCatchClause(string localName) in CodeCatchClause() method in System.CodeDom.CodeCatchClause
21 public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) in CodeCatchClause() method in System.CodeDom.CodeCatchClause
27 …public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatemen… in CodeCatchClause() method in System.CodeDom.CodeCatchClause
H A DCodeTryCatchFinallyStatement.cs12 … public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses) in CodeTryCatchFinallyStatement()
18 …public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses,… in CodeTryCatchFinallyStatement()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/codedom/
H A DCodeCatchClauseCollection.cs49 public CodeCatchClauseCollection(CodeCatchClause[] value) { in CodeCatchClauseCollection()
56 public CodeCatchClause this[int index] {
58 return ((CodeCatchClause)(List[index]));
69 public int Add(CodeCatchClause value) { in Add()
76 public void AddRange(CodeCatchClause[] value) { in AddRange()
104 public bool Contains(CodeCatchClause value) { in Contains()
112 public void CopyTo(CodeCatchClause[] array, int index) { in CopyTo()
120 public int IndexOf(CodeCatchClause value) { in IndexOf()
127 public void Insert(int index, CodeCatchClause value) { in Insert()
135 public void Remove(CodeCatchClause value) { in Remove()
H A DCodeCatchClause.cs25 public class CodeCatchClause { class
35 public CodeCatchClause() { in CodeCatchClause() method in System.CodeDom.CodeCatchClause
41 public CodeCatchClause(string localName) { in CodeCatchClause() method in System.CodeDom.CodeCatchClause
48 public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { in CodeCatchClause() method in System.CodeDom.CodeCatchClause
56 …public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatemen… in CodeCatchClause() method in System.CodeDom.CodeCatchClause
H A DCodeTryCatchFinallyStatement.cs45 …public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses)… in CodeTryCatchFinallyStatement()
56 …public CodeTryCatchFinallyStatement(CodeStatement[] tryStatements, CodeCatchClause[] catchClauses,… in CodeTryCatchFinallyStatement()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/Other/
H A DCodeCatchClauseTests.cs16 var catchClause = new CodeCatchClause(); in Ctor_Default()
27 var catchClause = new CodeCatchClause(localName); in Ctor_String()
44 var catchClause = new CodeCatchClause(localName, catchExceptionType); in Ctor_String_CodeTypeReference()
61 var catchClause = new CodeCatchClause(localName, catchExceptionType, statements); in Ctor_String_CodeTypeReference_ParamsCodeStatement()
70 …AssertExtensions.Throws<ArgumentNullException>("value", () => new CodeCatchClause("name", new Code… in Ctor_NullStatements_ThrowsArgumentNullException()
77 …AssertExtensions.Throws<ArgumentNullException>("value", () => new CodeCatchClause("name", new Code… in Ctor_NullObjectInStatements_ThrowsArgumentNullException()
84 var catchClause = new CodeCatchClause(); in LocalName_Set_Get_ReturnsExpected()
93 var catchClause = new CodeCatchClause(); in CatchExceptionType_Set_Get_ReturnsExpected()
101 var catchClause = new CodeCatchClause(); in Statements_AddMultiple_ReturnsExpected()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/Microsoft.CSharp/
H A DCodeGeneratorFromStatementTest.cs484CodeCatchClause ccc1 = new CodeCatchClause ("ex1", new CodeTypeReference ("System.ArgumentExceptio… in CodeTryCatchFinallyStatementTest()
485CodeCatchClause ccc2 = new CodeCatchClause (null, new CodeTypeReference ("System.ApplicationExcept… in CodeTryCatchFinallyStatementTest()
490 new CodeCatchClause[] { ccc1, ccc2 }, new CodeStatement[] { fin1, fin2 }); in CodeTryCatchFinallyStatementTest()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/Microsoft.VisualBasic/
H A DCodeGeneratorFromStatementTest.cs526CodeCatchClause ccc1 = new CodeCatchClause ("ex1", new CodeTypeReference ("System.ArgumentExceptio… in CodeTryCatchFinallyStatementTest()
527CodeCatchClause ccc2 = new CodeCatchClause (null, new CodeTypeReference ("System.ApplicationExcept… in CodeTryCatchFinallyStatementTest()
532 new CodeCatchClause[] { ccc1, ccc2 }, new CodeStatement[] { fin1, fin2 }); in CodeTryCatchFinallyStatementTest()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/ref/
H A DSystem.CodeDom.cs176 public partial class CodeCatchClause class
178 public CodeCatchClause() { } in CodeCatchClause() method in System.CodeDom.CodeCatchClause
179 public CodeCatchClause(string localName) { } in CodeCatchClause() method in System.CodeDom.CodeCatchClause
189 public CodeCatchClauseCollection(System.CodeDom.CodeCatchClause[] value) { } in CodeCatchClauseCollection()
192 public int Add(System.CodeDom.CodeCatchClause value) { throw null; } in Add()
193 public void AddRange(System.CodeDom.CodeCatchClause[] value) { } in AddRange()
195 public bool Contains(System.CodeDom.CodeCatchClause value) { throw null; } in Contains()
196 public void CopyTo(System.CodeDom.CodeCatchClause[] array, int index) { } in CopyTo()
197 public int IndexOf(System.CodeDom.CodeCatchClause value) { throw null; } in IndexOf()
198 public void Insert(int index, System.CodeDom.CodeCatchClause value) { } in Insert()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/codedom/compiler/
H A DCodeValidator.cs453 CodeCatchClause current = (CodeCatchClause)en.Current; in ValidateTryCatchFinallyStatement()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data/System/Data/CodeGen/
H A Ddatacache.cs1552 private static CodeStatement Try(CodeStatement tryStmnt, CodeCatchClause catchClause) { in Try()
1555 new CodeCatchClause[] {catchClause} in Try()
1559 private static CodeCatchClause Catch(Type type, string name, CodeStatement catchStmnt) { in Catch()
1560 CodeCatchClause ccc = new CodeCatchClause(); in Catch()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/XamlBuildTask/Microsoft/Build/Tasks/Xaml/
H A DClassGenerator.cs1252 CodeCatchClause catchClause = new CodeCatchClause(); in GenerateLoadMethod()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/
H A DCSharpCodeGenerationTests.cs1214 CodeCatchClause catchClause = new CodeCatchClause("e"); in TryCatchThrow()
1238 … catchClause = new CodeCatchClause("e", new CodeTypeReference(typeof(ArgumentNullException))); in TryCatchThrow()
1247 catchClause = new CodeCatchClause("f", new CodeTypeReference(typeof(Exception))); in TryCatchThrow()
1267 catchClause = new CodeCatchClause("e"); in TryCatchThrow()
H A DVBCodeGenerationTests.cs1179 CodeCatchClause catchClause = new CodeCatchClause("e"); in TryCatchThrow()
1203 … catchClause = new CodeCatchClause("e", new CodeTypeReference(typeof(ArgumentNullException))); in TryCatchThrow()
1212 catchClause = new CodeCatchClause("f", new CodeTypeReference(typeof(Exception))); in TryCatchThrow()
1232 catchClause = new CodeCatchClause("e"); in TryCatchThrow()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/src/System/CodeDom/Compiler/
H A DCodeValidator.cs552 foreach (CodeCatchClause current in catches) in ValidateTryCatchFinallyStatement()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/microsoft/visualbasic/
H A DVBCodeProvider.cs1565 CodeCatchClause current = (CodeCatchClause)en.Current; in GenerateTryCatchFinallyStatement()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/
H A Dnet_4_x_System.dll.sources292 ../../../external/corefx/src/System.CodeDom/src/System/CodeDom/CodeCatchClause.cs

12