52 references to Representative
Microsoft.Cci.Extensions (10)
Mappings\TypeMapping.cs (4)
42
public IEnumerable<MemberMapping> Fields { get { return _members.Values.Where(m => m.
Representative
is IFieldDefinition); } }
43
public IEnumerable<MemberMapping> Properties { get { return _members.Values.Where(m => m.
Representative
is IPropertyDefinition); } }
44
public IEnumerable<MemberMapping> Events { get { return _members.Values.Where(m => m.
Representative
is IEventDefinition); } }
45
public IEnumerable<MemberMapping> Methods { get { return _members.Values.Where(m => m.
Representative
is IMethodDefinition); } }
Traversers\MappingsTypeMemberTraverser.cs (6)
53
return assembly.
Representative
.Name.Value;
72
return mapping.
Representative
.UniqueId();
83
types = types.OrderBy(t => t.
Representative
, new TypeDefinitionComparer());
92
Visit(type.Methods.Where(m => ((IMethodDefinition)m.
Representative
).IsConstructor));
95
Visit(type.Methods.Where(m => !((IMethodDefinition)m.
Representative
).IsConstructor));
110
return MemberHelper.GetMemberSignature(member.
Representative
, NameFormattingOptions.Signature | NameFormattingOptions.TypeParameters | NameFormattingOptions.OmitContainingType);
Microsoft.DotNet.AsmDiff (42)
ApiRecordingCSharpDiffWriter.cs (3)
112
var shouldVisit = !IsPropertyOrEventAccessor(member.
Representative
) &&
113
!IsEnumValueField(member.
Representative
) &&
114
!IsDelegateMember(member.
Representative
);
Csv\DiffIdCsvColumn.cs (3)
23
var namespaceDefinition = mapping.
Representative
;
29
var typeDefinition = mapping.
Representative
;
35
var typeDefinitionMember = mapping.
Representative
;
Csv\DiffMemberCsvColumn.cs (1)
23
var typeDefinitionMember = mapping.
Representative
;
Csv\DiffNamespaceCsvColumn.cs (3)
23
var namespaceDefinition = mapping.
Representative
;
31
var typeDefinition = mapping.
Representative
;
40
var typeDefinitionMember = mapping.
Representative
;
Csv\DiffObsoletionCsvColumn.cs (1)
38
var obsoleted = IsObsoleted(mapping.
Representative
);
Csv\DiffOverrideCsvColumn.cs (1)
33
var isOverride = mapping.
Representative
.IsOverride();
Csv\DiffReturnTypeCsvColumn.cs (1)
24
var signature = mapping.
Representative
as ISignature;
Csv\DiffStaticCsvColumn.cs (2)
28
return mapping.
Representative
.IsStatic
35
return IsStatic(mapping.
Representative
)
Csv\DiffSubKindCsvColumn.cs (2)
28
var typeDefinition = mapping.
Representative
;
34
var member = mapping.
Representative
;
Csv\DiffTokensCsvColumn.cs (1)
58
var tokens = _diffWriter.GetTokenList(mapping.
Representative
);
Csv\DiffTypeCsvColumn.cs (2)
24
var typeDefinition = mapping.
Representative
;
30
var typeDefinitionMember = mapping.
Representative
;
Csv\DiffTypeIdCsvColumn.cs (2)
28
var typeDefinition = mapping.
Representative
;
34
var typeDefinitionMember = mapping.
Representative
;
Csv\DiffTypeIsExposedCsvColumn.cs (2)
23
return mapping.
Representative
.IsVisibleOutsideAssembly()
30
return mapping.
Representative
.ContainingTypeDefinition.IsVisibleOutsideAssembly()
Csv\DiffUnsafeCsvColumn.cs (1)
46
var isUnsafe = IsUnsafe(mapping.
Representative
);
Csv\DiffVirtualityCsvColumn.cs (1)
34
var virtuality = GetVirtuality(mapping.
Representative
);
Csv\DiffVisibiliyCsvColumn.cs (2)
23
var visibility = TypeHelper.TypeVisibilityAsTypeMemberVisibility(mapping.
Representative
);
29
var visibility = mapping.
Representative
.Visibility;
DiffCSharpWriter.cs (14)
113
_syntaxWriter.WriteIdentifier(assembly.
Representative
.Name.Value);
130
_syntaxWriter.WriteIdentifier(assembly.
Representative
.Name.Value);
163
WriteMemberGroupHeader(mapping.
Representative
as ITypeDefinitionMember);
172
if (mapping.ShouldDiffMembers && !mapping.
Representative
.IsDelegate)
186
MemberMapping mapping = members.FirstOrDefault(m => DiffFilter.Include(m) && !IsPropertyOrEventAccessor(m.
Representative
));
189
WriteMemberGroupHeader(mapping.
Representative
);
196
if (!IsPropertyOrEventAccessor(member.
Representative
))
202
if (member.
Representative
.IsInterfaceImplementation())
204
else if (member.
Representative
.IsOverride())
249
return namespaceMapping.
Representative
.DocId();
253
return typeMapping.
Representative
.DocId();
257
return memberMapping.
Representative
.DocId();
261
return assemblyMapping.
Representative
.DocId();
271
write(element.
Representative
);