本文整理汇总了C#中MemberFlags类的典型用法代码示例。如果您正苦于以下问题:C# MemberFlags类的具体用法?C# MemberFlags怎么用?C# MemberFlags使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MemberFlags类属于命名空间,在下文中一共展示了MemberFlags类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ClassDefinition
public ClassDefinition(MemberFlags flags, string name,
GenericSignature genericSignature,
AstNode bases, AstNode children, TokenPosition position)
: base(flags, name, genericSignature,
bases, children, position)
{
}
示例2: EventVariable
protected EventVariable(ChelaModule module)
: base(module)
{
this.flags = MemberFlags.Default;
this.parentScope = null;
this.associatedField = null;
}
示例3: PropertyVariable
public PropertyVariable(ChelaModule module)
: base(module)
{
this.flags = MemberFlags.Default;
this.indices = null;
this.parentScope = null;
}
示例4: MakeFunctionPointer
public MakeFunctionPointer(Expression returnType, AstNode arguments, MemberFlags flags, TokenPosition position)
: base(position)
{
this.returnType = returnType;
this.arguments = arguments;
this.flags = flags;
}
示例5: TypeNameMember
public TypeNameMember(MemberFlags flags, string name, Scope parentScope)
: this(parentScope.GetModule())
{
this.flags = flags;
this.name = name;
this.parentScope = parentScope;
}
示例6: Function
public Function(string name, MemberFlags flags, Scope parentScope)
: this(parentScope.GetModule())
{
this.name = name;
this.flags = flags;
this.parentScope = parentScope;
}
示例7: FieldDefinition
public FieldDefinition(MemberFlags flags, Expression typeNode,
FieldDeclaration declarations, TokenPosition position)
: base(position)
{
this.flags = flags;
this.typeNode = typeNode;
this.declarations = declarations;
}
示例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;
}
示例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;
}
示例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;
}
示例11: FieldVariable
public FieldVariable(ChelaModule module)
: base(module)
{
this.flags = MemberFlags.Default;
this.slot = -1;
this.initializer = null;
this.parentScope = null;
this.position = null;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}