13 references to None
Microsoft.CodeAnalysis.CSharp (13)
Symbols\ArrayTypeSymbol.cs (1)
458
DeriveUseSiteInfoFromType(ref result, this.ElementTypeWithAnnotations, AllowedRequiredModifierType.
None
);
Symbols\EventSymbol.cs (1)
287
if (DeriveUseSiteInfoFromType(ref result, this.TypeWithAnnotations, AllowedRequiredModifierType.
None
))
Symbols\FieldSymbol.cs (2)
356
if (DeriveUseSiteInfoFromType(ref result, this.TypeWithAnnotations, RefKind == RefKind.None ? AllowedRequiredModifierType.System_Runtime_CompilerServices_Volatile : AllowedRequiredModifierType.
None
) ||
357
DeriveUseSiteInfoFromCustomModifiers(ref result, this.RefCustomModifiers, AllowedRequiredModifierType.
None
))
Symbols\MethodSymbol.cs (1)
959
AllowedRequiredModifierType.
None
) ||
Symbols\NamedTypeSymbol.cs (1)
1387
if (DeriveUseSiteInfoFromType(ref result, arg, AllowedRequiredModifierType.
None
))
Symbols\PointerTypeSymbol.cs (1)
290
DeriveUseSiteInfoFromType(ref result, this.PointedAtTypeWithAnnotations, AllowedRequiredModifierType.
None
);
Symbols\PropertySymbol.cs (1)
403
if (DeriveUseSiteInfoFromType(ref result, this.TypeWithAnnotations, AllowedRequiredModifierType.
None
) ||
Symbols\Symbol.cs (5)
1236
return DeriveUseSiteInfoFromType(ref result, param.TypeWithAnnotations, AllowedRequiredModifierType.
None
) ||
1268
AllowedRequiredModifierType requiredModifiersFound = AllowedRequiredModifierType.
None
;
1277
AllowedRequiredModifierType current = AllowedRequiredModifierType.
None
;
1300
if (current == AllowedRequiredModifierType.
None
||
1301
(current != requiredModifiersFound && requiredModifiersFound != AllowedRequiredModifierType.
None
)) // At the moment we don't support applying different allowed modreqs to the same target.