110,538
社区成员
发帖
与我相关
我的任务
分享
// Generated by .NET Reflector from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.Composition\v4.0_4.0.0.0__b77a5c561934e089\System.ComponentModel.Composition.dll
namespace System.ComponentModel.Composition
{
using System;
using System.Runtime;
using System.Runtime.CompilerServices;
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method | AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public class ExportAttribute : Attribute
{
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public ExportAttribute() : this(null, null)
{
}
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public ExportAttribute(string contractName) : this(contractName, null)
{
}
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public ExportAttribute(Type contractType) : this(null, contractType)
{
}
public ExportAttribute(string contractName, Type contractType)
{
this.ContractName = contractName;
this.ContractType = contractType;
}
public string ContractName
{
[CompilerGenerated, TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
get
{
return this.<ContractName>k__BackingField;
}
[CompilerGenerated]
private set
{
this.<ContractName>k__BackingField = value;
}
}
public Type ContractType
{
[CompilerGenerated, TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
get
{
return this.<ContractType>k__BackingField;
}
[CompilerGenerated]
private set
{
this.<ContractType>k__BackingField = value;
}
}
}
}
public string ContractName
{
[CompilerGenerated, TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
get
{
return this.<ContractName>k__BackingField;
}
[CompilerGenerated]
private set
{
this.<ContractName>k__BackingField = value;
}
}
那里的 this.<ContractName>k__BackingField; 是什么语法,我用C#都两年也没见过这种语法,惭愧啊,请赐教!!!