26 overrides of ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.CSharp (22)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
169public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
123public sealed override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\ErrorMethodSymbol.cs (1)
129public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
808public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations => ImmutableArray<MethodSymbol>.Empty;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1247public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\NativeIntegerTypeSymbol.cs (1)
346public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations => ImmutableArray<MethodSymbol>.Empty;
Symbols\ReducedExtensionMethodSymbol.cs (1)
533public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
295public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\SignatureOnlyMethodSymbol.cs (1)
89public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations { get { return _explicitInterfaceImplementations; } }
Symbols\Source\LambdaSymbol.cs (1)
174public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Source\LocalFunctionSymbol.cs (1)
302public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations => ImmutableArray<MethodSymbol>.Empty;
Symbols\Source\SourceMemberMethodSymbol.cs (1)
723public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\SubstitutedMethodSymbol.cs (1)
266public sealed override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
183public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
218public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
316public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
133public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
263public sealed override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
64public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
262public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
230public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
283public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (4)
Symbols\EECompilationContextMethod.cs (1)
63public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations => ImmutableArray<MethodSymbol>.Empty;
Symbols\EEMethodSymbol.cs (1)
357public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\PlaceholderMethodSymbol.cs (1)
70public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
Symbols\SynthesizedContextMethodSymbol.cs (1)
50public override ImmutableArray<MethodSymbol> ExplicitInterfaceImplementations
364 references to ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.CSharp (13)
Emitter\Model\NamedTypeSymbolAdapter.cs (3)
327var explicitImplementations = method.ExplicitInterfaceImplementations; 332foreach (var implemented in method.ExplicitInterfaceImplementations) 399foreach (var implemented in method.ExplicitInterfaceImplementations)
Symbols\MemberSymbolExtensions.cs (1)
588return ((MethodSymbol)member).ExplicitInterfaceImplementations.Cast<MethodSymbol, Symbol>();
Symbols\MethodSymbol.cs (1)
344get { return ExplicitInterfaceImplementations.Any(); }
Symbols\PropertyOrEventSymbolExtensions.cs (1)
39ImmutableArray<MethodSymbol> implementedAccessors = accessor.ExplicitInterfaceImplementations;
Symbols\PublicModel\MethodSymbol.cs (1)
213return _underlying.ExplicitInterfaceImplementations.GetPublicSymbols();
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
312var impls = _underlyingMethod.ExplicitInterfaceImplementations;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1771if (implementingMethod.ExplicitInterfaceImplementations.Contains(interfaceMethod, ExplicitInterfaceImplementationTargetMemberEqualityComparer.Instance))
Symbols\SubstitutedMethodSymbol.cs (1)
279ExplicitInterfaceHelpers.SubstituteExplicitInterfaceImplementations(this.OriginalDefinition.ExplicitInterfaceImplementations, Map),
Symbols\TypeSymbol.cs (3)
1609interfaceMethod.ExplicitInterfaceImplementations); 2254/// <see cref="MethodSymbol.ExplicitInterfaceImplementations"/> API, this method returns the "Body" part 2297/// <see cref="MethodSymbol.ExplicitInterfaceImplementations"/> API. The "Body" is the method that
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
CodeGen\CodeGenTupleTest.cs (7)
12864Assert.True(m1ToString.ExplicitInterfaceImplementations.IsEmpty); 13259Assert.Equal("void I1.M1()", m10I1M1.ExplicitInterfaceImplementations.Single().ToTestDisplayString()); 13269Assert.Equal("System.Int32 I1.P1.get", m10I1P1.GetMethod.ExplicitInterfaceImplementations.Single().ToTestDisplayString()); 13271Assert.Equal("void I1.P1.set", m10I1P1.SetMethod.ExplicitInterfaceImplementations.Single().ToTestDisplayString()); 13281Assert.Equal("void I1.E1.add", m10I1E1.AddMethod.ExplicitInterfaceImplementations.Single().ToTestDisplayString()); 13283Assert.Equal("void I1.E1.remove", m10I1E1.RemoveMethod.ExplicitInterfaceImplementations.Single().ToTestDisplayString()); 20574var m2Implementations = m2.ExplicitInterfaceImplementations;
Emit\InAttributeModifierTests.cs (2)
2620Assert.Equal("void Parent.M(in modreq(System.Runtime.InteropServices.InAttribute) System.Int32 p)", explicitImplementation.ExplicitInterfaceImplementations.Single().ToTestDisplayString()); 3320Assert.Equal("void Parent.this[in modreq(System.Runtime.InteropServices.InAttribute) System.Int32 p].set", explicitImplementation.ExplicitInterfaceImplementations.Single().ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (34)
Semantics\NullableReferenceTypesTests.cs (34)
16916var cMabImplementations = ((MethodSymbol)members[0]).ExplicitInterfaceImplementations; 16919var cMcdImplementations = ((MethodSymbol)members[1]).ExplicitInterfaceImplementations; 16986var m2Implementations = m2.ExplicitInterfaceImplementations; 17065var m2Implementations = m2.ExplicitInterfaceImplementations; 17282var cMabImplementations = ((MethodSymbol)members[0]).ExplicitInterfaceImplementations; 17285var cMcdImplementations = ((MethodSymbol)members[1]).ExplicitInterfaceImplementations; 17326var cMabImplementations = ((MethodSymbol)((TypeSymbol)c).GetMember("I1<T>.M")).ExplicitInterfaceImplementations; 17329var cMcdImplementations = ((MethodSymbol)((TypeSymbol)c).GetMember("I1<U>.M")).ExplicitInterfaceImplementations; 17388var mImplementations = method.ExplicitInterfaceImplementations; 17469var mImplementations = method.ExplicitInterfaceImplementations; 17553var mImplementations = method.ExplicitInterfaceImplementations; 17634var mImplementations = method.ExplicitInterfaceImplementations; 75179var implementations = method.ExplicitInterfaceImplementations; 75197var implementations = method.ExplicitInterfaceImplementations; 96954Assert.Equal("void I<System.Object!>.F1<TF1>(TF1 x) where TF1 : System.Object!", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 96959var impl = af1.ExplicitInterfaceImplementations.Single(); 96983Assert.Equal("void I<System.Object?>.F1<TF1>(TF1 x)", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 96990var impl = bf1.ExplicitInterfaceImplementations.Single(); 97049Assert.Equal("void I<A!>.F1<TF1>(TF1 x) where TF1 : A!", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97054Assert.Equal("void I<A>.F1<TF1>(TF1 x) where TF1 : A", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97076Assert.Equal("void I<A?>.F1<TF1>(TF1 x) where TF1 : A?", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97081Assert.Equal("void I<A>.F1<TF1>(TF1 x) where TF1 : A", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97136Assert.Equal("void I<System.Object!>.F1<TF1>(TF1 x) where TF1 : class?, System.Object!", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97140Assert.Equal("void I<System.Object>.F1<TF1>(TF1 x) where TF1 : class?, System.Object", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97160Assert.Equal("void I<System.Object?>.F1<TF1>(TF1 x) where TF1 : class?", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97164Assert.Equal("void I<System.Object>.F1<TF1>(TF1 x) where TF1 : class?, System.Object", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97322Assert.Equal("void I<System.Object!>.F1<TF1>(TF1 x) where TF1 : System.Object!, B?", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97326Assert.Equal("void I<System.Object>.F1<TF1>(TF1 x) where TF1 : System.Object, B?", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97346Assert.Equal("void I<System.Object?>.F1<TF1>(TF1 x) where TF1 : B?", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97350Assert.Equal("void I<System.Object>.F1<TF1>(TF1 x) where TF1 : System.Object, B?", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97404Assert.Equal("void I<System.Object!, B?>.F1<TF1>(TF1 x) where TF1 : System.Object!, B?", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97408Assert.Equal("void I<System.Object, B>.F1<TF1>(TF1 x) where TF1 : B", af1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97428Assert.Equal("void I<System.Object?, B?>.F1<TF1>(TF1 x) where TF1 : B?", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints)); 97432Assert.Equal("void I<System.Object, B>.F1<TF1>(TF1 x) where TF1 : B", bf1.ExplicitInterfaceImplementations.Single().ToDisplayString(SymbolDisplayFormat.TestFormatWithConstraints));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (307)
Symbols\CustomModifiersTests.cs (1)
2335Assert.Equal("System.ValueType modopt(System.Runtime.CompilerServices.IsBoxed) modopt(T?) I1.Test<T>(System.ValueType modopt(System.Runtime.CompilerServices.IsBoxed) modopt(T?) x)", test.ExplicitInterfaceImplementations[0].ToTestDisplayString());
Symbols\DefaultInterfaceImplementationTests.cs (55)
18171if (implementingProperty.GetMethod?.ExplicitInterfaceImplementations.Length > 0 || 18172implementingProperty.SetMethod?.ExplicitInterfaceImplementations.Length > 0) 50909var i1m1 = i2m1.ExplicitInterfaceImplementations.Single(); 51070var i1m1 = i2m1.ExplicitInterfaceImplementations.Single(); 51797var i1m1 = i2m1.ExplicitInterfaceImplementations.Single(); 51862var i1m1 = i2m1.ExplicitInterfaceImplementations.Single(); 51920var i1m1 = i2m1.ExplicitInterfaceImplementations.Single(); 51985var i1m1 = i2m1.ExplicitInterfaceImplementations.Single(); 52040var i1m1 = i2m1.ExplicitInterfaceImplementations.Single(); 52094var i1m1 = c2m1.ExplicitInterfaceImplementations.Single(); 52169Assert.Empty(i2m1.ExplicitInterfaceImplementations); 52348Assert.Same(i1p1.GetMethod, i2p1.GetMethod.ExplicitInterfaceImplementations.Single()); 52354Assert.Empty(i2p1.GetMethod.ExplicitInterfaceImplementations); 52359Assert.Same(i1p1.SetMethod, i2p1.SetMethod.ExplicitInterfaceImplementations.Single()); 52365Assert.Empty(i2p1.SetMethod.ExplicitInterfaceImplementations); 53432Assert.Same(i1p1.GetMethod, i2p1.GetMethod.ExplicitInterfaceImplementations.Single()); 53440Assert.Empty(i2p1.GetMethod.ExplicitInterfaceImplementations); 53447Assert.Same(i1p1.SetMethod, i2p1.SetMethod.ExplicitInterfaceImplementations.Single()); 53455Assert.Empty(i2p1.SetMethod.ExplicitInterfaceImplementations); 53603Assert.Same(i1p1.GetMethod, i2p1.GetMethod.ExplicitInterfaceImplementations.Single()); 53609Assert.Empty(i2p1.GetMethod.ExplicitInterfaceImplementations); 53614Assert.Same(i1p1.SetMethod, i2p1.SetMethod.ExplicitInterfaceImplementations.Single()); 53620Assert.Empty(i2p1.SetMethod.ExplicitInterfaceImplementations); 53722Assert.Same(i1p1.GetMethod, c2p1.GetMethod.ExplicitInterfaceImplementations.Single()); 53727Assert.Empty(c2p1.GetMethod.ExplicitInterfaceImplementations); 53732Assert.Same(i1p1.SetMethod, c2p1.SetMethod.ExplicitInterfaceImplementations.Single()); 53737Assert.Empty(c2p1.SetMethod.ExplicitInterfaceImplementations); 54038Assert.Same(i1p1.GetMethod, i2p1.GetMethod.ExplicitInterfaceImplementations.Single()); 54044Assert.Empty(i2p1.GetMethod.ExplicitInterfaceImplementations); 54049Assert.Same(i1p1.SetMethod, i2p1.SetMethod.ExplicitInterfaceImplementations.Single()); 54055Assert.Empty(i2p1.SetMethod.ExplicitInterfaceImplementations); 56862Assert.Empty(i2p1.GetMethod.ExplicitInterfaceImplementations); 56867Assert.Empty(i2p1.SetMethod.ExplicitInterfaceImplementations); 57324Assert.Same(i1p1.AddMethod, i2p1.AddMethod.ExplicitInterfaceImplementations.Single()); 57328Assert.Same(i1p1.RemoveMethod, i2p1.RemoveMethod.ExplicitInterfaceImplementations.Single()); 58320Assert.Same(i1p1.AddMethod, i2p1.AddMethod.ExplicitInterfaceImplementations.Single()); 58328Assert.Empty(i2p1.AddMethod.ExplicitInterfaceImplementations); 58335Assert.Same(i1p1.RemoveMethod, i2p1.RemoveMethod.ExplicitInterfaceImplementations.Single()); 58343Assert.Empty(i2p1.RemoveMethod.ExplicitInterfaceImplementations); 58514Assert.Same(i1p1.AddMethod, c2p1Add.ExplicitInterfaceImplementations.Single()); 58529Assert.Same(i1p1.RemoveMethod, c2p1Remove.ExplicitInterfaceImplementations.Single()); 59088Assert.Same(i1p1.AddMethod, i2p1.AddMethod.ExplicitInterfaceImplementations.Single()); 59092Assert.Same(i1p1.RemoveMethod, i2p1.RemoveMethod.ExplicitInterfaceImplementations.Single()); 59144Assert.Empty(i2p1.AddMethod.ExplicitInterfaceImplementations); 59145Assert.Empty(i2p1.RemoveMethod.ExplicitInterfaceImplementations); 66963Assert.Empty(i1.GetMembers().OfType<MethodSymbol>().Single().ExplicitInterfaceImplementations); 67029Assert.Same(i2.GetMembers().OfType<MethodSymbol>().Single(), i1.GetMembers().OfType<MethodSymbol>().Single().ExplicitInterfaceImplementations.Single()); 67147Assert.Empty(m.GetMethod.ExplicitInterfaceImplementations); 67216Assert.Same(m2.GetMethod, m1.GetMethod.ExplicitInterfaceImplementations.Single()); 67335Assert.Empty(m.AddMethod.ExplicitInterfaceImplementations); 67336Assert.Empty(m.RemoveMethod.ExplicitInterfaceImplementations); 67407Assert.Same(m2.AddMethod, m1.AddMethod.ExplicitInterfaceImplementations.Single()); 67408Assert.Same(m2.RemoveMethod, m1.RemoveMethod.ExplicitInterfaceImplementations.Single()); 68698var i1m1 = i2m1.ExplicitInterfaceImplementations.Single(); 68783var i1m1 = i2m1.ExplicitInterfaceImplementations.Single();
Symbols\InterfaceImplementationTests.cs (1)
2221Single(m => m.ExplicitInterfaceImplementations.Single().MethodKind == MethodKind.EventAdd);
Symbols\Metadata\PE\LoadingMethods.cs (13)
400var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single(); 430var explicitImpls = classMethod.ExplicitInterfaceImplementations; 468var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single(); 504var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single(); 532var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single(); 555var explicitImpls = classMethod.ExplicitInterfaceImplementations; 595var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single(); 620Assert.Equal(0, derivedClassMethod.ExplicitInterfaceImplementations.Length); 645Assert.Equal(0, classMethod.ExplicitInterfaceImplementations.Length); 649Assert.Equal(0, classGenericMethod.ExplicitInterfaceImplementations.Length); 678Assert.Equal(0, classMethod.ExplicitInterfaceImplementations.Length); 682Assert.Equal(0, classGenericMethod.ExplicitInterfaceImplementations.Length); 740var innerClassImplementingMethod = innerClassMethod.ExplicitInterfaceImplementations.Single();
Symbols\Metadata\PE\LoadingProperties.cs (4)
271Assert.True(implementedByGetter1.SetEquals(classProperty1.GetMethod.ExplicitInterfaceImplementations, ReferenceEqualityComparer.Instance)); 274Assert.True(implementedBySetter1.SetEquals(classProperty1.SetMethod.ExplicitInterfaceImplementations, ReferenceEqualityComparer.Instance)); 277Assert.True(implementedByGetter2.SetEquals(classProperty2.GetMethod.ExplicitInterfaceImplementations, ReferenceEqualityComparer.Instance)); 280Assert.True(implementedBySetter2.SetEquals(classProperty2.SetMethod.ExplicitInterfaceImplementations, ReferenceEqualityComparer.Instance));
Symbols\Metadata\PE\NoPia.cs (1)
1419Assert.Same(i1F1, baseI1F1.ExplicitInterfaceImplementations.Single());
Symbols\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.cs (1)
350MethodSymbol explicitImpl = methodSymbol.ExplicitInterfaceImplementations.Single();
Symbols\Retargeting\RetargetCustomModifiers.cs (2)
194Assert.True(!m1.ExplicitInterfaceImplementations.IsDefault); 195Assert.Equal(0, m1.ExplicitInterfaceImplementations.Length);
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (9)
90Assert.Equal(interfaceV1, method.ExplicitInterfaceImplementations.Single().ContainingType); 160var retargetedClassCMethod1Impl = retargetedClassCMethod1.ExplicitInterfaceImplementations.Single(); 172Assert.False(retargetedClassCMethod2.ExplicitInterfaceImplementations.Any()); 181Assert.False(retargetedClassCMethod3.ExplicitInterfaceImplementations.Any()); 189var retargetedClassCMethod4Impl = retargetedClassCMethod4.ExplicitInterfaceImplementations.Single(); 403var retargetedClassC1Method1Impl = retargetedClassC1Method1.ExplicitInterfaceImplementations.Single(); 407var retargetedClassC2Method1Impl = retargetedClassC2Method1.ExplicitInterfaceImplementations.Single(); 411var retargetedClassC3Method1Impl = retargetedClassC3Method1.ExplicitInterfaceImplementations.Single(); 471Assert.Equal(c2.Interfaces().Single().GetMethod("M"), m.ExplicitInterfaceImplementations.Single());
Symbols\Retargeting\RetargetingTests.cs (4)
273implemented_m = m.ExplicitInterfaceImplementations[0]; 283implemented_n = n.ExplicitInterfaceImplementations[0]; 301implemented_m = c.GetMethod("I<CT>.M").ExplicitInterfaceImplementations[0]; 308implemented_n = c.GetMethod("I<CT>.N").ExplicitInterfaceImplementations[0];
Symbols\Source\MethodTests.cs (6)
1468var em1 = m1.ExplicitInterfaceImplementations.First() as MethodSymbol; 1633MethodSymbol mvoidreturn = (MethodSymbol)mreturn.ExplicitInterfaceImplementations.Single(); 1678var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single(); 1722var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single(); 1769var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single(); 1822var explicitImpl = classMethod.ExplicitInterfaceImplementations.Single();
Symbols\Source\PropertyTests.cs (3)
2501Assert.Equal(interfacePropertyGetter, classPropertyGetter.ExplicitInterfaceImplementations.Single()); 2502Assert.Equal(interfacePropertySetter, classPropertySetter.ExplicitInterfaceImplementations.Single()); 2540Assert.Equal(interfacePropertyGetter, classPropertyGetter.ExplicitInterfaceImplementations.Single());
Symbols\StaticAbstractMembersInInterfacesTests.cs (207)
16113Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 16117Assert.Empty(cM01.ExplicitInterfaceImplementations); 16172Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 16235Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 16329Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 16469Assert.Same(m01, i2M01.ExplicitInterfaceImplementations.Single()); 16520Assert.Same(m01, c2M01.ExplicitInterfaceImplementations.Single()); 16531Assert.Empty(c1M01.ExplicitInterfaceImplementations); 16537Assert.Empty(c2M01.ExplicitInterfaceImplementations); 16605Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 16618Assert.Empty(c1M01.ExplicitInterfaceImplementations); 16624Assert.Empty(c1M01.ExplicitInterfaceImplementations); 16640Assert.Same(m01, c2M01.ExplicitInterfaceImplementations.Single()); 16724Assert.Empty(c1M01.ExplicitInterfaceImplementations); 16730Assert.Same(m01, c2M01.ExplicitInterfaceImplementations.Single()); 16817Assert.Empty(c2M01.ExplicitInterfaceImplementations); 16823Assert.Same(m01, c3M01.ExplicitInterfaceImplementations.Single()); 16905Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 16909Assert.Empty(c1M01.ExplicitInterfaceImplementations); 16987Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 16991Assert.Empty(c1M01.ExplicitInterfaceImplementations); 17061Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 17132Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 17215Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 17219Assert.Empty(c1M01.ExplicitInterfaceImplementations); 17302Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 17306Assert.Empty(c1M01.ExplicitInterfaceImplementations); 17399Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 17412Assert.Empty(method.ExplicitInterfaceImplementations); 17501Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 17514Assert.Empty(method.ExplicitInterfaceImplementations); 19350Assert.Equal(m01, cM01.ExplicitInterfaceImplementations.Single()); 19354Assert.Empty(cM01.ExplicitInterfaceImplementations); 19431Assert.Equal(m01, cM01.ExplicitInterfaceImplementations.Single()); 19435Assert.Empty(cM01.ExplicitInterfaceImplementations); 19523Assert.Equal(m01, cM01.ExplicitInterfaceImplementations.Single()); 19527Assert.Empty(cM01.ExplicitInterfaceImplementations); 19618Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 19701Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 19793Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 19882Assert.Equal(m01, cM01.ExplicitInterfaceImplementations.Single()); 19963Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 20037Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 20120Assert.Same(m01, cM01.ExplicitInterfaceImplementations.Single()); 20200Assert.Equal(m01, cM01.ExplicitInterfaceImplementations.Single()); 20310Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 20445Assert.Same(m01, c1M01.ExplicitInterfaceImplementations.Single()); 20693Assert.Same(m01, i2M01.ExplicitInterfaceImplementations.Single()); 20758Assert.Same(m01, i2M01.ExplicitInterfaceImplementations.Single()); 20840Assert.Equal(m01, c2M01.ExplicitInterfaceImplementations.Single()); 20853Assert.Empty(c1M01.ExplicitInterfaceImplementations); 20862Assert.Empty(c2M01.ExplicitInterfaceImplementations); 20953Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 20966Assert.Empty(c1M01.ExplicitInterfaceImplementations); 20972Assert.Empty(c1M01.ExplicitInterfaceImplementations); 20988Assert.Equal(m01, c2M01.ExplicitInterfaceImplementations.Single()); 21064Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 21077Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21083Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21099Assert.Equal(m01, c2M01.ExplicitInterfaceImplementations.Single()); 21199Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 21212Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21218Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21233Assert.Equal(m01, c2M01.ExplicitInterfaceImplementations.Single()); 21499Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21505Assert.Equal(m01, c2M01.ExplicitInterfaceImplementations.Single()); 21626Assert.Empty(c2M01.ExplicitInterfaceImplementations); 21632Assert.Equal(m01, c3M01.ExplicitInterfaceImplementations.Single()); 21743Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 21747Assert.Empty(c1M01.ExplicitInterfaceImplementations); 21845Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 21955Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 21959Assert.Empty(c1M01.ExplicitInterfaceImplementations); 23005Assert.Same(m01Get, cM01Get.ExplicitInterfaceImplementations.Single()); 23006Assert.Same(m01Set, cM01Set.ExplicitInterfaceImplementations.Single()); 23011Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 23012Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 23096Assert.Same(m01Get, cM01Get.ExplicitInterfaceImplementations.Single()); 23101Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 23104Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 23189Assert.Same(m01Get, cM01Get.ExplicitInterfaceImplementations.Single()); 23190Assert.Same(m01Set, cM01Set.ExplicitInterfaceImplementations.Single()); 23259Assert.Same(m01.GetMethod, cM01.GetMethod.ExplicitInterfaceImplementations.Single()); 23260Assert.Same(m01.SetMethod, cM01.SetMethod.ExplicitInterfaceImplementations.Single()); 23414Assert.Same(m01.GetMethod, c1M01.GetMethod.ExplicitInterfaceImplementations.Single()); 23415Assert.Same(m01.SetMethod, c1M01.SetMethod.ExplicitInterfaceImplementations.Single()); 23708Assert.Same(m01Get, cM01Get.ExplicitInterfaceImplementations.Single()); 23780Assert.Same(m01Get, cM01Get.ExplicitInterfaceImplementations.Single()); 23781Assert.Same(m01Set, cM01Set.ExplicitInterfaceImplementations.Single()); 23786Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 23787Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 23818Assert.Same(m01.GetMethod, c1M01.GetMethod.ExplicitInterfaceImplementations.Single()); 23819Assert.Same(m01.SetMethod, c1M01.SetMethod.ExplicitInterfaceImplementations.Single()); 23871Assert.Same(m01Get, cM01Get.ExplicitInterfaceImplementations.Single()); 23875Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 23944Assert.Same(m01.SetMethod, c1M01.SetMethod.ExplicitInterfaceImplementations.Single()); 24060Assert.Same(m01Set, cM01Set.ExplicitInterfaceImplementations.Single()); 24132Assert.Same(m01Set, cM01Set.ExplicitInterfaceImplementations.Single()); 24133Assert.Same(m01Get, cM01Get.ExplicitInterfaceImplementations.Single()); 24138Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 24139Assert.Empty(cM01Get.ExplicitInterfaceImplementations); 24170Assert.Same(m01.GetMethod, c1M01.GetMethod.ExplicitInterfaceImplementations.Single()); 24171Assert.Same(m01.SetMethod, c1M01.SetMethod.ExplicitInterfaceImplementations.Single()); 24223Assert.Same(m01Set, cM01Set.ExplicitInterfaceImplementations.Single()); 24227Assert.Empty(cM01Set.ExplicitInterfaceImplementations); 24296Assert.Same(m01.GetMethod, c1M01.GetMethod.ExplicitInterfaceImplementations.Single()); 24382Assert.Same(m01.GetMethod, i2M01.GetMethod.ExplicitInterfaceImplementations.Single()); 24383Assert.Same(m01.SetMethod, i2M01.SetMethod.ExplicitInterfaceImplementations.Single()); 24445Assert.Same(m01.GetMethod, c2M01Get.ExplicitInterfaceImplementations.Single()); 24451Assert.Same(m01.SetMethod, c2M01Set.ExplicitInterfaceImplementations.Single()); 24474Assert.Empty(c1M01Get.ExplicitInterfaceImplementations); 24485Assert.Empty(c1M01Set.ExplicitInterfaceImplementations); 24500Assert.Empty(c2M01Get.ExplicitInterfaceImplementations); 24506Assert.Empty(c2M01Set.ExplicitInterfaceImplementations); 24632Assert.Empty(c1M01Set.ExplicitInterfaceImplementations); 24642Assert.Same(m01.GetMethod, c1M01Get.ExplicitInterfaceImplementations.Single()); 24647Assert.Same(m01.SetMethod, c1M01Set.ExplicitInterfaceImplementations.Single()); 24658Assert.Empty(c1M01Get.ExplicitInterfaceImplementations); 24683Assert.Same(m01.GetMethod, c2M01Get.ExplicitInterfaceImplementations.Single()); 24695Assert.Same(m01.SetMethod, c2M01Set.ExplicitInterfaceImplementations.Single()); 24723Assert.Same(m01.GetMethod, c3M01Get.ExplicitInterfaceImplementations.Single()); 24735Assert.Same(m01.SetMethod, c3M01Set.ExplicitInterfaceImplementations.Single()); 24830Assert.Empty(c1M01Get.ExplicitInterfaceImplementations); 24840Assert.Empty(c1M01Set.ExplicitInterfaceImplementations); 24959Assert.Empty(c2M01Get.ExplicitInterfaceImplementations); 24967Assert.Empty(c2M01Set.ExplicitInterfaceImplementations); 24977Assert.Same(m01.GetMethod, c3M01Get.ExplicitInterfaceImplementations.Single()); 24981Assert.Same(m01.SetMethod, c3M01Set.ExplicitInterfaceImplementations.Single()); 25783Assert.Same(m01Add, cM01Add.ExplicitInterfaceImplementations.Single()); 25784Assert.Same(m01Remove, cM01Remove.ExplicitInterfaceImplementations.Single()); 25789Assert.Empty(cM01Add.ExplicitInterfaceImplementations); 25790Assert.Empty(cM01Remove.ExplicitInterfaceImplementations); 25876Assert.Same(m01Add, cM01Add.ExplicitInterfaceImplementations.Single()); 25877Assert.Same(m01Remove, cM01Remove.ExplicitInterfaceImplementations.Single()); 25946Assert.Same(m01.AddMethod, cM01.AddMethod.ExplicitInterfaceImplementations.Single()); 25947Assert.Same(m01.RemoveMethod, cM01.RemoveMethod.ExplicitInterfaceImplementations.Single()); 26106Assert.Same(m01.AddMethod, c1M01.AddMethod.ExplicitInterfaceImplementations.Single()); 26107Assert.Same(m01.RemoveMethod, c1M01.RemoveMethod.ExplicitInterfaceImplementations.Single()); 26359Assert.Same(m01.AddMethod, c1M01.AddMethod.ExplicitInterfaceImplementations.Single()); 26422Assert.Same(m01Add, cM01Add.ExplicitInterfaceImplementations.Single()); 26424Assert.Same(m01.RemoveMethod, cM01Remove.ExplicitInterfaceImplementations.Single()); 26428Assert.Empty(cM01Add.ExplicitInterfaceImplementations); 26430Assert.Empty(cM01Remove.ExplicitInterfaceImplementations); 26457Assert.Same(m01.AddMethod, c1M01.AddMethod.ExplicitInterfaceImplementations.Single()); 26458Assert.Same(m01.RemoveMethod, c1M01.RemoveMethod.ExplicitInterfaceImplementations.Single()); 26547Assert.Same(m01.RemoveMethod, c1M01.RemoveMethod.ExplicitInterfaceImplementations.Single()); 26633Assert.Same(m01.RemoveMethod, c1M01.RemoveMethod.ExplicitInterfaceImplementations.Single()); 26696Assert.Same(m01Remove, cM01Remove.ExplicitInterfaceImplementations.Single()); 26698Assert.Same(m01.AddMethod, cM01Add.ExplicitInterfaceImplementations.Single()); 26702Assert.Empty(cM01Remove.ExplicitInterfaceImplementations); 26704Assert.Empty(cM01Add.ExplicitInterfaceImplementations); 26731Assert.Same(m01.RemoveMethod, c1M01.RemoveMethod.ExplicitInterfaceImplementations.Single()); 26732Assert.Same(m01.AddMethod, c1M01.AddMethod.ExplicitInterfaceImplementations.Single()); 26821Assert.Same(m01.AddMethod, c1M01.AddMethod.ExplicitInterfaceImplementations.Single()); 26910Assert.Same(m01.AddMethod, i2M01.AddMethod.ExplicitInterfaceImplementations.Single()); 26911Assert.Same(m01.RemoveMethod, i2M01.RemoveMethod.ExplicitInterfaceImplementations.Single()); 26973Assert.Same(m01.AddMethod, c2M01Add.ExplicitInterfaceImplementations.Single()); 26979Assert.Same(m01.RemoveMethod, c2M01Remove.ExplicitInterfaceImplementations.Single()); 27002Assert.Empty(c1M01Add.ExplicitInterfaceImplementations); 27013Assert.Empty(c1M01Remove.ExplicitInterfaceImplementations); 27028Assert.Empty(c2M01Add.ExplicitInterfaceImplementations); 27034Assert.Empty(c2M01Remove.ExplicitInterfaceImplementations); 27163Assert.Empty(c1M01Add.ExplicitInterfaceImplementations); 27174Assert.Empty(c1M01Remove.ExplicitInterfaceImplementations); 27187Assert.Same(m01.AddMethod, c1M01Add.ExplicitInterfaceImplementations.Single()); 27199Assert.Same(m01.RemoveMethod, c1M01Remove.ExplicitInterfaceImplementations.Single()); 27240Assert.Same(m01.AddMethod, c2M01Add.ExplicitInterfaceImplementations.Single()); 27252Assert.Same(m01.RemoveMethod, c2M01Remove.ExplicitInterfaceImplementations.Single()); 27274Assert.Empty(c3M02Add.ExplicitInterfaceImplementations); 27285Assert.Empty(c3M02Remove.ExplicitInterfaceImplementations); 27298Assert.Same(m02.AddMethod, c3M02Add.ExplicitInterfaceImplementations.Single()); 27310Assert.Same(m02.RemoveMethod, c3M02Remove.ExplicitInterfaceImplementations.Single()); 27354Assert.Same(m02.AddMethod, c4M02Add.ExplicitInterfaceImplementations.Single()); 27367Assert.Same(m02.RemoveMethod, c4M02Remove.ExplicitInterfaceImplementations.Single()); 27495Assert.Empty(c1M01Add.ExplicitInterfaceImplementations); 27505Assert.Empty(c1M01Remove.ExplicitInterfaceImplementations); 27625Assert.Empty(c2M01Add.ExplicitInterfaceImplementations); 27633Assert.Empty(c2M01Remove.ExplicitInterfaceImplementations); 27643Assert.Same(m01.AddMethod, c3M01Add.ExplicitInterfaceImplementations.Single()); 27647Assert.Same(m01.RemoveMethod, c3M01Remove.ExplicitInterfaceImplementations.Single()); 28707Assert.Equal(m01, cM01.ExplicitInterfaceImplementations.Single()); 28711Assert.Empty(cM01.ExplicitInterfaceImplementations); 28732Assert.Equal(m02, cM02.ExplicitInterfaceImplementations.Single()); 28736Assert.Empty(cM02.ExplicitInterfaceImplementations); 28830Assert.Equal(m01, cM01.ExplicitInterfaceImplementations.Single()); 28846Assert.Equal(m02, cM02.ExplicitInterfaceImplementations.Single()); 28927Assert.Equal(m01, cM01.ExplicitInterfaceImplementations.Single()); 29049Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 29222Assert.Equal(m01, i2M01.ExplicitInterfaceImplementations.Single()); 29299Assert.Equal(m01, c2M01.ExplicitInterfaceImplementations.Single()); 29312Assert.Empty(c1M01.ExplicitInterfaceImplementations); 29321Assert.Empty(c2M01.ExplicitInterfaceImplementations); 29411Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 29424Assert.Empty(c1M01.ExplicitInterfaceImplementations); 29430Assert.Empty(c1M01.ExplicitInterfaceImplementations); 29446Assert.Equal(m01, c2M01.ExplicitInterfaceImplementations.Single()); 29560Assert.Empty(c1M01.ExplicitInterfaceImplementations); 29566Assert.Equal(m01, c2M01.ExplicitInterfaceImplementations.Single()); 29678Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 29682Assert.Empty(c1M01.ExplicitInterfaceImplementations); 29777Assert.Equal(m01, c1M01.ExplicitInterfaceImplementations.Single()); 31664var bM1Impl = ((MethodSymbol)bM1).ExplicitInterfaceImplementations; 31665var bM2Impl = ((MethodSymbol)bM2).ExplicitInterfaceImplementations; 31762var dM1Impl = ((MethodSymbol)dM1).ExplicitInterfaceImplementations; 31763var dM2Impl = ((MethodSymbol)dM2).ExplicitInterfaceImplementations; 31833var dM1Impl = ((MethodSymbol)dM1).ExplicitInterfaceImplementations; 31834var dM2Impl = ((MethodSymbol)dM2).ExplicitInterfaceImplementations;
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
95Assert.Empty(symbol.ExplicitInterfaceImplementations);