Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@@ -1,45 +0,0 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Linq.Expressions;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.attribute.publickeydecl001.publickeydecl001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.attribute.publickeydecl001.publickeydecl001;
// <Title>
// Using PublicKey attribute as part of the InternalsVisibleTo attribute
// </Title>
// <Description>
// Using PublicKey attribute as part of the InternalsVisibleTo attribute
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
//[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("publickey001,PublicKey=002400000480000094000000060200000024000052534131000400000100010027be9b82deaeb8b98e5f455cbbde386f80f5c19516548cac1f2ffeea96f1712f51540946f2a8133c03d349cf0611788215da54989dcc88ee262c385d2c17343cf5cb969c436fb94fe399cc46f74bf0af2eb1f46aed1fb0adee16721c40ae02baf3d3d8b50a2dd6466829465db165a0f2915f74e1b67a63b4cf76c215cdba4ba6")]
public class A
{
public string returnme()
{
return "hello world";
}
int unit = 0;
public int Unit
{
get
{
return unit;
}
set
{
unit = value;
}
}
}
// </Code>
}

View File

@@ -2,20 +2,16 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.CompilerServices;
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib01.dlgatedeclarelib01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib01.dlgatedeclarelib01;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate declaration at top level or under namespaces</Title>
// <Description></Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
// <Code>
using System;
public delegate dynamic D001(dynamic d);
public delegate object D002(dynamic d, object o);
@@ -52,13 +48,11 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate001.dlgate001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib01.dlgatedeclarelib01;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate001.dlgate001;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate instantiation</Title>
// <Description> interchangeable dynamic and object parameters </Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
using System;
namespace nms
{
@@ -214,15 +208,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate002.dlgate002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib01.dlgatedeclarelib01;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate002.dlgate002;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate instantiation</Title>
// <Description> delegate can be assigned by ternary operator| +=, compared for equality
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
using System;
namespace nms
{
@@ -289,15 +280,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib02.dlgatedeclarelib02
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib02.dlgatedeclarelib02;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate003.dlgate003;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate declaration under other types</Title>
// <Description></Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
// <Code>
using System;
namespace DynNamespace01
{
@@ -329,15 +317,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate003.dlgate003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib02.dlgatedeclarelib02;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate003.dlgate003;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate instantiation</Title>
// <Description> delegates can be aggregated in arrays and compared for equality.
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
using System;
namespace nms
{
@@ -494,15 +479,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib03.dlgatedeclarelib03
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib03.dlgatedeclarelib03;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate004.dlgate004;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate declaration with different modifiers</Title>
// <Description></Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
// <Code>
using System;
namespace DynNamespace31
{
@@ -527,15 +509,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate004.dlgate004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib03.dlgatedeclarelib03;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate004.dlgate004;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate instantiation</Title>
// <Description> delegates can be combined by using +, - +=, -=
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
using System;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib03.dlgatedeclarelib03.DynNamespace31;
namespace nms
@@ -689,14 +668,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib04.dlgatedeclarelib04
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib04.dlgatedeclarelib04;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate declaration with generic types</Title>
// <Description></Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
// <Code>
using System;
public delegate R D001<R>(dynamic d);
namespace DynNamespace41
@@ -723,15 +700,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib05.dlgatedeclarelib05
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib05.dlgatedeclarelib05;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate006.dlgate006;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate declaration with optional parameters</Title>
// <Description></Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
// <Code>
using System;
public delegate void D001(dynamic d = null); // not allow init with values other than null:(
public delegate void D002(dynamic v1, object v2 = null, dynamic v3 = null /*DynNamespace51.DynClass.strDyn*/);
@@ -766,7 +740,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate006.dlgate006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgatedeclarelib05.dlgatedeclarelib05;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate006.dlgate006;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate instantiation</Title>
// <Description> delegates can has optional parameters
@@ -956,13 +929,11 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate007bug.dlgate007bug
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate007bug.dlgate007bug;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate instantiation</Title>
// <Description> Assert and NullRef Exception when call with delegate 2nd as out param </Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
using System;
namespace nms
{
@@ -1039,13 +1010,11 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate008bug.dlgate008bug
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate008bug.dlgate008bug;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate instantiation (Behavior is 'by design' as they are 2 different boxed instances)</Title>
// <Description> Delegate: compare same delegates return false if the method is struct's not static method </Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
using System;
namespace nms
{
@@ -1115,7 +1084,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate009bug.dlgate009bug
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.dlgate009bug.dlgate009bug;
// <Area> Dynamic type in delegates </Area>
// <Title> Delegate instantiation</Title>
// <Description>
@@ -1123,7 +1091,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects status=success></Expects>
using System;
namespace nms
{
@@ -1178,14 +1145,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic001.generic001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic001.generic001;
// <Title>+= on a generic event does work</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Program
{
@@ -1226,7 +1191,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic002.generic002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic002.generic002;
// <Title>+= on a generic event does work</Title>
// <Description>
// </Description>
@@ -1234,7 +1198,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
//<Expects Status=success></Expects>
// <Code>
//<Expects Status=warning>\(39,28\).*CS0067</Expects>
using System;
public class Program
{
@@ -1282,7 +1245,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic003.generic003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic003.generic003;
// <Title>+= on a generic event does work</Title>
// <Description>
// </Description>
@@ -1290,7 +1252,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
//<Expects Status=success></Expects>
// <Code>
//<Expects Status=warning>\(42,31\).*CS0067</Expects>
using System;
public class Program
{
@@ -1341,7 +1302,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic004.generic004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic004.generic004;
// <Title>+= on a generic event does work</Title>
// <Description>
// </Description>
@@ -1349,7 +1309,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
//<Expects Status=success></Expects>
// <Code>
//<Expects Status=warning>\(41,28\).*CS0067</Expects>
using System;
public class Program
{
@@ -1396,7 +1355,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic005.generic005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic005.generic005;
// <Title>+= on a generic event does work</Title>
// <Description>
// </Description>
@@ -1404,7 +1362,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
//<Expects Status=success></Expects>
// <Code>
//<Expects Status=warning>\(48,28\).*CS0067</Expects>
using System;
public class C
{
@@ -1459,7 +1416,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic006.generic006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlgate.generic006.generic006;
// <Title>+= on a generic event does work</Title>
// <Description>
// </Description>
@@ -1467,7 +1423,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.dlgateEvent.dlg
//<Expects Status=success></Expects>
// <Code>
//<Expects Status=warning>\(43,35\).*CS0067</Expects>
using System;
public class C
{

View File

@@ -2,13 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass001.regclass001;
using System;
using System.Collections.Generic;
public class C
@@ -216,15 +214,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass001.regclass001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass001.regclass001;
// <Title> Tests regular class generic method used in regular method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -255,15 +250,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass002.regclass002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass002.regclass002;
// <Title> Tests regular class generic method used in variable initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -290,15 +282,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass003.regclass003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass003.regclass003;
// <Title> Tests regular class generic method used in indexer body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections.Generic;
public class Test
@@ -365,15 +354,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass004.regclass004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass004.regclass004;
// <Title> Tests regular class generic method used in static constructor.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -407,15 +393,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass005.regclass005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass005.regclass005;
// <Title> Tests regular class generic method used in variable named dynamic.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -442,8 +425,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass006.regclass006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass006.regclass006;
public class Test
{
@@ -472,15 +453,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass008.regclass008
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass008.regclass008;
// <Title> Tests regular class generic method used in method body of method with conditional attribute.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -512,15 +490,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass009.regclass009
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass009.regclass009;
// <Title> Tests regular class generic method used in arguments to method invocation.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections;
using System.Collections.Generic;
@@ -628,15 +603,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass010.regclass010
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass010.regclass010;
// <Title> Tests regular class generic method used in implicitly-typed variable initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -665,15 +637,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass011.regclass011
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass011.regclass011;
// <Title> Tests regular class generic method used in implicitly-typed variable initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -705,15 +674,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass012.regclass012
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass012.regclass012;
// <Title> Tests regular class generic method used in property-set body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -755,15 +721,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass013.regclass013
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass013.regclass013;
// <Title> Tests regular class generic method used in constructor.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -796,15 +759,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass014.regclass014
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass014.regclass014;
// <Title> Tests regular class generic method used in operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -832,15 +792,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass015.regclass015
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass015.regclass015;
// <Title> Tests regular class generic method used in null coalescing operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -866,15 +823,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass016.regclass016
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass016.regclass016;
// <Title> Tests regular class generic method used in query expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
using System.Collections.Generic;
@@ -910,17 +864,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass017.regclass017
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass017.regclass017;
// <Title> Tests regular class generic method used in short-circuit boolean expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
using System.Collections.Generic;
public class Test
{
@@ -949,8 +898,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass018.regclass018
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass018.regclass018;
// <Title> Tests regular class generic method used in destructor.</Title>
// <Description>
// On IA64 the GC.WaitForPendingFinalizers() does not actually work...
@@ -1021,15 +968,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass019.regclass019
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass019.regclass019;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1053,15 +997,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass020.regclass020
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass020.regclass020;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1093,15 +1034,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass021.regclass021
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass021.regclass021;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1146,15 +1084,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass022.regclass022
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass022.regclass022;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1191,8 +1126,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass023.regclass023
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass023.regclass023;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
@@ -1200,7 +1133,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
//<Expects Status=success></Expects>
// <Code>
//<Expects Status=warning>\(12,9\).*CS0414</Expects>
using System;
public class Test
{
@@ -1233,8 +1165,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass024.regclass024
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass024.regclass024;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
@@ -1242,7 +1172,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
//<Expects Status=success></Expects>
// <Code>
//<Expects Status=warning>\(12,9\).*CS0414</Expects>
using System;
public class Test
{
@@ -1285,15 +1214,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass025.regclass025
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass025.regclass025;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1327,15 +1253,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass027.regclass027
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass027.regclass027;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1379,15 +1302,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass028.regclass028
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclassgenmeth.regclassgenmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.genmethod.regclass.regclass028.regclass028;
// <Title> Tests regular class generic method used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{

View File

@@ -2,15 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass001.genclass001;
using System;
using System.Collections.Generic;
public class C
{
}
@@ -203,15 +199,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass001.genclass001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass001.genclass001;
// <Title> Tests generic class regular method used in regular method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -242,15 +235,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass002.genclass002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass002.genclass002;
// <Title> Tests generic class regular method used in arguments of method invocation.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -304,15 +294,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass003.genclass003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass003.genclass003;
// <Title> Tests generic class regular method used in static variable.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -338,8 +325,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass005.genclass005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass005.genclass005;
// <Title> Tests generic class regular method used in unsafe.</Title>
// <Description>
// </Description>
@@ -367,15 +352,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass006.genclass006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass006.genclass006;
// <Title> Tests generic class regular method used in generic method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -409,15 +391,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass008.genclass008
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass008.genclass008;
// <Title> Tests generic class regular method used in extension method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -459,15 +438,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass009.genclass009
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass009.genclass009;
// <Title> Tests generic class regular method used in for loop.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -497,15 +473,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass009a.genclass009a
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass009a.genclass009a;
// <Title> Tests generic class regular method used in for loop.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -535,15 +508,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass010.genclass010
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass010.genclass010;
// <Title> Tests generic class regular method used in static constructor.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test : I
{
@@ -574,8 +544,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass012.genclass012
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass012.genclass012;
// <Title> Tests generic class regular method used in lambda.</Title>
// <Description>
// </Description>
@@ -583,7 +551,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections.Generic;
public class Test
{
@@ -611,16 +578,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass013.genclass013
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass013.genclass013;
// <Title> Tests generic class regular method used in array initializer list.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections.Generic;
public class Test
{
@@ -649,16 +612,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass014.genclass014
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass014.genclass014;
// <Title> Tests generic class regular method used in null coalescing operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections.Generic;
public class Test
{
@@ -682,16 +641,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass015.genclass015
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass015.genclass015;
// <Title> Tests generic class regular method used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections.Generic;
public class Test
{
@@ -714,15 +669,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass016.genclass016
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass016.genclass016;
// <Title> Tests generic class regular method used in query expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
using System.Collections.Generic;
@@ -766,17 +718,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass017.genclass017
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass017.genclass017;
// <Title> Tests generic class regular method used in ternary operator expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
using System.Collections.Generic;
public class Test
{
@@ -799,17 +746,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass018.genclass018
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass018.genclass018;
// <Title> Tests generic class regular method used in lock expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
using System.Collections.Generic;
public class Test
{
@@ -837,17 +779,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass019.genclass019
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclassregmeth.genclassregmeth;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.genclass019.genclass019;
// <Title> Tests generic class regular method used in switch section statement list.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
using System.Collections.Generic;
public class Test
{
@@ -882,7 +819,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmetho
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.implicit01.implicit01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.genclass.implicit01.implicit01;
// <Title> Tests generic class regular method used in regular method body.</Title>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>

View File

@@ -6,14 +6,12 @@ using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.field01.field01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.field01.field01;
// <Title> Compound operator in field.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -81,14 +79,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.field02.field02
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.field02.field02;
// <Title> Compound operator in field.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -159,8 +155,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.field03.field03
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.field03.field03;
public class Test
{
public static dynamic count1 = 1;
@@ -184,14 +178,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.property01.property01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.property01.property01;
// <Title> Compound operator in property.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -242,14 +234,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.property02.property02
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.property02.property02;
// <Title> Compound operator in property.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -303,14 +293,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.property03.property03
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.property03.property03;
// <Title> Compound operator with property.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class C
{
@@ -354,14 +342,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.indexer01.indexer01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.indexer01.indexer01;
// <Title> Compound operator in indexer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -442,14 +428,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.indexer02.indexer02
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.indexer02.indexer02;
// <Title> Compound operator in indexer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -533,14 +517,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order01.order01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order01.order01;
// <Title> Compound operator execute orders.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -568,14 +550,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order02.order02
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order02.order02;
// <Title> Compound operator execute orders.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -619,14 +599,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order03.order03
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order03.order03;
// <Title> Compound operator execute orders.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -667,14 +645,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order04.order04
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order04.order04;
// <Title> Compound operator execute orders.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -736,14 +712,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order05.order05
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order05.order05;
// <Title> Compound operator execute orders.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -805,14 +779,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order06.order06
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.order06.order06;
// <Title> Compound operator execute orders.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -875,7 +847,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.context01.context01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.context01.context01;
// <Title> Compound operator</Title>
// <Description>context
// </Description>
@@ -972,13 +943,11 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.context02b.context02b
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.context02b.context02b;
// <Title> Compound operator</Title>
// <Description>context
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
using System;
using System.Linq;
using System.Collections.Generic;
@@ -1089,13 +1058,11 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.context02c.context02c
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.context02c.context02c;
// <Title> Compound operator</Title>
// <Description>context
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
using System;
using System.Linq;
using System.Collections.Generic;
@@ -1206,13 +1173,11 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.context03.context03
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.context03.context03;
// <Title> Compound operator (Regression) </Title>
// <Description>context
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
using System;
public class Test
{
@@ -1251,13 +1216,11 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.bug741491array.bug741491array
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.bug741491array.bug741491array;
// <Title> Compound operator (Regression) </Title>
// <Description>LHS of compound op with dynamic array/index access
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
using System;
public class Test
{
@@ -1370,7 +1333,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.using01.using01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.using01.using01;
// <Title> Dynamic modification of a using variable </Title>
// <Description>
// Different from static behavior, no exception.

View File

@@ -6,14 +6,12 @@ using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion001.conversion001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion001.conversion001;
// <Title> Compound operator in conversion.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Base1
{
@@ -89,14 +87,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion002.conversion002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion002.conversion002;
// <Title> Compound operator in conversion.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Base1
{
@@ -206,14 +202,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion003.conversion003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion003.conversion003;
// <Title> Compound operator in conversion.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -288,14 +282,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion005.conversion005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion005.conversion005;
// <Title> Compound operator in conversion.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Base1
{
@@ -418,14 +410,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion006.conversion006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion006.conversion006;
// <Title> Compound operator in conversion(negative).</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Base1
{
@@ -470,7 +460,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion007.conversion007
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.conversion.conversion007.conversion007;
// <Title> Compound operator in conversion.</Title>
// <Description>
// Compound operators (d += 10) is Expanding to (d = d + 10), it turns out this does match
@@ -480,7 +469,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class TestClass
{

View File

@@ -6,7 +6,6 @@ using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dlgate001.dlgate001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dlgate001.dlgate001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -15,7 +14,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -53,7 +51,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dlgate002.dlgate002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dlgate002.dlgate002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -62,7 +59,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -100,7 +96,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dynamic001.dynamic001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dynamic001.dynamic001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -109,7 +104,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -149,7 +143,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dynamic002.dynamic002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dynamic002.dynamic002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -158,7 +151,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -198,7 +190,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dynamic003.dynamic003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dynamic003.dynamic003;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -207,7 +198,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -248,7 +238,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dynamic004.dynamic004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.dynamic004.dynamic004;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -257,7 +246,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -298,7 +286,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.fieldproperty001.fieldproperty001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.fieldproperty001.fieldproperty001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -307,7 +294,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -370,7 +356,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.fieldproperty002.fieldproperty002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.fieldproperty002.fieldproperty002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -379,7 +364,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -442,7 +426,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.null001.null001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.null001.null001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -451,7 +434,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -488,7 +470,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.null002.null002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.null002.null002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -497,7 +478,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -544,7 +524,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.return001.return001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.return001.return001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -553,7 +532,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -597,7 +575,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.return002.return002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.pluseql.return002.return002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -606,7 +583,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C

View File

@@ -6,7 +6,6 @@ using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dlgate001.dlgate001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dlgate001.dlgate001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -15,7 +14,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -74,7 +72,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dlgate002.dlgate002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dlgate002.dlgate002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -83,7 +80,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -142,7 +138,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dlgate003.dlgate003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dlgate003.dlgate003;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -151,7 +146,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -217,7 +211,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dlgate004.dlgate004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dlgate004.dlgate004;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -226,7 +219,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -287,7 +279,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic001.dynamic001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic001.dynamic001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -296,7 +287,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -345,7 +335,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic002.dynamic002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic002.dynamic002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -354,7 +343,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -403,7 +391,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic003.dynamic003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic003.dynamic003;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -412,7 +399,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -466,7 +452,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic004.dynamic004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic004.dynamic004;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -475,7 +460,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -529,7 +513,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic005.dynamic005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic005.dynamic005;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -538,7 +521,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -593,7 +575,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic006.dynamic006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic006.dynamic006;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -602,7 +583,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -657,7 +637,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic007.dynamic007
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic007.dynamic007;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -666,7 +645,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -721,7 +699,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic008.dynamic008
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.dynamic008.dynamic008;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -730,7 +707,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -784,7 +760,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.fieldproperty001.fieldproperty001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.fieldproperty001.fieldproperty001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -793,7 +768,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -874,7 +848,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.fieldproperty002.fieldproperty002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.fieldproperty002.fieldproperty002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -883,7 +856,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -964,7 +936,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.fieldproperty003.fieldproperty003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.fieldproperty003.fieldproperty003;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -973,7 +944,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -1055,7 +1025,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.fieldproperty004.fieldproperty004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.fieldproperty004.fieldproperty004;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -1064,7 +1033,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -1146,7 +1114,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.null001.null001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.null001.null001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -1155,7 +1122,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -1201,7 +1167,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.null002.null002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.null002.null002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -1210,7 +1175,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -1255,7 +1219,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return001.return001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return001.return001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -1264,7 +1227,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -1326,7 +1288,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return002.return002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return002.return002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -1335,7 +1296,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -1397,7 +1357,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return003.return003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return003.return003;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -1406,7 +1365,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -1468,7 +1426,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return004.return004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return004.return004;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -1477,7 +1434,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -1539,7 +1495,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return005.return005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.minuseql.return005.return005;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -1548,7 +1503,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C

View File

@@ -6,7 +6,6 @@ using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg001.neg001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg001.neg001;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -15,7 +14,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -137,7 +135,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg002.neg002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg002.neg002;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -146,7 +143,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -194,7 +190,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg003.neg003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg003.neg003;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -265,7 +260,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg004.neg004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg004.neg004;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>
@@ -274,7 +268,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public delegate int Dele(int i);
public class C
@@ -353,7 +346,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg005.neg005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg005.neg005;
// <Area> Dynamic -- compound operator</Area>
// <Title> compound operator +=/-= on event </Title>
// <Description>

View File

@@ -80,7 +80,7 @@ namespace Dynamic.Operator.Tests
d -= s_uint;
d = (byte)1;
d -= s_ulong;
unchecked { d -= s_ulong; }
d = (byte)1;
d -= s_ushort;

View File

@@ -6,14 +6,12 @@ using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.field01.field01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.field01.field01;
// <Title> Compound operator in readonly field.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -50,14 +48,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.field02.field02
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.field02.field02;
// <Title> Compound operator non-delegate += delegate.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -98,14 +94,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.property01.property01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.property01.property01;
// <Title> Compound operator in readonly property.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -148,14 +142,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.property02.property02
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.property02.property02;
// <Title> Compound operator in readonly property.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class TestClass
{
@@ -205,14 +197,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.property03.property03
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.property03.property03;
// <Title> Compound operator in readonly property.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -254,14 +244,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.property04.property04
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.property04.property04;
// <Title> Compound operator: property += delegate.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -327,14 +315,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.indexer01.indexer01
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.indexer01.indexer01;
// <Title> Compound operator in readonly indexer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -377,14 +363,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.indexer02.indexer02
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.indexer02.indexer02;
// <Title> Compound operator in readonly indexer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class TestClass
{
@@ -434,14 +418,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.indexer03.indexer03
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.indexer03.indexer03;
// <Title> Compound operator in readonly indexer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -483,14 +465,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compoun
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.indexer04.indexer04
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.negative.indexer04.indexer04;
// <Title> Compound operator indexer += delegate.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{

View File

@@ -77,10 +77,10 @@ namespace Dynamic.Operator.Tests
Assert.Throws<RuntimeBinderException>(() => d -= s_string);
d = (byte)1;
d -= s_uint;
unchecked { d -= s_uint; }
d = (byte)1;
d -= s_ulong;
unchecked { d -= s_ulong; }
d = (byte)1;
d -= s_ushort;
@@ -534,7 +534,7 @@ namespace Dynamic.Operator.Tests
d -= s_byte;
d = (uint)10;
d -= s_char;
unchecked { d -= s_char; }
d = (uint)10;
d -= s_decimal;
@@ -564,7 +564,7 @@ namespace Dynamic.Operator.Tests
Assert.Throws<RuntimeBinderException>(() => d -= s_string);
d = (uint)10;
d -= s_uint;
unchecked { d -= s_uint; }
d = (uint)10;
d -= s_ulong;
@@ -583,7 +583,7 @@ namespace Dynamic.Operator.Tests
d -= s_byte;
d = (ulong)10;
d -= s_char;
unchecked { d -= s_char; }
d = (ulong)10;
d -= s_decimal;
@@ -605,7 +605,7 @@ namespace Dynamic.Operator.Tests
Assert.Throws<RuntimeBinderException>(() => d -= s_string);
d = (ulong)10;
d -= s_uint;
unchecked { d -= s_uint; }
d = (ulong)10;
d -= s_ulong;
@@ -654,7 +654,7 @@ namespace Dynamic.Operator.Tests
Assert.Throws<RuntimeBinderException>(() => d -= s_string);
d = (ushort)10;
d -= s_uint;
unchecked { d -= s_uint; }
d = (ushort)10;
d -= s_ulong;

View File

@@ -2,14 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass001.genclass001;
using System;
public class MyClass
{
public int Field = 0;
@@ -293,15 +290,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass001.genclass001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass001.genclass001;
// <Title> Tests generic class operator used in static method.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -328,15 +322,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass002.genclass002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass002.genclass002;
// <Title> Tests generic class operator used in regular method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -368,15 +359,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass003.genclass003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass003.genclass003;
// <Title> Tests generic class operator used in variable initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -405,15 +393,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass005.genclass005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass005.genclass005;
// <Title> Tests generic class operator used in lock expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -445,15 +430,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass006.genclass006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass006.genclass006;
// <Title> Tests generic class operator used in the for loop initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -490,15 +472,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass007.genclass007
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass007.genclass007;
// <Title> Tests generic class operator used in the for-condition.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -536,15 +515,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass008.genclass008
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass008.genclass008;
// <Title> Tests generic class operator used in the for-iterator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -583,15 +559,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass009.genclass009
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass009.genclass009;
// <Title> Tests generic class operator used in the foreach expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -630,15 +603,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass010.genclass010
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass010.genclass010;
// <Title> Tests generic class operator used in generic method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -673,15 +643,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass011.genclass011
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass011.genclass011;
// <Title> Tests generic class operator used in extension method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -716,15 +683,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass012.genclass012
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass012.genclass012;
// <Title> Tests generic class operator used in arguments to method invocation.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -761,15 +725,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass013.genclass013
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass013.genclass013;
// <Title> Tests generic class operator used in implicitly-typed variable initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -802,15 +763,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass014.genclass014
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass014.genclass014;
// <Title> Tests generic class operator used in static method.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -847,15 +805,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass015.genclass015
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass015.genclass015;
// <Title> Tests generic class operator used in member initializer of object initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -887,17 +842,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass016.genclass016
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass016.genclass016;
// <Title> Tests generic class operator used in member initializer of anonymous type.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
using System.Collections.Generic;
public class Test
{
@@ -934,15 +884,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass017.genclass017
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass017.genclass017;
// <Title> Tests generic class operator used in static variable.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -972,15 +919,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass018.genclass018
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass018.genclass018;
// <Title> Tests generic class operator used in property-get body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1015,8 +959,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass019.genclass019
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass019.genclass019;
// <Title> Tests generic class operator used in property-set body.</Title>
// <Description>
// </Description>
@@ -1067,8 +1009,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass020.genclass020
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass020.genclass020;
// <Title> Tests generic class operator used in indexer body.</Title>
// <Description>
// </Description>
@@ -1128,17 +1068,13 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass021.genclass021
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass021.genclass021;
// <Title> Tests generic class operator used in iterator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections;
using System.Collections.Generic;
public class Test
{
@@ -1182,15 +1118,11 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass022.genclass022
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass022.genclass022;
// <Title> Tests generic class operator used in collection initializer list.</Title>
// <Description> TODO: not implement IEnumerable so can't do object init-er </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections;
using System.Collections.Generic;
public class Test
@@ -1224,15 +1156,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass024.genclass024
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass024.genclass024;
// <Title> Tests generic class operator used in this-argument of extension method.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1266,15 +1195,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass026.genclass026
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass026.genclass026;
// <Title> Tests generic class operator used in variable named dynamic.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1305,15 +1231,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass027.genclass027
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass027.genclass027;
// <Title> Tests generic class operator used in query expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
public class Test
@@ -1347,15 +1270,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass028.genclass028
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass028.genclass028;
// <Title> Tests generic class operator used in null coalescing expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1383,15 +1303,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass030.genclass030
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass030.genclass030;
// <Title> Tests generic class operator used in ctor.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1423,8 +1340,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass031.genclass031
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass031.genclass031;
// <Title> Tests generic class operator used in checked.</Title>
// <Description>
// </Description>
@@ -1465,15 +1380,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass032.genclass032
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclass032.genclass032;
// <Title> Tests generic class operator used in + operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1500,16 +1412,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.errorverifier.errorverifier
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.errorverifier.errorverifier;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion002.genericuserconversion002;
using System;
using System.Collections;
using System.IO;
using System.Globalization;
using System.Reflection;
using System.Resources;
using Microsoft.CSharp.RuntimeBinder;
public enum ErrorElementId
{
None,
@@ -1694,8 +1596,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion002.genericuserconversion002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.errorverifier.errorverifier;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion002.genericuserconversion002;
// <Area> User-defined conversions </Area>
// <Title> User defined conversions </Title>
// <Description>
@@ -1704,7 +1604,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
//<RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class A
{
@@ -1764,8 +1663,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion004.genericuserconversion004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.errorverifier.errorverifier;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion004.genericuserconversion004;
// <Area> User-defined conversions </Area>
// <Title> User defined conversions </Title>
// <Description>
@@ -1774,7 +1671,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
//<RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class A
{
@@ -1831,8 +1727,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion006.genericuserconversion006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.errorverifier.errorverifier;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion006.genericuserconversion006;
// <Area> User-defined conversions </Area>
// <Title> User defined conversions </Title>
// <Description>
@@ -1842,7 +1736,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
//<Expects Status=success></Expects>
//<Expects Status=warning>\(30,13\).*CS0219</Expects>
// <Code>
using System;
public class A
{
@@ -1900,8 +1793,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion008.genericuserconversion008
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.errorverifier.errorverifier;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genericuserconversion008.genericuserconversion008;
// <Area> User-defined conversions </Area>
// <Title> User defined conversions </Title>
// <Description>
@@ -1911,7 +1802,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclas
//<Expects Status=success></Expects>
//<Expects Status=warning>\(40,16\).*CS0168</Expects>
// <Code>
using System;
public class A<T>
{

View File

@@ -2,18 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass001.genclass001;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Reflection;
public class MyClass
{
public int Field = 0;
@@ -64,8 +57,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass001.genclass001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass001.genclass001;
// <Title> Tests generic class auto property used in anonymous method.</Title>
// <Description>
// </Description>
@@ -106,15 +97,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass002.genclass002
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass002.genclass002;
// <Title> Tests generic class auto property used in query expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
using System.Linq;
using System.Collections.Generic;
@@ -150,15 +138,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass003.genclass003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass003.genclass003;
// <Title> Tests generic class auto property used in collection initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
using System.Collections.Generic;
public class Test
@@ -197,8 +182,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass005.genclass005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass005.genclass005;
// <Title> Tests generic class auto property used in lambda.</Title>
// <Description>
// </Description>
@@ -241,17 +224,13 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass006.genclass006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass006.genclass006;
// <Title> Tests generic class auto property used in using block.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
using System.IO;
using System.Text;
public class Test
{
@@ -294,15 +273,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass007.genclass007
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass007.genclass007;
// <Title> Tests generic class auto property used inside #if, #else block.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -339,15 +315,12 @@ return dy.Property_T;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass008.genclass008
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass008.genclass008;
// <Title> Tests generic class auto property used in arguments to method invocation.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -403,15 +376,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass009.genclass009
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass009.genclass009;
// <Title> Tests generic class auto property used in implicitly-typed variable initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -447,15 +417,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass010.genclass010
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass010.genclass010;
// <Title> Tests generic class auto property used in implicit operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -507,15 +474,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass012.genclass012
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclassautoprop.genclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.genclass.genclass012.genclass012;
// <Title> Tests generic class auto property used in extension method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{

View File

@@ -2,18 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass001.regclass001;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Reflection;
public class MyClass
{
public int Field = 0;
@@ -256,15 +249,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass001.regclass001
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass001.regclass001;
// <Title> Tests regular class auto property used in generic method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -308,15 +298,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass003.regclass003
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass003.regclass003;
// <Title> Tests regular class auto property used in variable initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -353,15 +340,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass004.regclass004
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass004.regclass004;
// <Title> Tests regular class auto property used in implicitly-typed array initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -402,15 +386,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass005.regclass005
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass005.regclass005;
// <Title> Tests regular class auto property used in operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -441,15 +422,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass006.regclass006
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass006.regclass006;
// <Title> Tests regular class auto property used in null coalescing operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -495,8 +473,6 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass007.regclass007
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass007.regclass007;
// <Title> Tests regular class auto property used in destructor.</Title>
// <Description>
// On IA64 the GC.WaitForPendingFinalizers() does not actually work...
@@ -569,15 +545,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass008.regclass008
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass008.regclass008;
// <Title> Tests regular class auto property used in extension method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -634,15 +607,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass009.regclass009
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass009.regclass009;
// <Title> Tests regular class auto property used in variable initializer.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -669,15 +639,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass010.regclass010
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass010.regclass010;
// <Title> Tests regular class auto property used in array initializer list.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -709,15 +676,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass014.regclass014
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass014.regclass014;
// <Title> Tests regular class auto property used in for loop body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -752,15 +716,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass015.regclass015
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass015.regclass015;
// <Title> Tests regular class auto property used in foreach expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections.Generic;
public class Test
@@ -802,16 +763,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass016.regclass016
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass016.regclass016;
// <Title> Tests regular class auto property used in while body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.Collections.Generic;
public class Test : MemberClass
{
@@ -846,15 +803,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass018.regclass018
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass018.regclass018;
// <Title> Tests regular class auto property used in uncheck expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -881,15 +835,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass019.regclass019
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass019.regclass019;
// <Title> Tests regular class auto property used in static constructor.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -920,15 +871,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass020.regclass020
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass020.regclass020;
// <Title> Tests regular class auto property used in variable named dynamic.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -953,15 +901,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass022.regclass022
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass022.regclass022;
// <Title> Tests regular class auto property used in field initailizer outside of constructor.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -989,15 +934,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass023.regclass023
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass023.regclass023;
// <Title> Tests regular class auto property used in static generic method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1026,15 +968,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass024.regclass024
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass024.regclass024;
// <Title> Tests regular class auto property used in static generic method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1073,15 +1012,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass025.regclass025
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass025.regclass025;
// <Title> Tests regular class auto property used in inside#if, #else block.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1135,15 +1071,12 @@ array = new ulong[] { (ulong)dy.Property_ulong };
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass026.regclass026
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass026.regclass026;
// <Title> Tests regular class auto property used in regular method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1174,15 +1107,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass027.regclass027
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass027.regclass027;
// <Title> Tests regular class auto property used in using block.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
using System.IO;
public class Test
@@ -1232,15 +1162,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass028.regclass028
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass028.regclass028;
// <Title> Tests regular class auto property used in ternary operator expression.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1296,15 +1223,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass029.regclass029
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass029.regclass029;
// <Title> Tests regular class auto property used in null coalescing operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1337,15 +1261,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass030.regclass030
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass030.regclass030;
// <Title> Tests regular class auto property used in constructor.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1386,15 +1307,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass031.regclass031
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass031.regclass031;
// <Title> Tests regular class auto property used in null coalescing operator.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1422,15 +1340,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass032.regclass032
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass032.regclass032;
// <Title> Tests regular class auto property used in static variable.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1457,15 +1372,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass034.regclass034
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass034.regclass034;
// <Title> Tests regular class auto property used in switch section statement.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1524,15 +1436,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass035.regclass035
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass035.regclass035;
// <Title> Tests regular class auto property used in switch default section statement.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1570,15 +1479,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass036.regclass036
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass036.regclass036;
// <Title> Tests regular class auto property used in foreach body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{
@@ -1610,15 +1516,12 @@ namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autopr
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass037.regclass037
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclassautoprop.regclassautoprop;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.property.autoproperty.regclass.regclass037.regclass037;
// <Title> Tests regular class auto property used in static method body.</Title>
// <Description>
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System;
public class Test
{

Some files were not shown because too many files have changed in this diff Show More