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