Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 8269afe

Browse files
buyaa-nkrwq
authored andcommitted
Fix test failures
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
1 parent 78ef80b commit 8269afe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Common/src/CoreLib/System/Diagnostics/Tracing/EventSource.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3408,7 +3408,6 @@ private static bool AttributeTypeNamesMatch(Type attributeType, Type reflectedAt
34083408
bool hasRelatedActivityID = RemoveFirstArgIfRelatedActivityId(ref args);
34093409
if (!(source != null && source.SelfDescribingEvents))
34103410
{
3411-
Debug.Assert(eventData != null);
34123411
manifest.StartEvent(eventName, eventAttribute);
34133412
for (int fieldIdx = 0; fieldIdx < args.Length; fieldIdx++)
34143413
{

src/Common/src/CoreLib/System/Reflection/Module.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public virtual Type[] FindTypes(TypeFilter? filter, object filterCriteria)
141141

142142
public override string ToString() => ScopeName;
143143

144-
public static readonly TypeFilter FilterTypeName = (m, c) => FilterTypeNameImpl(m, c, StringComparison.Ordinal); // TODO-NULLABLE https://github.com/dotnet/roslyn/issues/23268
144+
public static readonly TypeFilter FilterTypeName = (m, c) => FilterTypeNameImpl(m, c, StringComparison.Ordinal);
145145
public static readonly TypeFilter FilterTypeNameIgnoreCase = (m, c) => FilterTypeNameImpl(m, c, StringComparison.OrdinalIgnoreCase);
146146

147147
private const BindingFlags DefaultLookup = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public;

0 commit comments

Comments
 (0)