1 implementation of Right
Microsoft.DotNet.ApiCompatibility (1)
Mapping\ElementMapper.cs (1)
19
public T?[]
Right
{ get; private set; }
23 references to Right
Microsoft.DotNet.ApiCompatibility (17)
Mapping\AssemblyMapper.cs (1)
12
/// <see cref="IElementMapper{T}.Left"/> and <see cref="IElementMapper{T}.
Right
"/>.
Mapping\IAssemblyMapper.cs (2)
11
/// <see cref="IElementMapper{T}.Left"/> and <see cref="IElementMapper{T}.
Right
"/>.
21
/// Gets the mappers for the namespaces contained in <see cref="IElementMapper{T}.Left"/> and <see cref="IElementMapper{T}.
Right
"/>
Mapping\IElementMapper.cs (2)
22
/// The <see cref="IMapperSettings"/> used to diff <see cref="Left"/> and <see cref="
Right
"/>.
45
/// (<see cref="IElementMapper{T}.Left"/>, <see cref="IElementMapper{T}.
Right
"/>).
Mapping\INamespaceMapper.cs (1)
11
/// <see cref="IElementMapper{T}.Left"/> and <see cref="IElementMapper{T}.
Right
"/>.
Mapping\MemberMapper.cs (2)
27
ContainingType.
Right
.Length == 1 || ContainingType.
Right
[rightIndex] != null;
Mapping\NamespaceMapper.cs (1)
12
/// <see cref="IElementMapper{T}.Left"/> and <see cref="IElementMapper{T}.
Right
"/>.
Mapping\TypeMapper.cs (2)
45
return ContainingType.
Right
.Length == 1 || ContainingType.
Right
[rightIndex] != null;
Rules\IRuleRunner.cs (1)
25
/// (<see cref="IElementMapper{T}.Left"/>, <see cref="IElementMapper{T}.
Right
"/>).
Rules\RuleRunner.cs (5)
26
int rightLength = mapper.
Right
.Length;
54
tm.ContainingNamespace.ContainingAssembly.
Right
[rightIndex]?.MetadataInformation ?? MetadataInformation.DefaultRight,
64
Debug.Assert(mm.ContainingType.
Right
[rightIndex] != null);
70
mm.ContainingType.
Right
[rightIndex]!,
72
mm.ContainingType.ContainingNamespace.ContainingAssembly.
Right
[rightIndex]?.MetadataInformation ?? MetadataInformation.DefaultRight,
Microsoft.DotNet.ApiCompatibility.Tests (6)
Mapping\AssemblyMapperTests.cs (1)
78
Assert.Equal(new string[] { "AssemblyMapperTestNamespace1", "AssemblyMapperTestNamespace2", "AssemblyMapperTestNamespace3" }, namespaceMappers.SelectMany(n => n.
Right
).Select(r => r?.Name));
Mapping\AssemblySetMapperTests.cs (2)
145
Assert.Equal(2, assemblyMapper.
Right
.Length);
146
Assert.True(assemblyMapper.
Right
.All(r => r?.Element.Name == expectedAssemblyName));
Mapping\NamespaceMapperTests.cs (1)
70
Assert.Equal(new string[] { "A", "B" }, typeMappers.SelectMany(n => n.
Right
).Select(r => r?.Name));
Mapping\TypeMapperTests.cs (2)
85
Assert.Equal(new string[] { "B", "C", "D" }, nestedTypeMappers.SelectMany(n => n.
Right
).Select(r => r?.Name));
126
Assert.Equal(new string[] { ".ctor", "B", "C", "D" }, memberMappers.SelectMany(n => n.
Right
).Select(r => r?.Name));