4 overrides of Ordinal
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
165
internal override int
Ordinal
Symbols\MissingModuleSymbol.cs (1)
40
internal override int
Ordinal
Symbols\Retargeting\RetargetingModuleSymbol.cs (1)
98
internal override int
Ordinal
Symbols\Source\SourceModuleSymbol.cs (1)
77
internal override int
Ordinal
14 references to Ordinal
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Symbols.cs (2)
2151
if ((object)arg2 == null || arg2.
Ordinal
> module.
Ordinal
)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (1)
188
if (module.
Ordinal
== 0)
FlowAnalysis\EmptyStructTypeCache.cs (1)
219
member.ContainingModule.
Ordinal
!= 0) && // (an added module is imported)
Symbols\MetadataOrSourceAssemblySymbol.cs (1)
85
Debug.Assert(corType.ContainingModule.
Ordinal
== 0);
Symbols\MissingMetadataTypeSymbol.cs (1)
294
if ((Arity == 0 || MangleName) && (object)containingAssembly != null && ReferenceEquals(containingAssembly, containingAssembly.CorLibrary) && _containingModule.
Ordinal
== 0)
Symbols\Retargeting\RetargetingSymbolTranslator.cs (3)
283
Debug.Assert(module.
Ordinal
== 0);
303
Debug.Assert(module.
Ordinal
> 0);
304
PEModuleSymbol addedModule = (PEModuleSymbol)this.RetargetingAssembly.Modules[module.
Ordinal
];
Symbols\Source\SourceAssemblySymbol.cs (5)
1064
if (constituent.Length > 2 || (constituent.Length == 2 && constituent[0].ContainingModule.
Ordinal
!= 0 && constituent[1].ContainingModule.
Ordinal
!= 0))
1072
if (moduleNs.ContainingModule.
Ordinal
!= 0)
1137
result = x.ContainingModule.
Ordinal
- y.ContainingModule.
Ordinal
;