Base:
property
IsAbstract
Microsoft.CodeAnalysis.CSharp.Symbol.IsAbstract
40 references to IsAbstract
Microsoft.CodeAnalysis.CSharp (40)
Symbols\Source\SourceCustomEventAccessorSymbol.cs (1)
44
if (IsExtern && !
IsAbstract
)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3395
if (sourceMethod.
IsAbstract
|| sourceMethod.SynthesizesLoweredBoundBody)
Symbols\Source\SourceMemberMethodSymbol.cs (3)
1082
if (IsExtern && !
IsAbstract
)
1086
else if (
IsAbstract
&& !IsExtern)
1109
if (((!hasBody &&
IsAbstract
) || IsVirtual) && !IsExplicitInterfaceImplementation && IsStatic && !ContainingAssembly.RuntimeSupportsStaticAbstractMembersInInterfaces)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (11)
129
addRefReadOnlyModifier: IsVirtual ||
IsAbstract
,
798
Debug.Assert(!IsStatic || ContainingType.IsInterface || (!
IsAbstract
&& !IsVirtual)); // Otherwise should have been reported and cleared earlier.
807
if (IsPartial &&
IsAbstract
)
823
else if (this.DeclaredAccessibility == Accessibility.Private && (IsVirtual || (
IsAbstract
&& !isExplicitInterfaceImplementationInInterface) || IsOverride))
832
else if (IsSealed && !IsOverride && !(isExplicitInterfaceImplementationInInterface &&
IsAbstract
))
847
else if (
IsAbstract
&& IsExtern)
851
else if (
IsAbstract
&& IsSealed && !isExplicitInterfaceImplementationInInterface)
855
else if (
IsAbstract
&& IsVirtual)
859
else if (
IsAbstract
&& ContainingType.TypeKind == TypeKind.Struct)
874
else if (
IsAbstract
&& !ContainingType.IsAbstract && (ContainingType.TypeKind == TypeKind.Class || ContainingType.TypeKind == TypeKind.Submission))
888
else if (!HasAnyBody && !IsExtern && !
IsAbstract
&& !IsPartial && !IsExpressionBodied)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
529
if (
IsAbstract
&& !ContainingType.IsAbstract && (ContainingType.TypeKind == TypeKind.Class || ContainingType.TypeKind == TypeKind.Submission))
539
else if (!hasBody && !IsExtern && !
IsAbstract
&& !isAutoPropertyOrExpressionBodied && !IsPartialDefinition)
Symbols\Source\SourceUserDefinedConversionSymbol.cs (1)
84
if (IsStatic && (
IsAbstract
|| IsVirtual))
Symbols\Source\SourceUserDefinedOperatorSymbol.cs (1)
84
if (
IsAbstract
|| IsVirtual || (name != WellKnownMemberNames.EqualityOperatorName && name != WellKnownMemberNames.InequalityOperatorName))
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (17)
56
!(
IsAbstract
|| IsVirtual) && !IsExplicitInterfaceImplementation &&
92
if (
IsAbstract
&& IsExtern)
96
else if (
IsAbstract
&& IsVirtual)
100
else if (hasAnyBody && (IsExtern ||
IsAbstract
))
102
Debug.Assert(!(
IsAbstract
&& IsExtern));
112
else if (!hasAnyBody && !IsExtern && !
IsAbstract
&& !IsPartial)
238
addRefReadOnlyModifier: IsVirtual ||
IsAbstract
,
394
if (
IsAbstract
|| IsVirtual)
470
diagnostics.Add(
IsAbstract
|| IsVirtual ? ErrorCode.ERR_AbstractConversionNotInvolvingContainedType : ErrorCode.ERR_ConversionNotInvolvingContainedType, this.GetFirstLocation());
606
diagnostics.Add((
IsAbstract
|| IsVirtual) ? ErrorCode.ERR_BadAbstractUnaryOperatorSignature : ErrorCode.ERR_BadUnaryOperatorSignature, this.GetFirstLocation());
626
diagnostics.Add((
IsAbstract
|| IsVirtual) ? ErrorCode.ERR_BadAbstractUnaryOperatorSignature : ErrorCode.ERR_BadUnaryOperatorSignature, this.GetFirstLocation());
676
diagnostics.Add((
IsAbstract
|| IsVirtual) ? ErrorCode.ERR_BadAbstractIncDecSignature : ErrorCode.ERR_BadIncDecSignature, this.GetFirstLocation());
680
(((
IsAbstract
|| IsVirtual) && IsContainingType(parameterType) && IsSelfConstrainedTypeParameter(this.ReturnType)) ||
685
diagnostics.Add((
IsAbstract
|| IsVirtual) ? ErrorCode.ERR_BadAbstractIncDecRetType : ErrorCode.ERR_BadIncDecRetType, this.GetFirstLocation());
693
return IsContainingType(type) || ((
IsAbstract
|| IsVirtual) && IsSelfConstrainedTypeParameter(type));
725
diagnostics.Add((
IsAbstract
|| IsVirtual) ? ErrorCode.ERR_BadAbstractShiftOperatorSignature : ErrorCode.ERR_BadShiftOperatorSignature, this.GetFirstLocation());
744
diagnostics.Add((
IsAbstract
|| IsVirtual) ? ErrorCode.ERR_BadAbstractBinaryOperatorSignature : ErrorCode.ERR_BadBinaryOperatorSignature, this.GetFirstLocation());
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
108
Debug.Assert(!
IsAbstract
);
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (2)
31
Debug.Assert(
IsAbstract
|| IsExtern || IsFieldLikeEventAccessor());
92
if (!
IsAbstract
&& !AssociatedEvent.IsWindowsRuntimeEvent && !ContainingType.IsStructType() &&