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)
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)
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)
2268
ManifestBuilder manifestBuilder = new ManifestBuilder(Name, Guid, Name, null,
EventManifestOptions
.None);
3013
EventManifestOptions
flags =
EventManifestOptions
.None)
3017
if (!member.Module.Assembly.ReflectionOnly && (flags &
EventManifestOptions
.AllowEventSourceOverride) == 0)
3045
EventManifestOptions
flags =
EventManifestOptions
.None)
3052
if (eventSourceType.IsAbstract && (flags &
EventManifestOptions
.Strict) == 0)
3062
if (source != null || (flags &
EventManifestOptions
.Strict) != 0)
3096
if ((flags &
EventManifestOptions
.Strict) != 0)
3098
bool typeMatch = GetEventSourceBaseType(eventSourceType, (flags &
EventManifestOptions
.AllowEventSourceOverride) != 0, eventSourceType.Assembly.ReflectionOnly) != null;
3250
if (noTask && (flags &
EventManifestOptions
.Strict) != 0) // Throw an error if we can compatibly.
3271
if (source != null || (flags &
EventManifestOptions
.Strict) != 0)
3315
bNeedsManifest = (flags &
EventManifestOptions
.OnlyIfNeededForRegistration) == 0 || manifest.GetChannelData().Length > 0;
3318
if (!bNeedsManifest && (flags &
EventManifestOptions
.Strict) == 0)
3328
if ((flags &
EventManifestOptions
.Strict) == 0)
3334
if ((flags &
EventManifestOptions
.Strict) != 0 && (manifest?.Errors.Count > 0 || exception != null))
3365
EventManifestOptions
flags =
EventManifestOptions
.None)
3370
if (!member.Module.Assembly.ReflectionOnly && (flags &
EventManifestOptions
.AllowEventSourceOverride) == 0)
3607
ManifestBuilder manifest,
EventManifestOptions
options)
3636
if ((options &
EventManifestOptions
.Strict) == 0)
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;