Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
117switch (m.Kind)
Symbols\OverriddenOrHiddenMembersHelpers.cs (31)
86Debug.Assert(member.Kind == SymbolKind.Method || member.Kind == SymbolKind.Property || member.Kind == SymbolKind.Event);
100if (associatedPropertyOrEvent.Kind == SymbolKind.Property)
106Debug.Assert(associatedPropertyOrEvent.Kind == SymbolKind.Event);
177FindRelatedMembers(member.IsOverride, memberIsFromSomeCompilation, member.Kind, bestMatch, out overriddenMembers, ref hiddenBuilder);
255if (hiddenByProperty.Kind == SymbolKind.Property)
347if (hiddenByEvent.Kind == SymbolKind.Event)
499FindRelatedMembers(member.IsOverride, memberIsFromSomeCompilation, member.Kind, hidden, out overriddenMembers, ref hiddenAndRelatedBuilder);
559SymbolKind memberKind = member.Kind;
573else if (otherMember.Kind != memberKind)
678if (otherMember.Kind == currTypeBestMatch.Kind && !ReferenceEquals(otherMember, currTypeBestMatch))
716bool needToSearchForRelated = representativeMember.Kind != SymbolKind.Field && representativeMember.Kind != SymbolKind.NamedType &&
756if (hiddenMember.Kind != SymbolKind.Method || ((MethodSymbol)hiddenMember).CanBeHiddenByMemberKind(hidingMemberKind))
792Debug.Assert(representativeMember.Kind == SymbolKind.Property || !representativeMember.ContainingType.IsDefinition);
798if (otherMember.Kind == representativeMember.Kind)
854Debug.Assert(representativeMember.Kind != SymbolKind.Field);
855Debug.Assert(representativeMember.Kind != SymbolKind.NamedType);
856Debug.Assert(representativeMember.Kind == SymbolKind.Property || !representativeMember.ContainingType.IsDefinition);
861if (otherMember.Kind == representativeMember.Kind)
873switch (member.Kind)
883throw ExceptionUtilities.UnexpectedValue(member.Kind);
889switch (member.Kind)
905throw ExceptionUtilities.UnexpectedValue(member.Kind);
911switch (member.Kind)
923throw ExceptionUtilities.UnexpectedValue(member.Kind);
1034if (otherMember.Kind == SymbolKind.Method &&