38 references to EventManifestOptions
Microsoft.AspNetCore.InternalTesting (3)
Tracing\EventSourceValidator.cs (3)
30/// Uses <see cref="EventSource.GenerateManifest(Type, string, EventManifestOptions)"/> with 31/// <see cref="EventManifestOptions.Strict"/> to perform IL-level validation that the integer 87flags: EventManifestOptions.Strict);
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
205[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventManifestOptions))]
netstandard (1)
netstandard.cs (1)
727[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventManifestOptions))]
System.Diagnostics.Tracing (1)
artifacts\obj\System.Diagnostics.Tracing\Debug\net11.0\System.Diagnostics.Tracing.Forwards.cs (1)
18[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventManifestOptions))]
System.Private.CoreLib (32)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (25)
386return GetName(eventSourceType, EventManifestOptions.None); 413return GenerateManifest(eventSourceType, assemblyPathToIncludeInManifest, EventManifestOptions.None); 436EventManifestOptions flags) 1757private static string GetName(Type eventSourceType, EventManifestOptions flags) 2268ManifestBuilder manifestBuilder = new ManifestBuilder(Name, Guid, Name, null, EventManifestOptions.None); 3013EventManifestOptions flags = EventManifestOptions.None) 3017if (!member.Module.Assembly.ReflectionOnly && (flags & EventManifestOptions.AllowEventSourceOverride) == 0) 3045EventManifestOptions flags = EventManifestOptions.None) 3052if (eventSourceType.IsAbstract && (flags & EventManifestOptions.Strict) == 0) 3062if (source != null || (flags & EventManifestOptions.Strict) != 0) 3096if ((flags & EventManifestOptions.Strict) != 0) 3098bool typeMatch = GetEventSourceBaseType(eventSourceType, (flags & EventManifestOptions.AllowEventSourceOverride) != 0, eventSourceType.Assembly.ReflectionOnly) != null; 3250if (noTask && (flags & EventManifestOptions.Strict) != 0) // Throw an error if we can compatibly. 3271if (source != null || (flags & EventManifestOptions.Strict) != 0) 3315bNeedsManifest = (flags & EventManifestOptions.OnlyIfNeededForRegistration) == 0 || manifest.GetChannelData().Length > 0; 3318if (!bNeedsManifest && (flags & EventManifestOptions.Strict) == 0) 3328if ((flags & EventManifestOptions.Strict) == 0) 3334if ((flags & EventManifestOptions.Strict) != 0 && (manifest?.Errors.Count > 0 || exception != null)) 3365EventManifestOptions flags = EventManifestOptions.None) 3370if (!member.Module.Assembly.ReflectionOnly && (flags & EventManifestOptions.AllowEventSourceOverride) == 0) 3607ManifestBuilder manifest, EventManifestOptions options) 3636if ((options & EventManifestOptions.Strict) == 0)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\ManifestBuilder.cs (7)
25EventManifestOptions flags) : this(resources, flags) 50internal ManifestBuilder(ResourceManager? resources, EventManifestOptions flags) 68if ((flags & EventManifestOptions.Strict) != 0) 86if ((flags & EventManifestOptions.Strict) != 0) 109if ((flags & EventManifestOptions.Strict) != 0) 355if ((flags & EventManifestOptions.Strict) != 0) 930private readonly EventManifestOptions flags;