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); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { targetType = provider.Intern(targetType); targetExpression = provider.Intern(targetExpression); memberName = provider.Intern(memberName); typeArguments = provider.InternList(typeArguments); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { for (int i = 0; i < typeArguments.Length; i++) { typeArguments[i] = provider.Intern(typeArguments[i]); } }
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) { if (!this.IsFrozen) { attributes = provider.InternList(attributes); returnTypeAttributes = provider.InternList(returnTypeAttributes); } }
public override void ApplyInterningProvider(IInterningProvider provider) { base.ApplyInterningProvider(provider); if (provider != null) { constantValue = provider.Intern(constantValue); } }
public override void ApplyInterningProvider(IInterningProvider provider) { base.ApplyInterningProvider(provider); if (provider != null) { returnTypeAttributes = provider.InternList(returnTypeAttributes); typeParameters = provider.InternList(typeParameters); parameters = provider.InternList(parameters); } }
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 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); } } }
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); } }
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(); } }
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); }
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(); } }
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); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { Contract.Requires(provider != null); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { shortName = provider.Intern(shortName); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { elementType = provider.Intern(elementType); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { declaringTypeRef = provider.Intern(declaringTypeRef); name = provider.Intern(name); }
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); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { baseValue = provider.Intern(baseValue); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { identifier = provider.Intern(identifier); typeArguments = provider.InternList(typeArguments); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { targetType = provider.Intern(targetType); expression = provider.Intern(expression); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { type = provider.Intern(type); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { left = provider.Intern(left); right = provider.Intern(right); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { elementType = provider.Intern(elementType); arrayElements = provider.InternList(arrayElements); }
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) { InterfaceType = provider.Intern(InterfaceType); MemberName = provider.Intern(MemberName); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { assembly = provider.Intern(assembly); nameSpace = provider.Intern(nameSpace); name = provider.Intern(name); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { attributes = provider.InternList(attributes); }
void ISupportsInterning.PrepareForInterning(IInterningProvider provider) { type = provider.Intern(type); value = provider.Intern(value); }