33 references to IsInterface
illink (27)
Linker.Dataflow\DynamicallyAccessedMembersTypeHierarchy.cs (3)
59
if (type.
IsInterface
)
104
if (annotation != DynamicallyAccessedMemberTypes.None || type.
IsInterface
)
278
Debug.Assert(!type.
IsInterface
);
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
296
else if (parameterTypeDef.
IsInterface
)
Linker.Steps\MarkStep.cs (11)
305
if (!type.
IsInterface
|| !type.HasInterfaces || !type.HasCustomAttributes)
585
if (ov.Base.DeclaringType is not null && ov.Base.DeclaringType.
IsInterface
&& IgnoreScope(ov.Base.DeclaringType.Scope))
681
if (method.DeclaringType.
IsInterface
)
689
Debug.Assert(method.DeclaringType.
IsInterface
);
2208
if (type.
IsInterface
)
2660
if (ov.Base.DeclaringType.
IsInterface
)
3398
&& baseDefinition.DeclaringType.
IsInterface
&& baseDefinition.IsStatic && method.IsStatic)
3537
if (!resolvedOverride.DeclaringType.
IsInterface
)
3632
if (ov.Base.DeclaringType.
IsInterface
&& !method.DeclaringType.
IsInterface
)
4040
if (type.
IsInterface
)
Linker.Steps\RootAssemblyInputStep.cs (1)
137
if ((preserve & TypePreserveMembers.Library) != 0 && type.
IsInterface
)
Linker.Steps\SealerStep.cs (1)
79
if (type.
IsInterface
)
Linker.Steps\SweepStep.cs (1)
503
|| (ov.DeclaringType.
IsInterface
&& !MarkStep.IsInterfaceImplementationMarkedRecursively(method.DeclaringType, ov.DeclaringType, Context)))
Linker.Steps\ValidateVirtualMethodAnnotationsStep.cs (1)
56
baseMethod.DeclaringType.
IsInterface
,
Linker\Annotations.cs (1)
721
Debug.Assert(method.DeclaringType.
IsInterface
);
Linker\MethodBodyScanner.cs (1)
77
var interfaceTypes = possibleStackTypes.Where(t => t.
IsInterface
).ToArray();
Linker\OverrideInformation.cs (3)
25
Debug.Assert(@base.DeclaringType.
IsInterface
&& interfaceImplementor != null
26
|| !@base.DeclaringType.
IsInterface
&& interfaceImplementor == null);
28
Debug.Assert(@base.DeclaringType.
IsInterface
? interfaceImplementor!.InterfaceType == @base.DeclaringType : true);
Linker\TypeMapInfo.cs (3)
115
Debug.Assert(@base.DeclaringType.
IsInterface
);
251
Debug.Assert(!@base.DeclaringType.
IsInterface
);
263
if (baseMethod.DeclaringType.
IsInterface
)
Microsoft.Maui.Controls.Build.Tasks (2)
TypeReferenceExtensions.cs (2)
70
if (typeDef.
IsInterface
)
282
if (typeDef.
IsInterface
)
Mono.Cecil (3)
Mono.Cecil\WindowsRuntimeProjections.cs (3)
244
if (!type.
IsInterface
&& HasAttribute (type.CustomAttributes, "Windows.UI.Xaml", "TreatAsAbstractComposableClassAttribute"))
326
if (!type.
IsInterface
) {
595
else if (declaring_type.
IsInterface
)
tlens (1)
TLens.Analyzers\InterfacesAnalyzer.cs (1)
61
if (td == null || !td.
IsInterface
)