Example #1
0
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     addAccessor    = provider.Intern(addAccessor);
     removeAccessor = provider.Intern(removeAccessor);
     invokeAccessor = provider.Intern(invokeAccessor);
 }
		public override void ApplyInterningProvider(IInterningProvider provider)
		{
			base.ApplyInterningProvider(provider);
			getter = provider.Intern(getter);
			setter = provider.Intern(setter);
			parameters = provider.InternList(parameters);
		}
		public override void ApplyInterningProvider(IInterningProvider provider)
		{
			base.ApplyInterningProvider(provider);
			addAccessor    = provider.Intern(addAccessor);
			removeAccessor = provider.Intern(removeAccessor);
			invokeAccessor = provider.Intern(invokeAccessor);
		}
Example #4
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     targetType       = provider.Intern(targetType);
     targetExpression = provider.Intern(targetExpression);
     memberName       = provider.Intern(memberName);
     typeArguments    = provider.InternList(typeArguments);
 }
Example #5
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     for (int i = 0; i < typeArguments.Length; i++)
     {
         typeArguments[i] = provider.Intern(typeArguments[i]);
     }
 }
Example #6
0
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     getter     = provider.Intern(getter);
     setter     = provider.Intern(setter);
     parameters = provider.InternList(parameters);
 }
Example #7
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     name         = provider.Intern(name);
     type         = provider.Intern(type);
     attributes   = provider.InternList(attributes);
     defaultValue = provider.Intern(defaultValue);
 }
Example #8
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     if (!this.IsFrozen)
     {
         attributes           = provider.InternList(attributes);
         returnTypeAttributes = provider.InternList(returnTypeAttributes);
     }
 }
Example #9
0
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     if (provider != null)
     {
         constantValue = provider.Intern(constantValue);
     }
 }
Example #10
0
		public override void ApplyInterningProvider(IInterningProvider provider)
		{
			base.ApplyInterningProvider(provider);
			if (provider != null) {
				returnTypeAttributes = provider.InternList(returnTypeAttributes);
				typeParameters = provider.InternList(typeParameters);
				parameters = provider.InternList(parameters);
			}
		}
Example #11
0
 public virtual void ApplyInterningProvider(IInterningProvider provider)
 {
     if (provider != null)
     {
         returnType = provider.Intern(returnType);
         attributes = provider.InternList(attributes);
         interfaceImplementations = provider.InternList(interfaceImplementations);
         name = provider.Intern(name);
     }
 }
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     if (provider != null)
     {
         returnTypeAttributes = provider.InternList(returnTypeAttributes);
         typeParameters       = provider.InternList(typeParameters);
         parameters           = provider.InternList(parameters);
     }
 }
Example #13
0
 public void ApplyInterningProvider(IInterningProvider provider)
 {
     if (provider != null)
     {
         ns             = provider.Intern(ns);
         name           = provider.Intern(name);
         baseTypes      = provider.InternList(baseTypes);
         typeParameters = provider.InternList(typeParameters);
         attributes     = provider.InternList(attributes);
     }
 }
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     // protect against cyclic constraints
     using (var busyLock = BusyManager.Enter(this)) {
         if (busyLock.Success)
         {
             constraints = provider.InternList(constraints);
             attributes  = provider.InternList(attributes);
         }
     }
 }
Example #15
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     attributeType = provider.Intern(attributeType);
     if (constructorParameterTypes != null)
     {
         for (int i = 0; i < constructorParameterTypes.Length; i++)
         {
             constructorParameterTypes[i] = provider.Intern(constructorParameterTypes[i]);
         }
     }
     positionalArguments = provider.InternList(positionalArguments);
 }
 public virtual void ApplyInterningProvider(IInterningProvider provider)
 {
     if (provider == null)
     {
         throw new ArgumentNullException("provider");
     }
     ThrowIfFrozen();
     name       = provider.Intern(name);
     attributes = provider.InternList(attributes);
     if (rareFields != null)
     {
         rareFields.ApplyInterningProvider(provider);
     }
 }
Example #17
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     if (!this.IsFrozen)
     {
         attributeType             = provider.Intern(attributeType);
         constructorParameterTypes = provider.InternList(constructorParameterTypes);
         positionalArguments       = provider.InternList(positionalArguments);
         if (namedArguments != null)
         {
             for (int i = 0; i < namedArguments.Count; i++)
             {
                 namedArguments[i] = new KeyValuePair <IMemberReference, IConstantValue>(
                     provider.Intern(namedArguments[i].Key),
                     provider.Intern(namedArguments[i].Value)
                     );
             }
         }
         Freeze();
     }
 }
Example #18
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			condition = provider.Intern(condition);
			trueExpr = provider.Intern(trueExpr);
			falseExpr = provider.Intern(falseExpr);
		}
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     returnType = provider.Intern(returnType);
     interfaceImplementations = provider.InternList(interfaceImplementations);
 }
Example #20
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			targetType = provider.Intern(targetType);
			targetExpression = provider.Intern(targetExpression);
			memberName = provider.Intern(memberName);
			typeArguments = provider.InternList(typeArguments);
		}
Example #21
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			expression = provider.Intern(expression);
		}
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     typeReference  = provider.Intern(typeReference);
     name           = provider.Intern(name);
     parameterTypes = provider.InternList(parameterTypes);
 }
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			if (!this.IsFrozen) {
				attributeType = provider.Intern(attributeType);
				constructorParameterTypes = provider.InternList(constructorParameterTypes);
				positionalArguments = provider.InternList(positionalArguments);
				if (namedArguments != null) {
					for (int i = 0; i < namedArguments.Count; i++) {
						namedArguments[i] = new KeyValuePair<IMemberReference, IConstantValue>(
							provider.Intern(namedArguments[i].Key),
							provider.Intern(namedArguments[i].Value)
						);
					}
				}
				Freeze();
			}
		}
Example #24
0
		public override void ApplyInterningProvider(IInterningProvider provider)
		{
			base.ApplyInterningProvider(provider);
			if (provider != null)
				constantValue = provider.Intern(constantValue);
		}
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			nameSpace = provider.Intern(nameSpace);
			name = provider.Intern(name);
		}
			public virtual void ApplyInterningProvider(IInterningProvider provider)
			{
			}
		public virtual void ApplyInterningProvider(IInterningProvider provider)
		{
			if (provider == null)
				throw new ArgumentNullException("provider");
			ThrowIfFrozen();
			name = provider.Intern(name);
			attributes = provider.InternList(attributes);
			if (rareFields != null)
				rareFields.ApplyInterningProvider(provider);
		}
Example #28
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			name = provider.Intern(name);
			type = provider.Intern(type);
			attributes = provider.InternList(attributes);
			defaultValue = provider.Intern(defaultValue);
		}
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			Contract.Requires(provider != null);
		}
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     shortName = provider.Intern(shortName);
 }
Example #31
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     elementType = provider.Intern(elementType);
 }
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     declaringTypeRef = provider.Intern(declaringTypeRef);
     name             = provider.Intern(name);
 }
Example #33
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     Contract.Requires(provider != null);
 }
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			typeReference = provider.Intern(typeReference);
			name = provider.Intern(name);
			parameterTypes = provider.InternList(parameterTypes);
		}
Example #35
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			declaringTypeRef = provider.Intern(declaringTypeRef);
			name = provider.Intern(name);
		}
Example #36
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			withoutSuffix = provider.Intern(withoutSuffix);
			withSuffix = provider.Intern(withSuffix);
		}
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			constraints = provider.InternList(constraints);
			attributes = provider.InternList(attributes);
		}
Example #38
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     baseValue = provider.Intern(baseValue);
 }
Example #39
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			identifier = provider.Intern(identifier);
			typeArguments = provider.InternList(typeArguments);
		}
Example #40
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     targetType = provider.Intern(targetType);
     expression = provider.Intern(expression);
 }
Example #41
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			type = provider.Intern(type);
		}
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			elementType = provider.Intern(elementType);
		}
Example #43
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			left = provider.Intern(left);
			right = provider.Intern(right);
		}
Example #44
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     constraints = provider.InternList(constraints);
     attributes  = provider.InternList(attributes);
 }
Example #45
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			elementType = provider.Intern(elementType);
			arrayElements = provider.InternList(arrayElements);
		}
Example #46
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     expression = provider.Intern(expression);
 }
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			shortName = provider.Intern(shortName);
		}
Example #48
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     left  = provider.Intern(left);
     right = provider.Intern(right);
 }
Example #49
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			genericType = provider.Intern(genericType);
			for (int i = 0; i < typeArguments.Length; i++) {
				typeArguments[i] = provider.Intern(typeArguments[i]);
			}
		}
Example #50
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     condition = provider.Intern(condition);
     trueExpr  = provider.Intern(trueExpr);
     falseExpr = provider.Intern(falseExpr);
 }
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			InterfaceType = provider.Intern(InterfaceType);
			MemberName = provider.Intern(MemberName);
		}
Example #52
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     elementType   = provider.Intern(elementType);
     arrayElements = provider.InternList(arrayElements);
 }
Example #53
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     assembly  = provider.Intern(assembly);
     nameSpace = provider.Intern(nameSpace);
     name      = provider.Intern(name);
 }
Example #54
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     attributes = provider.InternList(attributes);
 }
		public override void ApplyInterningProvider(IInterningProvider provider)
		{
			base.ApplyInterningProvider(provider);
			returnType = provider.Intern(returnType);
			interfaceImplementations = provider.InternList(interfaceImplementations);
		}
Example #56
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			baseValue = provider.Intern(baseValue);
		}
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     type  = provider.Intern(type);
     value = provider.Intern(value);
 }
Example #58
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			targetType = provider.Intern(targetType);
			expression = provider.Intern(expression);
		}
Example #59
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     identifier    = provider.Intern(identifier);
     typeArguments = provider.InternList(typeArguments);
 }
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			attributeType = provider.Intern(attributeType);
			if (constructorParameterTypes != null) {
				for (int i = 0; i < constructorParameterTypes.Length; i++) {
					constructorParameterTypes[i] = provider.Intern(constructorParameterTypes[i]);
				}
			}
			positionalArguments = provider.InternList(positionalArguments);
		}