Example #1
0
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     getter     = provider.Intern(getter);
     setter     = provider.Intern(setter);
     parameters = provider.InternList(parameters);
 }
Example #2
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     name         = provider.Intern(name);
     type         = provider.Intern(type);
     attributes   = provider.InternList(attributes);
     defaultValue = provider.Intern(defaultValue);
 }
Example #3
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     targetType       = provider.Intern(targetType);
     targetExpression = provider.Intern(targetExpression);
     memberName       = provider.Intern(memberName);
     typeArguments    = provider.InternList(typeArguments);
 }
		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);
		}
Example #6
0
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     addAccessor    = provider.Intern(addAccessor);
     removeAccessor = provider.Intern(removeAccessor);
     invokeAccessor = provider.Intern(invokeAccessor);
 }
Example #7
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 #8
0
		public override IUnresolvedEntity VisitUsingDeclaration(UsingDeclaration usingDeclaration, object data)
		{
			TypeOrNamespaceReference u = usingDeclaration.Import.ToTypeReference(SimpleNameLookupMode.TypeInUsingDeclaration) as TypeOrNamespaceReference;
			if (u != null) {
				if (interningProvider != null)
					u = interningProvider.Intern(u);
				usingScope.Usings.Add(u);
			}
			return null;
		}
Example #9
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);
     }
 }
Example #10
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);
     }
 }
Example #11
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);
 }
Example #12
0
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     if (provider != null)
     {
         constantValue = provider.Intern(constantValue);
     }
 }
Example #13
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();
     }
 }
 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);
     }
 }
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     InterfaceType = provider.Intern(InterfaceType);
     MemberName    = provider.Intern(MemberName);
 }
Example #16
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			condition = provider.Intern(condition);
			trueExpr = provider.Intern(trueExpr);
			falseExpr = provider.Intern(falseExpr);
		}
Example #17
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			expression = provider.Intern(expression);
		}
Example #18
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			targetType = provider.Intern(targetType);
			targetExpression = provider.Intern(targetExpression);
			memberName = provider.Intern(memberName);
			typeArguments = provider.InternList(typeArguments);
		}
Example #19
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			targetType = provider.Intern(targetType);
			expression = provider.Intern(expression);
		}
Example #20
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     withoutSuffix = provider.Intern(withoutSuffix);
     withSuffix    = provider.Intern(withSuffix);
 }
Example #21
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     condition = provider.Intern(condition);
     trueExpr  = provider.Intern(trueExpr);
     falseExpr = provider.Intern(falseExpr);
 }
Example #22
0
		public override void ApplyInterningProvider(IInterningProvider provider)
		{
			base.ApplyInterningProvider(provider);
			if (provider != null)
				constantValue = provider.Intern(constantValue);
		}
		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 #24
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)
 {
     shortName = provider.Intern(shortName);
 }
		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();
			}
		}
 public override void ApplyInterningProvider(IInterningProvider provider)
 {
     base.ApplyInterningProvider(provider);
     returnType = provider.Intern(returnType);
     interfaceImplementations = provider.InternList(interfaceImplementations);
 }
		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);
		}
Example #29
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     elementType = provider.Intern(elementType);
 }
Example #30
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			withoutSuffix = provider.Intern(withoutSuffix);
			withSuffix = provider.Intern(withSuffix);
		}
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     declaringTypeRef = provider.Intern(declaringTypeRef);
     name             = provider.Intern(name);
 }
Example #32
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     elementType   = provider.Intern(elementType);
     arrayElements = provider.InternList(arrayElements);
 }
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			nameSpace = provider.Intern(nameSpace);
			name = provider.Intern(name);
		}
Example #34
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			baseValue = provider.Intern(baseValue);
		}
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			shortName = provider.Intern(shortName);
		}
Example #36
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			identifier = provider.Intern(identifier);
			typeArguments = provider.InternList(typeArguments);
		}
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     typeReference  = provider.Intern(typeReference);
     name           = provider.Intern(name);
     parameterTypes = provider.InternList(parameterTypes);
 }
Example #38
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			type = provider.Intern(type);
		}
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			InterfaceType = provider.Intern(InterfaceType);
			MemberName = provider.Intern(MemberName);
		}
Example #40
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			left = provider.Intern(left);
			right = provider.Intern(right);
		}
Example #41
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);
			}
		}
Example #42
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			elementType = provider.Intern(elementType);
			arrayElements = provider.InternList(arrayElements);
		}
Example #43
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			declaringTypeRef = provider.Intern(declaringTypeRef);
			name = provider.Intern(name);
		}
Example #44
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     expression = provider.Intern(expression);
 }
Example #45
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     left  = provider.Intern(left);
     right = provider.Intern(right);
 }
Example #46
0
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			genericType = provider.Intern(genericType);
			for (int i = 0; i < typeArguments.Length; i++) {
				typeArguments[i] = provider.Intern(typeArguments[i]);
			}
		}
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			elementType = provider.Intern(elementType);
		}
Example #48
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     assembly  = provider.Intern(assembly);
     nameSpace = provider.Intern(nameSpace);
     name      = provider.Intern(name);
 }
		void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
		{
			typeReference = provider.Intern(typeReference);
			name = provider.Intern(name);
			parameterTypes = provider.InternList(parameterTypes);
		}
		public override void ApplyInterningProvider(IInterningProvider provider)
		{
			base.ApplyInterningProvider(provider);
			returnType = provider.Intern(returnType);
			interfaceImplementations = provider.InternList(interfaceImplementations);
		}
Example #51
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     baseValue = provider.Intern(baseValue);
 }
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     type  = provider.Intern(type);
     value = provider.Intern(value);
 }
Example #53
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     targetType = provider.Intern(targetType);
     expression = provider.Intern(expression);
 }
Example #54
0
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     identifier    = provider.Intern(identifier);
     typeArguments = provider.InternList(typeArguments);
 }
 void ISupportsInterning.PrepareForInterning(IInterningProvider provider)
 {
     attributeType = provider.Intern(attributeType);
     positionalArguments = provider.InternList(positionalArguments);
 }