using System;
namespace ConsoleApplication1
{
internal class Program
{
private static void foo( )
{
Console.WriteLine ( ( object) 7 ) ;
}
private static void bar( )
{
object obj = ( object) 5 ;
if ( Program.\u003Cbar\u003Eo__SiteContainer0.\u003C\u003Ep__Site1 == null )
{
Program.\u003Cbar\u003Eo__SiteContainer0.\u003C\u003Ep__Site1 = CallSite< Action< CallSite, Type, object>> .Create ( Binder.InvokeMember ( CSharpBinderFlags.ResultDiscarded , "WriteLine" , ( IEnumerable< Type> ) null , typeof ( Program) , ( IEnumerable< CSharpArgumentInfo> ) new CSharpArgumentInfo[ 2 ]
{
CSharpArgumentInfo.Create ( CSharpArgumentInfoFlags.UseCompileTimeType | CSharpArgumentInfoFlags.IsStaticType , ( string) null ) ,
CSharpArgumentInfo.Create ( CSharpArgumentInfoFlags.None , ( string) null )
} ) ) ;
}
Program.\u003Cbar\u003Eo__SiteContainer0.\u003C\u003Ep__Site1.Target ( ( CallSite) Program.\u003Cbar\u003Eo__SiteContainer0.\u003C\u003Ep__Site1, typeof ( Console) , obj) ;
}
private static void Main( string[ ] args)
{
Program.foo ( ) ;
Program.bar ( ) ;
}
}
}
dXNpbmcgU3lzdGVtOwoKbmFtZXNwYWNlIENvbnNvbGVBcHBsaWNhdGlvbjEKewogIGludGVybmFsIGNsYXNzIFByb2dyYW0KICB7CiAgICBwcml2YXRlIHN0YXRpYyB2b2lkIGZvbygpCiAgICB7CiAgICAgIENvbnNvbGUuV3JpdGVMaW5lKChvYmplY3QpIDcpOwogICAgfQoKICAgIHByaXZhdGUgc3RhdGljIHZvaWQgYmFyKCkKICAgIHsKICAgICAgb2JqZWN0IG9iaiA9IChvYmplY3QpIDU7CiAgICAgIGlmIChQcm9ncmFtLlx1MDAzQ2Jhclx1MDAzRW9fX1NpdGVDb250YWluZXIwLlx1MDAzQ1x1MDAzRXBfX1NpdGUxID09IG51bGwpCiAgICAgIHsKICAgICAgICBQcm9ncmFtLlx1MDAzQ2Jhclx1MDAzRW9fX1NpdGVDb250YWluZXIwLlx1MDAzQ1x1MDAzRXBfX1NpdGUxID0gQ2FsbFNpdGU8QWN0aW9uPENhbGxTaXRlLCBUeXBlLCBvYmplY3Q+Pi5DcmVhdGUoQmluZGVyLkludm9rZU1lbWJlcihDU2hhcnBCaW5kZXJGbGFncy5SZXN1bHREaXNjYXJkZWQsICJXcml0ZUxpbmUiLCAoSUVudW1lcmFibGU8VHlwZT4pIG51bGwsIHR5cGVvZiAoUHJvZ3JhbSksIChJRW51bWVyYWJsZTxDU2hhcnBBcmd1bWVudEluZm8+KSBuZXcgQ1NoYXJwQXJndW1lbnRJbmZvWzJdCiAgICAgICAgewogICAgICAgICAgQ1NoYXJwQXJndW1lbnRJbmZvLkNyZWF0ZShDU2hhcnBBcmd1bWVudEluZm9GbGFncy5Vc2VDb21waWxlVGltZVR5cGUgfCBDU2hhcnBBcmd1bWVudEluZm9GbGFncy5Jc1N0YXRpY1R5cGUsIChzdHJpbmcpIG51bGwpLAogICAgICAgICAgQ1NoYXJwQXJndW1lbnRJbmZvLkNyZWF0ZShDU2hhcnBBcmd1bWVudEluZm9GbGFncy5Ob25lLCAoc3RyaW5nKSBudWxsKQogICAgICAgIH0pKTsKICAgICAgfQogICAgICBQcm9ncmFtLlx1MDAzQ2Jhclx1MDAzRW9fX1NpdGVDb250YWluZXIwLlx1MDAzQ1x1MDAzRXBfX1NpdGUxLlRhcmdldCgoQ2FsbFNpdGUpIFByb2dyYW0uXHUwMDNDYmFyXHUwMDNFb19fU2l0ZUNvbnRhaW5lcjAuXHUwMDNDXHUwMDNFcF9fU2l0ZTEsIHR5cGVvZiAoQ29uc29sZSksIG9iaik7CiAgICB9CgogICAgcHJpdmF0ZSBzdGF0aWMgdm9pZCBNYWluKHN0cmluZ1tdIGFyZ3MpCiAgICB7CiAgICAgIFByb2dyYW0uZm9vKCk7CiAgICAgIFByb2dyYW0uYmFyKCk7CiAgICB9CiAgfQp9
compilation info
prog.cs(15,19): error CS0117: `ConsoleApplication1.Program' does not contain a definition for `<baro__SiteContainer0'
prog.cs(5,18): (Location of the symbol related to previous error)
prog.cs(17,71): error CS0103: The name `CallSite' does not exist in the current context
prog.cs(17,17): error CS0117: `ConsoleApplication1.Program' does not contain a definition for `<baro__SiteContainer0'
prog.cs(5,18): (Location of the symbol related to previous error)
prog.cs(23,15): error CS0117: `ConsoleApplication1.Program' does not contain a definition for `<baro__SiteContainer0'
prog.cs(5,18): (Location of the symbol related to previous error)
Compilation failed: 4 error(s), 0 warnings
stdout