26 references to SR
System.Reflection.Context (26)
System\Reflection\Context\Custom\AttributeUtils.cs (3)
194throw new FormatException(SR.Format(SR.Format_AttributeUsage, attributeFilterType)); 202throw new InvalidOperationException(SR.InvalidOperation_NullAttribute);
System\Reflection\Context\Custom\CustomType.cs (2)
273throw new AmbiguousMatchException(SR.Format(SR.Arg_AmbiguousMatchException_MemberInfo, declaringType, match));
System\Reflection\Context\CustomReflectionContext.cs (3)
121throw new InvalidOperationException(SR.InvalidOperation_AddNullProperty); 125throw new InvalidOperationException(SR.InvalidOperation_AddPropertyDifferentContext); 130throw new InvalidOperationException(SR.InvalidOperation_AddPropertyDifferentType);
System\Reflection\Context\CustomReflectionContext.Projector.cs (4)
140throw new InvalidOperationException(SR.Format(SR.InvalidOperation_InvalidMethodType, value.GetType())); 255throw new InvalidOperationException(SR.Format(SR.InvalidOperation_InvalidMemberType, value.Name, value.MemberType));
System\Reflection\Context\Delegation\DelegatingType.cs (2)
23throw new InvalidOperationException(SR.Format(SR.InvalidOperation_NoTypeInfoForThisType, type.FullName));
System\Reflection\Context\Virtual\VirtualMethodBase.cs (2)
94throw new InvalidOperationException(SR.Format(SR.InvalidOperation_NotGenericMethodDefinition, this));
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (4)
107throw new ArgumentException(SR.Argument_GetMethNotFnd); 116throw new ArgumentException(SR.Argument_GetMethNotFnd); 139throw new InvalidOperationException(SR.InvalidOperation_EnumLitValueNotFound); 144throw new InvalidOperationException(SR.InvalidOperation_EnumLitValueNotFound);
System\Reflection\Context\Virtual\VirtualPropertyInfo.cs (2)
29throw new ArgumentException(SR.ArgumentNull_GetterOrSetterMustBeSpecified); 33throw new ArgumentException(SR.Argument_PropertyTypeFromDifferentContext);
System\Reflection\Context\Virtual\VirtualPropertyInfo.PropertySetter.cs (4)
44throw new TargetException(SR.Target_InstanceMethodRequiresTarget); 47throw new TargetException(SR.Target_ObjectTargetMismatch); 50throw new ArgumentException(SR.Format(SR.Argument_ObjectArgumentMismatch, value.GetType(), ReturnType));