示例#1
0
 public InternalModule(InternalTypeSystemProvider provider, Module module)
 {
     _provider  = provider;
     _module    = module;
     _namespace = SafeNamespace(module);
     _module.Imports.Changed += (sender, e) => _namespaceList = null;
     _module.Members.Changed += (sender, e) => _memberCache = null;
 }
示例#2
0
 public InternalGenericMethod(InternalTypeSystemProvider provider, Method method) : base(provider, method)
 {
 }
 public CompileUnitNamespace(CompileUnit unit)
 {
     _nameResolutionService      = My <NameResolutionService> .Instance;
     _internalTypeSystemProvider = My <InternalTypeSystemProvider> .Instance;
     _compileUnit = unit;
 }
示例#4
0
 internal InternalClass(InternalTypeSystemProvider provider, TypeDefinition typeDefinition, bool isByRef) :
     base(provider, typeDefinition)
 {
     _isByRef = isByRef;
 }
示例#5
0
 internal InternalClass(InternalTypeSystemProvider provider, TypeDefinition typeDefinition) :
     this(provider, typeDefinition, false)
 {
 }
示例#6
0
 public InternalProperty(InternalTypeSystemProvider provider, Property property) : base(property)
 {
     _provider = provider;
 }
示例#7
0
 internal InternalEnum(InternalTypeSystemProvider provider, TypeDefinition enumDefinition, bool isByRef) :
     base(provider, enumDefinition)
 {
     IsByRef = isByRef;
 }
示例#8
0
 internal InternalEnum(InternalTypeSystemProvider provider, EnumDefinition enumDefinition) :
     this(provider, enumDefinition, false)
 {
 }
示例#9
0
 internal InternalMethod(InternalTypeSystemProvider provider, Method method) : base(method)
 {
     _provider = provider;
 }
示例#10
0
 protected AbstractInternalType(InternalTypeSystemProvider provider, TypeDefinition typeDefinition) : base(typeDefinition)
 {
     _provider = provider;
     typeDefinition.Members.Changed += (sender, args) => ClearMemberEntitiesCache();
 }
示例#11
0
 internal InternalCallableType(InternalTypeSystemProvider provider, TypeDefinition typeDefinition) :
     base(provider, typeDefinition)
 {
 }
示例#12
0
 public InternalConstructor(InternalTypeSystemProvider provider,
                            Constructor constructor) : base(provider, constructor)
 {
 }
示例#13
0
 public InternalModule(InternalTypeSystemProvider provider, Module module)
 {
     _provider  = provider;
     _module    = module;
     _namespace = SafeNamespace(module);
 }