11 references to GetDefinitionOrNull
Microsoft.Cci.Extensions (11)
Extensions\CSharp\CSharpCciExtensions.cs (1)
837
ITypeDefinition type = typeRef.
GetDefinitionOrNull
();
Extensions\TypeExtensions.cs (4)
50
ITypeDefinition baseType = bc.
GetDefinitionOrNull
();
58
ITypeDefinition baseType = iface.
GetDefinitionOrNull
();
71
ITypeDefinition baseType = baseTypeRef.
GetDefinitionOrNull
();
87
ITypeDefinition iface = ifaceRef.
GetDefinitionOrNull
();
Filters\ExcludeCompilerGeneratedCciFilter.cs (1)
67
var typeDef = arg.TypeToGet.
GetDefinitionOrNull
();
Filters\InternalsAndPublicCciFilter.cs (2)
94
var attributeDef = attribute.Type.
GetDefinitionOrNull
();
103
var typeDef = arg.TypeToGet.
GetDefinitionOrNull
();
Filters\PublicOnlyCciFilter.cs (2)
78
var attributeDef = attribute.Type.
GetDefinitionOrNull
();
85
var typeDef = arg.TypeToGet.
GetDefinitionOrNull
();
Writers\CSharp\CSDeclarationWriter.Methods.cs (1)
437
var baseType = type.BaseClasses.FirstOrDefault().
GetDefinitionOrNull
();