25 references to System_Index
Microsoft.CodeAnalysis (8)
WellKnownMembers.cs (8)
3499
(byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Index
- WellKnownType.ExtSentinel), // DeclaringTypeId
3508
(byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Index
- WellKnownType.ExtSentinel), // DeclaringTypeId
3520
(byte)SignatureTypeCode.TypeHandle, (byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Index
- WellKnownType.ExtSentinel),
3521
(byte)SignatureTypeCode.TypeHandle, (byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Index
- WellKnownType.ExtSentinel),
3529
(byte)SignatureTypeCode.TypeHandle, (byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Index
- WellKnownType.ExtSentinel),
3537
(byte)SignatureTypeCode.TypeHandle, (byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Index
- WellKnownType.ExtSentinel),
3551
(byte)SignatureTypeCode.TypeHandle, (byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Index
- WellKnownType.ExtSentinel),
3558
(byte)SignatureTypeCode.TypeHandle, (byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Index
- WellKnownType.ExtSentinel),
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (9)
2690
TypeSymbol indexType = GetWellKnownType(WellKnownType.
System_Index
, diagnostics, node);
2797
TypeSymbol indexType = GetWellKnownType(WellKnownType.
System_Index
, diagnostics, operand);
9169
return TypeSymbol.Equals(type, compilation.GetWellKnownType(WellKnownType.
System_Index
), TypeCompareKind.AllIgnoreOptions);
10404
convertedIndex = TryImplicitConversionToArrayIndex(index, WellKnownType.
System_Index
, node, diagnostics);
10416
indexOrRangeWellknownType = WellKnownType.
System_Index
;
10492
else if (indexOrRangeWellknownType == WellKnownType.
System_Index
)
10700
if (indexOrRangeWellknownType == WellKnownType.
System_Index
)
10746
result = TryImplicitConversionToArrayIndex(index, WellKnownType.
System_Index
, node, diagnostics);
10763
indexOrRangeWellknownType = WellKnownType.
System_Index
;
Binder\Binder_Patterns.cs (1)
933
var systemIndexType = GetWellKnownType(WellKnownType.
System_Index
, diagnostics, node);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
343
methodOpt: ctor, _factory.WellKnownType(WellKnownType.
System_Index
));
354
methodOpt: indexCtor, _factory.WellKnownType(WellKnownType.
System_Index
));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
544
_compilation.GetWellKnownType(WellKnownType.
System_Index
),
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (2)
547
_compilation.GetWellKnownType(WellKnownType.
System_Index
),
787
_compilation.GetWellKnownType(WellKnownType.
System_Index
),
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
517
if (TypeSymbol.Equals(implicitIndexer.Argument.Type, _compilation.GetWellKnownType(WellKnownType.
System_Index
), TypeCompareKind.ConsiderEverything))
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1994
type.Equals(index ??= DeclaringCompilation.GetWellKnownType(WellKnownType.
System_Index
), TypeCompareKind.AllIgnoreOptions) ||