• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# MemberFlags类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中MemberFlags的典型用法代码示例。如果您正苦于以下问题:C# MemberFlags类的具体用法?C# MemberFlags怎么用?C# MemberFlags使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



MemberFlags类属于命名空间,在下文中一共展示了MemberFlags类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: ClassDefinition

 public ClassDefinition(MemberFlags flags, string name,
                        GenericSignature genericSignature,
                        AstNode bases, AstNode children, TokenPosition position)
     : base(flags, name, genericSignature,
            bases, children, position)
 {
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:ClassDefinition.cs


示例2: EventVariable

 protected EventVariable(ChelaModule module)
     : base(module)
 {
     this.flags = MemberFlags.Default;
     this.parentScope = null;
     this.associatedField = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:EventVariable.cs


示例3: PropertyVariable

 public PropertyVariable(ChelaModule module)
     : base(module)
 {
     this.flags = MemberFlags.Default;
     this.indices = null;
     this.parentScope = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:PropertyVariable.cs


示例4: MakeFunctionPointer

 public MakeFunctionPointer(Expression returnType, AstNode arguments, MemberFlags flags, TokenPosition position)
     : base(position)
 {
     this.returnType = returnType;
     this.arguments = arguments;
     this.flags = flags;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:MakeFunctionPointer.cs


示例5: TypeNameMember

 public TypeNameMember(MemberFlags flags, string name, Scope parentScope)
     : this(parentScope.GetModule())
 {
     this.flags = flags;
     this.name = name;
     this.parentScope = parentScope;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:TypeNameMember.cs


示例6: Function

 public Function(string name, MemberFlags flags, Scope parentScope)
     : this(parentScope.GetModule())
 {
     this.name = name;
     this.flags = flags;
     this.parentScope = parentScope;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:7,代码来源:Function.cs


示例7: FieldDefinition

        public FieldDefinition(MemberFlags flags, Expression typeNode,
		                        FieldDeclaration declarations, TokenPosition position)
            : base(position)
        {
            this.flags = flags;
            this.typeNode = typeNode;
            this.declarations = declarations;
        }
开发者ID:ronsaldo,项目名称:chela,代码行数:8,代码来源:FieldDefinition.cs


示例8: EnumDefinition

 public EnumDefinition(MemberFlags flags, string name, AstNode children,
     Expression typeExpr, TokenPosition position)
     : base(children, position)
 {
     SetName(name);
     this.flags = flags;
     this.typeExpr = typeExpr;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:8,代码来源:EnumDefinition.cs


示例9: FunctionPrototype

 public FunctionPrototype(MemberFlags flags, Expression returnType,
                        FunctionArgument arguments, Expression nameExpression,
                           GenericSignature genericSignature,
                           TokenPosition position)
     : this(flags, returnType, arguments, "", genericSignature, position)
 {
     this.nameExpression = nameExpression;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:8,代码来源:FunctionPrototype.cs


示例10: Method

 public Method(string name, MemberFlags flags, Scope parentScope)
     : base(name, flags, parentScope)
 {
     this.vslot = -1;
     this.ctorLeaf = false;
     this.ctorParent = null;
     this.explicitContract = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:8,代码来源:Method.cs


示例11: FieldVariable

 public FieldVariable(ChelaModule module)
     : base(module)
 {
     this.flags = MemberFlags.Default;
     this.slot = -1;
     this.initializer = null;
     this.parentScope = null;
     this.position = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:9,代码来源:FieldVariable.cs


示例12: TypedefDefinition

 public TypedefDefinition(MemberFlags flags, Expression typeExpression,
                           string name, TokenPosition position)
     : base(position)
 {
     SetName(name);
     this.flags = flags;
     this.typeExpression = typeExpression;
     this.expansionScope = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:9,代码来源:TypedefDefinition.cs


示例13: PropertyAccessor

 public PropertyAccessor(MemberFlags flags, AstNode children, TokenPosition position)
     : base(null, children, position)
 {
     this.flags = flags;
     this.property = null;
     this.selfLocal = null;
     this.indices = null;
     this.indexerVariables = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:9,代码来源:PropertyAccessor.cs


示例14: EventAccessorDefinition

 public EventAccessorDefinition(MemberFlags flags, string name, AstNode children, TokenPosition position)
     : base(children, position)
 {
     SetName(name);
     this.flags = flags;
     this.eventVariable = null;
     this.function = null;
     this.selfLocal = null;
     this.valueLocal = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:10,代码来源:EventAccessorDefinition.cs


示例15: EventDefinition

 public EventDefinition(MemberFlags flags, Expression eventType,
                         string name, AstNode accessors, TokenPosition position)
     : base(position)
 {
     SetName(name);
     this.flags = flags;
     this.eventType = eventType;
     this.eventVariable = null;
     this.accessors = accessors;
     this.delegateType = null;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:11,代码来源:EventDefinition.cs


示例16: PropertyDefinition

 public PropertyDefinition(MemberFlags flags, Expression propertyType,
                           string name, AstNode indices, AstNode accessors, TokenPosition position)
     : base(position)
 {
     SetName(name);
     this.flags = flags;
     this.propertyType = propertyType;
     this.property = null;
     this.indices = indices;
     this.accessors = accessors;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:11,代码来源:PropertyDefinition.cs


示例17: DelegateDefinition

 public DelegateDefinition(MemberFlags flags, Expression returnType,
                            AstNode arguments, string name,
                            GenericSignature genericSignature,
                            TokenPosition position)
     : base(position)
 {
     SetName(name);
     this.genericSignature = genericSignature;
     this.flags = flags;
     this.returnType = returnType;
     this.arguments = arguments;
 }
开发者ID:ronsaldo,项目名称:chela,代码行数:12,代码来源:DelegateDefinition.cs


示例18: MemberDescriptor

 public MemberDescriptor(
     MemberFlags Flags,
     byte DeclaringTypeId,
     string Name,
     ImmutableArray<byte> Signature,
     ushort Arity = 0)
 {
     this.Flags = Flags;
     this.DeclaringTypeId = DeclaringTypeId;
     this.Name = Name;
     this.Arity = Arity;
     this.Signature = Signature;
 }
开发者ID:EkardNT,项目名称:Roslyn,代码行数:13,代码来源:MemberDescriptor.cs


示例19: StructDefinition

        public StructDefinition(MemberFlags flags, string name,
                                GenericSignature genericSignature,
		                        AstNode bases, AstNode children,
                                TokenPosition position)
            : base(children, position)
        {
            SetName(name);
            this.flags = flags;
            this.bases = bases;
            this.genericSignature = genericSignature;
            this.defaultConstructor = null;
            this.genericScope = null;
        }
开发者ID:ronsaldo,项目名称:chela,代码行数:13,代码来源:StructDefinition.cs


示例20: MemberWrapper

		protected MemberWrapper(TypeWrapper declaringType, string name, string sig, Modifiers modifiers, MemberFlags flags)
		{
			Debug.Assert(declaringType != null);
			this.declaringType = declaringType;
			this.name = String.Intern(name);
			this.sig = String.Intern(sig);
			this.modifiers = modifiers;
			this.flags = flags;
		}
开发者ID:jira-sarec,项目名称:ICSE-2012-TraceLab,代码行数:9,代码来源:MemberWrapper.cs



注:本文中的MemberFlags类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# MemberGroup类代码示例发布时间:2022-05-24
下一篇:
C# MemberFilter类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap