コード例 #1
0
ファイル: MetaMethod.cs プロジェクト: wan766405890/Core
        internal override void SwitchToExplicitImplementation()
        {
            Attributes = ExplicitImplementationAttributes;
            if (Standalone == false)
            {
                Attributes |= MethodAttributes.SpecialName;
            }

            name = MetaTypeElementUtil.CreateNameForExplicitImplementation(sourceType, Method.Name);
        }
コード例 #2
0
 internal override void SwitchToExplicitImplementation()
 {
     name = MetaTypeElementUtil.CreateNameForExplicitImplementation(sourceType, name);
     if (setter != null)
     {
         setter.SwitchToExplicitImplementation();
     }
     if (getter != null)
     {
         getter.SwitchToExplicitImplementation();
     }
 }
コード例 #3
0
ファイル: MetaEvent.cs プロジェクト: anupshah2it/Core
 internal override void SwitchToExplicitImplementation()
 {
     name = MetaTypeElementUtil.CreateNameForExplicitImplementation(sourceType, name);
     adder.SwitchToExplicitImplementation();
     remover.SwitchToExplicitImplementation();
 }