30 references to ManifestError
System.Private.CoreLib (30)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (30)
3210manifest.ManifestError(SR.EventSource_TypeMustDeriveFromEventSource); 3214manifest.ManifestError(SR.EventSource_TypeMustBeSealedOrAbstract); 3226manifest.ManifestError(SR.Format(SR.EventSource_AbstractMustNotDeclareKTOC, nestedType.Name)); 3268manifest.ManifestError(SR.Format(SR.EventSource_AbstractMustNotDeclareEventMethods, method.Name, eventAttribute.EventId)); 3297manifest.ManifestError(SR.EventSource_NeedPositiveId, true); 3302manifest.ManifestError(SR.Format(SR.EventSource_EventMustNotBeExplicitImplementation, method.Name, eventAttribute.EventId)); 3508manifest.ManifestError(SR.Format(SR.EventSource_EnumKindMismatch, staticField.FieldType.Name, providerEnumKind)); 3607manifest.ManifestError(SR.Format(SR.EventSource_MismatchIdToWriteEvent, evtName, evtId, eventArg), true); 3612manifest.ManifestError(SR.Format(SR.EventSource_EventIdReused, evtName, evtId), true); 3626manifest.ManifestError(SR.Format(SR.EventSource_TaskOpcodePairReused, 3651manifest.ManifestError(SR.Format(SR.EventSource_EventMustHaveTaskIfNonDefaultOpcode, evtName, evtId)); 3668manifest.ManifestError(SR.Format(SR.EventSource_EventNameReused, evtName), true); 5350ManifestError(SR.Format(SR.EventSource_IllegalOpcodeValue, name, value)); 5355ManifestError(SR.Format(SR.EventSource_OpcodeCollision, name, prevName, value)); 5368ManifestError(SR.Format(SR.EventSource_IllegalTaskValue, name, value)); 5373ManifestError(SR.Format(SR.EventSource_TaskCollision, name, prevName, value)); 5385ManifestError(SR.Format(SR.EventSource_KeywordNeedPowerOfTwo, $"0x{value:x}", name), true); 5391ManifestError(SR.Format(SR.EventSource_IllegalKeywordsValue, name, $"0x{value:x}")); 5396ManifestError(SR.Format(SR.EventSource_KeywordCollision, name, prevName, $"0x{value:x}")); 5411ManifestError(SR.Format(SR.EventSource_EventChannelOutOfRange, name, value)); 5417ManifestError(SR.Format(SR.EventSource_ChannelTypeDoesNotMatchEventChannelValue, 5595ManifestError(SR.EventSource_MaxChannelExceeded); 5862ManifestError(SR.Format(SR.EventSource_DuplicateStringKey, key), true); 5914ManifestError(SR.Format(SR.EventSource_UndefinedChannel, channel, eventName)); 5926ManifestError(SR.Format(SR.EventSource_UndefinedChannel, channel, eventName)); 5934ManifestError(SR.Format(SR.EventSource_EventWithAdminChannelMustHaveMessage, eventName, info.Name)); 5978ManifestError(SR.Format(SR.EventSource_UndefinedOpcode, opcode, eventName), true); 6006ManifestError(SR.Format(SR.EventSource_UndefinedKeyword, "0x" + bit.ToString("x", CultureInfo.CurrentCulture), eventName), true); 6076ManifestError(SR.Format(SR.EventSource_UnsupportedEventTypeInManifest, type.Name), true); 6150ManifestError(SR.Format(SR.EventSource_UnsupportedMessageProperty, evtName, eventMessage));