system\diagnostics\eventing\eventsource.cs (26)
399string name = eventSourceType.Name;
1571return eventSourceType.Name;
3185PropertyInfo p = t.GetProperty(namedArgument.MemberInfo.Name, BindingFlags.Public | BindingFlags.Instance);
3225string.Equals(attributeType.Name, reflectedAttributeType.Name, StringComparison.Ordinal) &&
3257if (eventSourceType.Name != "EventSource")
3336manifest.ManifestError(Environment.GetResourceString("EventSource_AbstractMustNotDeclareKTOC", nestedType.Name));
3392manifest.ManifestError(Environment.GetResourceString("EventSource_AbstractMustNotDeclareEventMethods", method.Name, eventAttribute.EventId));
3420manifest.ManifestError(Environment.GetResourceString("EventSource_NeedPositiveId", method.Name), true);
3423if (method.Name.LastIndexOf('.') >= 0)
3424manifest.ManifestError(Environment.GetResourceString("EventSource_EventMustNotBeExplicitImplementation", method.Name, eventAttribute.EventId));
3427string eventName = method.Name;
3606manifest.AddOpcode(staticField.Name, value);
3612manifest.AddTask(staticField.Name, value);
3618manifest.AddKeyword(staticField.Name, value);
3630manifest.ManifestError(Environment.GetResourceString("EventSource_EnumKindMismatch", staticField.Name, staticField.FieldType.Name, providerEnumKind));
3708string evtName = method.Name;
6235templates.Append(" map=\"").Append(type.Name).Append("\"");
6238if (!mapsTab.ContainsKey(type.Name))
6239mapsTab.Add(type.Name, type); // Remember that we need to dump the type enumeration
6416sb.Append(" <").Append(mapKind).Append(" name=\"").Append(enumType.Name).Append("\">").AppendLine();
6439WriteMessageAttrib(sb, "map", enumType.Name + "." + staticField.Name, staticField.Name);
6768ManifestError(Environment.GetResourceString("EventSource_UnsupportedEventTypeInManifest", type.Name), true);
system\reflection\customattribute.cs (7)
385fields[i].Name, CustomAttributeEncoding.Field, InitCustomAttributeType((RuntimeType)fields[i].FieldType));
388properties[i].Name, CustomAttributeEncoding.Property, InitCustomAttributeType((RuntimeType)properties[i].PropertyType));
644return String.Format(CultureInfo.CurrentCulture, "{0} = {1}", MemberInfo.Name, TypedValue.ToString(ArgumentType != typeof(object)));
671public string MemberName { get { return MemberInfo.Name; } }
922return String.Format(CultureInfo.CurrentCulture, typed ? "null" : "({0})null", ArgumentType.Name);
939result = String.Format(CultureInfo.CurrentCulture, @"new {0}[{1}] {{ ", elementType.IsEnum ? elementType.FullName : elementType.Name, array.Count);
947return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.Name);
system\reflection\emit\modulebuilder.cs (5)
582mr = GetMemberRefFromSignature(tr, con.Name, sigBytes, length);
761return GetMemberRefFromSignature(tkParent, method.Name, sigBytes, sigLength);
1881return GetArrayMethodToken(declaringType, method.Name, method.CallingConvention, method.ReturnType, tt);
1924mr = GetMemberRefFromSignature(tr, method.Name, sigBytes, length);
2198mr = GetMemberRefFromSignature(tr, field.Name, sigBytes, length);
system\runtime\interopservices\registrationservices.cs (10)
1024throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NonStaticComRegFunction",CurrentMethod.Name,currType.Name));
1026throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NonStaticComUnRegFunction",CurrentMethod.Name,currType.Name));
1037throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_InvalidComRegFunctionSig",CurrentMethod.Name,currType.Name));
1039throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_InvalidComUnRegFunctionSig",CurrentMethod.Name,currType.Name));
1046throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MultipleComRegFunctions",currType.Name));
1048throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MultipleComUnRegFunctions",currType.Name));
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (9)
377throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, typeof(T).MakeArrayType().Name), __HResults.TYPE_E_TYPEMISMATCH);
391Exception e = new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueArrayCoersion", this.Type, typeof(T).MakeArrayType().Name, i, elementCastException.Message), elementCastException);
414throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", type, typeof(T).Name), __HResults.TYPE_E_TYPEMISMATCH);
437throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", type, typeof(T).Name), __HResults.TYPE_E_TYPEMISMATCH);
440throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", type, typeof(T).Name), __HResults.TYPE_E_TYPEMISMATCH);
443throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueCoersion", type, value, typeof(T).Name), __HResults.DISP_E_OVERFLOW);
483throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", type, typeof(T).Name), __HResults.TYPE_E_TYPEMISMATCH);
518throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", _data.GetType(), expectedBoxedType.Name), __HResults.TYPE_E_TYPEMISMATCH);
540throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", _data.GetType(), expectedArrayElementType.MakeArrayType().Name), __HResults.TYPE_E_TYPEMISMATCH);
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (6)
178SerTrace.Log( this, objectInfoId," Constructor 1 memberInfos data ",cache.memberInfos[i].Name," ",memberData[i]);
354cache.memberNames[i] = cache.memberInfos[i].Name;
639cache.memberNames[i] = cache.memberInfos[i].Name;
758SerTrace.Log( this,objectInfoId," ", objectType," PopulateObjectMembers ",memberInfos[i].Name," ",memberData[i]);
837if (!memberMissing && inMemberNames[i].Equals(cache.memberInfos[i].Name))
845if (cache.memberInfos[i].Name.Equals(inMemberNames[j]))
system\runtime\serialization\objectmanager.cs (4)
478sb.Append("."+intermediateFields[i].Name);
480sb.Append("."+memberToFix.Name+"="+value);
590BCLDebug.Trace("SER", "[ObjectManager.CompleteObject]Fixing member: ", tempMember.Name, " in object ", holder.m_id,
1028BCLDebug.Trace("SER", "RecordFixup. ObjectToBeFixed: ", objectToBeFixed, "\tMember: ", member.Name, "\tRequiredObject: ", objectRequired);
system\threading\Tasks\FutureFactory.cs (4)
829AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
966AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
1111AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
1263AsyncCausalityTracer.TraceOperationCreation(CausalityTraceLevel.Required, promise.Id, "TaskFactory.FromAsync: " + beginMethod.Method.Name, 0);
src\Framework\MS\Internal\TraceData.cs (12)
110traceBuilder.Append(o.GetType().Name);
198traceBuilder.AppendFormat("'{0}' (Name='{1}')", fe.GetType().Name, fe.Name);
202traceBuilder.AppendFormat("'{0}' (HashCode={1})", o.GetType().Name, o.GetHashCode());
237traceBuilder.AppendFormat("target property is '{0}' (type '{1}')", targetProperty.Name, targetProperty.PropertyType.Name);
270return Format("{0} (hash={1} Count={2})", type.Name, AvTrace.GetHashCodeHelper(o), ic.Count);
272return Format("{0} (hash={1})", type.Name, AvTrace.GetHashCodeHelper(o));
278string name = type.Name;
291return Format("{0}({1})", dp.GetType().Name, dp.Name);
295return Format("{0}({1})", pi.GetType().Name, pi.Name);
299return Format("{0}({1})", pd.GetType().Name, pd.Name);
309return Format("{0} ({1})", ex.GetType().Name, AvTrace.AntiFormat(ex.Message));
src\Framework\System\Windows\Data\ObjectDataProvider.cs (4)
496e = new InvalidOperationException(SR.Get(SRID.ObjectDataProviderNonCLSException, _objectType.Name));
506TraceData.Trace(TraceEventType.Error, TraceData.ObjDPCreateFailed, _objectType.Name, error, e);
582e = new InvalidOperationException(SR.Get(SRID.ObjectDataProviderNonCLSExceptionInvoke, MethodName, _objectType.Name));
592TraceData.Trace(TraceEventType.Error, TraceData.ObjDPInvokeFailed, MethodName, _objectType.Name, error, e);
src\Framework\System\Windows\Data\XmlNamespaceMapping.cs (6)
50throw new InvalidOperationException(SR.Get(SRID.PropertyIsInitializeOnly, "Prefix", this.GetType().Name));
52throw new InvalidOperationException(SR.Get(SRID.PropertyIsImmutable, "Prefix", this.GetType().Name));
69throw new InvalidOperationException(SR.Get(SRID.PropertyIsInitializeOnly, "Uri", this.GetType().Name));
71throw new InvalidOperationException(SR.Get(SRID.PropertyIsImmutable, "Uri", this.GetType().Name));
147throw new InvalidOperationException(SR.Get(SRID.PropertyMustHaveValue, "Prefix", this.GetType().Name));
151throw new InvalidOperationException(SR.Get(SRID.PropertyMustHaveValue, "Uri", this.GetType().Name));
src\Framework\System\Windows\Documents\TextElement.cs (11)
865throw new ArgumentException(SR.Get(SRID.TextSchema_ThisInlineUIContainerHasAChildUIElementAlready, this.GetType().Name, ((InlineUIContainer)this).Child.GetType().Name, value.GetType().Name));
877throw new ArgumentException(SR.Get(SRID.TextSchema_ThisBlockUIContainerHasAChildUIElementAlready, this.GetType().Name, ((BlockUIContainer)this).Child.GetType().Name, value.GetType().Name));
893throw new ArgumentException(SR.Get(SRID.TextSchema_ChildTypeIsInvalid, this.GetType().Name, value.GetType().Name));
900throw new ArgumentException(SR.Get(SRID.TextSchema_ChildTypeIsInvalid, this.GetType().Name, value.GetType().Name));
944throw new InvalidOperationException(SR.Get(SRID.TextSchema_TextIsNotAllowed, this.GetType().Name));
src\Framework\System\Windows\Documents\TextElementCollection.cs (10)
260throw new InvalidOperationException(SR.Get(SRID.TextElementCollection_PreviousSiblingDoesNotBelongToThisCollection, previousSibling.GetType().Name));
265throw new ArgumentException(SR.Get(SRID.TextSchema_TheChildElementBelongsToAnotherTreeAlready, this.GetType().Name));
305throw new InvalidOperationException(SR.Get(SRID.TextElementCollection_NextSiblingDoesNotBelongToThisCollection, nextSibling.GetType().Name));
310throw new ArgumentException(SR.Get(SRID.TextSchema_TheChildElementBelongsToAnotherTreeAlready, this.GetType().Name));
356throw new ArgumentException(SR.Get(SRID.TextElementCollection_ItemHasUnexpectedType, "range", typeof(TextElementType).Name, typeof(TextElementType).Name), "value");
422throw new ArgumentException(SR.Get(SRID.TextElementCollection_TextElementTypeExpected, typeof(TextElementType).Name), "value");
480throw new ArgumentException(SR.Get(SRID.TextElementCollection_TextElementTypeExpected, typeof(TextElementType).Name), "value");
490throw new ArgumentException(SR.Get(SRID.TextSchema_TheChildElementBelongsToAnotherTreeAlready, this.GetType().Name));
594throw new ArgumentException(SR.Get(SRID.TextElementCollection_TextElementTypeExpected, typeof(TextElementType).Name), "value");
src\Framework\System\Windows\Markup\BamlRecordReader.cs (34)
1381ThrowException(SRID.ParserCantSetContentProperty, propertyDefinition.Name, propertyDefinition.PropertyInfo.ReflectedType.Name);
1590ThrowExceptionWithLine(SR.Get(SRID.ParserFailedToCreateFromConstructor, info.DeclaringType.Name), e);
1608ThrowException(SRID.ParserBadConstructorParams, elementType.Name, paramCount.ToString(CultureInfo.CurrentCulture));
2595propertyDefinition.PropertyInfo.Name,
2621propertyDefinition.PropertyInfo.Name,
2638propertyDefinition.AttachedPropertySetter.Name,
2649propertyDefinition.AttachedPropertySetter.Name,
2714ThrowExceptionWithLine(SR.Get(SRID.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e);
2878ThrowException(SRID.ParserCantCreateDelegate, reid.HandlerType.Name, attribValue);
2912ThrowException(SRID.ParserCantCreateDelegate, ei.EventHandlerType.Name, attribValue);
2924ThrowException(SRID.ParserCantSetAttribute, "event", ei.Name, "add");
3808((Type)propertyType.GetGenericArguments()[0]).Name,
3863value = OptionallyMakeNullable(propertyInfo.PropertyType, value, propertyInfo.Name);
3872value = OptionallyMakeNullable(methodInfo.GetParameters()[1].ParameterType, value, methodInfo.Name.Substring("Set".Length));
3923ThrowExceptionWithLine(SR.Get(SRID.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e);
4062propertyName, attribValue, propertyType.Name);
5032pi.Name,
5044ThrowException(SRID.ParserCantSetContentProperty, pi.Name, pi.ReflectedType.Name);
5052pi.Name,
5075value.GetType().Name,
5076container.GetType().Name),
5222return attribInfo.OwnerType.Name + "." + attribInfo.Name;
5229return pi.DeclaringType.Name + "." + pi.Name;
5300ThrowException(SRID.ParserNotMarkedPublic, type.Name);
5307ThrowException(SRID.ParserNotAllowedInternalType, type.Name);
5346ThrowException(SRID.ParserNotAllowedInternalType, type.Name);
5380type.Name, attribInfo.DP.Name);
5384ThrowExceptionWithLine(SR.Get(SRID.ParserNoDefaultConstructor, type.Name), e );
5399ThrowExceptionWithLine( SR.Get(SRID.ParserErrorCreatingInstance, type.Name, type.Assembly.FullName), e);
5934return this.PropertyInfo.Name;
5938return this.AttachedPropertySetter.Name.Substring("Set".Length);
5942return this.AttachedPropertyGetter.Name.Substring("Get".Length);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (13)
869string fullName = owner.IsGenericType ? owner.Namespace + "." + owner.Name : owner.FullName;
1412ThrowException(SRID.ParserEventDelegateTypeNotAccessible, ei.EventHandlerType.FullName, objectType.Name + "." + localName);
1435ThrowException(SRID.ParserCantSetAttribute, "event", objectType.Name + "." + localName, "add");
1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName),
1493owner.Name);
1572ThrowException(SRID.ParserEventDelegateTypeNotAccessible, ei.EventHandlerType.FullName, owner.Name + "." + localName);
1596ThrowException(SRID.ParserCantSetAttribute, "event", owner.Name + "." + localName, "add");
2044if (infos[i].Name == localName)
2190return propertyInfo.Name;
2197return methodInfo.Name.Substring("Get".Length);
2453ThrowException(SRID.ParserInvalidStaticMember, memberName, targetType.Name);
2652ThrowException(SRID.ParserPublicType, objectType.Name);
3733ThrowException(SRID.ParserNoTypeConv, type.Name);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (6)
227Fx.Assert(methodInfo != null, "It looks like MemberType did not match the type of MemberInfo: " + info.GetType().Name);
228return targetType.GetMethod(methodInfo.Name, _getInfoBindingFlags, null, ToTypeArray(methodInfo.GetParameters()), null);
237Fx.Assert(propInfo != null, "It looks like MemberType did not match the type of MemberInfo: " + info.GetType().Name);
238return targetType.GetProperty(propInfo.Name, _getInfoBindingFlags, null, propInfo.PropertyType, ToTypeArray(propInfo.GetIndexParameters()), null);
247Fx.Assert(eventInfo != null, "It looks like MemberType did not match the type of MemberInfo: " + info.GetType().Name);
248return targetType.GetEvent(eventInfo.Name, _getInfoBindingFlags);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\newitemfactorytypemodeltotypenameconverter.cs (1)
28return model.Type.Name;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\newitemfactory.cs (1)
65return type.Name;
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (15)
349this.GetType().Name, activeContainer == null ? "<null>" : activeContainer.GetHashCode().ToString(CultureInfo.InvariantCulture)));
452this.defaultCompositeView.GetType().Name, this.GetType().Name, this.defaultCompositeView.GetHashCode()));
484container.GetType().Name, this.GetType().Name, container.GetHashCode()));
502container.GetType().Name, this.GetType().Name));
547DateTime.Now.ToLocalTime(), this.GetType().Name, selection.SelectionCount, becomesSelection, e.OriginalSource));
642DateTime.Now.ToLocalTime(), this.GetType().Name, shouldSetFocus, this.IsMouseCaptured, e.OriginalSource));
650DateTime.Now.ToLocalTime(), this.GetType().Name));
814DateTime.Now.ToLocalTime(), this.GetType().Name, this.IsMouseCaptured));
1119StringBuilder name = new StringBuilder(itemType.Name);
1123name.Append(argument.Name);
1131return itemType.Name;
1147return this.owner.GetType().Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (1)
57string typeName = type.Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (6)
227Fx.Assert(methodInfo != null, "It looks like MemberType did not match the type of MemberInfo: " + info.GetType().Name);
228return targetType.GetMethod(methodInfo.Name, _getInfoBindingFlags, null, ToTypeArray(methodInfo.GetParameters()), null);
237Fx.Assert(propInfo != null, "It looks like MemberType did not match the type of MemberInfo: " + info.GetType().Name);
238return targetType.GetProperty(propInfo.Name, _getInfoBindingFlags, null, propInfo.PropertyType, ToTypeArray(propInfo.GetIndexParameters()), null);
247Fx.Assert(eventInfo != null, "It looks like MemberType did not match the type of MemberInfo: " + info.GetType().Name);
248return targetType.GetEvent(eventInfo.Name, _getInfoBindingFlags);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryListAutomationPeer.cs (1)
68return typeof(ItemsControl).Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\PropertyContainerAutomationPeer.cs (1)
84return typeof(PropertyContainer).Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\PropertyInspectorAutomationPeer.cs (1)
94return typeof(PropertyInspector).Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\SubPropertyEditorAutomationPeer.cs (1)
64return typeof(SubPropertyEditor).Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\newitemfactorytypemodeltotypenameconverter.cs (1)
28return model.Type.Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\CategoryEditor.cs (1)
79typeof(CategoryEditor).Name)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\newitemfactory.cs (1)
65return type.Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (1)
26target = editedType.Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (15)
349this.GetType().Name, activeContainer == null ? "<null>" : activeContainer.GetHashCode().ToString(CultureInfo.InvariantCulture)));
452this.defaultCompositeView.GetType().Name, this.GetType().Name, this.defaultCompositeView.GetHashCode()));
484container.GetType().Name, this.GetType().Name, container.GetHashCode()));
502container.GetType().Name, this.GetType().Name));
547DateTime.Now.ToLocalTime(), this.GetType().Name, selection.SelectionCount, becomesSelection, e.OriginalSource));
642DateTime.Now.ToLocalTime(), this.GetType().Name, shouldSetFocus, this.IsMouseCaptured, e.OriginalSource));
650DateTime.Now.ToLocalTime(), this.GetType().Name));
814DateTime.Now.ToLocalTime(), this.GetType().Name, this.IsMouseCaptured));
1119StringBuilder name = new StringBuilder(itemType.Name);
1123name.Append(argument.Name);
1131return itemType.Name;
1147return this.owner.GetType().Name;
fx\src\data\System\Data\Common\AdapterUtil.cs (33)
280ObjectDisposedException e = new ObjectDisposedException(instance.GetType().Name);
409return ADP.ArgumentOutOfRange(Res.GetString(Res.ADP_InvalidEnumerationValue, type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name);
413return ADP.ArgumentOutOfRange(Res.GetString(Res.ADP_NotSupportedEnumerationValue, type.Name, value, method), type.Name);
935return Argument(Res.GetString(Res.ADP_CollectionRemoveInvalidObject, itemType.Name, collection.GetType().Name)); // MDAC 68201
938return ArgumentNull(parameter, Res.GetString(Res.ADP_CollectionNullValue, collection.Name, itemType.Name));
941return IndexOutOfRange(Res.GetString(Res.ADP_CollectionIndexInt32, index.ToString(CultureInfo.InvariantCulture), collection.Name, count.ToString(CultureInfo.InvariantCulture)));
944return IndexOutOfRange(Res.GetString(Res.ADP_CollectionIndexString, itemType.Name, propertyName, propertyValue, collection.Name));
947return InvalidCast(Res.GetString(Res.ADP_CollectionInvalidType, collection.Name, itemType.Name, invalidValue.GetType().Name));
950return Argument(Res.GetString(Res.ADP_CollectionUniqueValue, itemType.Name, propertyName, propertyValue));
953return Argument(Res.GetString(Res.ADP_CollectionIsNotParent, parameterType.Name, collection.GetType().Name));
956return Argument(Res.GetString(Res.ADP_CollectionIsNotParent, parameterType.Name, collection.GetType().Name));
992return DataMapping(Res.GetString(Res.ADP_ColumnSchemaMismatch, srcColumn, srcType.Name, column.ColumnName, column.DataType.Name));
1230return InvalidCast(Res.GetString(Res.ADP_InvalidImplicitConversion, fromtype.Name, totype));
1373return DataAdapter(Res.GetString(Res.ADP_DeriveParametersNotSupported, value.GetType().Name, value.CommandType.ToString()));
1376return InvalidOperation(Res.GetString(Res.ADP_UninitializedParameterSize, index.ToString(CultureInfo.InvariantCulture), dataType.Name));
1379return InvalidOperation(Res.GetString(Res.ADP_PrepareParameterType, cmd.GetType().Name));
1382return InvalidOperation(Res.GetString(Res.ADP_PrepareParameterSize, cmd.GetType().Name));
1385return InvalidOperation(Res.GetString(Res.ADP_PrepareParameterScale, cmd.GetType().Name, type));
1570return Argument(Res.GetString(Res.ADP_DbTypeNotSupported, type.ToString(), enumtype.Name));
1600string message = Res.GetString(Res.ADP_ParameterConversionFailed, value.GetType().Name, destType.Name);
1640return InvalidOperation(Res.GetString(Res.ADP_ParallelTransactionsNotSupported, obj.GetType().Name));
1643return InvalidOperation(Res.GetString(Res.ADP_TransactionZombied, obj.GetType().Name));
fx\src\data\System\Data\DataException.cs (4)
317string msg = Res.GetString(Res.ADP_InvalidEnumerationValue, typeof(T).Name, value.ToString());
689return _Argument(innerException.Message + Res.GetString(Res.DataColumn_SetFailed, value.ToString(), column.ColumnName, type.Name), innerException);
1158return _InvalidEnumArgumentException(Res.GetString(Res.ADP_InvalidEnumerationValue, enumType.Name, mode));
1247return _Data(Res.GetString(Res.DataStorage_AggregateException, aggregateType.ToString(), type.Name));
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (6)
129DynamicMethod method = CreateDynamicMethod(mi.Name, typeof(void), new Type[] { typeof(object), typeof(object) });
171DynamicMethod method = CreateDynamicMethod(ci.DeclaringType.Name, typeof(object), Type.EmptyTypes);
221DynamicMethod method = CreateDynamicMethod(mi.Name, typeof(object), new Type[] { typeof(object) });
315DynamicMethod method = CreateDynamicMethod(mi.Name, typeof(void), new Type[] { typeof(object), typeof(object) });
386gen.Emit(OpCodes.Ldstr, mi.DeclaringType.Name);
387gen.Emit(OpCodes.Ldstr, mi.Name.Substring(4)); // substring to strip "set_"
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (11)
294string cspaceTypeName = String.IsNullOrEmpty(typeAttribute.Name) ? clrType.Name : typeAttribute.Name;
540SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_InvalidNavPropReturnType(propertyInfo.Name, propertyInfo.DeclaringType.FullName, propertyInfo.PropertyType.FullName), null));
559NavigationProperty navigationProperty = new NavigationProperty(propertyInfo.Name, TypeUsage.Create(propertyType), propertyInfo);
576propertyInfo.Name, propertyInfo.DeclaringType.FullName, attribute.TargetRoleName, attribute.RelationshipName), navigationProperty));
596propertyInfo.Name, propertyInfo.DeclaringType.FullName, attribute.RelationshipName), declaringType));
630SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ScalarPropertyNotPrimitive(property.Name, property.DeclaringType.FullName, property.PropertyType.FullName), null));
641member = new EdmProperty(property.Name,
669clrProperty.Name,
678clrProperty.Name,
703SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ComplexPropertyNotComplex(clrProperty.Name, clrProperty.DeclaringType.FullName, clrProperty.PropertyType.FullName), null));
707EdmProperty newProperty = new EdmProperty(clrProperty.Name,
System\Data\Objects\Internal\EntityProxyFactory.cs (21)
315propertyInfo.Name),
318string propertyName = propertyInfo.Name;
352string propertyName = propertyInfo.Name;
714string baseName = BaseType.Name.Length <= 20 ? BaseType.Name : BaseType.Name.Substring(0, 20);
743MethodBuilder getterBuilder = typeBuilder.DefineMethod("get_" + baseProperty.Name, getterAccess | getterAttributes, baseProperty.PropertyType, Type.EmptyTypes);
763MethodBuilder setterBuilder = typeBuilder.DefineMethod("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
890FieldBuilder interceptorField = typeBuilder.DefineField(GetInterceptorFieldName(baseProperty.Name), interceptorType, FieldAttributes.Private | FieldAttributes.Static);
893MethodBuilder getterBuilder = typeBuilder.DefineMethod("get_" + baseProperty.Name, getterAccess | getterAttributes, baseProperty.PropertyType, Type.EmptyTypes);
993gen.Emit(OpCodes.Ldstr, _baseGetters[i].Name);
1016gen.Emit(OpCodes.Ldstr, _baseSetters[i].Name);
1072_implementIEntityWithChangeTracker = (null == baseType.GetInterface(typeof(IEntityWithChangeTracker).Name));
1073_implementIEntityWithRelationships = (null == baseType.GetInterface(typeof(IEntityWithRelationships).Name));
1160DynamicMethod initializeEntityCollections = LightweightCodeGenerator.CreateDynamicMethod(proxyType.Name + "_InitializeEntityCollections", typeof(IEntityWrapper), new Type[] { typeof(IEntityWrapper) });
1230MethodBuilder setterBuilder = typeBuilder.DefineMethod("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
1327generator.Emit(OpCodes.Ldstr, baseProperty.Name);
1333generator.Emit(OpCodes.Ldstr, baseProperty.Name);
1354MethodBuilder setterBuilder = typeBuilder.DefineMethod("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
1376MethodBuilder setterBuilder = typeBuilder.DefineMethod("set_" + baseProperty.Name, methodAccess | methodAttributes, null, new Type[] { baseProperty.PropertyType });
1627MethodBuilder proxyGetObjectData = typeBuilder.DefineMethod(_getObjectDataMethod.Name,
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (7)
484throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_GetWebSocketVersionFailed, this.connectionFactory.GetType().Name), e));
490throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidWebSocketVersion, this.connectionFactory.GetType().Name)));
499throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidWebSocketVersion, this.connectionFactory.GetType().Name), e));
525throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_CreateWebSocketFailed, this.connectionFactory.GetType().Name), e));
531throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidWebSocket, this.connectionFactory.GetType().Name)));
536throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidWebSocket, this.connectionFactory.GetType().Name)));
545throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.ClientWebSocketFactory_InvalidSubProtocol, this.connectionFactory.GetType().Name, obtained, requested)));
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (11)
66SR.GetString(SR.HttpMessageHandlerTypeNotSupported, "null", delegatingHandlerType.Name));
73SR.GetString(SR.HttpMessageHandlerTypeNotSupported, handler.Name, delegatingHandlerType.Name));
81SR.GetString(SR.HttpMessageHandlerTypeNotSupported, handler.Name, delegatingHandlerType.Name));
159typeof(HttpMessageHandlerFactory).Name,
200throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.HttpMessageHandlerFactoryWithFuncCannotGenerateConfig, typeof(HttpMessageHandlerFactory).Name, typeof(Func<IEnumerable<DelegatingHandler>>).Name)));
257throw FxTrace.Exception.Argument("handlers", SR.GetString(SR.DelegatingHandlerArrayFromFuncContainsNullItem, delegatingHandlerType.Name, GetFuncDetails(this.handlerFunc)));
286throw FxTrace.Exception.Argument("handlers", SR.GetString(SR.DelegatingHandlerArrayHasNonNullInnerHandler, delegatingHandlerType.Name, "InnerHandler", handler.GetType().Name));
302return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", t.FullName, m.Name);
System\ServiceModel\Description\ServiceReflector.cs (32)
53int nameEnd = t.Name.IndexOf('`');
54string result = nameEnd > 0 ? t.Name.Substring(0, nameEnd) : t.Name;
68return t.Name;
386throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ServicesWithoutAServiceContractAttributeCan2, operationContractProviderType.Name, method.Name, service.FullName)));
473SR.GetString(SR.SFxErrorReflectingOnType2, attrType.Name, type.Name), e));
479attrType.Name, method.Name, method.ReflectedType.Name), e));
488attrType.Name, param.Name, method.Name, method.ReflectedType.Name), e));
492SR.GetString(SR.SFxErrorReflectionOnUnknown1, attrType.Name), e));
654throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.AttemptedToGetContractTypeForButThatTypeIs1, interfaceType.Name)));
675SR.GetString(SR.SFxNoMostDerivedContract, interfaceType.Name)));
718methodInfo.Name, methodInfo.DeclaringType.Name)));
727methodInfo.Name, methodInfo.DeclaringType.Name)));
844throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.NoEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
848throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MoreThanOneEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
859throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.InvalidAsyncEndMethodSignatureForMethod2, endMethod.Name, endMethod.DeclaringType.FullName)));
875if (!method.Name.StartsWith(BeginMethodNamePrefix, StringComparison.Ordinal) ||
892throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.InvalidAsyncBeginMethodSignatureForMethod2, method.Name, method.DeclaringType.FullName)));
935if (!method.Name.StartsWith(EndMethodNamePrefix, StringComparison.Ordinal) ||
978return method.Name.Substring(BeginMethodNamePrefix.Length);
980else if (isTask && method.Name.EndsWith(AsyncMethodNameSuffix, StringComparison.Ordinal))
982return method.Name.Substring(0, method.Name.Length - AsyncMethodNameSuffix.Length);
986return method.Name;
System\ServiceModel\Description\TypeLoader.cs (99)
144SR.SFxOperationContractOnNonServiceContract, methodInfo.Name, aParentType.Name)));
149SR.SFxOperationContractProviderOnNonServiceContract, operationContractProviderType.Name, methodInfo.Name, aParentType.Name)));
490opDesc.SyncMethod.Name,
492opDesc.BeginMethod.Name,
493opDesc.EndMethod.Name,
501opDesc.SyncMethod.Name,
503opDesc.TaskMethod.Name,
511opDesc.TaskMethod.Name,
513opDesc.BeginMethod.Name,
514opDesc.EndMethod.Name,
625String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
637SR.GetString(SR.SFxOperationBehaviorAttributeOnlyOnServiceClass, methodInfo.Name, contractToGetMethodsFrom.Name)));
656throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.SFxInvalidCallbackContractType, callbackType.Name)));
677inheritedContractType.Name, inheritedContractAttr.CallbackContract.Name, contractType.Name)));
683inheritedContractType.Name, contractType.Name)));
811methodInfo.Name, reflectionInfo.iface)));
831string method1Name = existingOp.OperationMethod.Name;
832string method2Name = methodInfo.Name;
837string method1Name = existingOp.BeginMethod.Name;
838string method2Name = methodInfo.Name;
843string method1Name = existingOp.SyncMethod.Name;
844string method2Name = methodInfo.Name;
1078string methodName = methodInfo.Name;
1321new XmlName(memberInfo.Name),
1329new XmlName(memberInfo.Name),
1336new XmlName(memberInfo.Name),
1558this.syncOperation.SyncMethod.Name,
1560this.asyncOperation.BeginMethod.Name,
1561this.asyncOperation.EndMethod.Name,
1574this.syncOperation.SyncMethod.Name,
1576this.asyncOperation.BeginMethod.Name,
1577this.asyncOperation.EndMethod.Name,
1591this.syncOperation.SyncMethod.Name,
1593this.asyncOperation.BeginMethod.Name,
1594this.asyncOperation.EndMethod.Name,
1606this.syncOperation.SyncMethod.Name,
1608this.asyncOperation.BeginMethod.Name,
1609this.asyncOperation.EndMethod.Name,
1620this.syncOperation.SyncMethod.Name,
1622this.asyncOperation.BeginMethod.Name,
1623this.asyncOperation.EndMethod.Name,
1625typeof(FaultContractAttribute).Name)));
1636this.syncOperation.SyncMethod.Name,
1638this.asyncOperation.BeginMethod.Name,
1639this.asyncOperation.EndMethod.Name,
1641typeof(ServiceKnownTypeAttribute).Name)));
1651this.syncOperation.SyncMethod.Name,
1653this.asyncOperation.BeginMethod.Name,
1654this.asyncOperation.EndMethod.Name,
1668this.syncOperation.SyncMethod.Name,
1670this.asyncOperation.BeginMethod.Name,
1671this.asyncOperation.EndMethod.Name,
1700this.syncOperation.SyncMethod.Name,
1702this.taskOperation.TaskMethod.Name,
1715this.syncOperation.SyncMethod.Name,
1717this.taskOperation.TaskMethod.Name,
1729this.syncOperation.SyncMethod.Name,
1731this.taskOperation.TaskMethod.Name,
1742this.syncOperation.SyncMethod.Name,
1744this.taskOperation.TaskMethod.Name,
1746typeof(FaultContractAttribute).Name)));
1757this.syncOperation.SyncMethod.Name,
1759this.taskOperation.TaskMethod.Name,
1761typeof(ServiceKnownTypeAttribute).Name)));
1771this.syncOperation.SyncMethod.Name,
1773this.taskOperation.TaskMethod.Name,
1787this.syncOperation.SyncMethod.Name,
1789this.taskOperation.TaskMethod.Name,
1818this.taskOperation.TaskMethod.Name,
1820this.asyncOperation.BeginMethod.Name,
1821this.asyncOperation.EndMethod.Name,
1834this.taskOperation.TaskMethod.Name,
1836this.asyncOperation.BeginMethod.Name,
1837this.asyncOperation.EndMethod.Name,
1849this.taskOperation.TaskMethod.Name,
1851this.asyncOperation.BeginMethod.Name,
1852this.asyncOperation.EndMethod.Name,
1863this.taskOperation.TaskMethod.Name,
1865this.asyncOperation.BeginMethod.Name,
1866this.asyncOperation.EndMethod.Name,
1868typeof(FaultContractAttribute).Name)));
1879this.taskOperation.TaskMethod.Name,
1881this.asyncOperation.BeginMethod.Name,
1882this.asyncOperation.EndMethod.Name,
1884typeof(ServiceKnownTypeAttribute).Name)));
1894this.taskOperation.TaskMethod.Name,
1896this.asyncOperation.BeginMethod.Name,
1897this.asyncOperation.EndMethod.Name,
1911this.taskOperation.TaskMethod.Name,
1913this.asyncOperation.BeginMethod.Name,
1914this.asyncOperation.EndMethod.Name,
System\ServiceModel\Dispatcher\AsyncMethodInvoker.cs (9)
102StartOperationInvokePerformanceCounters(this.beginMethod.Name.Substring(ServiceReflector.BeginMethodNamePrefix.Length));
113StartOperationInvokeTrace(this.beginMethod.Name);
124this.beginMethod.DeclaringType.FullName, this.beginMethod.Name);
129this.beginMethod.DeclaringType.FullName, this.beginMethod.Name,
130this.endMethod.DeclaringType.FullName, this.endMethod.Name);
164StopOperationInvokeTrace(callFailed, callFaulted, this.EndMethod.Name);
165StopOperationInvokePerformanceCounters(callFailed, callFaulted, endMethod.Name.Substring(ServiceReflector.EndMethodNamePrefix.Length));
242StopOperationInvokeTrace(callFailed, callFaulted, this.endMethod.Name);
243StopOperationInvokePerformanceCounters(callFailed, callFaulted, this.endMethod.Name.Substring(ServiceReflector.EndMethodNamePrefix.Length));
Profile\HttpProfileBase.cs (4)
406baseProperties.Add(baseProp.Name, String.Empty);
412if (baseProperties[prop.Name] == null) { //not in the base class
432throw new ConfigurationErrorsException(SR.GetString(SR.Annoymous_id_module_not_enabled, prop.Name), config.ElementInformation.Properties["inherits"].Source, config.ElementInformation.Properties["inherits"].LineNumber);
455SettingsProperty sp = new SettingsProperty(prop.Name, prop.PropertyType, prov, readOnly, defaultValue, serializeAs, settings, false, true);
System\Xml\Schema\XmlValueConverter.cs (8)
543return new InvalidCastException(Res.GetString(Res.XmlConvert_TypeBadMapping, XmlTypeName, sourceType.Name));
545return new InvalidCastException(Res.GetString(Res.XmlConvert_TypeBadMapping2, XmlTypeName, sourceType.Name, destinationType.Name));
2617throw new InvalidCastException(Res.GetString(Res.XmlConvert_TypeToString, XmlTypeName, sourceType.Name));
2620throw new InvalidCastException(Res.GetString(Res.XmlConvert_TypeFromString, XmlTypeName, destinationType.Name));
3301return new InvalidCastException(Res.GetString(Res.XmlConvert_TypeListBadMapping, XmlTypeName, sourceType.Name));
3303return new InvalidCastException(Res.GetString(Res.XmlConvert_TypeListBadMapping2, XmlTypeName, sourceType.Name, destinationType.Name));
System\Xml\Serialization\Mappings.cs (7)
1071throw new InvalidOperationException(Res.GetString(Res.XmlSerializableSchemaError, typeof(IXmlSerializable).Name, args.Message));
1144throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaEmptyTypeName, type.FullName, getSchemaMethod.Name));
1148throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaMethodReturnType, type.Name, getSchemaMethod.Name, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName));
1170throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaInclude, xsiType.Namespace, getSchemaMethod.DeclaringType.FullName, getSchemaMethod.Name));
1178throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaTypeMissing, getSchemaMethod.DeclaringType.FullName, getSchemaMethod.Name, xsiType.Name, xsiType.Namespace));
System\Xml\Serialization\Models.cs (8)
170throw new InvalidOperationException(Res.GetString(Res.XmlSerializerUnsupportedMember, member.DeclaringType.FullName + "." + member.Name, type.FullName), typeDesc.Exception);
245this.name = memberInfo.Name;
249this.checkShouldPersistMethodInfo = memberInfo.DeclaringType.GetMethod("ShouldSerialize" + memberInfo.Name, new Type[0]);
252FieldInfo specifiedField = memberInfo.DeclaringType.GetField(memberInfo.Name + "Specified");
255throw new InvalidOperationException(Res.GetString(Res.XmlInvalidSpecifiedType, specifiedField.Name, specifiedField.FieldType.FullName, typeof(bool).FullName));
261PropertyInfo specifiedProperty = memberInfo.DeclaringType.GetProperty(memberInfo.Name + "Specified");
268throw new InvalidOperationException(Res.GetString(Res.XmlInvalidSpecifiedType, specifiedProperty.Name, specifiedProperty.PropertyType.FullName, typeof(bool).FullName));
330get { return fieldInfo.Name; }
System\Xml\Serialization\Types.cs (10)
118: this(type.Name, type.FullName, dataType, TypeKind.Primitive, (TypeDesc)null, flags, formatterName) {
744arrayElementType = GetCollectionElementType(type, memberInfo == null ? null : memberInfo.DeclaringType.FullName + "." + memberInfo.Name);
802exception = new NotSupportedException(Res.GetString(Res.XmlUnsupportedInterfaceDetails, memberInfo.DeclaringType.FullName + "." + memberInfo.Name, type.FullName));
888string name = t.Name;
909return t.Name;
967throw new InvalidOperationException(Res.GetString(Res.XmlReadOnlyPropertyError, propertyInfo.DeclaringType, propertyInfo.Name));
1060if (info.Name == memberInfoToBeReplaced.Name)
1072if (info.Name == memberInfoToBeReplaced.Name)
System\Xml\Serialization\XmlReflectionImporter.cs (14)
229XmlAttributes attrs = attributeOverrides[memberInfo.DeclaringType, memberInfo.Name];
404throw new InvalidOperationException(Res.GetString(Res.XmlSerializableAttributes, model.TypeDesc.FullName, typeof(XmlSchemaProviderAttribute).Name));
436throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaMethodMissing, provider.MethodName, typeof(XmlSchemaSet).Name, type.FullName));
439throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaMethodReturnType, type.Name, provider.MethodName, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName, typeof(XmlSchemaType).FullName));
513throw new InvalidOperationException(Res.GetString(Res.XmlSerializableSchemaError, typeof(IXmlSerializable).Name, args.Message));
527throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaInclude, baseQname.Namespace, typeof(IXmlSerializable).Name, "GetSchema"));
1366throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.ArrayElementTypeDesc.FullName, typeof(IXmlSerializable).Name));
1624throw new InvalidOperationException(Res.GetString(Res.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.FullName, typeof(IXmlSerializable).Name));
1812throw new InvalidOperationException(Res.GetString(Res.XmlChoiceIdentiferMissing, typeof(XmlChoiceIdentifierAttribute).Name, accessorName));
1821throw new InvalidOperationException(Res.GetString(Res.XmlChoiceIdentiferMissing, typeof(XmlChoiceIdentifierAttribute).Name, accessorName));
1833throw new InvalidOperationException(Res.GetString(Res.XmlArrayItemAmbiguousTypes, accessorName, item.ElementName, items[i].ElementName, typeof(XmlElementAttribute).Name, typeof(XmlChoiceIdentifierAttribute).Name, accessorName));
1965typeName = type.Name;