hasVirtualMethod

P173226
predicate

Indicates that a class or type defines a method that is declared as virtual, allowing it to be overridden in derived classes for polymorphic behavior.

All labels observed (2)

Label Occurrences
hasVirtualFunction 7
hasVirtualMethod canonical 3

Description generation (PDg)

The one-sentence description above was generated by prompting gpt-5.1 with the predicate name and this instruction.

Instruction
Given a predicate that represents a relationship or action between entities, generate a one-sentence description explaining its meaning.  
# Instructions
Focus on describing the relationship, not the entities themselves. 
# Response Format
Begin the description with \' Indicates...\'
Input
Predicate: hasVirtualMethod
Generated description
Indicates that a class or type defines a method that is declared as virtual, allowing it to be overridden in derived classes for polymorphic behavior.

Sample triples (10)

Subject Object
System.Runtime.Loader.AssemblyLoadContext Load(AssemblyName)
System.Runtime.Loader.AssemblyLoadContext LoadUnmanagedDll(string)
System.Runtime.Loader.AssemblyLoadContext GetResolvedAssembly(AssemblyName)
CWnd PreCreateWindow via predicate surface "hasVirtualFunction"
CWnd PreTranslateMessage via predicate surface "hasVirtualFunction"
CWnd OnCmdMsg via predicate surface "hasVirtualFunction"
CWnd WindowProc via predicate surface "hasVirtualFunction"
CFrameWnd PreCreateWindow via predicate surface "hasVirtualFunction"
CFrameWnd OnCreate via predicate surface "hasVirtualFunction"
CFrameWnd OnCmdMsg via predicate surface "hasVirtualFunction"