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
87
flags:
EventManifestOptions
.Strict);
mscorlib (1)
parent\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)
src\runtime\artifacts\obj\System.Diagnostics.Tracing\Release\net11.0\System.Diagnostics.Tracing.Forwards.cs (1)
18
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.
EventManifestOptions
))]
System.Private.CoreLib (32)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (25)
386
return GetName(eventSourceType,
EventManifestOptions
.None);
413
return GenerateManifest(eventSourceType, assemblyPathToIncludeInManifest,
EventManifestOptions
.None);
436
EventManifestOptions
flags)
1757
private static string GetName(Type eventSourceType,
EventManifestOptions
flags)
2265
ManifestBuilder manifestBuilder = new ManifestBuilder(Name, Guid, Name, null,
EventManifestOptions
.None);
3010
EventManifestOptions
flags =
EventManifestOptions
.None)
3014
if (!member.Module.Assembly.ReflectionOnly && (flags &
EventManifestOptions
.AllowEventSourceOverride) == 0)
3042
EventManifestOptions
flags =
EventManifestOptions
.None)
3049
if (eventSourceType.IsAbstract && (flags &
EventManifestOptions
.Strict) == 0)
3059
if (source != null || (flags &
EventManifestOptions
.Strict) != 0)
3093
if ((flags &
EventManifestOptions
.Strict) != 0)
3095
bool typeMatch = GetEventSourceBaseType(eventSourceType, (flags &
EventManifestOptions
.AllowEventSourceOverride) != 0, eventSourceType.Assembly.ReflectionOnly) != null;
3247
if (noTask && (flags &
EventManifestOptions
.Strict) != 0) // Throw an error if we can compatibly.
3268
if (source != null || (flags &
EventManifestOptions
.Strict) != 0)
3312
bNeedsManifest = (flags &
EventManifestOptions
.OnlyIfNeededForRegistration) == 0 || manifest.GetChannelData().Length > 0;
3315
if (!bNeedsManifest && (flags &
EventManifestOptions
.Strict) == 0)
3325
if ((flags &
EventManifestOptions
.Strict) == 0)
3331
if ((flags &
EventManifestOptions
.Strict) != 0 && (manifest?.Errors.Count > 0 || exception != null))
3362
EventManifestOptions
flags =
EventManifestOptions
.None)
3367
if (!member.Module.Assembly.ReflectionOnly && (flags &
EventManifestOptions
.AllowEventSourceOverride) == 0)
3604
ManifestBuilder manifest,
EventManifestOptions
options)
3633
if ((options &
EventManifestOptions
.Strict) == 0)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\ManifestBuilder.cs (7)
25
EventManifestOptions
flags) : this(resources, flags)
50
internal ManifestBuilder(ResourceManager? resources,
EventManifestOptions
flags)
68
if ((flags &
EventManifestOptions
.Strict) != 0)
86
if ((flags &
EventManifestOptions
.Strict) != 0)
109
if ((flags &
EventManifestOptions
.Strict) != 0)
355
if ((flags &
EventManifestOptions
.Strict) != 0)
930
private readonly
EventManifestOptions
flags;