Find a namespace or type in the global namespace with the fully specified name, returning a
SymbolicRef to it.
To find generic types, specify a tick mark and type argument count, such as "System.Tuple`2".
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public SymbolicRef FindRef(
string name,
bool isFirstOnLine = false,
bool cache = false
)
Parameters
- name
- Type: SystemString
The namespace or type name (may include namespace and/or parent type prefixes). - isFirstOnLine (Optional)
- Type: SystemBoolean
True if the returned SymbolicRef should be formatted as first-on-line. - cache (Optional)
- Type: SystemBoolean
True if the returned SymbolicRef should be cached for quicker subsequent lookups.
Return Value
Type:
SymbolicRefA
NamespaceRef,
TypeRef, or an
UnresolvedRef if no match was found.
See Also